*{  
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    font-family: 'open sans';
}

header {
    width: 100%;
    height: 400px;
    background: linear-gradient(to right, hsla(342, 10%, 35%, 0.486), hsla(317, 10%, 36%, 0.651)), 
    url(../imagenes/portada.jpg); /* usar .webp si está disponible */
    background-size: cover;
    background-attachment: fixed;
}

.cabecera{
    width: 100%;
    height: 130px;
    display: flex;
    padding: 5px 140px;
    transition: all 0.3s;
}

nav.menu .close-btn {
    display: none;
    position: absolute; 
    top: 10px;          
    right: 10px;       
    background: none;   
    border: none;       
    color: white;      
    font-size: 24px;    
    cursor: pointer;    
    z-index: 10;        
}
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* asegura que el encabezado esté por encima de otros elementos */
    background-color: #fff; /* Cambia esto según el color de fondo del encabezado */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* agrega una sombra para efecto visual */
}
.sticky .menu a{
    color: #000;
}
.sticky .menu a:hover{
    color: red;
}
.sticky .traducir a{
    color: #000;
}
.sticky .traducir a:hover{
    color: red;
}

nav{
    text-align: center;
    justify-content: center;
    padding-top: 20px;
}
.cabecera  a  img{
    width: 180px;
    height: 120px;
    margin-right: 100px;
}
nav > a{
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 12px;
    margin-right: 20px;
    text-transform: uppercase;
}
nav > a:hover{
    color: red;
}
.traducir{
    padding-top: 20px;
}
.traducir a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
}
.traducir a:hover{
    color: red;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding-left: 30px;
}

