#header {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    transition: background-color .5s, box-shadow .5s, opacity .5s, visibility .5s;
}

#header.scroll {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#header.hide {
    opacity: 0;
    visibility: hidden;
}

.header_center {
    height: 100%;
    width: 90%;
    min-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_center>a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu_lang{
    display: flex;
    align-items: center;
}

ul.main_menu {
    height: 100%;
    display: flex;
}

ul.main_menu>li {
    height: 100%;
    margin-right: 80px;
    position: relative;
}

ul.main_menu>li:last-child {
    margin-right: 0;
}

ul.main_menu>li a {
    height: 100%;
    font-size: 19px;
    color: #06183b;
    font-weight: 400;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

ul.sub_menu {
    width: 110px;
    background-color: #06183b;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 15px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

ul.main_menu>li:hover ul.sub_menu {
    opacity: 1;
    visibility: visible;
}

ul.sub_menu li {
    width: max-content;
    margin: 0 auto 15px;
    font-size: 15px;
    color: #fff;
    font-family: 'Pretendard-Light', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
}

ul.sub_menu li:last-child {
    margin-bottom: 0;
}

.lang{
    width: 60px;
    height: 33px;
    margin-left: 40px;
    position: relative;
}

.lang p{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 5px;
    cursor: pointer;
}

.lang p i{
    font-size: 12px;
}

.lang ul{
    width: 100%;
    position: absolute;
    padding: 15px 10px 10px;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 5px;
    top: 25px;
    left: 0;
    display: none;
}

.lang.show ul{
    display: block;
}

.lang ul li{
    font-size: 12px;
    font-family: 'Pretendard-Regular', sans-serif;
    color: #06183b;
    cursor: pointer;
    text-align: center;
}

.lang ul li:first-child{
    margin-bottom: 7px;
}

#m_header {
    display: none;
}





































/* mobile */
@media screen and (max-width: 767px) {

    #header {
        display: none;
    }

    #m_header {
        display: block;
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        transition: background-color .3s;
    }

    #m_header.scroll,
    #m_header.show {
        background-color: #fff;
    }

    #m_header .center {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center>a {
        width: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header .center>a img {
        width: 100%;
    }
    
    .m_menu_icon_lang{
        display: flex;
        align-items: center;
    }
    
    .m_lang{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
    }

    .m_menu_icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_icon i,
    .m_lang i{
        font-size: 26px;
        color: #06183b;
    }

    .m_menubox {
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #ebebeb;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }

    .m_menubox.show {
        opacity: 1;
        visibility: visible;
    }

    ul.m_mainmenu {
        width: 100%;
    }

    ul.m_mainmenu>li {
        width: 100%;
    }

    ul.m_mainmenu>li>p {
        width: 100%;
        text-align: center;
        padding: 13px 0;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 18px;
    }

    ul.m_submenu {
        width: 100%;
        background-color: rgba(6, 24, 59, 0.05);
        padding: 5px 0;
        display: none;
    }

    ul.m_submenu li {
        width: 100%;
        padding: 10px 0;
        text-align: center;
        font-family: 'Pretendard-Regular', sans-serif;
        text-transform: uppercase;
    }

}








































/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    #header {
        display: none;
    }

    #m_header {
        display: block;
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
        transition: background-color .3s;
    }

    #m_header.scroll,
    #m_header.show {
        background-color: #fff;
    }

    #m_header .center {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center>a {
        width: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header .center>a img {
        width: 100%;
    }
    
    .m_menu_icon_lang{
        display: flex;
        align-items: center;
    }
    
    .m_lang{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
    }

    .m_menu_icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_icon i,
    .m_lang i{
        font-size: 26px;
        color: #06183b;
    }

    .m_menubox {
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #ebebeb;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }

    .m_menubox.show {
        opacity: 1;
        visibility: visible;
    }

    ul.m_mainmenu {
        width: 100%;
    }

    ul.m_mainmenu>li {
        width: 100%;
    }

    ul.m_mainmenu>li>p {
        width: 100%;
        text-align: center;
        padding: 13px 0;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 18px;
    }

    ul.m_submenu {
        width: 100%;
        background-color: rgba(6, 24, 59, 0.05);
        padding: 5px 0;
        display: none;
    }

    ul.m_submenu li {
        width: 100%;
        padding: 10px 0;
        text-align: center;
        font-family: 'Pretendard-Regular', sans-serif;
        text-transform: uppercase;
    }

}