#sobrenosotrosfoto {
    max-height: 653px;
}


@media screen and (max-width: 1920px) {

    .whatsapp img {
        width: 50px;
        height: 50px;
        position: fixed;
        bottom: 25px;
    }

    .whatsapp img:hover {
        transform: scale(1.1);
    }

    body {
        margin: 0;
    }

    header {
        top: 0;
        display: flex;
        position: sticky;
        height: auto;
        width: 100%;
        background-color: white;

    }



    ul {
        display: flex;
        justify-content: space-around;
        list-style: none;
        column-gap: 10px;
        color: black;
        list-style-type: none;
        font-family: 'Cairo', sans-serif;
    }


    header h2 {
        margin-left: 5px;
        font-family: 'Cairo', sans-serif;
        color: rgb(15, 15, 15);
    }

    a {
        text-decoration: none !important;
        color: inherit;
    }



    #fotoprincipal img {
        width: 100%;
    }

    nav {
        position: absolute;
        right: 50px;
        top: 12px;
    }
}


/* Media queries para celulares */

@media screen and (max-width: 500px) {
    #cuadros {
        flex-direction: column;
        align-items: center;
    }

    .sobrenosotros {
        max-width: 100%;
        text-align: center;
    }

    header {
        display: flex;
        flex-direction: column;
        column-gap: 2px;
        row-gap: 4px;
    }

    nav {
        position: static;
    }

    ul {
        justify-content: center;
        column-gap: 10px;
    }

}



#fotoprincipal {
    max-width: 100%;
}

#fotossecundarias {
    display: flex;
    justify-content: center;
    row-gap: 40px;
    column-gap: 40px;
    flex-wrap: wrap;
    max-width: 100%;
}

.descripcion {
    background-color: rgba(44, 3, 44, 0.193);
    border-radius: 4px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    justify-content: center;
    align-items: center;
}


.descripcion p {
    color: rgba(41, 40, 40, 0.774);
    max-width: 300px;
    text-align: center;
}

.descripcion img {
    border-radius: 4px;
}


#titulo {
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
    font-size: 70px;
}


#ideas {
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
    font-size: 40px;
    color: rgba(41, 40, 40, 0.774);
}




@media screen and (max-width: 700px) {

    #ideas {
        text-align: center;
        font-family: 'Cairo', sans-serif;
        font-weight: bold;
        font-size: 30px;
        color: rgba(41, 40, 40, 0.774);
    }




}


@media screen and (max-width: 650px) {

    #ideas {
        text-align: center;
        font-family: 'Cairo', sans-serif;
        font-weight: bold;
        font-size: 20px;
        color: rgba(41, 40, 40, 0.774);
    }

    #titulo {
        text-align: center;
        font-family: 'Cairo', sans-serif;
        font-weight: bold;
        font-size: 40px;
    }

}







#footer {
    display: flex;

    flex-wrap: wrap;
    font-family: 'Cairo', sans-serif;
    background-color: rgba(0, 0, 0, 0.073);
    max-height: 700px;
    max-width: 100%;
    padding: 5px;
    row-gap: 10px;
    justify-content: space-around;
}

#footer p {
    color: rgb(79, 43, 43);
    font-size: 15px;
}

#footer h2 {
    color: black;
    margin-right: 10px;
}


#h2 {
    width: 100%;
}

.columna {

    max-width: 40%;
    padding: 10px;
    word-wrap: break-word;
}




#negrita {
    color: brown !important;
    text-decoration: underline brown;
}


#formulario {
    overflow: hidden;
    /*background-color: rgba(128, 128, 128, 0.172);*/
    background-color: rgba(44, 3, 44, 0.193);
    background-color: rgba(128, 128, 128, 0.139);
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
    margin-top: 30px;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    max-height: 50%;
    margin-bottom: 70px;

}

/*
#formulario h2  {
    color: rgba(165, 42, 42, 0.6);
    font-family:'Cairo': wght@200;

}
*/
#formulario textarea {
    width: 400px;
    height: 200px;
}

#formulario label {
    font-family: 'Cairo', sans-serif;
}



