#header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    height: 135px;
    width: 100%;
}
#header .center1{
    height: 100%;
    align-items: center;
    gap: 0 5vw;
}
.main_menu{
    gap: 0 5vw;
    text-align: center;
}
.main_menu>li{
    position: relative;
}
.main_menu>li>a{
    padding: 10px 0;
    color: #fff;
}
.sub_menu{
    position: absolute;
    width: 160px;
    background-color: #0089d0;
    border-radius: 10px;
    padding: 20px 0;
    box-sizing: border-box;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    text-align: center;
}
.main_menu>li:hover .sub_menu{
    opacity: 1;
    visibility: visible;
}
.sub_menu li a{
    font-family: 'SUIT', sans-serif;
    font-weight: 500;
}
.sub_menu li:hover a{
    color: #111111;
    font-family: 'SUIT', sans-serif;
    font-weight: 700;
}

#sitemap{
    display: none;
}
.menu_icon{
    display: none;
}


/* mobile */
@media screen and (max-width: 767px){
    #header{
        height: 100px;
    }
    #header .center1{
        gap: 0;
        justify-content: space-between;
    }
    #header .center1>a{
        width: 150px;
    }
    #header .center1>a img{
        width: 100%;
    }

    .main_menu{
        display: none !important;
    }
    .menu_icon{
        display: block;
        width: 20px;
        height: 15px;
        position: relative;
    }
    .menu_icon span{
        width: 100%;
        height: 2px;
        background-color: #fff;
        display: block;
        position: absolute;
        left: 0;
    }
    .menu_icon span:first-child{
        top: 0;
    }
    .menu_icon span:nth-child(2){
        top: 50%;
        transform: translate(0,-50%);
    }
    .menu_icon span:last-child{
        bottom: 0;
    }

    /* site_map */
    #sitemap{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: #242b3a;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999;
        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;
    }
    .st_box{
        padding: 12vh 15% 0;
        overflow: auto;
        width: 100%;
        height: 100%;
    }
    .st_menu ul{
        width: 100%;
        display: none;
    }
    .st_menu p{
        padding: 15px 0;
    }
    .st_menu li{
        padding: 10px 0;
    }
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){
    #header .center1{
        gap: 0;
        justify-content: space-between;
    }
    #header .center1>a{
        width: 200px;
    }
    #header .center1>a img{
        width: 100%;
    }

    .main_menu{
        display: none !important;
    }
    .menu_icon{
        display: block;
        width: 25px;
        height: 15px;
        position: relative;
    }
    .menu_icon span{
        width: 100%;
        height: 2px;
        background-color: #fff;
        display: block;
        position: absolute;
        left: 0;
    }
    .menu_icon span:first-child{
        top: 0;
    }
    .menu_icon span:nth-child(2){
        top: 50%;
        transform: translate(0,-50%);
    }
    .menu_icon span:last-child{
        bottom: 0;
    }

    /* site_map */
    #sitemap{
        display: block;
        width: 100%;
        height: 100vh;
        background-color: #242b3a;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999;
        transform: translateX(100%);
        transition: transform .8s;
    }
    #sitemap.show{
        transform: translateX(0);
    }
    .close_btn{
        display: flex;
        justify-content: flex-end;
        padding-right: 53px;
        padding-top: 45px;
    }
    #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{
        padding: 15px 0;
    }
    .st_menu li{
        padding: 15px 0;
    }
}

