html{
    scroll-behavior: smooth;
}






*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    position: fixed;
    font-size:80px ;
    background-color: #bddbf7;
    color: black;
    top: 0;
    width: 100%;

}
nav{
    display: flex;
    justify-content: center;
    padding: 15px;
    position: fixed;
    width: 100%;
    margin-top: 95px;
    gap: 20PX;
border-radius: 10px;
margin-bottom: 50px;
background-color:#559}


nav:hover{
background-color: #104b8c;
    color: #ffffff;
    width: 100%;
    transition: 1s;
}


    

nav a{
    font-size:30px;
    text-decoration:none;
    padding:10px;
    background-color: rgb(106, 150, 236);
    color: black;
    border-radius: 10px;


}
nav a:hover{
    background-color:#4fa1cb;
    color: aliceblue;
    font-size: 37px;
    transition: 0.5s;

}


.NOSOTROS{
    background-color: rgb(240, 122, 171);
    font-size: 35px;
    scroll-margin-top: 159px;
}
.empresa{
    background-color: rgb(142, 174, 234);
    font-size: 30px;
    margin-top: 50px;
    scroll-margin-top: 160px;
}

footer{
    background-color:  #bddbf7 ;
    color: black;
    height: 100px;
    font-size: 25px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px ;

}

.contactos{
    background-color: rgb(255, 0, 212);
    font-size: 30px;
    margin-top: 50px;
    scroll-margin-top: 160px;

    
}

.box{
    background-color: #5c89c8;
    width: 100%;
    height: 900px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}

.imagenes{
width: 80%;
height: 600px ;
background-color: #4fa1cb;
border-radius: 20px;
padding-top:40px ;
align-items: center;
padding-left: 110px;




}

.info {
    width: 20%;
    height: 600px;
    background-color:  #4fa1cb;
    border-radius: 20px;
    

    
}
.pi{
background-color: black;
height: 500px;
width:800px ;
border-radius: 20px;
}
.pi img{
    height: 100%;
    width: 100%;
}
section{
    width:100% ;
    height: 140px;
    background-color: #3466ab;
    text-align: justify;
}
.logo {
    height: 100%;
}

.caji{
    font-size: 28px;
     margin-top: 30px;
     text-align: justify;
     color: rgb(0, 0, 0);
     padding: 10px;
     
    
}
.cojo{
    font-size: 35px;
     margin-top: 10px;
     text-align: justify;
     color: rgb(0, 0, 0);
     padding: 30px
}

.h{
    font-size: 25px;
    margin-right: 5px;
}

/* ==========================================================
   MENÚ HAMBURGUESA (solo CSS, sin JavaScript)
   Lo nuevo va aquí abajo para no tocar el diseño original
   ========================================================== */

/* En pantalla grande el checkbox y el botón no se ven */
#menu-toggle{
    display: none;
}
.hamburguesa{
    display: none;
}

/* ---------- Pantallas pequeñas (celular y tablet) ---------- */
@media (max-width: 768px){

    /* El header se hace más pequeño para que quepa en el celular */
    header{
        font-size: 28px;
        padding: 10px 15px;
        justify-content: flex-start;
        gap: 15px;
        z-index: 10;
    }
    header img{
        width: 45px;
        height: 45px;
    }

    /* Botón de 3 rayitas (arriba a la derecha) */
    .hamburguesa{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        top: 18px;
        right: 18px;
        width: 40px;
        height: 30px;
        cursor: pointer;
        z-index: 30;
    }
    /* Cada rayita del botón */
    .hamburguesa span{
        display: block;
        height: 5px;
        background-color: #104b8c;
        border-radius: 3px;
    }

    /* El menú queda escondido por defecto */
    nav{
        display: none;
        flex-direction: column;
        gap: 10px;
        margin-top: 0;
        top: 65px;
        z-index: 20;
    }

    /* Cuando el checkbox está marcado, se muestra el menú */
    #menu-toggle:checked ~ nav{
        display: flex;
    }

    /* Los enlaces ocupan todo el ancho, uno debajo del otro */
    nav a{
        display: block;
        text-align: center;
        font-size: 20px;
    }
    /* Se quita el agrandado al pasar el mouse para que no brinque */
    nav a:hover{
        font-size: 20px;
    }

    /* Contenido de la página: una columna y sin anchos fijos */
    .box{
        flex-direction: column;
        height: auto;
        padding: 90px 10px 20px 10px;
    }
    .imagenes{
        width: 100%;
        height: auto;
        padding: 15px;
    }
    .pi{
        width: 100%;
        height: 200px;
    }
    .info{
        width: 100%;
        height: auto;
    }
    .caji{
        font-size: 18px;
    }
    section{
        height: auto;
    }
    .cojo{
        font-size: 20px;
        padding: 15px;
    }
    footer{
        flex-direction: column;
        height: auto;
        gap: 10px;
        text-align: center;
    }
    .h{
        font-size: 16px;
    }
}
