header {
    position: fixed;
    width: 100vw;
    z-index: 999;
    box-shadow: 10px 0px 10px rgba(0, 0, 0, 0.2);
}

nav {
    width: 100%;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 80px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: var(--black);
    font-size: 17px;

}

nav ul li a.active,
nav ul li a:hover {
    color: var(--primary);
}

nav .menu-btn i {
    color: var(--primary);
    font-size: 31px;
    cursor: pointer;
    display: none;
}

input[type="checkbox"] {
    display: none;
}

@media (max-width: 1000px) {
    nav {
        padding: 0px 50px;
    }
}

@media (max-width: 991px) {
    nav .menu-btn i {
        display: block;
        position: relative;
        z-index: 999;
    }

    #click:checked~.menu-btn i:before {
        content: "\f00d";
        position: relative;
        top: 0px;
    }

    nav ul {
        position: fixed;
        top: 0px;
        left: -100%;
        background: var(--white);
        height: 100vh;
        width: 100%;
        text-align: center;
        display: block;
        transition: all 0.3s ease;
    }

    #click:checked~ul {
        left: 0;
    }

    nav ul li {
        width: 100%;
        margin: 60px 0;
    }

    nav ul li a {
        width: 100%;
        margin-left: -100%;
        display: block;
        font-size: 20px;
        transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    #click:checked~ul li a {
        margin-left: 0px;
    }

    nav ul li a.active,
    nav ul li a:hover {
        background: none;
        color: var(--primary);
    }
}

@media only screen and (max-width : 560px) {
    nav {
        padding: 0px 40px 0px 28px;
    }
}