#header,
#sub_header{
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    height: 120px;
    width: 100%;
    background-color: #94954c;
}
#header.scrolled{
    background-color: #94954c;
}
#header .center1,
#sub_header .center1{
    height: 100%;
}
.menu_box{
    gap: 0 4vw;
}  
.main_menu{
    gap: 0 4vw;
}
.main_menu>li{
  position: relative;
}
.main_menu>li p{
    color: #fff;
}
#header.scrolled .main_menu>li p{
    color: #222;
}
#sub_header .main_menu>li p{
    color: #222;
}
.sub_menu{
  position: absolute;
  width: 254px;
  background-color: #2f3001;
  border-radius: 10px;
  padding: 30px;
  box-sizing: border-box;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
  z-index: 9999;
}
.main_menu>li:hover .sub_menu{
  opacity: 1;
  visibility: visible;
}
.sub_menu li a{
    transition: all .5s;
    font-family: 'Poppins-Regular', sans-serif;
}
.sub_menu li:hover a{
    font-family: 'Poppins-SemiBold', sans-serif; 
}
.st_icon{
    width: 56px;
    height: 56px;
    background-color: #fff; 
    border-radius: 50%;
}
#header.scrolled .st_icon{
    background-color: #222;
}
#sub_header .st_icon{
    background-color: #222;
}
.st_wrap{
    position: relative;
    width: 22px;
    height: 16px;
}
.st_icon p{
    position: absolute;
    background-color: #2f3001;
    height: 2px;
    right: 0;
}
#header.scrolled .st_icon p{
    background-color: #fff;
}
#sub_header .st_icon p{
    background-color: #fff;
}
.st_icon p:first-child{
    width: 100%;
    top: 0;
}
.st_icon p:nth-child(2){
    width: 13px;
    top: 50%;
    transform: translateY(-50%);
}
.st_icon p:last-child{
    width: 16px;
    bottom: 0;
}

/* sitemap */
.sitemap{
    width: 30%;
    height: 100%;
    background-color: #2f3001;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 1s;
    display: flex;
    overflow-y: auto;
}
.st_bg{
    position: absolute;
    right: 0;
    bottom: 0;
}
.sitemap .close_btn p{
    position: absolute;
    top: 5%;
    right: 5%;
    cursor: pointer;
}
.sitemap.show{
    transform: translateX(0);
}
.st_box{
    gap: 2vw 0;
    padding-left: 5vw;
    padding-top: 6vw;
}
.st_menu ul{
    display: none;
    margin-top: 1.5vw;
}
.st_menu ul li{
    margin-top: .5vw;
}
.main_menu>li:hover .sub_menu{
  opacity: 1;
  visibility: visible;
}
.st_menu li:hover a{
    text-decoration: underline;
    text-underline-position: under;
}


/* mobile */ 
@media screen and (max-width: 767px){ 
    #header, #sub_header{
        height: 90px;
    }
    .logo{
        width: 150px;
    }
    .logo img{
        width: 100%;
    }
    .main_menu{
        display: none !important;
    }
    .st_icon{
        width: 40px;
        height: 40px;
    }
    .st_wrap{
        width: 18px;
        height: 14px;
    }
    .st_icon p:nth-child(2){
        width: 10px;
    }
    .st_icon p:last-child{
        width: 14px;
    }

    .sitemap {
        width: 100%;
    }
    .st_box{
        gap: 5vw 0;
        padding-left: 10vw;
        padding-top: 25vw;
    }
    .st_box .st_menu.on{
        display: block;
    }

}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    .logo{
        width: 180px;
    }
    .logo img{
        width: 100%;
    }
    .main_menu{
        display: none !important;
    }
    .st_icon{
        width: 45px;
        height: 45px;
    }
    .st_wrap{
        width: 20px;
        height: 16px;
    }
    .st_icon p:nth-child(2){
        width: 12px;
    }
    .st_icon p:last-child{
        width: 16px;
    }

    .sitemap {
        width: 100%;
    }
    .st_box{
        gap: 5vw 0;
        padding-left: 10vw;
        padding-top: 25vw;
    }
    .st_box .st_menu.on{
        display: block;
    }
 
} 