
:root{
    --main-color: #d2a239;
    --white:#f3f0ed;
    --bg:#fff;
    --border: .3rem solid rgba( 0, 0, 0 , .6)

}

*{
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;

}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: rgb(105, 103, 103);
    border-radius: 5rem;
}

body{
    background: var(--bg);
}
button{
    background-color: #444;
    font-size: 20px;
    padding: 10px;
    margin-left: 10px;
    cursor: pointer;
    color: #fff;
    border-radius: 30px;
}

.header{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 7%;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    
}

.header .logo img{
    height: 6.5rem;
}


.header .navbar a{
    margin: 0 1rem;
    font-size: 1.7rem;
    color: #2f2f2f;
}

.header .navbar a:hover{
    color: var(--main-color);
    border-bottom: .1rem solid var(--main-color);
    padding-bottom: .5rem;
}

.header .icons div{
    color: #000;
    cursor: pointer;
    font-size: 2.3rem;
    margin-left: 2rem;
}

.header .icons div:hover{
    color:var(--main-color)
}

.header .icons #menu-btn{
   display: none;
}

.header .search-form{
    position: absolute;
    top: 110%; right: 10px;
    background: #fff;
    width: 40rem;
    height: 5rem;
    display: flex;
    align-items: center;
    background-color: var(--white);
    transform: scaleY(0);
    transform-origin: top;
    border-radius: 50px;
    box-shadow: 2px 1px 5px 0px;
}

header .search-form.active{
    transform: scaleY(1);
}

.header .search-form input{
    height: 100%;
    width: 100%;
    font-size: 1.8rem;
    
    color: #000;
    text-transform:none;
    padding: 1.8rem;
    background-color: var(--white);
    border-radius: 50px;
}

.header .search-form label{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: #000;

}

.header .search-form label:hover{
    color:var(--main-color)
}

.header .cart-items-conteiner img{
    width: 189px;
    height: 10rem;
}

.header .cart-items-conteiner{
    position: absolute;
    top: 100%; right: -3000%;
    height: calc(100vh - 9.5rem);
    width: 35rem;
    background: var(--white);
    padding: 0 1.5rem;
    background: #444444;
    
}

.header .cart-items-conteiner.active{
    right: -3000%;
}

.header .cart-items-conteiner .cart-items{
    position: relative;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;

}

.header .cart-items-conteiner .cart-items .fa-times{
    position: absolute;
    top:1rem; right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
}

.header .cart-items-conteiner .cart-items .fa-times:hover{
    color: var(--main-color);
}

.header .cart-items-conteiner .cart-items .content h3{
    font-size: 2rem;
    padding-bottom: .5rem;
    color: #fff;
}

.header .cart-items-conteiner .cart-items .content .precio{
    font-size: 1.5rem;
    color: var(--main-color);
}

.header .cart-items-conteiner .btn{
    width: 100%;
    text-align: center;
}

section{
    padding: 2rem 7%;
}

.inicio {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(img/hola4.png) no-repeat;
    
    background-size:cover;
    background-position: center;
}

.inicio .content{
    max-width: 60rem;
}

.inicio .content h3{
    font-size: 6rem;
    text-transform: uppercase;
    color: #fff;
}

.inicio .content p{
    font-size: 2rem;
    line-height: 1.8;
    padding: 1rem 0;
    color: #eee;
   
}

.btn-inicio{
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: rgba(188, 118, 87, 0.5);
    cursor: pointer;
    border-radius: 20px;
}

.btn-nosotros{
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: rgba(188, 118, 87, 1);
    cursor: pointer;
    border-radius: 20px;
}


.btn-inicio:hover,
.btn-nosotros:hover{
    letter-spacing: .1rem;
}

.encabezado{
    text-align: center;
    color: #000;
    text-transform: uppercase;
    margin-top: 1rem;
    padding-bottom: 3.5rem;
    font-size: 3.8rem;
    cursor: pointer;
    
}
.encabezado:hover{
    font-size: 3.9rem;
}

.encabezado span{
    text-transform: uppercase;
    text-align: center;
    color: var(--main-color);
}



.nosotros .fila{
    display: flex;
    align-items: center;
    background-color: #444;
    flex-wrap: wrap;
    box-shadow: 1px 2px 10px 1px #000;
}

.nosotros .fila .image{
    flex: 1 1 45rem;
}

.nosotros .fila .image img{
    width: 100%;
    
}

.nosotros .fila .content{
    flex: 1 1 45rem;
    padding: 2rem;
}

.nosotros .fila .content h3{
    font-size: 3.2rem;
    color: #fff;
}

.nosotros .fila .content p{
    text-transform: none;
    font-size: 1.5rem;
    color: #eee;
    padding: 1rem 0;
    line-height: 1.8;
}

.Producto .caja-contenedora{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.Producto .caja-contenedora .cajas{
    text-align: center;
    padding: 2rem;
   
}

.Producto .caja-contenedora .cajas .iconos a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    border: var(--border);
    color: #000;
    margin: .3rem;
}

.Producto .caja-contenedora .cajas .iconos a:hover{
    background-color: rgb(255, 209, 123);
}

.Producto .caja-contenedora .cajas .iconos a.active{
    background-color: rgb(245, 69, 46);
}

