@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;500;700&display=swap');


#check {
    display: none;
}

.gnb label {
    z-index: 8;
}

.menuBtns {
    display: inline-block;
    cursor: pointer;
}

.toggle-menu {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    padding-left: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background-color: #010d3f;
    touch-action: none;
    transition: all .3s;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}

.toggle-menu li a {
    width: fit-content;
    color: #fff;
    font-size: 55px;
    font-weight: 700;
    font-family: 'GmarketSans';
    letter-spacing: -0.04em;
    transition: .3s;
}

.toggle-menu li a:hover {
    color: var(--sub-color);
}

.toggle-closeBtn {
    position: absolute;
    top: 40px; right: 40px;
    cursor: pointer;
}

.toggle-closeBtn img {
    width: 80px;
    -webkit-filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(260deg) brightness(106%) contrast(105%);
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(260deg) brightness(106%) contrast(105%);
}

.bar1,
.bar3 {
    width: 28px;
    height: 2px;
    background-color: #fff;
    margin: 7px 0;
    transition: .3s ease;
}

.bar2 {
    width: 22px;
    height: 2px;
    background-color: #fff;
    margin: 7px 0;
    transition: .3s ease;
}

.bar-color {
    background-color: #222;
}

#check:checked ~ .toggle-menu {
    opacity: 1;
    visibility: visible;
}

.global {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.global a {
    font-size: 22px;
    font-family: 'Cairo';
    letter-spacing: 0.05em;
}

.global span {
    font-size: 22px;
}



/*==================================================*/
@media (max-width: 1550px) {
    .gnb-menu {
        display: none;
    }

    .toggle-menu {
        padding-left: 3rem;
        z-index: 7;
    }

    .toggle-menu li a {
        font-size: 35px;
        font-weight: 500;
    }

    .toggle-closeBtn {
        display: none;
    }

    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-8px, 5px);
        transform: rotate(-45deg) translate(-8px, 4px);
        background-color: #fff;
    }

    .change .bar2 {
        opacity: 0;
    }

    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-9px, -6px);
        transform: rotate(45deg) translate(-8px, -5px);
        background-color: #fff;
    }
}
