.header {
    background-color: var(--color0201);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5%;
}
.header a img {
    width: 170px;
}
.navbar ul {
    display: flex;
    direction: rtl;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.navbar ul li a {
    text-decoration: none;
    font-family: Sahel-SemiBold;
    color: var(--color0202);
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}
.navbar a:hover {
    transform: translateY(-2px);
}
.menu {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--color0202);
}

.menu i {
    transition: transform 0.3s ease;
}

.menu.active i::before {
    content: "\f00d";
}
@media screen and (max-width: 600px) {
    .menu {
        display: flex;
    }
    .menu.active {
        z-index: 3;
    }
    .navbar {
        display: flex;
        position: absolute;
        inset: 0;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transform: scale(0);
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }
    .navbar.active {
        position: fixed;
        opacity: 1;
        background: color-mix(in srgb, var(--color0201) 70%, transparent);
        z-index: 2;
        transform: scale(1);
    }
    .navbar ul {
        flex-direction: column;
    }
}