.volver{
    background-color: #fd5ee0;
    width: 8%;
    padding: 5px;
    font-size: 20px;
    text-align: center;
    border-radius: 20px;
    height: 30px;
    margin-right: 3px;

}
.siguiente{
    background-color: #f1666d;
    width: 8%;
    padding: 5px;
    font-size: 20px;
    text-align: center;
    border-radius: 20px;
    height: 30px;
    margin-left: 3px;

}
body{
    display: flex;
    align-items: center;
}
.informacion{
    background-color: rgb(218, 150, 209);
    width: 400%;
    padding: 5px;
    font-size: 20px;
    text-align: center;
    border-radius: 20px;
    height: 500px;
    margin-top: 40px;
    display: flex;
    margin-right: 60px;

}
.NOSOTROS{
    background-color: #e100ff;
    width: 8%;
    padding: 5px;
    font-size: 25px;
    text-align: center;
    border-radius: 20px;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: absolute;
    left: 10px;
    top: 50px;
    transform: translateY(-110%);
}
.caja_1{
height: 500px;
width: 500px;
background-color: #e782c9;
border-radius: 20px;

}
.caja_2{
width:380px ;
height:300px ;
background-color: rgb(13, 14, 13);
margin-left: 65px;
margin-top: 20px;
border-radius: 20px;
}
.caja_3{
width: 450px;
height: 150px;
background-color: rgb(191, 174, 197);
margin-left:20px ;
margin-top: 10px;
border-radius: 20px;
font-size: 30PX;
padding-top: 15PX;
}
.caja_4{
height: 500px;
width: 715px;
background-color: #8d26aa75;
border-radius: 20px;
}
h2{
   font-size: 25px;
    padding: 20px;
    margin-top: 40px;
    text-align: justify;  
}

.LE{
    padding: 5PX;
   background-color: #a52def;
   width:220PX;
   border-radius: 20PX;
   margin: auto;
   margin-top: 20PX;
}
img{
    width: 100%;
    height: 100%;
}

/* ==========================================================
   RESPONSIVE (se agregó al final, no cambia el diseño de escritorio)
   ========================================================== */

/* Pantallas medianas y celular: todo se apila en una sola columna */
@media (max-width: 1400px){
    body{
        flex-direction: column;     /* todo uno debajo del otro */
        align-items: center;
        padding-top: 60px;          /* espacio para el botón del menú */
    }
    .NOSOTROS{
        width: auto;                /* el botón se ajusta a su texto */
        padding: 5px 12px;
        font-size: 18px;
    }
    .volver,
    .siguiente{
        width: auto;
        height: auto;
        padding: 5px 20px;
        margin: 10px 0;
    }
    .informacion{
        width: 90%;
        max-width: 760px;
        height: auto;               /* la altura se ajusta al contenido */
        flex-direction: column;
        margin: 10px 0;
    }
    .caja_1{
        width: 100%;
        height: auto;
        margin-right: 0;
        padding-bottom: 15px;
    }
    .caja_2{
        width: 80%;
        height: 250px;
        margin: 20px auto 0 auto;   /* centrada */
    }
    .caja_3{
        width: 90%;
        height: auto;
        margin: 10px auto 0 auto;
        padding: 10px;
        font-size: 22px;
    }
    .caja_4{
        width: 100%;
        height: auto;
        padding-bottom: 15px;
    }
    h2{
        font-size: 20px;
        margin-top: 20px;
    }
}