.Producto .caja-contenedora .cajas .imagen{
    padding: 2.5rem 0;
}

.Producto .caja-contenedora .cajas .imagen img{
    height: 25rem;
}

.Producto .caja-contenedora .cajas .content h3{
    color: #000;
    font-size: 2.1rem;
}

.Producto .caja-contenedora .cajas .precio{
    font-size: 2rem;
}

.Producto .caja-contenedora .cajas .precio span{
    font-size: 1.5rem;
    text-decoration: line-through;
    
}

.socios .caja-contenedora{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 2rem;
}

.socios .caja-contenedora .caja{
    border: var(--border);
    border-radius: 20px;
    text-align: center;
    padding: 2.5rem 2rem;
    
}

.socios .caja-contenedora .caja:hover{
    padding: 20px;
}

.socios .caja-contenedora .caja p{
    font-size: 1.6rem;
    line-height: 1.8;
    color: rgb(19, 18, 18);
    padding: 2rem 0; 
    text-transform: none;
}

.socios .caja-contenedora .caja .persona{
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
   
}

.socios .caja-contenedora .caja h3{
    padding: 1rem 0;
    font-size: 2rem;
    color: rgb(0, 0, 0);
}

.contactos .fila{
    display: flex;
    background-color: #444;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 1px 2px 10px 1px #000;
}

.contactos .fila .mapa{
    flex: 1 1 45rem;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.contactos .fila form{
    flex: 1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;
}

.contactos .fila form h3{
    text-transform: uppercase;
    font-size: 3.5rem;
    color: #eee;
}

.contactos .fila form .input{
    display: flex;
    align-items: center;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    background-color: rgba(254, 245, 245, 0);
    border: 0.1rem rgb(186, 182, 182) solid;

}

.contactos .fila form .input span{
    color: #eee;
    font-size: 2rem;
    padding-left: 2rem;
}


.contactos .fila form .input input{
    width: 100%;
    padding: 2rem;
    font-size: 1.7rem;
    color: #fff;
    text-transform: none;
    background: none;
}

.contactos .fila form .btn{
    margin-top: 2rem;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: rgba(188, 118, 87, 1);
    cursor: pointer;
    border-radius: 20px;
}
.contactos .fila form .btn:hover{
    letter-spacing: .1rem;
}

.blog .caja-contenedora{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem
}


.blog .caja-contenedora .caja .imagen{
    height: 25rem;
    overflow: hidden;
    width: 100%;
}

.blog .caja-contenedora .caja .imagen img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blog .caja-contenedora .caja:hover .imagen img{
    transform: scale(1.2);
}

.blog .caja-contenedora .caja .contenido{
    padding: 2rem;
}

.blog .caja-contenedora .caja .contenido .titulo{
    font-size: 2.5rem;
    color: #000;
}

.blog .caja-contenedora .caja .contenido .titulo:hover{
    color: var(--main-color);
}

.blog .caja-contenedora .caja .contenido .btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: rgba(188, 118, 87);
    cursor: pointer;
    border-radius: 20px;
}

.blog .caja-contenedora .caja .contenido cite{
    color: rgb(191, 72, 21);
    display: block;
    padding-top: 0.2rem;
    font-size: 1.4rem;
}

.blog .caja-contenedora .caja .contenido p{
    font-size: 1.6rem;
    line-height: 1.5;
    color: rgb(76, 75, 75);
    padding: 1rem 0;
    text-transform:none;
    
}

.footer{
    background-color: #444;
    text-align: center;
}

.footer .compartidos{
    padding: 1rem 0;
}

.footer .compartidos a{
   width: 5rem;
   height: 5rem;
   line-height: 5rem;
   font-size: 2rem;
   color: #fff;
   border: 1px solid #fff;
   margin: .6rem;
   border-radius: 50%;
}

.footer .compartidos a:hover{
    background-color: rgb(0, 0, 0);
}

.footer .enlaces{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    gap: 1rem;
}

.footer .enlaces a{
    padding: .7rem 2rem;
    color: #fff;
    border: 1px solid #fff;
    font-size: 1.8rem;
}

.footer .enlaces a:hover{
    background-color: rgb(0, 0, 0);
}

.footer .creditos{
    font-size: 1.5rem;
    color: #fff;
    padding: 1.5rem;
}

.footer .creditos cite{
    color: var(--main-color);
}



/*media query*/

@media (max-width:1100px){

    html{
        font-size: 55%;
    }

    .header{
        padding: 1.5rem 2rem; }

    .header .icons #menu-btn{
        display: inline-block;
    }

    .header .navbar{
        position: absolute;
        top: 100%; right: -100%;
        background: #444;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }

    .header .navbar.active{
        right: 0;
    }

    .header .navbar a{
        color: #fff;
        display: block;
        margin: 1.5rem;
        padding: .5rem;
        font-size: 2rem;
    }

    .header .search-form{
        width: 60%;
        right: 10px;
    }

    section{
        padding: 2rem;
    }

    .inicio{
        text-align: center;
        justify-content: center;
    }

    .inicio .content h3{
        font-size: 4.3rem;
    }

    .inicio .content p{
        font-size: 1.8rem;
    }



}

@media (max-width:450px){
    html{
        font-size: 50%;
    }
}
