
/*===================== STYLE GLOBAL OF WEBSITE ===========================*/
:root{
    --color-white : #ffffff ;    
    --color-black : hsl(0, 0%, 0%) ; 

    --color-primary : #3D1F12;  
    --color-secundary : #A4824D;  
    --color-tert : #E2D9CD;

    --color-error: #B32021;
    --color-error-alt: #9A1915;
}

body, html {
    scroll-behavior: smooth;
    background: #f7f8fb;
}

/*===================== HEADER OF WEBSITE ===========================*/

header {
    height: auto;
    /* height: 3.6458vw; */
    background: transparent;
    padding: 0 5.1562vw;
    
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s ease-in-out
}
header.active {
    /* background: var(--color-secundary); */
    background: linear-gradient(45deg, #412415, #bc8435);
    backdrop-filter: blur(25px);
    transition: all .5s ease-in-out
}

header .icon-toggle,
header .mobile-nav {
    display: none;
}

header .img-logo {
    display: flex;
    width: 11.3854vw;
    height: 6.5515vw;
    position: relative;
    top: 0;
    transition: all .5s ease-in-out;
}
header.active .img-logo {
    /* width: 8.3854vw;
    height: 4.5515vw; */

    width: 4.3854vw;
    height: 4.3854vw;
    border-radius: 50%;
    padding: .51vw 0;
    transition: all .5s ease-in-out;
    background: linear-gradient(45deg, #795024, #7e5425);
    /* position: relative; */
    top: 13px;
}
header .img-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(4.5);
}

header .list-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.968vw;
    width: 100%;
}
header .list-link li {
    list-style-type: none;
}
header .list-link li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
header .list-link li a {
    color: var(--color-tert);
    transition: all .5s ease-in-out;
}
header .list-link li a:hover,
header .list-link li a.active {
    /* color: var(--color-primary); */
    transition: all .5s ease-in-out;
}
header .list-link li a span.text {
    font-size: var(--p-size-alt);
    font-weight: 600;
    line-height: 1.25vw;
    font-family: var(--font-name);
    text-align: center;
    text-shadow: 1px 1px rgba(61,31,18,.85);
}

/*===================== FOOTER OF WEBSITE ===========================*/

footer {
    padding: 0 5.1562vw;
    color: white;
    background: url(../images/back_footer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
footer::before {
    content: "";
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    background: rgb(61 31 18 / 92%);
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
footer .one-content ,
footer .two-content ,
footer .third-content ,
footer .newsletter  {
    z-index: 3;
}
footer .one-content .logo {
    width: 10vw;
    height: auto;
}
footer .one-content .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    filter: brightness(4.5);
}

footer .newsletter form input {
    padding: 1vw;
    background: white;
    border: none;
    outline: none;
}
footer .newsletter form button {
    border: none;
    outline: none;
    padding: 1vw;
    background: var(--color-secundary);
    width: 5vw;
}
footer .newsletter .social-media a i {
    font-size: 2.5vw;
}

/*===================== RESPONSIVE OF HEADER__WEBSITE ===========================*/

@media (max-width:768px) {

    header {
        height: 20vw;
        justify-content: space-between;
        transition: all .5s ease-in-out;
    }
    header .list-link,
    header .right {
        display: none;
    }
    header .img-logo {
        display: flex;
        width: 22.3854vw;
        /* width: 32.3854vw; */
        height: auto;
    }
    header.active .img-logo {
        width: 22.3854vw;
        height: auto;

        border-radius: 0px;
        padding: 0;
        background: none;
        top: 0px;
        transition: all .5s ease-in-out;
    }
    header .img-logo img {
        filter: contrast(0%) brightness(200%)
    }

    header .icon-toggle {
        display: flex;
        justify-content: end;
        align-items: center;
    }
    header .icon-toggle .icon-bars {
        display: none;
        width: 20vw;
        height: 20vw;
        color: white;
    }
    header.active .icon-toggle .icon-bars {
        color: #ffffff;
    }
    header .icon-toggle .icon-bars.active {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 11;
    }
    header .icon-toggle .icon-bars i {
        font-size: 9vw;
    }
    
    header .mobile-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10vw;
        height: 100vh;
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        background: #9f7a3370;
        backdrop-filter: blur(42px);
        transition: all .5s ease-in-out;

        visibility: hidden;
        opacity: 0; 
        transform: translateY(-20px);
    }
    header.active .mobile-nav.active {
        background: #9f7a33;
        visibility: visible; 
        opacity: 1;
        transform: translateY(0);
        transition: all .5s ease-in-out;
        z-index: 10;
    }
    
    header .mobile-nav.active {
        visibility: visible; 
        opacity: 1;
        transform: translateY(0);
        transition: all .5s ease-in-out;
        z-index: 10;
    }

    header .mobile-nav .list-link {
        display: flex;
        flex-direction: column;
        gap: 8vw;
    }
   
    header .mobile-nav .list-link li a span.text {
        font-size: 7vw;
        line-height: normal;
        font-weight: 700;
        transition: all .5s ease-in-out;
    }
    header .mobile-nav .list-link li a span.text:hover {
        color: var(--color-secundary);
        transition: all .5s ease-in-out;
    }

    header .mobile-nav .right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8vw;
    }

    header .mobile-nav .right .social-network {
        gap: 8.4687vw;
    }
    header .mobile-nav .right .social-network .icon-network {
        width: 8.5625vw;
        height: 8.5625vw;
    }

    /* =========== FOOTER =========== */

    footer .one-content .logo {
        width: 100%;
        height: 29vw;
        margin-bottom: 6vw;
    }
    footer .one-content .tel .icon {
        width: 9vw;
        height: 9vw;
        margin-right: 5vw;
        position: relative;
        display: block;
    }
    footer .one-content .tel .icon i {
        font-size: 6vw;
    }
    footer .newsletter form input {
        padding: 4vw;
    }
    footer .newsletter form button {
        padding: 2vw;
        width: 18vw;
    }
    footer .newsletter form button i {
        font-size: 6vw;
    }
    footer .newsletter .social-media a i {
        font-size: 8vw;
    }

}