.header {
    width: 100%;
    padding: 2rem 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: all 0.5s ease-in-out;
}

.header-wrap {
    max-width: 170rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

@media (min-width: 1024px) {
    .header-wrap {
        gap: 2rem;
        justify-content: flex-end;
    }
}

.header-logo {
    position: relative;
    z-index: 999;
}

.header-logo img {
    width: 9rem;
    transition: all 0.5s ease-in-out;
}

@media (min-width: 1024px) {
    .header-logo img {
        width: 16.5rem;
    }
}

@media (max-width: 1023px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        padding: 2.5rem 0 3rem;
        overflow: auto;
        background: #0B3232;
        background: linear-gradient(180deg, rgb(11, 50, 50) 0%, rgb(12, 85, 80) 100%);
        transform: translateX(100%);
        transition: all ease-in-out 0.5s;
        z-index: 9999;
    }
}

.header-nav .menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
}

@media (max-width: 1023px) {
    .header-nav .menu {
        position: relative;
    }
    .header-nav .menu::before {
        content: "";
        width: 100%;
        height: 1px;
        background-image: url("../images/img_line.png");
        background-size: cover;
        background-position: center;
        position: absolute;
        top: -2rem;
        left: 0;
        z-index: 1;
    }
}

@media (min-width: 1024px) {
    .header-nav .menu {
        padding-left: 30rem;
    }
}

.header-nav .menu>li {
    position: relative;
    transition: 0.5s ease-in-out;
    width: 100%;
}

@media (min-width: 1024px) {
    .header-nav .menu>li {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .header-nav .menu>li.menu-item-has-children:hover {
        background-color: #bc9069;
        color: red;
    }
    .header-nav .menu>li.menu-item-has-children:hover ul.sub-menu {
        opacity: 1;
        visibility: initial;
        transform: translateY(0);
    }
    .header-nav .menu>li.menu-item-has-children:hover>a {
        color: #5A3D23;
        cursor: pointer;
    }
}

.header-nav .menu>li.current_page_item a {
    color: #fff;
}

.header-nav .menu>li a {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 2rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .header-nav .menu>li a {
        font-size: 1.8rem;
        padding: 1rem 2rem;
        justify-content: center;
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .header-nav .menu>li a:hover {
        color: #CAB585;
    }
}

.header-nav .menu>li.has-submenu {
    position: relative;
}

.header-nav .menu>li.has-submenu::before {
    content: "";
    width: 1rem;
    height: 1rem;
    background-color: #4B3521;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    position: absolute;
    top: 1.6rem;
    transform: rotate(180deg);
    right: 3rem;
    transition: all ease-in-out 0.5s;
}

@media (min-width: 1024px) {
    .header-nav .menu>li.has-submenu::before {
        background-color: #fff;
        top: 52%;
        transform: translateY(-55%) rotate(-180deg);
        right: 2rem;
    }
}

@media (min-width: 1024px) {
    .header-nav .menu>li.has-submenu:hover::before {
        background-color: #4B3521;
    }
}

.header-nav .menu>li.has-submenu.active::before {
    transform: rotate(0);
}

@media (max-width: 1023px) {
    .header-nav .menu>li.has-submenu>ul.sub-menu {
        display: none;
    }
}

.header-nav ul.sub-menu {
    background-color: #bc9069;
    color: #ffffff;
}

@media (min-width: 1024px) {
    .header-nav ul.sub-menu {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        width: -moz-max-content;
        width: max-content;
        left: 0;
        top: 100%;
        transform: translateY(2rem);
        transition: 0.5s ease-in-out;
    }
}

.header-nav ul.sub-menu li a {
    display: block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    transition: 0.5s ease-in-out;
    border-bottom: 1px solid #9B714C;
    color: #F6D9BE;
}

@media (min-width: 1024px) {
    .header-nav ul.sub-menu li a {
        text-align: left;
        font-size: 1.4rem;
        padding: 2rem 3rem;
        color: #ffffff;
    }
}

.header-nav ul.sub-menu li a:hover {
    opacity: 0.5;
}

.header-toggle-nav {
    position: fixed;
    top: 2rem;
    right: 2.4rem;
    width: 3rem;
    height: 3rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: transparent;
    border: 0;
    transition: 0.3s ease-in-out;
    z-index: 999;
}

.header-toggle-nav span {
    width: 100%;
    height: 0.4rem;
    position: absolute;
    left: 0;
    background-color: #ffffff;
    border-radius: 0.5rem;
    transition: 0.3s ease-in-out;
}

.header-toggle-nav span:nth-child(1) {
    top: 0.5rem;
}

.header-toggle-nav span:nth-child(2) {
    top: 1.4rem;
}

.header-toggle-nav span:nth-child(3) {
    top: 2.3rem;
}

.header.on-nav .header-nav {
    transform: translateX(0);
}

.header.header-down {
    transform: translateY(-100%);
}

.header.header-scroll {
    background-image: url("../images/bg_headerpc.png");
    background-size: cover;
    background-position: center;
    padding: 1rem 0 1rem;
}

.header.header-scroll .header-logo img {
    width: 9rem;
}

@media (min-width: 1024px) {
    .header.header-scroll .header-logo img {
        width: 12.5rem;
    }
}

@media (max-width: 1023px) {
    .header .logo_nav {
        width: 12.6rem;
        margin: 0 auto 6rem;
    }
}

/*# sourceMappingURL=header.css.map */