/* header */
header {
    width: 100%;
    height: 72px;
    background-color: rgba(0, 0, 0, 0.8);
    /*추후 선형 그라데이션으로 변경*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    /*항상 최상단*/
}

/* logo */
.logo a {
    display: block;
}

/* logo의 텍스트는 안보이게.. */
.logo a span {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}

.logo a img {
    height: 40px;
    vertical-align: top;
}

/* gnb, lnb */
.gnb {
    display: flex;
    gap: 48px;
}

.gnb>li>a {
    display: block;
    font: var(--gnb);
    color: var(--white);
    transition: 0.4s;
    padding: 24px 0;
}

.gnb>li:hover>a {
    color: var(--primary_color);
}

.lnb {
    display: none;
    /* jquery 제어*/
    position: absolute;
    /* header 높이값 만큼 아래로*/
    top: 72px;
    left: 0;
    width: 100%;
    /* height: 48px; */
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.lnb li {
    display: inline-block;
    margin-right: 48px;
}

.lnb li a {
    display: block;
    font: var(--lnb);
    color: var(--white);
    transition: 0.4s;
}

.lnb li:hover a {
    color: var(--primary_color);
}

/* user-menu */
.user_menu>ul {
    display: flex;
    gap: 24px;
    align-items: center;
}

.user_menu>ul>li svg {
    transition: 0.6s;
}

.user_menu>ul>li:hover svg {
    fill: var(--primary_color);
}

.lang_menu button {
    background: transparent;
    border: none;
}

/* lang_btn */
#lang_list {
    display: none;
    /* js제어 */
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    height: 48px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
}

#lang_list li {
    display: inline-block;
    margin-right: 48px;
}

#lang_list li a {
    display: block;
    font: var(--lnb);
    color: var(--white);
    transition: 0.4s;
}

#lang_list li:hover a {
    color: var(--primary_color);
}

/* ham menu */
.gnb_toggle {
    /* js제어 */
    display: none;
    position: fixed;
    top: 40px;
    right: 60px;
    background: none;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    width: var(--icon_m_w);
    height: var(--icon_m_h);
    border-radius: var(--icon_radius);
    padding: 0;

    z-index: 888;
}

/* 반응형 버튼 */
.res_menu_btn {
    background: none;
    border: none;
    width: var(--icon_s_w);
    height: var(--icon_s_h);
    display: none;
}

.res_login_btn {
    display: none;
}

.res_menu_close_btn {
    background: none;
    border: none;
    width: var(--icon_s_w);
    height: var(--icon_s_h);
    display: none;

    position: absolute;
    top: 26px;
    right: 38px;
}

/* 모바일 (768px 이하) */
@media screen and (max-width: 768px) {
    header {
        padding: 0 40px;
    }

    .menu {
        width: 500px;
        height: 100vh;
        padding: 80px 80px;
        display: flex;
        flex-direction: column;

        position: absolute;
        left: 100%;
        top: 0;
        background-color: var(--black);
    }

    .gnb {
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        margin-bottom: 80px;
        position: relative;
    }

    .gnb::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--white);
        position: absolute;
        top: calc(100% + 40px);
    }

    .user_menu {
        display: none;
    }

    .gnb>li>a {
        padding: 4px 0;
    }

    .gnb>li {
        position: relative;
    }

    .gnb>li::after {
        content: '';
        display: block;
        width: 12px;
        height: 12px;
        background: url(../images/header_arrow_drop_down.svg) no-repeat center;
        position: absolute;
        top: 10px;
        right: 8px;
    }

    .lnb {
        position: static;
    }

    .lnb li {
        display: block;
    }

    .res_menu_btn {
        display: block;
    }

    .res_login_btn {
        display: block;
        background: var(--primary_color);
        border: none;
        color: var(--white);
        padding: 16px 80px;
        border-radius: var(--icon_radius);
    }

    .res_menu_close_btn {
        display: block;

    }
}

/* 아주 작은 화면 (480px 이하) */
@media screen and (max-width: 480px) {

}