* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-image: url('fondo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; /* o left si lo prefieres */
    background-color: #D9A066; /* color de respaldo */
    height: 100%;
    overflow-x: hidden;
}
main {
    padding-top: 60px;
    min-height: 100vh;
    height: auto;
}

header{
    justify-content: center;
    text-align: center;
}
.logo img{
    width: 15%;
    height: auto;
    margin: 0 auto;   

}

.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    padding: 0 50px 0 60px;
    gap: 40px;
}
.container .card{
    width: 400px;
    height: 500px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.container .card h1{
    font-size: 45px;
    color:#4E342E;
    margin-bottom: 20px;
}
.container .card p{
    font-size: 20px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}
.container .card-imagen{
    width: 30%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.container .card-imagen img{
    width: 70%;
    height: 160%;
    border-radius: 50%
}
.productos{
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}
.productos .card-img{
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.productos .card-img h2{
    font-size: 40px;
    color:#4E342E;
    margin-bottom: 20px;
}
.productos .card-img img{
    margin-top: 40px;
    width: 70%;
    height: 160%;
    border-radius: 10px;
    box-shadow: #4E342E 0px 0px 10px;
}
.productos .card-texto{
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.productos .card-texto a{
    margin-top: 20px;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #4E342E;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}
.productos .card-texto a:hover{
    background-color: #D9A066;
    color: #4E342E;
}

footer{
    margin-top: 30px;
    background-color: #F5F5DC;;
   
}
.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5F5DC;
    padding: 15px 0;
   
}
.footer .footer-logo{
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer .footer-logo .footer-redes{
    display: flex;
    justify-content: center;
    align-items: center;

}
.footer .footer-redes a i{
    font-size: 20px;
    color: #4E342E;
    transition: all 0.3s ease;

    padding-left: 30px;
}
.footer .footer-redes a:hover i{
    color: #976432;
}
.footer .footer-texto{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #4E342E;
    font-weight: bold; 
}
.footer .footer-texto p{
    font-size: 20px;
    text-align: center;
    
}

@media (max-width: 991px){
    .container .card{
        width: 80%;
        height: auto;
        margin-bottom: 30px;
    }
    .container .card h1{
        font-size: 30px;
    }
    .container .card p{
        font-size: 18px;
    }
    .container .card-imagen{
        width: 85%;
        height: 60%;
        margin-bottom: 30px;
    }
    .container .card-imagen img{
        width: 75%;
        height: 150%;     
    }
    .productos{
        margin-top: 30px;
        flex-direction: column;
        padding: 0 30px;
    }
    .productos .card-img{
        width: 80%;
    }
    .productos .card-img h2{
        font-size: 35px;
       margin-top: 30px;
    }
    .productos .card-img img{
        margin-top: 40px;
        
    }
    .productos .card-texto{
        width: 80%;
    }
    .productos .card-texto a{
        font-size: 18px;
        padding: 8px 16px;
    }
      

}
@media (max-width: 780px){
    .container .card-imagen img{
        width: 90%;
        height: 140%;
        border-radius: 60%
    }
    
}

@media (max-width: 768px){
    .container{
        flex-direction: column;
        padding: 0 20px;
    }
    .container .card{
        width: 90%;
        height: auto;
        margin-bottom: 30px;
    }
    .container .card h1{
        margin-top: 150px;
        font-size: 30px;
    }
    .container .card p{
        font-size: 20px;
    }
    .container .card-imagen{
        width: 90%;
        height: 65%;
        margin-bottom: 30px;
    }
    .container .card-imagen img{
        width: 45%;
        height: 120%;     
    }
    .productos{
        margin-top: 20px;
        flex-direction: column;
        padding: 0 20px;
    }
    .productos .card-img{
        width: 90%;
    }
    .productos .card-img h2{
        font-size: 30px;
       margin-top: 250px;
    }
    .productos .card-img img{
        margin-top: 20px;  
        
    }
    .productos .card-texto{
        width: 90%;
    }
    .productos .card-texto a{
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .footer .footer-logo{
       
    }
    .footer .footer-logo img{
        width: 30%;
        height: auto;
    }
    .footer .footer-texto{
        width: 70%;
    }
    .footer .footer-texto p{
        font-size: 16px;
    }
    .footer .footer-redes{
        width: 40%;
    }

}

@media (max-width: 480px){
    .logo img{
        width: 25%;
        height: auto;
        margin: 0 auto;   
    }

    .container{
        flex-direction: column;
        padding: 0 10px;
    }
    .container .card{
        width: 95%;
        height: auto;
        margin-bottom: 30px;
    }
    .container .card h1{
        font-size: 25px;
    }
    .container .card p{
        font-size: 18px;
    }
    .container .card-imagen{
        width: 95%;
        height: 45%;
        margin-bottom: 30px;
    }
    .container .card-imagen img{
        width: 50%;
        height: 140%;     
    }
    .productos{
        margin-top: 20px;
        flex-direction: column;
        padding: 0 10px;
    }
    .productos .card-img{
        width: 95%;
    }
    .productos .card-img h2{
        font-size: 25px;
       margin-top: 250px;
    }
    .productos .card-img img{
        margin-top: 20px;  
        
    }
    .productos .card-texto{
        width: 95%;
    }
    .productos .card-texto a{
        font-size: 18px;
        padding: 8px 16px;
    }

    .footer{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer .footer-logo img{
        width: 60%;
        height: auto;
    
    }
    .footer .footer-redes{
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    .footer .footer-redes a i{
        font-size: 18px;
        padding-left: 10px;
    }
    .footer .footer-texto{
        width: 80%;
        justify-content: center;
        align-items: center;
        color: #4E342E;
        font-weight: bold; 
    }
    .footer .footer-texto p{
        
        font-size: 14px;
        text-align: center;
    }


}
@media (max-width: 385px){
    .container .card-imagen img{
        width: 70%;
        height: 130%;
        border-radius: 60%
    }
    
}
@media (max-width: 375px){
    .logo img{
        width: 30%;
        height: auto;
        margin: 0 auto;   
    
    }
    .container{
        flex-direction: column;
        padding: 0 5px;
    }
    .container .card{
        width: 95%;
        height: auto;
       
    }
    .container .card-imagen{
        width: 135%;
        height: 45%;
        margin-bottom: 30px;
    }
    .container .card h1{
        margin-top:200px;
        font-size: 23px;
    }
    .container .card-imagen img{
        width: 40%;
        height: 130%;     
    }
    .productos .card-img h2{
        font-size: 23px;
       margin-top: 250px;
    }
    .productos .card-texto h2{
        font-size: 23px;
        margin-top: 20px;
    }
    .productos .card-texto p{
        font-size: 18px;
        margin-top: 20px;
    }
    .productos .card-texto a{
       margin-bottom: 10px;
    }
    .footer{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .footer .footer-logo img{
        width: 60%;
        height: auto;
    
    }
    .footer .footer-redes{
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .footer .footer-redes a i{
        font-size: 15px;
        
    }
    .footer .footer-texto{
        width: 80%;
        justify-content: center;
        align-items: center;
        color: #4E342E;
        font-weight: bold; 
    }
    .footer .footer-texto p{
        
        font-size: 13px;
        text-align: center;
    }
    .footer .footer-texto p a{
        font-size: 13px;
        text-decoration: none;
        color: #4E342E;
    }
}

@media (max-width: 320px){
    .logo img{
        width: 35%;
        height: auto;
        margin: 0 auto;   
    
    }
    .container{
        flex-direction: column;
        padding: 0 5px;
    }
    .container .card{
        width: 95%;
        height: auto;
       
    }
    .container .card h1{
        margin-top:150px;
        font-size: 23px;
    }
    .container .card h1 p{
        font-size: 18px;
        padding: 0 auto;
    }
    .container .card-imagen{
        width: 135%;
        height: 45%;
        margin-bottom: 30px;
    }
    .container .card-imagen img{
        width: 60%;
        height: 150%;     
    }
    .productos{
        margin-top: 20px;
        flex-direction: column;
        padding: 0 5px;
    }
   
    .productos .card-img h2{
        font-size: 23px;
       margin-top: 280px;
    }
    .productos .card-img h2 img{
        margin-top: 20px;  
        
    }
    .productos .card-texto{
        width: 95%;
    }
    .productos .card-texto h2{
        font-size: 23px;
        margin-top: 20px;
    }
    .productos .card-texto p{
        font-size: 16px;
        margin-top: 20px;
    }
    .productos .card-texto a{
        font-size: 16px;
        padding: 8px 16px;
    }
   
    .footer{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .footer .footer-logo img{
        width: 60%;
        height: auto;
    
    }
    .footer .footer-redes{
        width: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
    .footer .footer-redes a i{
        font-size: 15px;
        
    }
    .footer .footer-texto{
        width: 80%;
        justify-content: center;
        align-items: center;
        color: #4E342E;
        font-weight: bold; 
    }
    .footer .footer-texto p{
        
        font-size: 13px;
        text-align: center;
    }
    .footer .footer-texto p a{
        font-size: 13px;
        text-decoration: none;
        color: #4E342E;
    }

    

}