@media screen and (max-width: 840px) {
    #formulario textarea {
        width: 250px;
        height: 200px;
    }
}

@media screen and (max-width: 600px) {
    #formulario textarea {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 400px) {
    iframe {
        width: 100px;
        height: 400px;
    }

    #formulario textarea {
        width: 130px;
        height: 200px;
    }

    #nombre,
    #apellido,
    #email {
        width: 100px;
    }

}




/* Sobre nosotros.html  */

#cuadros {
    display: flex;
    max-width: 100%;
    height: 40%;
    font-family: 'Cairo';
    justify-content: space-around;
    background-color: rgba(19, 146, 140, 0.073);
    margin-bottom: 70px;
}


.sobrenosotros {
    max-width: 50%;
    height: 100%;
    margin-left: 15px;
    margin-right: 5px;
    border-radius: 5px;
    margin-top: 15px;
    padding: 10px;
    text-align: justify;
}


.sobrenosotrosfoto {
    width: 30%;
    height: 100%;
    align-self: center;
    margin-left: 5px;
    margin-right: 15px;
    border-radius: 5px;
    margin-top: 15px;
    padding: 5px;
    text-align: center;

}

#fotoescuela {
    width: 300px;
    height: 250px;
    border-radius: 2px;

}

@media screen and (min-width: 730px) {
    #fotoescuela {
        width: 250px;
    }
}

@media screen and (max-width: 730px) {
    #fotoescuela {
        width: 180px;
    }
}


@media screen and (max-width: 550px) {
    #fotoescuela {
        display: none;
    }
}




#nuestraescuela {
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
    font-size: 30px;
    color: rgba(41, 40, 40, 0.774);
}

#nuestraescuela2 {
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;

    color: rgba(41, 40, 40, 0.774);
}


/*mapa y sucursales hecho de nuevo*/

#mapaysucursales {
    display: flex;
    margin: auto;
    width: 80%;
    background-color: rgba(128, 128, 128, 0.139);
    padding: 5px;
    justify-content: center;
    border-radius: 5px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}



#sucur {
    display: flex;
    flex-direction: column;
    width: 30%;
    margin-right: 10px;
    font-family: 'Cairo';
    text-align: center;
}

.suc {
    margin: 5px;
    ;
    background-color: rgba(128, 128, 128, 0.072);
    border-radius: 3px;
    transition: 1s;
}

.suc:hover {
    background-color: rgba(228, 220, 245, 0.57);

}

.iframe {
    align-self: center;
}


@media screen and (max-width: 450px) {
    iframe {
        width: 180px;
        height: 400px;
    }

    input[type=tel] {
        width: 90px;
    }

}





@media screen and (max-width: 600px) {
    iframe {
        width: 230px;
        height: 400px;
    }
}

@media screen and (min-width: 600px) {
    iframe {
        width: 330px;
        height: 400px;
    }
}

@media screen and (min-width: 880px) {
    iframe {
        width: 500px;
        height: 400px;
    }
}



/* animación*/

.informacion {
    margin: auto;
    width: 200px;

    background-color: rgba(0, 128, 0, 0.826);
    padding: 10px;
    font-family: 'Cairo';
    border-radius: 3px;
    text-align: center;
    color: white;
    animation-name: cambiarColor;
    animation-duration: 3s;
    animation-delay: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes cambiarColor {
    from {
        background-color: rgba(0, 128, 0, 0.826);
    }

    to {
        background-color: rgb(128, 0, 115);
    }

}

#animacion {
    margin-bottom: 70px;
}


#mensaje,
#mensaje2,
#mensaje3,
#mensaje4,
#mensaje5,
#mensaje6,
#mensaje10 {
    color: rgb(214, 6, 6);
    font-weight: bold;
}

textarea {
    resize: none;
}

@media (max-width: 768px) {
    #sucur {
        width: 100%;
        margin-right: 0;
    }

    input::placeholder,
    textarea::placeholder {
        display: none !important;
    }

    #formulario {
        width: 90%;
        max-width: none;
    }

    input::placeholder,
    textarea::placeholder {
        color: transparent;
    }

    #formulario textarea {
        width: 95%;
    }
}