#hd{
    position: fixed;
    width: 100%;
    z-index: 9999;
}
#hd_pop{
    position: absolute;
    top: 0;
}
#logo{
    position: fixed;
    left: 75px;
    top: 75px;
    width: 120px;
    transform: translateY(-50%);
    z-index: 999;
}
#logo.hide{
    z-index: 0;
}
#logo img{
    -webkit-filter: brightness(0) invert(1); 
    filter: brightness(0) invert(1);
}
.gnb-wrapper{
    display: flex;
    align-items: center;
    z-index: 100;
    justify-content: flex-end;
    /*height: 145px;*/
    width: 100%;
    margin-left: auto;
    pointer-events: none;
    overflow: hidden;
    max-width: 100vw;
}
.gnb-wrapper .first_gnb a{
    pointer-events: auto !important;
}
.first_gnb{
    opacity: 1;
    transition: 1s all;
}
.first_gnb.down{
    opacity: 0;
    transition: 1s all;
}

#first_gnb_1dul{
    display: flex;
    gap: 50px;
    font-size: var(--font-tablet1);
    padding-top: 20px;
}
.first_gnb_1dli{
    position: relative;
    font-size: var(--p-normal-fontsize);
    color: #fff;
}
.first_gnb_1dli>a{
    padding: 30px;
    display: block;
    width: 100%;
    height: 100%;
    font-family: 'HSBombaram';
}
#btn-menu{
    cursor: pointer;
    padding-left: 75px;
    padding-right: 75px;
    padding-top: 15px;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}
#btn-menu .wrapper{
    width: 75px;
    height: 16px;
}
#btn-menu .line{
    display: block;
    position: relative;
    height: 2px;
    width: 100%;
    background-color: var(--color-white);
    transition: all 0.5s ease;
}
#btn-menu .line.no2{
    top: 100%;
}
#btn-menu.on .line{
    top: 0;
    background-color: var(--colorPick-1);
}
#btn-menu.on .line.no1{
    transform: rotate(25deg);
}
#btn-menu.on .line.no2{
    transform: rotate(-25deg);
}
/* 서브네비 */
#btn-menu.on{
    z-index: 9999999999;
}
#gnb{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--colorPick-6);
    transition: opacity 0.5s ease;
    opacity: 0;
    font-family: var(--e-deco-1);
    pointer-events: auto;
}
#gnb:not(.on){
    pointer-events: none;
}
#gnb.on{
    display: block;
    transform: translateY(0);
    transition: opacity 0.5s ease;
    opacity: 1;
}
#gnb .gnb_left,
#gnb .gnb_right{
    transition: all 0.5s ease-in-out;
}
#gnb.on .gnb_left,
#gnb.on .gnb_right{
    transform: translateX(0);
    transition: all 0.5s ease-in-out;
}
#gnb .depth-wrapper{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns:1fr 1fr;
}
#gnb .gnb_section{
   height: 100%;
}
#gnb .gnb_left{
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}
#gnb .fade::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--colorPick-3);
    opacity: 0.1;
}
#gnb .fade{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition-delay: 0.5s;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.fade.on{
    opacity: 1 !important;
    transition-delay: 0.5s;
    transition: opacity 0.5s ease;
}
#gnb .left-wrapper{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#gnb .left-wrapper .text-box{
    font-family: 'HSBombaram';
    text-align: center;
    color: var(--colorPick-1);
}
#gnb .left-wrapper .box{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    min-height: 80px;
    margin-bottom: 50px;
    opacity: 0;
    transition: opacity 0.5s ease;
}
#gnb .left-wrapper .box.on{
    opacity: 1;
    transition: opacity 0.5s ease;
}

#gnb .left-wrapper .box .title{
    font-size: 3rem;
    font-family: 'HSBombaram';
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--colorPick-5);
}

#gnb .left-wrapper .box .subscript{
    font-size: 1.5rem;
    font-family: 'Pretendard-Light';
}

#gnb .left-wrapper .buttons{
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}
#gnb .left-wrapper .buttons div{
    cursor: pointer;
    width: 30px;
    height: 30px;
    background-color: var(--colorPick-6);
    margin-top: 200px;

}
#gnb .gnb_right{
    background-color: var(--colorPick-6);
    color: var(--colorPick-1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}
