header {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
    z-index: 999;
}

nav {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav label {
    display: none;
}

nav ul {
    display: flex;
    gap: 3rem;
}

nav ul li a {
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.Fixed {
    position: fixed;
    top: 0;
    height: 75px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, .8);
    box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
}

.logo {
    width: 100px;
    pointer-events: unset;
    cursor: pointer;
}

#check {
    display: none;
}

.menuBtns {
    display: none;
}

.askBtn {
    width: 100px;
    height: 35px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    background-color: var(--main-color);
    cursor: pointer;
}

.askBtn-m {
    display: none;
}

.ask-popup-wrapper {
    position: relative;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .9);
    display: none;
    z-index: 99;
}

.closeBtn {
    position: absolute;
    top: 30px; right: 30px;
    width: 20px;
    cursor: pointer;
}

.ask-popup {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 8px;
}

.askIco {
    width: 260px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border-radius: 8px;
}

.askIco:nth-child(1) p {
    color: #3a1d1d;
    font-size: 22px;
    font-weight: 700;
}

.askIco:nth-child(2) p {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.askIco:nth-child(1) {
    background-color: #f2da00;
}

.askIco:nth-child(2) {
    background-color: #33a8e3;
}

.askIco:nth-child(1) i {
    color: #3a1d1d;
    font-size: 35px;
}

.askIco:nth-child(2) i {
    color: #fff;
    font-size: 35px;
}

.overlay {
    display: none;
}


/*==================================================*/
@media (max-width: 1250px) {
    nav {
        width: 100%;
        padding: 0 20px;
    }
}


@media (max-width: 850px) {
    header {
        height: 75px;
    }

    nav label {
        display: flex;
        z-index: 8;
    }

    .menuBtns {
        display: inline-block;
        cursor: pointer;
    }

    .askBtn {
        display: none;
    }

    .askBtn-m {
        display: flex;
        color: #fff;
        font-weight: 600;
        letter-spacing: -0.02em;
        cursor: pointer;
    }

    .closeBtn {
        right: unset;
        top: 25px; right: 20px;
    }

    nav ul {
        position: absolute;
        top: 0; left: -100%;
        width: 80%;
        height: 100vh;
        padding-left: 50px;
        flex-direction: column;
        justify-content: center;
        background-color: #111;
        touch-action: none;
        transition: all .2s;
        z-index: 7;
        gap: 2.2rem;
        overflow: hidden;
    }

    nav ul li {
        color: #fff;
        font-size: 26px;
    }

    .overlay {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        background-color: rgba(0, 0, 0, .6);
        transition: all .3s;
        opacity: 0;
        visibility: hidden;
        z-index: 6;
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 24px;
        height: 2px;
        background-color: #fff;
        margin: 6px 0;
        transition: .3s ease;
    }

    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-5px, 2px);
        transform: rotate(-45deg) translate(-5px, 2px);
        background-color: #fff;
    }

    .change .bar2 {
        opacity: 0;
    }

    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-9px, -6px);
        transform: rotate(45deg) translate(-9px, -6px);
        background-color: #fff;
    }
    
    #check:checked ~ ul {left: 0;}
    #check:checked ~ .overlay {
        opacity: 1;
        visibility: visible;
        touch-action: none;
    }
}


@media (max-width: 450px) {
    header {
        height: 65px;
    }

    .Fixed {
        height: 55px;
    }

    .logo {
        width: 80px;
    }

    nav ul li {
        font-size: 18px;
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 24px;
        height: 2px;
        background-color: #fff;
        margin: 3px 0;
        transition: .3s ease;
    }

    .bar2 {
        opacity: 0;
        visibility: hidden;
    }

    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-5px, 2px);
        transform: rotate(-45deg) translate(-3px, 3px);
    }

    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-9px, -6px);
        transform: rotate(45deg) translate(-4px, -4px);
    }
}