#header{
    background-color: #000;
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    transition: .5s;
}
#header:hover{
    background-color: #ffd300;
}
#header .center1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
#header .center1>a {
    display: flex;
    align-items: center;
    position: relative;
}
#header .center1>a img{
    max-width: 100%;
}
.h_logo{
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
#header:hover .h_logo{
    display: block;
}
.menu_box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0 65px;
}
ul.main_menu {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0 45px;
}
ul.main_menu>li {
    height: 100%;
    position: relative;
}
ul.main_menu>li>a {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 21px;
    color: #fff;
    font-family: 'Poppins-Bold', sans-serif;
    letter-spacing: 0.03em;
}
#header:hover ul.main_menu>li>a{
    color: #000;    
}
ul.main_menu>li>a:after{
    content: "·";
    color: #ffd300;
    padding-left: 45px;
}
#header:hover ul.main_menu>li>a:after{
    color: #fff;
}
ul.main_menu>li:last-child>a:after{
    content: none;
}
ul.main_menu ul.sub_menu {
    position: absolute;
    background-color: #000;
    border: 1pt solid #ffd300;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
}
ul.main_menu>li:hover ul.sub_menu{
    opacity: 1;
    visibility: visible;
}
ul.main_menu ul.sub_menu1{
    width: 180px;
    left: -40%;
    top: 210%;
}
ul.main_menu ul.sub_menu2{
    width: 290px;
    left: -50%;
    top: 210%;
}
ul.main_menu .sub_menu li{
    text-align: center;
    padding: 15px;
}
ul.main_menu ul.sub_menu a{
    font-family: 'Pretendard-SemiBold', sans-serif;
    font-size: 18px;
    color: #fff;
}
ul.main_menu ul.sub_menu a:hover{
    color: #ffd300;
}

.menu_box>a{
    width: 230px;
    padding: 6px;
    text-align: center;
    border: 1pt solid #ffd300;
    box-sizing: border-box;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu_box>a:hover{
    border: none;
}
.menu_box>a::after{
    content: " ";
    width: 0;
    height: 100%;
    background-color: #ffd300;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: width .5s;
    border: 1pt solid #000;
    box-sizing: border-box;
    border-radius: 60px;
}
.menu_box>a:hover:after {
    width: 100%;
}
.menu_box>a span{
    font-size: 20px;
    color: #ffd300;
    font-family: 'Poppins-Bold', sans-serif;
    position: relative;
    z-index: 2;
    transition: color .3s;
    padding: 5px;
}
.menu_box>a:hover span{
    color: #000;
}

.st_btn>i, #sitemap{
    display: none;
}
/* mobile */
@media screen and (max-width: 767px){
    #header{
        height: 70px;
    }
    #header .center1>a {
        width: 150px;
    }
    ul.main_menu{
        display: none;
    }
     .menu_box{
        gap: 0 15px;
    }
    .menu_box>a {
        width: 130px;
        padding: 1px;
    }
    .menu_box>a span {
        font-size: 12px;
    }
    .st_btn>i{
        display: block;
        color: #fff;
        font-size: 18px;
    }
    
    /* site_map */
    #sitemap{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: rgba(95, 95, 95, 0.9);
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999999;
        transform: translateX(100%);
        transition: transform .8s;
    }
    #sitemap.show{
        transform: translateX(0);
    }
    .close_btn{
        display: flex;
        justify-content: flex-end;
        padding-right: 16px;
        padding-top: 38px;
    }
    #sitemap i{
        font-size: 24px;
        color: #fff;
    }
    .st_box{
        padding: 12vh 15% 0;
        overflow: auto;
        width: 100%;
        height: 100%;
    }
    .st_menu ul{
        width: 100%;
        display: none;
    }
    .st_menu p, .list a{
        font-size: 18px;
        color: #fff;
        font-family: 'Pretendard-Bold', sans-serif;
        padding: 15px 0;
    }
    .st_menu li{
        padding: 10px 0;
    }
    .list{
       padding: 15px 0;
       list-style: none; 
    }
    .list2{
        margin-top: -30px;
    }
    .st_menu a{
        font-size: 16px;
        color: #fff;
        font-family: 'Pretendard-Regular', sans-serif;
    }
}
/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    #header .center1>a {
        width: 200px;
    }
    #header .center1>a img{
        width: 100%;
    }
    ul.main_menu{
        display: none;
    }
    .menu_box{
        gap: 0 25px;
    }
    .menu_box>a {
        width: 200px;
        padding: 5px;
    }
    .menu_box>a span {
        font-size: 16px;
    }
    .st_btn>i{
        display: block;
        color: #fff;
        font-size: 24px;
    }
/* site_map */
    #sitemap{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: rgba(95, 95, 95, 0.9);
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999999;
        transform: translateX(100%);
        transition: transform .8s;
    }
    #sitemap.show{
        transform: translateX(0);
    }
    .close_btn{
        display: flex;
        justify-content: flex-end;
        padding-right: 43px;
        padding-top: 40px;
    }
    #sitemap i{
        font-size: 30px;
        color: #fff;
    }
    .st_box{
        padding: 12vh 15% 0;
        overflow: auto;
        width: 100%;
        height: 100%;
    }
    .st_menu ul{
        width: 100%;
        display: none;
    }
    .st_menu p, .list a{
        font-size: 20px;
        color: #fff;
        font-family: 'Pretendard-Bold', sans-serif;
        padding: 15px 0;
    }
    .st_menu li, .list{
        padding: 15px 0;
        list-style: none;
    }
     .list2{
        margin-top: -30px;
    }
    .st_menu a{
        font-size: 18px;
        color: #fff;
        font-family: 'Pretendard-Regular', sans-serif;
    }
}