
/* header.on */
header.on {
    
    background: #ffffff59;
    color: #000;
}
header.on .h_logo{
    filter: none;
}
header.on .header_in_wrap .gnb li a path{
    fill:#000;
    /* transition: 0.5s ease-in-out; */
}
header.on .header_in_wrap .gnb li:hover a path,
header.on .header_in_wrap .gnb li.active a path{
    fill: #8658FF;
}
header.on .header_in_wrap .gnb li:hover a ,
header.on .header_in_wrap .gnb li.active a {
    color: #8658FF;
}
/* header.on .header_in_wrap{
    height: 50px;
} */


header{
    backdrop-filter: blur(3px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0 , 0, 0, 0.1);
    color: #fff;
    transition: all .5s ease-in-out;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    /* mix-blend-mode: difference; */
}
.h_top {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: .5px solid #D8D8D8;
}
.h_logo{
    mix-blend-mode:normal;
    max-width: 260px;
    filter: invert(100%) sepia(100%) saturate(0) hue-rotate(200deg) brightness(200%) contrast(201%);
}
.header_in_wrap{
    height: 80px;
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items:center ;
    /* transition: all .5s ease-in-out; */
}

.header_in_wrap nav{
    height: 100%;
    display: flex;
    align-items: center;
}
.header_in_wrap .gnb{
    display: flex;
    height: 100%;
    font-size: 20px;
    letter-spacing: 0px;
    font-weight: 600;
    height: 100%; 
}
.header_in_wrap .gnb li a path{
    fill:#F2F8FC;
    transition: 0.5s ease-in-out .2s;
}
.header_in_wrap .gnb li:hover a ,
.header_in_wrap .gnb li.active a {
    color: #e2dfff;
}
.header_in_wrap .gnb li.active a::before {
    width: 100%;
}
.header_in_wrap .gnb li a::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 20px;
    left: 0;
    margin-left: 0%;
    width: 0;
    height: 1px;
    background: #8658ff;
    /* transition: all .3s ease ; */
    transition: 0.5s ease-in-out;
}

.header_in_wrap .gnb a {
    position: relative;
    padding-left: 10px;
    margin: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 5rem;
}
/* 올라가는 텍스트 */
.header_in_wrap .gnb a span{
    position: relative;
    overflow: hidden;
    height: 1em;
}
.header_in_wrap .gnb a span i{
    display: block;
    transition: transform 0.3s ease;
    line-height: 1;
}
.header_in_wrap .gnb a span i:first-child {
    transform: translateY(0);
    transition: .3s ease;
}
.header_in_wrap .gnb a span i:last-child {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(0);
    transition: .3s ease;
}
.header_in_wrap .gnb li:hover a span i:first-child ,
.header_in_wrap .gnb li.active a span i:first-child {
    transform: translateY(-100%);
}
.header_in_wrap .gnb li:hover a span i:last-child ,
.header_in_wrap .gnb li.active a span i:last-child {
    transform: translateY(-100%);
}
.header_in_wrap .header_link{
    display: flex;
    align-items: center;
    font-family: 'NEXON Lv2 Gothic';
    font-weight: bold;
    color: #000;
}
.link_img{margin-right: 1rem;}
/* .header_link p{
    font-size: 1.5rem;
}
.header_link span{
    font-size: 2.6rem;
} */
.header_in_wrap .header_link{display: none;}
/* 모바일메뉴 */
.menu-wrap{
    /* display: none; */
    position: relative;
    width: 30px;
    height: 18px;
    cursor: pointer;
}
.menu-wrap .line{
    position: absolute;
    width: 100%;
    height: 2.5px;
    border-radius: 2px;
    background: #fff;
    left: 0;
}
header.on .menu-wrap .line{background: #222;}
.menu-wrap .line:first-child{
top: 0;
transform-origin: 25% 50%;
transition: .3s;
}
.menu-wrap .line:nth-child(2){
top: calc(50% - 1px);
}
.menu-wrap .line:last-child{
bottom: 0;
transform-origin: 25% 50%;
transition: .3s;
}
.menu-wrap.open .line:first-child{
transform: rotate(45deg) translateX(10%);
}
.menu-wrap.open .line:nth-child(2){
opacity: 0;
}
.menu-wrap.open .line:last-child{
transform: rotate(-45deg) translateX(10%);
}

@media (min-width:0px) and (max-width:1280px){
    .header_in_wrap {
        width: 95%;
    }
    .header_in_wrap .gnb {
        font-size: 17px;
    }
}
@media (min-width:0px) and (max-width:1080px){
    /* header */
    header .header_in_wrap{
        height: 65px;
        /* justify-content: space-between; */
    }
    header.on .header_in_wrap{
        height: 65px;

    }
    /* header.on {
        background: #000;
        color: #fff;
    } */
    header.on .menu-wrap .line {
        background: #000;
    }
    .header_in_wrap .header_link{
        display: flex;
    }
    .link_img {
        width: 40px;
    }
    /* mobile menu */
    .header_in_wrap nav.menu_open {
        /* display: block; */
        height: calc(100vh - 65px);
    }
    .header_in_wrap .h_logo{
        max-width: 220px;
    }
    .header_in_wrap nav {
        display: block;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #000000;
        height: 0;
        overflow: hidden;
        transition: all .5s ease;
    }
    .header_in_wrap .gnb {
        font-size: 1.6rem;
    }
    header.on .header_in_wrap nav {
        top: 65px;
    }
    header .header_in_wrap nav .gnb{
        font-size: 5vw;
        color: #000;
    }
    header .header_in_wrap nav .gnb{
        flex-direction: column;
        justify-content: center;
        text-align: left;
        gap: 8vh;
    }
    header .header_in_wrap nav .gnb li{
        display: flex;
        justify-content: center;
        text-align: center;
    }
    header .header_in_wrap nav .gnb a{
        /* background: #f5f5f570; */
        color: #e7e7e7;
        /* border-bottom: 1px solid #d7d6d6ad; */
    }
    .header_in_wrap .gnb a span{
        display: inline-block;
    }
    .header_in_wrap .gnb li:hover a, 
    .header_in_wrap .gnb li.active a{
        color: #8658FF;
    }
    .header_in_wrap .gnb li:hover a path, 
    .header_in_wrap .gnb li.active a path{
        fill: #8658FF;
    }
    .header_in_wrap .gnb li.active a{
        /* border-bottom:1px solid #3b308e; */
        display: inline-block;
    }
    .header_in_wrap .gnb li a::before{
        bottom: 0;
    }
    
}
@media (min-width:0px) and (max-width:500px){
    .h_logo{width: 210px;}
    header .header_in_wrap nav .gnb{
        font-size: 9vw;
    }

}