#gnb .gnb_right #gnb_1dul{
    padding-top: 7%;
    padding-bottom: 5%;
}
.gnb_1dli{
    padding-bottom: 20px;
    min-height: 120px;
}
#gnb .gnb_right #gnb_1dul>li a{
    text-align: center;
    transition: transform 0.2s ease-in-out;
}
#gnb .gnb_right #gnb_1dul>li>a{
    color: var(--colorPick-1);
    display: inline-block;
    font-family: 'HSBombaram';
    text-transform: capitalize;
    font-size: 3em;
    padding: 1rem;
}
#gnb .gnb_right #gnb_1dul>li:hover a{
    color: var(--colorPick-4);
    transition: color 0.5s ease, transform 0.5s ease;
}
#gnb .gnb_right .gnb_2dul a{
    font-size: 1rem;
}
#gnb .gnb_right #gnb_1dul>li:hover  .gnb_2dli:hover a{
    color: var(--colorPick-1);
}
#gnb .gnb_right .gnb_2dul{
    transition: all 0.5s ease;
    overflow: hidden;
    padding-left: 25px;
    padding-top: 0px;
    padding-bottom: 0px;
    display: flex;
    opacity: 0;
}
#gnb .gnb_right .gnb_1dli:hover>.gnb_2dul{
    transition: all 0.5s ease;
    padding-top: 3px;
    padding-bottom: 3px;
    opacity: 1;
}
#gnb .gnb_right .gnb_2dli{
    font-family: 'Pretendard-Light';
    transition: all 1s;
}
#gnb .gnb_right .gnb_2dli a{
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 5px 10px;
}
#hd .socialLink{
    width: 100%;
    padding-top: 1%;
    padding-bottom: 3%;
}
#hd .socialLink .wrapper{
    display: flex;
    gap: 40px;
    justify-content: center;
}
#hd .socialLink .link{
    display: block;
    width: 30px;
    height: 30px;
    font-size: 28px;
}
#hd .socialLink .link.nakwon{
    transform: scale(1.5);
}
#hd .socialLink .link.nakwon::before,
#hd .socialLink .link.nakwon::after{
transform : translateX(-50%) translateY(50%) scale(0.7);
}
#hd .socialLink .link i{
    opacity: 0.9;
}
.top_button{
    text-indent: -99999px;
    position: fixed;
    bottom: 70px;
    right: 70px;
    z-index: 1000000;
    transition: 0.5s;
    width: 70px;
    height: 70px;
    border: none;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.top-button-img{
    height: 80%;
    position: absolute;
    right: 50%;
    top: 49%;
    transform: translate(50%, -50%);
}


/* 노트북 */
@media screen and (max-width: 1366px){
    #logo{
        width: 100px;
    }
    #btn-menu{
        padding-left: 40px;
        padding-right: 40px;
        top:5px;
    }
    #first_gnb_1dul{
        gap: 0px;
    }
    #hd .socialLink .wrapper{
        gap: 30px;
    }
    #hd .socialLink .link{
        width: 20px;
        height: 20px;
        font-size: 20px;
    }
    .first_gnb_1dli{
        font-size: 15px;
    }
    #gnb .gnb_right #gnb_1dul>li>a{
        font-size: 2rem;
        padding-bottom: .5rem;
    }
    #gnb .gnb_right .gnb_2dul a{
        font-size: 12px;
    }
    #gnb .gnb_right #gnb_1dul{
        padding-bottom: 0;
    }
    .gnb_1dli{
        min-height: 75px;
        padding-bottom: 5px;
    }
    #gnb .gnb_right .gnb_2dli{
        max-height: 0;
    }
    #gnb .gnb_right .gnb_1dli:hover .gnb_2dli{
        max-height: 100px;
        transition: all 1s;
    }
    #hd .socialLink{
        padding-top: 100px;
    }

}
@media screen and (max-width:1023px) {
    #hd_pop{
        width: 100%;
    }
    .hd_pops{
        left: 50% !important;
        transform: translateX(-50%);
    }
    #logo{
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        top: 27px;
    }
    #btn-menu{
        padding: 0;
        position: absolute;
        top: 38px;
        right: 28px;
    }

    #btn-menu::after{
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 150%;
        height: 700%;
        /*ux*/
    }
    .first_gnb{
        display: none;
    }
    #gnb{
        background-color: #000000aa;
    }
    #gnb .depth-wrapper{
        display: block;
    }
    .gnb_section.gnb_left{
        display: none;
    }
    .gnb_section.gnb_right{
        height: 80% !important;
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
        text-align: center;
    }
    .gnb_1da{
        font-size: 36px;
        font-weight: 400 ;
        text-align: center;
    }
    #gnb .gnb_right #gnb_1dul>li:hover a{
        color: unset;
        transition: color 0.5s ease, transform 0.5s ease;
        transform: unset;
    }

    .top-button-img{
        filter: invert(5%) sepia(100%) saturate(500%) hue-rotate(-50deg);
    }
    .top_button{
        background-color: var(--colorPick-6);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        bottom: 8%;
        right: 6%;
    }
    .gnb_1dli{
        min-height: unset;
    }
    #gnb .gnb_right #gnb_1dul{
        padding-top: 20%;
    }
    #gnb .gnb_right .gnb_2du{
        padding-left: 0;
    }
    #gnb .gnb_right .gnb_2dli{
      max-height: 0 !important;
    }
    #gnb .gnb_right #gnb_1dul>li>a {
        font-size: 1.5rem;
    }
    #hd .socialLink{
        padding-top: 50px;
        padding-bottom: 100px;
    }

}
/* 모바일 */
@media screen and (max-width: 767px) {
    .m-none{
        display: none;
    }
    .m-block{
        display: block;
    }
    #logo{
        left: 50%;
        transform: translateX(-50%);
        top: 27px;
        width: 70px;
    }
    #btn-menu .wrapper{
        width: 30px;
        height: 5px;
    }
    #btn-menu.on .wrapper .line.no1{
        transform: translateY(1px) rotate(30deg);
    }#btn-menu.on .wrapper .line.no2{
        transform: translateY(-1px) rotate(-30deg);
    }
    #gnb .gnb_right #gnb_1dul>li>a{
        font-size: 16px !important;
        font-weight: 400 ;
        text-align: center;
    }
    #gnb .gnb_right #gnb_1dul{
        padding-bottom: 10%;
    }
    #hd .socialLink{
        padding-top: 0;
    }
    .socialLink a{
        width: 17px !important;
        height: 17px !important;
        font-size: 15px !important;
    }
}

