#header{
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: background-color .5s, box-shadow .5s;
}

#header.scroll{
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.header_center{
    width: 90%;
    min-width: 1200px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.header_center>a{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

h1{
    display: flex;
    align-items: center;
    color: #fff;
    transition: color .5s;
}

#header.scroll h1{
    color: #111;
}

h1 p{
    font-size: 56px;
    font-family: 'Cardo', serif;
    font-weight: 700;
}

h1 span{
    font-size: 22px;
    font-family: 'Cardo', serif;
    font-weight: 400;
    line-height: 23px;
    margin-left: 10px;
}

ul.main_menu{
    width: max-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
}

ul.main_menu li{
    font-size: 18px;
    color: #fff;
    font-family: 'Cardo', serif;
    font-weight: 400;
    margin-right: 3vw;
    cursor: pointer;
    transition: color .5s;
}

#header.scroll ul.main_menu li{
    color: #111;
}

ul.main_menu li:last-child{
    margin-right: 0;
}

ul.user_menu{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
}

ul.user_menu li{
    font-size: 16px;
    color: #fff;
    font-family: 'Pretendard-Light', sans-serif;
    margin-right: 30px;
    cursor: pointer;
    transition: color .5s;
}

ul.user_menu li:last-child{
    margin-right: 0;
}

#header.scroll ul.user_menu li{
    color: #111;
}

#m_header{
    display: none;
}







































/* mobile */
@media screen and (max-width: 767px){

    #header{
        display: none;
    }

    #m_header{
        display: block;
        width: 100%;
        height: 60px;
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        transition: background-color .5s, box-shadow .5s;
    }

    #m_header.scroll{
        background-color: #fff;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }

    #m_header .center{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center>a{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header.scroll h1{
        color: #111;
    }
    
    h1 p{
        font-size: 40px;
    }
    
    h1 span{
        font-size: 14px;
        line-height: 15px;
        margin-left: 5px;
    }

    .m_menu_icon{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_icon i{
        font-size: 26px;
        color: #fff;
    }

    #m_header.scroll .m_menu_icon i{
        color: #111;
    }

    .m_menubox{
        width: 90%;
        height: calc(100% - 60px);
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #fff;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
        transform: translateX(-110%);
        transition: transform .7s;
    }

    .m_menubox.show{
        transform: translateX(0);
    }

    .m_close{
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 22px;
        right: 15px;
    }

    .m_close i{
        font-size: 18px;
        color: #111;
    }

    .m_user_section{
        width: 100%;
    }

    .m_user_section p{
        width: 100%;
        height: 75px;
        padding: 0 15px;
        box-sizing: border-box;
        font-size: 16px;
        color: #606060;
        font-family: 'Pretendard-Light', sans-serif;
        display: flex;
        align-items: center;
    }

    .m_user_section p span{
        font-family: 'Pretendard-Bold', sans-serif;
        color: #111;
    }

    .m_user_section ul{
        width: 100%;
        display: flex;
        background-color: #111;
    }

    .m_user_section ul li{
        width: 50%;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        color: #fff;
        font-family: 'Cardo', serif;
        font-weight: 700;
    }
    
    .m_user_section ul li:first-child{
        border-right: 1px solid #fff;
        box-sizing: border-box;
    }

    .m_menu{
        width: 100%;
        height: calc(100% - 110px);
        padding: 60px 50px;
        box-sizing: border-box;
    }

    .m_menu ul{
        width: max-content;
    }

    .m_menu ul li{
        width: max-content;
        margin-bottom: 35px;
        font-size: 20px;
        color: #111;
        font-family: 'Cardo', serif;
        font-weight: 700;
        display: flex;
        align-items: center;
    }

    .m_menu ul li:last-child{
        margin-bottom: 0;
    }

    .m_menu ul li i{
        font-size: 20px;
        margin-right: 10px;
    }

}






































/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px){

    #header{
        display: none;
    }

    #m_header{
        display: block;
        width: 100%;
        height: 60px;
        position: fixed;
        z-index: 9999;
        top: 0;
        left: 0;
        transition: background-color .5s, box-shadow .5s;
    }

    #m_header.scroll{
        background-color: #fff;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }

    #m_header .center{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center>a{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header.scroll h1{
        color: #111;
    }
    
    h1 p{
        font-size: 40px;
    }
    
    h1 span{
        font-size: 14px;
        line-height: 15px;
        margin-left: 5px;
    }

    .m_menu_icon{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_icon i{
        font-size: 26px;
        color: #fff;
    }

    #m_header.scroll .m_menu_icon i{
        color: #111;
    }

    .m_menubox{
        width: 40%;
        height: calc(100% - 60px);
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: #fff;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
        transform: translateX(-110%);
        transition: transform .7s;
    }

    .m_menubox.show{
        transform: translateX(0);
    }

    .m_close{
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 22px;
        right: 15px;
    }

    .m_close i{
        font-size: 18px;
        color: #111;
    }

    .m_user_section{
        width: 100%;
    }

    .m_user_section p{
        width: 100%;
        height: 75px;
        padding: 0 15px;
        box-sizing: border-box;
        font-size: 16px;
        color: #606060;
        font-family: 'Pretendard-Light', sans-serif;
        display: flex;
        align-items: center;
    }

    .m_user_section p span{
        font-family: 'Pretendard-Bold', sans-serif;
        color: #111;
    }

    .m_user_section ul{
        width: 100%;
        display: flex;
        background-color: #111;
    }

    .m_user_section ul li{
        width: 50%;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        color: #fff;
        font-family: 'Cardo', serif;
        font-weight: 700;
    }
    
    .m_user_section ul li:first-child{
        border-right: 1px solid #fff;
        box-sizing: border-box;
    }

    .m_menu{
        width: 100%;
        height: calc(100% - 110px);
        padding: 60px 50px;
        box-sizing: border-box;
    }

    .m_menu ul{
        width: max-content;
    }

    .m_menu ul li{
        width: max-content;
        margin-bottom: 35px;
        font-size: 20px;
        color: #111;
        font-family: 'Cardo', serif;
        font-weight: 700;
        display: flex;
        align-items: center;
    }

    .m_menu ul li:last-child{
        margin-bottom: 0;
    }

    .m_menu ul li i{
        font-size: 20px;
        margin-right: 10px;
    }

}