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

body{
    font-family: 'Courier New', Courier, monospace;
}

header {
    width: 100%;
    height: 400px;
    background: linear-gradient(to right, hsla(342, 10%, 35%, 0.486), hsla(317, 10%, 36%, 0.651)), 
    url(../imagenes/postesimp.jpg); /* usar .webp si está disponible */
    background-size: cover;
    background-attachment: fixed;
}
.header{
    padding: 40px 130px;
    padding-bottom: 130px;
}
.header p{
    font-size: 24px;
    color: #111010;
    text-align: left;
}
.header span{
    font-weight: 600;
}
.header a{
    color: red;
    text-decoration: none;
}
.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;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}
.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;
}
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%;
}

.productos{
    width: 100%;
    height: 0 auto;
    padding: 20px 70px 20px 50px;
}
.header p{
    text-align: justify;
}
.primer{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 50px;
}
.fotodes{
    align-items: center;
    justify-content: center;
    text-align: center;
}
.fotodes img{
    width: 400px;
    height: 300px;
    object-fit: cover;
}
.segundo{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.fotodes p{
    font-size: 22px;
    font-weight: 700;
    color: #000000bb;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}
.fotodes button{
    padding: 20px 20px;
    font-size: 18px;
    border-color: #686363;
    border-radius: 10%;
}
.producto1{
    width: 100%;
    height: 600px;
    padding: 20px 70px 20px 50px;
}
.producto1 .tercero{
    width: 350px;
    height: 350px;
    display: flex;
    gap: 20px;
    padding-top: 40px;
    padding-bottom: 50px;
}
.tercero .fotodes p{
    font-size: 22px;
    font-weight: 700;
    color: #000000bb;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}
.fotodes button:hover{
    border-color: #ccbfbff1;
    cursor: pointer;
}

/*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: 50px;
    border-bottom: 1px solid #ccc;
}
.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;
}
.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;
}

/*CSS RESPONSIVE PARA TABLET pantalla menores a 900px*/
@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: 15px;
        right: 60px;
        z-index: 10;
    }
    .hamburger {
        padding-top: 25px;
        display: flex;
        cursor: pointer;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 5px;
        right: 15px;
        z-index: 10;
    }

    /* Botón cerrar */
    .close-btn {
        padding-top: 25px;
        display: none; /* Oculto inicialmente */
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        position: absolute;
        top: 5px;
        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;
    }
    .productos{
        width: 100%;
        height: a auto;
        padding: 10px 10px;
    }
    .productos .header{
        width: 100%;
        height: 0 auto;
        padding: 100px 20px;
    }
    .productos .header p{
        font-size: 18px;
    }
    .productos .primer{
        flex-direction: column;
        gap: 20px;
    }
    .productos .segundo{
        flex-direction: column;
        gap: 20px;
    }
    .producto1{
        width: 100%;
        height: 0 auto;
        padding: 10px 10px;
    }
    .producto1 .tercero{
        flex-direction: column;
        gap: 20px;
    }
    footer{
        width: 100%;
        height: auto;
    }
    .contenedor-footer{
        flex-direction: column;
        border: none;
    }
    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }
    .content-foo h4{
        border: none;
    }
    .content-foo p{
        color: #000;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }
}