.close-btn{
    display: none;
}
header .textos-header{
    display: flex;
    height: 200px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1{
    font-size: 70px;
    color: #fff;
    width: 70%;
}
.section{
    width: 100%;
    height: 900px;
    padding: 50px 100px;
}
.section p{
    font-size: 22px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    padding-bottom: 100px;
    text-align: justify;
}
.section span{
    font-size: 22px;
    font-weight: 600;
}

.sec-logo{
    display: flex;
    gap: 50px;
    padding-top: 70px;
}
.sec-logo img{
    width: 330px;
    height: 330px;
    border-radius: 50%;
}
.sec-textos h2{
    color: rgba(3, 69, 78, 0.918);
    padding-bottom: 20px;
}
.sec-textos p{
    font-size: 18px;
    padding-bottom: 10px;
    padding-top: 20px;
    text-align: justify;
}

.sec-nros{
    display: flex;
    gap: 5px;
    padding-top: 70px;
    width: 600px;
}
.nro hr{
    border: none;
    height: 2px;
    background-color: #000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
    margin: 20px 0;
}
.nro span{
    font-size: 44px;
    color: #0c85b4;
}
.lideres{
    width: 100%;
    height: 650px;
    padding: 40px 100px;
    background-color: #0b4c58ab;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.lid-text{
    padding-top: 120px;
    width: 450px;
}
.lid-text h2{
    font-size: 45px;
    color: #fff;
    padding-bottom: 40px;
}
.lid-text p{
    font-size: 17px;
    color: #fff;
}

.datos{
    display: flex;
    gap: 50px;
}
.datos-nros{
    width: 200px;
    padding-bottom: 40px;
}
.datos-nros span{
    font-size: 84px;
    font-weight: 600;
    color: #fff;
}
.datos-nros p{
    font-size: 16px;
    color: #fff;
}
.lid-nro h4{
    font-size: 24px;
    color: #fff;
    text-align: center;
    padding-top: 40px;
}
.botones{
    width: 400px;
    padding-top: 20px;
    display: flex;
    gap: 40px;
    padding-left: 50px;
    padding-bottom: 40px;
}
.botones button{
    font-size: 16px;
    padding: 20px 60px;
    color: #fff;
    background-color: #316275;
    border-radius: 15px;
    border: none;
    cursor: pointer;
}
 .huertos{
    width: 400px;
    padding-top: 20px;
    display: flex;
    gap: 40px;
    padding-bottom: 20px;
 }
.huertos button{
    font-size: 16px;
    padding: 10px 70px;
    color: #fff;
    background-color: #484b4d;
    border-radius: 35px;
    border: none;
    cursor: pointer;
}
.hojas-rojas{
    width: 100%;
    height: 300px;
    background: linear-gradient(to right, hsla(342, 10%, 35%, 0.486), hsla(317, 10%, 36%, 0.651)), 
    url(../imagenes/hojas-rojas.jpg); /* usar .webp si está disponible */
    background-size: cover;
    background-attachment: fixed;
}
.energia{
    width: 100%;
    height: 600px;
    display: flex;
    gap: 40px;
    padding: 30px 50px;
    background-color: #eceaea;
}
.foco-imagen img{
    width: 350px;
    height: 500px;
}
.energia-text{
    padding-top: 120px;
}
.energia-text h1{
    font-size: 50px;
    color: rgba(124, 192, 22, 0.637);
    padding-bottom: 10px;
}
.energia-text h4{
    font-size: 30px;
    padding-bottom: 25px;
    color: #00000065;
}
.energia-text p{
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}
.energia-text a{
    color: red;
    text-decoration: none;
}
.energia-text span{
    font-weight: 600;
}

/*ESPACIO FOOTER*/

footer{
    width: 100%;
    height: 330px;
    background: #fff;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}
.contenedor-footer{
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    padding-top: 30px;
}
.content-foo{
    text-align: center;
    color: #000;
}

.content-foo .foo{
    padding-top: 10px;
    padding-bottom: 15px;
}
.content-foo a img{
    width: 140px;
    height: 100px;
}
.content-foo h4{
    color: #000;
    border-bottom: 3px solid #af20d3;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.content-foo a {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 10px;
    text-decoration: none;
}
.content-foo a:hover{
    color: gray;
}
.content-foo a i{
    font-size: 17px;
    color: #fff;
    padding: 8px 8px;
    border-radius: 50%;
    background-color: #ccc;
}
.content-foo a i:hover{
    background-color: gray;
    color: white;
}
.contenedor-footer2{
    text-align: center;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}
.contenedor-footer2 p{
    padding-bottom: 20px;
    padding-top: 20px;
}
.contenedor-footer2 a{
    text-align: center;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    
}
.contenedor-footer2 a:hover{
    color: gray;
}
.btn-whatsapp .whatsapp-button{
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: background-color 0.3s ease;
}
.whatsapp-button i{
    font-size: 50px;
}

.whatsapp-button:hover {
    background-color: #74f5a3;
}

/*CONTENEDOR DE CSS PARA DISPOSITIVOS MOBILES*/

@media screen and (max-width:900px){
    
    body{
        margin: 0;
        padding: 0;
    }
   
    header{
        width: 100%;
        height: auto;
        background-position: center;
        padding: 10px 0px;
        overflow: hidden;
    }
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        background-color: rgba(240, 240, 240, 0.7);
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        width: 100%;
        height: auto;
        text-align: center;
    }

    .menu a {
        display: block;
        padding: 7px 0;
        text-align: center;
        color: #000;
    }

   
    .sticky .hamburger{
        color: #000;
    }
    .sticky .close-btn{
        color: #000;
    }
    .menu a:hover{
        background-color: rgba(105, 233, 201, 0.863);
        color: red;
    }
    .traducir{
        cursor: pointer;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 10px;
        right: 60px;
        z-index: 10;
    }
    
    .hamburger {
        padding-top: 20px;
        display: flex;
        cursor: pointer;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 10px;
        right: 15px;
        z-index: 10;
    }

    /* Botón cerrar */
    .close-btn {
        padding-top: 20px;
        display: none; /* Oculto inicialmente */
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 10px;
        right: 15px;
        z-index: 10;
    }

    /* Cuando el menú está activo */
    .menu.active {
        display: flex; /* Mostrar el menú */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        background-color: rgba(240, 240, 240, 0.7);
        border-radius: 8px;
    }

    /* Mostrar botón cerrar y ocultar el botón hamburguesa */
    .menu.active ~ .close-btn {
        display: block; /* Muestra el botón cerrar */
    }

    .menu.active ~ .hamburger {
        display: none; /* Oculta el botón hamburguesa */
    }

    /* Links del menú */
    .menu a {
        text-decoration: none;
        color: #000;
        margin: 2px 0;
        font-size: 12px;
    }



    /* Mostrar el menú cuando esté activo */
    .menu.active {
        display: flex;
    }
    .cabecera{
        width: 100%;
        height: auto;
        padding: 10px 10px;
    }
    
    .textos-header h1{
        font-size: 34px;
        padding-bottom: 20px;
    }
    .section{
        width: 100%;
        height: auto;
        padding: 50px 20px;
    }
    .section p{
        text-align: center;
        font-size: 18px;
        line-height: 1.5;
        text-align: justify;
    }
    .section span{
        text-align: center;
        font-size: 18px;
        line-height: 1.5;
    }
    .sec-logo{
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .sec-logo img{ 
        border-radius: 50%;
    }
    .sec-textos .sec-nros{
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 10px;
    }
    .sec-nros .nro span{
        font-size: 45px;
        padding-left: 100px;
    }
    .lideres{
        width: 100%;
        height: auto;
        padding: 50px 20px;
        flex-direction: column;
        gap: 10px;
    }
    .lideres .lid-text{
        width: 100%;
        height: auto;
        margin: 0 auto;
        padding: 5px 5px;
    }
    .lideres .lid-text h2{
        text-align: center;
        font-size: 45px;
    }
    .lideres .lid-text p{
        font-size: 18px;
        line-height: 1.5;
        text-align: center;
    }
    .lid-nro .datos{
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 10px;
    }
    .lid-nro .datos .datos-nros{
        width: 100%;
        height: auto;
    }
    .datos .datos-nros span{
        padding-left: 100px;
    }
    .datos .datos-nros p{
        text-align: center;
    }
    .lid-nro h4{
        text-align: center;
        font-size: 20px;
    }
    .lid-nro .botones{
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .lid-nro .huertos{
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 20px;
    }
    .hojas-rojas{
        width: 100%;
        height: 0 auto;
        padding: 20px 20px;
    }
    .energia{
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px 20px;
    }
    .energia .foco-imagen{
        width: 100%;
        height: auto;
        align-items: center;
        justify-content: center;
    }
    .foco-imagen img{
        width: 100%;
        height: auto;
    }
    .energia .energia-text{
        width: 100%;
        height: auto;
    }
    .energia-text h1{
        text-align: center;
    }
    .energia-text h4{
        text-align: center;
    }
    .energia-text p{
        font-size: 18px;
    }
    footer{
        width: 100%;
        height: auto;
    }

    .contenedor-footer{
        width: 100%;
        height: auto;
        flex-direction: column;
        border: none;
    }
    .content-foo{
        margin-bottom: 10px;
        text-align: center;
    }
    .content-foo h4{
        border: none;
    }
    .content-foo p{
        color: #000;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }
}






