main {
    flex:1;
    padding: 3em 1.2em;
    height: 100%;
    min-height: 70vh;
}

section {
    max-width: 1200px;
    margin: 10px auto;
    box-shadow: 0 0 0.8em 0 rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

h1 {
    padding: 0.8em 2em;
    font-size: 2.1em;
}

p {
    line-height: 1.5;
    padding: 0.6em 2.5em;
    font-size: 1.4em;
}


/* contenedor de botones en Letras y Números */
.buttonContainer button {
    flex: 1 1 calc(20% - 0.3em);
    padding: 3%;
    max-width: calc(20% - 0.3em);
    max-height: calc(20% - 0.3em);
    font-size: 1.5rem;
    margin: 0.5%;
    background-color: #C7D1F7;
    border-radius: 5px;
}

/* estilo del div que describe letras, número y elementos */
.nombre {
    font-size: 2.5em;
    font-weight: bolder;
    text-transform: uppercase;
    color: #027333;
    text-align: center;
}

/* botón activo en Letras y Números */
#botonActivo {
    background-color: #04D939;
}

/* contenedor general de letras e imagenes con nombres */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}

/* Estilo para el texto de la letra */
#letra {
    flex: 1;
    font-size: 2.5em;
    text-align: center;
    width: 120px;
    padding: 0.2em .8em;
    background-color: #012340;
    font-weight: bold;
    color: #fff;
    border-radius: .2em;
}

/* formato de la imagen */
#imagen {
    flex: 1;
    width: 100%;
    max-height: 16em;
    min-height: 16em;
    margin: auto;
    object-fit: contain;
    padding: 2.2em;
}

#nombre{
    font-size:2em;
}

/* Se van usar estas clases para ocultar o mostrar elementos desde JS */
.oculto{
    display: none;
}

.visible{
    display: block;
}

@media (max-width: 1200px) {
    body {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    body {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 8px;
    }
}