:root {
    --Background-Color: #6162C3;
    --Basic-Text-Color: #000;
    --Secondary-Text-Color: #6162C3;
    --Polygon-Text-Color: #8247E5;
    --Paragraph-Text-Color: #3A3A3A;
    --Background_Body: #fff;
    --White-Color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background-color: var(--Background_Body);
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.Text_Logo_Nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.Text_Logo_Nav a {
    font-size: 1.65rem;
    font-weight: 700;
}

nav ul li a {
    color: var(--Paragraph-Text-Color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--Basic-Text-Color);
}

.off {
    color: var(--White-Color);
    background-color: var(--Background-Color);
    padding: 12px 20px;
    cursor: not-allowed;
    white-space: nowrap;
    border-radius: 7px;
}

.off i {
    font-size: 1.1rem;
    color: var(--White-Color);
}

.off:hover {
    color: var(--White-Color);
}

.Dark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
}

.Dark img {
    width: 100%;
    cursor: pointer;
}

@media only screen and (max-width:1200px) {
    nav {
        padding: 20px 50px;
    }

    nav ul {
        gap: 20px;
    }

    .Text_Logo_Nav a {
        font-size: 1.3rem;
    }

    nav ul li a {
        font-size: 0.9rem;
    }
}

@media only screen and (max-width:1000px) {
    nav {
        padding: 20px 30px;
    }

    .Dark{
        width: 80px;
    }
}

@media only screen and (max-width:900px) {
    #Home{
        margin-top: 50px;
    }

    nav {
        flex-direction: column;
        justify-content: unset;
        padding: 10px 20px;
        height: 52px;
        overflow: hidden;
        transition: all 0.3s ease;
        position: absolute;
        width: 100%;
        z-index: 1;
    }

    nav.active {
        height: 350px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
        opacity: 0;
        transition: all 0.3s;
        margin-top: 30px;
    }

    nav ul li a {
        font-size: 1rem;
    }

    nav.active ul {
        opacity: 1;
    }



    nav .OFF.frist {
        margin-top: 10px;
    }

    nav .OFF.last {
        margin-top: 20px;
    }

    .off i {
        font-size: 1rem;
    }

    .off {
        padding: 10px 15px;
        font-size: 0.9rem;
    }


    .nav_menu span {
        width: 28px;
        height: 4px;
        display: block;
        position: relative;
        margin: 5px;
        background-color: var(--Basic-Text-Color);
    }

    .Text_Logo_Nav {
        width: 100%;
    }

    .line1,
    .line2,
    .line3 {
        transition: all 0.3s;
    }

    .line1.active {
        transform: rotate(45deg) translateY(8px);
        top: 1px;
    }

    .line2.active {
        opacity: 0;
    }

    .line3.active {
        transform: rotate(-45deg) translateY(-16px);
        left: 5px;
    }

    .off {
        padding-inline: 20px;
    }

    .Dark{
        margin-top: 20px;
    }

}

