/* --- MENU --- */
.menu-bar {
    background-color: transparent;
    padding: 40px 0;
    position: absolute;
    width: 100%;
    transition: all 0.5s ease;
    z-index: 11;
}

.menu-bar.nav-fixed {
    position: fixed;
    top: -89px;
    transition: 300ms;
    background: #090D17;
    padding: 20px 0;
}

.menu-bar.nav-fixed .brand {
    height: 60px;
}

.menu-bar.nav-fixed.modified {
    top: 0;
}

.menu-bar .brand {
    height: 70px;
    margin-right: 30px;
}

.navbar li {
    display: inline-block;
    padding: 6px 28px 8px 28px;
    transition: 200ms;
    border-radius: 40px;
    margin-inline: 5px;
    /*max-width: 142px;*/
}

.menu-bar a:not(.lang-selector) {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
}

@media screen and (max-width: 1300px) {
    .navbar li {
        margin-inside: unset;
        padding: 6px 24px 8px 24px;
    }
}

@media screen and (max-width: 1200px) {
    .menu-bar a {
        font-size: 34px !important;
        font-weight: 500;
        width: max-content;
        display: block;
    }

    a.lang-selector {
        font-size: 30px !important;
        font-weight: 500;
        width: max-content;
        display: block;
    }
}

.lang-selector {
    color: #fff;
    font-size: 18px;
}

.lang-selector:hover {
    color: #fff;
}

.navbar li.active, .menu-bar li:has(a:hover) {
    background-color: var(--theme-color);
}

.navbar li.active {
    font-weight: 700;
}

.nav-btn {
    border: 1px solid white;
    font-size: 16px;
    border-radius: 30px;
    margin-left: 30px;
    color: #ffffff;
    display: flex;
    align-items: center;
    background: #ffffff20;
    padding: 6px 18px 6px 16px;
    margin-right: 28px;
}

.nav-btn img {
    height: 24px;
    width: 24px;
    transform: translateX(-8px);
    transition: 400ms;
}

.nav-btn:hover {
    border: 1px solid #ffffff20;
    color: #fff;
}

.nav-btn:hover img {
    transform: translateX(-8px) rotate(180deg);
}

.burger {
    cursor: pointer;
    display: none;
}

.burger-line {
    display: block;
    height: 2px;
    margin: 7px 0;
    width: 31px;
    background: #fff;
    border-radius: 10px;
}

.mobile-brand {
    display: none;
}

.navbar .x-element {
    display: none;
}

@media screen and (max-width: 1400px) {
    .navbar {
        margin: 0;
    }
}

@media screen and (max-width: 1200px) {

    .navbar .x-element {
        display: block;
    }

    .mobile-brand {
        display: block;
        height: 40px;
        margin-top: 40px;
        width: auto;
        float: right;
        position: absolute;
        left: 40px;
    }

    .mobile-brand img {
        width: fit-content;
    }

    .burger {
        display: block;
        /*margin-right: 5%;*/
    }

    .menu-bar > div > *:not(.mobile-nav) {
        visibility: hidden;
    }

    .navbar {
        background: var(--dark);
        position: fixed;
        height: 100vh;
        width: 100vw;
        right: -100vw;
        top: 0;
        padding: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-content: flex-start;
        transition: 200ms linear;
        z-index: 10;
    }

    .visible, .visible * {
        visibility: visible;
    }

    .mobile-menu-top {
        position: fixed;
        top: 73%;
        left: calc(100% + 40px);
        flex-direction: column;
        align-items: start !important;
        transform: translateX(100vw);
        transition: 200ms linear;
        z-index: 10;
    }

    .navbar.visible, .mobile-menu-top.visible {
        transform: translateX(-100vw);
        align-items: start;
        overflow: hidden;
    }

    .navbar li {
        display: block;
        margin: 0;
    }

    .mobile-overlay {
        background: #000;
        opacity: 60%;
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
        z-index: 9;
    }

    #menu {
        width: 100%;
        /*margin-left: 20px !important;*/
        top: 109px;
        position: relative;
    }

    .mobile-menu-top .nav-btn {
        margin: auto;
        margin-top: 15px;
        width: max-content;
        margin-bottom: 15px;
        font-size: 30px !important;
    }

    .x-element {
        position: absolute;
        right: 40px;
        top: 53px;
        height: 28px;
        width: auto;
    }
}

.lang-selector {
    font-family: 'Noto Kufi Arabic', sans-serif !important;
}

.text-underline-white {
    height: 2px;
    width: 100%;
    background: #fff;
    display: block;
    margin-top: 3px;
    border-radius: 10px;
}

@media screen and (max-width: 1200px) {
    .navbar li {
        padding: 10px 40px;
    }
}

@media screen and (max-width: 1400px) {

    .menu-bar .brand {
        height: 60px;
    }
}

.mobile-nav-floating-1, .mobile-nav-floating-2 {
    display: none;
}

.mobile-nav-socials {
    display: none;
}

@media screen and (max-width: 1200px) {
    .mobile-nav-floating-1 {
        height: 90%;
        position: absolute;
        right: 0;
        top: 10%;
        width: auto;
        z-index: 0;
        display: block;
    }

    .mobile-nav-floating-2 {
        display: block;
        position: absolute;
        height: 50vh;
        top: 45%;
        left: 0;
        width: auto;
        /*transform: rotate(180deg);*/
    }

    .navbar li.active, .menu-bar li:has(a:hover) {
        background: unset;
    }

    .mobile-nav-socials {
        display: inherit;
        position: absolute;
        bottom: 40px;
        left: 40px;
        flex-direction: row;
    }

    .social-media-links {
        max-width: unset;
    }

    .mobile-nav-socials a {
        height: 57px;
        width: 57px;
        margin-bottom: 0;
        margin-right: 50px;
    }
}

@media screen and (max-width: 597px) {
    .mobile-nav-floating-2 {
        height: 40vh;
        top: 58%;
    }
}

.show-tablet {
    display: none !important;
}

@media screen and (max-width: 1200px) {

    .show-tablet {
        display: block !important;
    }
}

@media screen and (max-width: 597px) {
    .lang-selector {
        margin-top: 10px;
    }

    .x-element {
        right: 13px;
        height: 18px;
    }

    .mobile-brand {
        left: 17px;
    }

    .navbar li {
        padding: 10px 17px;
    }

    .mobile-nav-socials a {
        height: 35px;
        width: 35px;
        margin-right: 27px;
    }

    .menu-bar a {
        font-size: 24px !important;
    }

    .mobile-menu-top a, .mobile-menu-top .nav-btn {
        font-size: 20px !important;
        margin-bottom: 0;
    }

    .mobile-menu-top {
        left: calc(100% + 17px);
    }

    .mobile-nav-socials {
        left: 17px;
    }

    .mobile-nav-floating-1 {
        top: 15%;
        height: 85%;
    }

    .mobile-nav-floating-2 {
        height: 29vh;
        top: 58%;
    }

    .mobile-brand {
        margin-top: 50px;
    }
}

.mobile-bottom-links {
    margin-top: 30px !important;
}

@media screen and (max-height: 725px) {
    .mobile-bottom-links {
        margin-top: 20px !important;
    }

    .menu-bar a {
        font-size: 22px !important;
    }

    .navbar li {
        padding: 8px 17px;
    }

    .mobile-nav-socials {
        bottom: 16px !important;
    }

    .mobile-menu-top {
        top: 72%;
    }
}
