/* RESET BÁSICO */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CABECERA */
.cabecera{
    width: 100%;
    height: 9vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 70px;
    position: fixed;
    z-index: 1000;
    background-color: rgba(165, 42, 42, 0.800);
}

.logo{
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.logo a{
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 26px;
}
.logo img{
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.menu{
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.navegacion{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
}

.navegacion li{
    position: relative;
    list-style: none;
}

.navegacion li a{
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 10px 25px;
    display: block;
    box-sizing: border-box;
}
.navegacion li a:hover{
    color: rgb(221, 221, 159);
    border-bottom: 2px solid white;
}
.submenu{
    background-color: rgba(165, 42, 42, 0.800);
    display: none;
    position: absolute;
    min-width: 180px;
    top: 100%;
    left: 0;
}
.submenu li a{
    color: white;
    font-size: 17px;
    padding: 12px 15px;
    display: block;
}
.navegacion li:hover .submenu{
    display: block;
}

/* MAIN */
main{
    width: 100%;
}

.sec1{
    width: 100%;
    height: 100vh;
    background-image: url(../img/bannerinicio.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    padding-right: 45%;
    color: white;
}
.sec1 h1{
    font-size: 55px;
    padding: 20px 0;
}
.sec1 p{
    font-size: 20px;
    margin-bottom: 35px;
}
.sec1 a{
    background-color: brown;
    text-decoration: none;
    color: white;
    font-size: 20px;
    padding: 18px 35px;
    border-radius: 5px;
    border: 0.5px solid white;
}
.sec1 a:hover{
    background-color: rgb(130, 75, 45);
}

/*sec2*/
.sec2{
    background-color: beige;
    width: 100%;
    height: 70vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}
.imagen{
    width: 50%;
    height: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.imagen img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.texto{
    width: 40%;
    margin-left: 50px;
}
.texto h2{
    font-size: 40px;
    color: rgb(92, 54, 35);
    margin-bottom: 10px;
}
.sec2 hr{
    width: 100px;
    height: 6px;
    border: none;
    background-color: rgb(92, 54, 35);
    margin-top: 8px;
    margin-bottom: 35px;
}
.texto p{
    font-size: 18px;
    margin-bottom: 25px;
}

.texto a{
    background-color: rgb(92, 54, 35);
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 15px 30px;
}
.texto a:hover{
    background-color: rgb(130, 75, 45);
}
/*sec3*/
.sec3{
    width: 100%;
    height: 90vh;
    background: linear-gradient(180deg, rgb(92, 54, 35), rgb(45, 28, 20));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 0;
}
.sec3 h2{
    font-size: 36px;
    color: white;
}
.sec3 hr{
    width: 100px;
    height: 6px;
    border: none;
    background-color: white;
    margin-top: 8px;
    margin-bottom: 35px;
}
/*sec3*/
.productos{
    width: 80%;
    height: 65vh;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
}
.producto{
    width: 33%;
    height: 100%;
    background-color: beige;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.foto{
    width: 100%;
    height: 50%;
}
.foto img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.producto h3{
    margin: 20px 10px 10px 10px;
    color: rgb(92, 54, 35);
    font-size: 22px;
}
.producto p{
    margin: 10px 20px;
    text-align: center;
    font-size: 16px;
}
.producto a{
    display: inline-block;
    margin: 20px;
    padding: 12px 30px;
    color: white;
    background-color: rgb(92, 54, 35);
    text-decoration: none;
}
.producto a:hover{
    background-color: rgb(130, 75, 45);
}
/*sec4*/
.sec4{
    background-color: beige;
    width: 100%;
    height: 65vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}
.texto4{
    width: 45%;
}
.texto4 h2{
    font-size: 40px;
    color: rgb(92, 54, 35);
    margin-bottom: 10px;
}
.texto4 hr{
    width: 100px;
    height: 6px;
    border: none;
    background-color: rgb(92, 54, 35);
    margin-top: 8px;
    margin-bottom: 35px;
}
.texto4 p{
    font-size: 18px;
    margin-bottom: 25px;
}
.texto4 a{
    background-color: rgb(92, 54, 35);
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 15px 30px;
}
.texto4 a:hover{
    background-color: rgb(130, 75, 45);
}

.imagen4{
    width: 45%;
    height: 70%;
}
.imagen4 img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
/* sec5*/
.sec5{
    width: 100%;
    height: 50vh;
    background-color: rgb(92, 54, 35);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20%;
}
.sec5 h2{
    font-size: 40px;
    margin-bottom: 10px;
}
.sec5 hr{
    width: 100px;
    height: 6px;
    border: none;
    background-color: white;
    margin-top: 8px;
    margin-bottom: 35px;
}
.sec5 p{
    font-size: 20px;
    margin-bottom: 30px;
}
.sec5 a{
    background-color: beige;
    text-decoration: none;
    color: black;
    padding: 18px 40px;
    border-radius: 5px;
}
/*Footer*/
.pie{
    background-color: brown;
    color: white;
    padding: 30px 40px 20px 40px;
}
.logo_pie{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
.logo_pie img{
    height: 70px;
}
.logo_pie span{
    font-size: 24px;
    margin-left: 10px;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid white;
    padding-top: 20px;
    font-size: 12px;
}
.enlaces a{
    color: rgb(210, 200, 190);
    text-decoration: none;
    margin: 0 4px;
}
.enlaces a:hover{
    color: white;
}
.copyright p{
    color: rgb(210, 200, 190);
}

/*Responsive*/

@media(min-width: 769px) and (max-width: 896px){
    .cabecera{
        padding: 0 30px;
    }
    .logo{
        width: 35%;
    }
    .menu{
        width: 65%;
    }
    .logo a{
        font-size: 22px;
    }
    .logo img{
        width: 80px;
        height: 80px;
    }
    .navegacion li a{
        font-size: 17px;
        padding: 10px 15px;
    }
    .sec1{
        padding-left: 8%;
        padding-right: 35%;
    }
    .sec1 h1{
        font-size: 45px;
    }
    .sec2{
        padding: 0 8%;
    }
    .productos{
        width: 90%;
    }

}
@media(min-width: 513px) and (max-width: 768px){
    .cabecera{
        height: auto;
        padding: 10px 20px;
        flex-direction: column;
    }
    .logo{
        width: 100%;
        height: auto;
        justify-content: center;
        margin-bottom: 10px;
    }
    .logo img{
        width: 60px;
        height: 60px;
    }
    .logo a{
        font-size: 22px;
    }
    .menu{
        width: 100%;
        height: auto;
        justify-content: center;
    }
    .navegacion{
        width: 100%;
        height: auto;
        justify-content: center;
        flex-wrap: wrap;
    }
    .navegacion li a{
        font-size: 16px;
        padding: 10px 12px;
    }
    .sec1{
        height: 100vh;
        padding: 150px 10% 40px 10%;
    }
    .sec1 h1{
        font-size: 40px;
    }
    .sec1 p{
        font-size: 18px;
    }
    .sec2{
        height: auto;
        flex-direction: column;
        padding: 50px 10%;
    }
    .imagen{
        width: 100%;
        height: 300px;
    }
    .texto{
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
    }
    .sec3{
        height: auto;
        padding: 50px 0;
    }

    .productos{
        width: 85%;
        height: auto;
        flex-wrap: wrap;
    }
    .producto{
        width: 45%;
        height: auto;
    }
    .sec4{
        height: auto;
        flex-direction: column;
        padding: 50px 10%;
    }
    .texto4{
        width: 100%;
        margin-bottom: 30px;
    }
    .imagen4{
        width: 100%;
        height: 300px;
    }
    .sec5{
        height: 60vh;
        padding: 0 10%;
    }
    .sec5 h2{
        font-size: 35px;
    }
    .footer{
        flex-direction: column;
        text-align: center;
    }

}
@media(min-width: 256px) and (max-width: 512px){
    .cabecera{
        height: auto;
        padding: 10px;
        flex-direction: column;
    }
    .logo{
        width: 100%;
        height: auto;
        justify-content: center;
        margin-bottom: 10px;
    }
    .logo img{
        width: 55px;
        height: 55px;
    }
    .logo a{
        font-size: 20px;
    }
    .menu{
        width: 100%;
        height: auto;
    }
    .navegacion{
        width: 100%;
        height: auto;
        justify-content: center;
        flex-wrap: wrap;
    }
    .navegacion li a{
        font-size: 14px;
        padding: 8px 9px;
    }
    .submenu{
        min-width: 150px;
    }
    .submenu li a{
        font-size: 14px;
        padding: 10px;
    }
    .sec1{
        height: 100vh;
        padding: 170px 10% 40px 10%;
    }
    .sec1 h1{
        font-size: 32px;
    }
    .sec1 p{
        font-size: 16px;
        margin-bottom: 25px;
    }
    .sec1 a{
        font-size: 16px;
        padding: 15px 25px;
    }
    .sec2{
        height: auto;
        flex-direction: column;
        padding: 40px 10%;
    }
    .imagen{
        width: 100%;
        height: 250px;
    }
    .texto{
        width: 100%;
        margin-left: 0;
        margin-top: 25px;
    }
    .texto h2{
        font-size: 32px;
    }
    .texto p{
        font-size: 16px;
    }
    .sec3{
        height: auto;
        padding: 40px 0;
    }
    .sec3 h2{
        font-size: 28px;
        text-align: center;
    }
    .productos{
        width: 85%;
        height: auto;
        flex-direction: column;
    }
    .producto{
        width: 100%;
        height: auto;
        padding-bottom: 15px;
    }
    .foto{
        height: 220px;
    }
    .producto h3{
        font-size: 20px;
    }
    .producto p{
        font-size: 15px;
    }
    .sec4{
        height: auto;
        flex-direction: column;
        padding: 40px 10%;
    }
    .texto4{
        width: 100%;
    }
    .texto4 h2{
        font-size: 30px;
    }
    .texto4 p{
        font-size: 16px;
    }
    .imagen4{
        width: 100%;
        height: 250px;
        margin-top: 25px;
    }
    .sec5{
        height: 60vh;
        padding: 0 10%;
    }
    .sec5 h2{
        font-size: 30px;
    }
    .sec5 p{
        font-size: 16px;
    }
    .sec5 a{
        padding: 15px 25px;
    }
    .pie{
        padding: 30px 20px;
    }
    .logo_pie{
        flex-direction: column;
        text-align: center;
    }
    .logo_pie img{
        height: 60px;
    }
    .logo_pie span{
        font-size: 20px;
        margin-left: 0;
        margin-top: 10px;
    }
    .footer{
        flex-direction: column;
        text-align: center;
    }
    .enlaces{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}