header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: url(../images/hd-bg.jpg);
    z-index: 98;
}

nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 230px;
    margin-bottom: 15px;
}

.gnb {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    background-color: var(--main-color);
    transition: all .3s;
    z-index: 98;
}

.gnb-wrapper {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
}

.gnb-wrapper ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.gnb ul li a {
    position: relative;
    color: #fff;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 600;
}

.gnb ul li a.actives::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translate(-50%, 0);
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--main-color);
}

.gnbBtn {
    width: 300px;
    height: 100%;
    padding: 0 20px;
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
}

.gnbBtn i {
    font-size: 23px;
    font-weight: 400;
}

.Fixed {
    position: fixed;
    top: 0;
    background-color: #111;
}

.actives {
    color: var(--main-color) !important;
    font-weight: 800 !important;
}

.gnb.Fixed .gnbBtn {
    background-color: var(--main-color);
}



/*==================================================*/
@media (min-width: 2250px) {
    header {
        height: 260px;
    }

    .logo {
        width: 250px;
        margin-bottom: 30px;
    }
}


@media (max-width: 1250px) {
    .gnb {
        padding: 0 20px;
    }
}


@media (max-width: 950px) {
    header {
        padding-top: 30px;
        height: auto;
        background: none;
    }
    
    .gnb {
        display: none;
    }

    .logo {
        width: 140px;
        margin-bottom: 0;
    }
}


@media (max-width: 550px) {
    .logo {
        width: 120px;
    }
}