*{  
    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/vivero.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%;
}

.contenido{
    width: 100%;
    height: 700px;
    padding: 100px 100px;
    display: flex;
    gap: 80px;
}
.equipo{
  padding-top: 70px;
  width: 850px;
}
.equipo h2{
    font-size: 38px;
    color: #000000e0;
    padding-bottom: 30px;
}
.equipo p{
    font-size: 18px;
    color: #000000bd;
    padding-bottom: 50px;
    line-height: 1.7;
    text-align: justify;
}
.equipo h4{
    font-size: 32px;
    color: #000000e0;
    padding-bottom: 20px;
}
#fainst{
    padding: 15px;
    color: #fff;
    font-size: 22px;
    background-color: rgb(117, 6, 89);
    border-radius: 50%;
}
#fainst:hover{
    background-color: rgb(221, 120, 196);
}
#faface{
    padding: 15px 18px;
    color: #fff;
    font-size: 22px;
    background-color: rgb(69, 13, 173);
    border-radius: 50%;
}
#faface:hover{
    background-color: rgb(114, 90, 160);
}
#falink{
    padding: 15px;
    color: #fff;
    font-size: 22px;
    background-color: rgb(37, 143, 204);
    border-radius: 50%;
}
#falink:hover{
    background-color: rgb(126, 157, 175);
}
#fayou{
    padding: 15px;
    color: #fff;
    font-size: 22px;
    background-color: rgba(206, 16, 16, 0.911);
    border-radius: 50%;
}

#fayou:hover{
    background-color: rgba(194, 112, 112, 0.911);
}
.nomape input{
    padding: 10px 40px;
    margin-bottom: 30px;
    margin-left: 20px;
}

.empresa input{
    padding: 10px 40px;
    margin-bottom: 30px;
    margin-left: 20px;
}
#email{
    padding: 10px 100px;
    margin-bottom: 30px;
    margin-left: 20px;
}
#telefono{
    padding: 10px 100px;
    margin-bottom: 30px;
    margin-left: 20px;
}
#mensaje{
    padding: 50px 100px;
    margin-bottom: 30px;
    margin-left: 20px;
    text-align: left;
}
button{
    color: red;
    border: 1px solid red;
    background-color: transparent;
    padding: 15px 25px;
    margin-left: 20px;
    font-size: 17px;
}
button:hover{
    background-color: gray;
    color: #fff;
    border: none;
}
.mapa{
    width: 100%;
    height: 450px;
    border: none;
}



/*ESPACIO FOOTER*/

footer{
    width: 100%;
    height: 330px;
    background: #fff;
    padding: 30px 0 30px 0;
    margin: auto;
    overflow: hidden;
}
.contenedor-footer{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-top: 50px;
}
.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;
    padding-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: 5px;
        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: 5px;
        right: 5px;
        z-index: 10;
    }

    /* Botón cerrar */
    .close-btn {
        display: none; /* Oculto inicialmente */
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 10px;
        right: 10px;
        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;
    }
    .contenido{
        width: 100%;
        height: auto;
        padding: 50px 10px;
        flex-direction: column;
        gap: 40px;
    }
    .contenido .equipo{
        width: 100%;
        height: auto;

    }
    .equipo h2{
        text-align: center;
    }
    .equipo p{
        text-align: justify;
    }
    .equipo h4{
        text-align: center;
    }
    .equipo .redes{
        width: 100%;
        height: 0 auto;
        padding-left: 110px;
    }
    .equipo .redes a{
        text-align: center;
    }
    .nomape{
        padding-top: 10px;
    }
    .empresa{
        padding-top: 10px;
        margin-bottom: 10px;
    }
    .nomape input{
        padding: 10px 95px;
    }
    .empresa input{
        padding: 10px 95px;
    }
    #email{
        padding: 10px 95px;
    }
    #telefono{
        padding: 10px 95px;
    }
    #mensaje{
        padding: 50px 95px;
    }
    .mapa{
        width: 100%;
        height: auto;
        padding: 10px 10px;
    }
    .mapa iframe{
        width: 100%;
        height: auto;
    }
    footer{
        width: 100%;
        height: auto;
    }
    .contenedor-footer{
        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;
    }
}