*{
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', sans-serif;
    margin: 0px;
    padding:0px
}
a{
    text-decoration: none;
    color: #2F76C9;
}
a:hover{
    color: rgba(47, 118, 201, 0.7);
}
header{
    position: sticky; top: 0.2px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    background-color: #FFFFFF;
    z-index: 9999;
}
.logoAcuamohan{
    height: 80%;
    width: 60%;
    transition: transform 0.3s ease-out;
}
.logoAcuamohan:hover{
    transform: scale(1.1);
}
#logoAcuamohan{
    height: 15%;
    width: 15%;
    transition: transform 0.3s ease-out;
}
#logoAcuamohan:hover{
    transform: scale(1.1);
}
h5{
    font-size: 0.6rem;
    margin-left: -24%;
    margin-top: -6%;
}
li{
    display: inline-block;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 22px;
}
button{
    width: 175px;
    height: 45px;
    border-radius: 25px;
    border-color: #2F76C9;
    background-color: #2F76C9;
    box-shadow:  2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
    cursor: pointer;
    font-size: 19px;
}
button:hover{
    background-color:rgba(47, 118, 201, 0.7);
    border-color :rgba(47, 118, 201, 0.7);
    color: rgb(0, 0, 0)
}
.panel-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-height: 10%;
}

.flecha {
    cursor: pointer;
    font-size: 30px;
    color: #FAFAFA;
}

.a1 {
    flex-grow: 1;
    max-width: 100%;
    max-height: 5%;
}

.b1 {
    display: flex;
    width: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    max-height: 5%;
}

.image-container img {
    border: 5px solid #fff;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.texto-superpuesto {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 92.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
}

.texto-imagen {
    width: 100%;
    height: 100%;
    text-align: center;
    border: none;
    resize: none;
    font-size: 1.5rem;
    color:#2F76C9;
}

#contact1{
    color: #FAFAFA;
}
.text1{
    background-color:rgba(255, 255, 255, 0.5);;
    font-size: 50px;
    color:rgba(36, 46, 82, 1);
    font-weight: bold;
    text-align: right;
    border-radius: 5%;
}
.text2{
    font-weight: bold;
    text-align: right;
    margin-top: 8%;
    margin-bottom: 8%;
}

.text{
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-left:7%;
    margin-right: 7%;
    margin-top: 5%;
}
.boton{
    display: inline-block;
    width: 75px;
}
.a4{
    display: flex;
    justify-content: space-around;
    position: relative;
    text-align: center;
    background-color: #FFFFFF;
    margin-left: 6%;
    margin-right: 3%;
    margin-bottom: 5%;
}
.personas1{
    background-color: #2F76C9;
    width: 33%;
    height:800px;
    margin-top: 5%;
    margin-right: 2%;
    transition: transform 0.3s ease-out;
}
.personas1:hover{
    transform: scale(1.1);
}
.personas2{
    background-color: #2F76C9;
    width: 33%;
    height:800px;
    margin-top: 5%;
    margin-right: 2%;
    transition: transform 0.3s ease-out;
}
.personas2:hover{
    transform: scale(1.1);
}
.personas3{
    background-color: #2F76C9;
    width: 33%;
    height:800px;
    margin-top: 5%;
    margin-right: 2%;
    transition: transform 0.3s ease-out;
}
.personas3:hover{
    transform: scale(1.1);
}
.imagenPersonas{
    width: 100%;
    height: 350px;
}
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}
.whatsapp-button a {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: green;
    text-decoration: none;
    text-align: center;
    padding-top: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.whatsapp-button img {
    width: 32px;
    height: 32px;
}
footer{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    background-color: #2F76C9;
    height: 27vh;
}
.logos{
    width: 20%;
    margin-left: -5%;
}
#logoAcuamohan2{
    padding-left: 25%;
}
.logos2{
    display: flex;
    justify-content: space-around;
    transition: transform 0.3s ease-out;
}
.logos2:hover{
    transform: scale(1.15);
    
}
.final1{
    padding-top: 8%;
    display: flex;
    flex-wrap: wrap;
    font-weight: lighter;
}
.final2{
    color: #FFFFFF;
}
.final2:hover{
    color: #999999;
}
#text{
    font-size: 0.5rem;
    color: #999999;
    margin-top: 10%;
    margin-right: -3%;
    margin-left: -5%;
}
/* Estilos generales */

/* ... (tu código actual) ... */

/* Media query para pantallas de celular estándar */
@media only screen and (max-width: 767px) {

    /* Estilos para el header */
    header {
        flex-direction: column;
        align-items: center;
    }

    .logoAcuamohan {
        height: auto;
        width: 50%;
    }

    #logoAcuamohan {
        height: auto;
        width: 50%;
        margin: 0;
    }

    h5 {
        margin: 2% 0 0 0;
        font-size: 0.8rem;
        text-align: center;
    }

    nav.inicio ul {
        text-align: center;
        margin-top: 10px;
    }

    nav.inicio ul li {
        padding: 10px 0;
        display: block;
        margin: 0;
    }

    button {
        width: 150px;
        height: 40px;
        font-size: 16px;
        margin-top: 20px;
    }

    /* Estilos para la sección de imágenes */
    .panel-container {
        max-height: none;
        margin-top: 10px;
        overflow: hidden;
        position: relative;
    }

    .a1 {
        max-height: none;
        overflow: hidden;
        flex-direction: column;
    }

    .flecha {
        font-size: 20px;
    }

    .image-container {
        max-height: none;
        height: auto;
    }

    .image-container img {
        max-height: none;
        height: auto;
    }

    .texto-superpuesto {
        top: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }

    .texto-imagen {
        font-size: 1rem;
    }

    /* Estilos para la sección "Sobre Nosotros" */
    .a4 {
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }

    .personas1,
    .personas2,
    .personas3 {
        width: 100%;
        margin: 20px 0;
    }

    .imagenPersonas {
        height: auto;
        max-width: 100%;
    }

    .text {
        font-size: 1rem;
        margin: 10px;
    }

    /* Estilos para el footer */
    footer {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .logos {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .logos2 {
        justify-content: center;
    }

    .final1 {
        justify-content: center;
        margin-bottom: 20px;
    }

    #text {
        margin: 10px 0;
        font-size: 0.8rem;
    }
}
