#mobile-navbar,
#desktop-navbar {
    position: fixed;
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 68px;
    z-index: 9999;
    background-color: #fafafa;
    box-sizing: border-box;
    padding: 0 40px;
    box-shadow: 0px 00px 10px 0 rgba(0, 0, 0, 0.061);
}

#mobile-navbar {
    display: none;
}

.menu-toggled {
    overflow: hidden;
}

@media(min-width:768px) {
    .menu-toggled {
        overflow: auto !important;
    }
}

#mobile-navbar .menu-btn {
    height: 40px;
}

#mobile-navbar .menu-btn div {
    position: relative;
    cursor: pointer;
    min-width: 32px;
    background-color: black;
    height: 5px;
    border-radius: 3px;
    transition: all 200ms ease-in-out;

}

#mobile-navbar .menu-btn div:after,
#mobile-navbar .menu-btn div:before {
    position: absolute;
    content: ' ';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: black;
    transform: translateY(-10px);
    opacity: 1;
    border-radius: 3px;
    transition: all 200ms ease-in-out;
}

#mobile-navbar .menu-btn div:after {
    transform: translateY(10px);
}

#mobile-navbar .menu-btn div:after {
    width: 80%;
}

#mobile-navbar .menu-btn div:before {
    width: 60%;
}

#mobile-navbar .menu-btn:hover div:after,
#mobile-navbar .menu-btn:hover div:before {
    width: 100%;
}

body.menu-toggled #mobile-navbar .menu-btn div {
    background-color: rgba(240, 248, 255, 0);
}

body.menu-toggled #mobile-navbar .menu-btn div:after {
    width: 100%;
    transform: translate(0) rotate(-45deg);
}

body.menu-toggled #mobile-navbar .menu-btn div:before {
    width: 100%;
    transform: translate(0) rotate(45deg);
}

body.menu-toggled #mobile-navbar .menu-btn:hover div:before {
    width: 100%;
    transform: translate(0) rotate(45deg);
}


@media (max-width:999.99px) {
    #mobile-navbar {
        display: flex;

        justify-content: space-between;
    }

    #desktop-navbar {
        display: none;
    }

}

body.menu-toggled #mobile-navbar>div:last-child {
    display: block !important;
    overflow: auto;
    background-color: #fafafa;
}

#navigator-helper>div>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;

}

#navigator-helper>div>div>div {
    display: block;

}

#mobile-navbar a,
#desktop-navbar a {
    color: black;
}


#mobile-navbar>div,
#desktop-navbar>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease-in-out;
    max-width: 100vw;
    gap: 12px;
}

#desktop-navbar>div:nth-child(2) {
    overflow: hidden;
}

#desktop-navbar>div:nth-child(3) {
    flex: 1;
}

#desktop-navbar>div>div {
    display: flex;
    align-items: center;
    margin: 0 0.8em;
}

#mobile-navbar>div>div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;

}

#mobile-navbar>div>div {
    /*width: 100% !important;*/

}

#desktop-navbar .styled-link {
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    /*
    height: 68px;*/
    line-height: 40px;
    padding: 0 0.4em;
    gap: 0.4em;
    color: black;
    font-weight: normal;
    opacity: 1;
    font-size: 18px;
}

#desktop-navbar .styled-link span {
    vertical-align: middle;
    font-size: 24px;
    border-radius: 100%;

}

#desktop-navbar:focus-within>div:nth-child(2) {
    max-width: 0;
}

#desktop-navbar:focus-within>div:nth-child(3) {
    flex: 1;
}


#desktop-navbar .styled-link:hover span {}

.drop-down-extra {}

.drop-down-extra>.drop-down-btn:hover {
    color: var(--accent-color);
}

.drop-down-extra>.drop-down-menu {
    position: absolute;
    top: 52px;
    height: calc(100vh - 60px);
    left: 0;
    width: 92%;
    margin: 0 4%;
    display: none;
    background-color: #fafafa;
    animation: fadeDownIn 0.3s ease-in-out;
    box-shadow: 0px 10px 10px 0 rgba(0, 0, 0, 0.061);
}

.drop-down-extra:hover>.drop-down-menu {
    display: block;
}

.multi-list {
    display: flex;
    justify-content: center;
    position: relative;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 1.4em;
    overflow: hidden;
}

.multi-list .more {
    width: 39.9999%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1.2em;
    position: relative;
}


.multi-list .more>* {
    padding: 1.2em;
    gap: 1.8em;
}

.multi-list .more img {
    max-width: 100%;
}

.multi-list .headers {
    width: 59.999%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    position: relative;
}

.multi-list .headers>* {
    width: 40%;
}

.multi-list .headers .a {
    font-size: 18px;
}


.multi-list .headers>*:hover .more,
.multi-list .headers>*:hover .context {
    display: flex;
    background-color: rgb(255, 255, 255);
}

.multi-list .context {
    position: absolute;
    width: 60%;
    top: 0;
    height: 100%;
    left: 40%;
    display: none;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    box-sizing: border-box;
    animation: fadeUpIn 0.3s ease-in-out;
}

body:lang(ar) .multi-list .context {
    right: 40%;
    animation: fadeUpIn 0.3s ease-in-out;
}

.multi-list .headers h2 {
    padding: 0.8em 0.8em;
    font-size: 18px;
    position: relative;
}

.multi-list .headers h2:before {
    position: absolute;
    content: ' \e409';
    font-family: 'Material Symbols Rounded';
    height: 100%;
    aspect-ratio: 1;
    right: 0;
    top: 0;
    font-size: 38px;
    text-align: center;
    line-height: 48px;
    border-radius: 100%;
}

body:lang(ar) .multi-list .headers h2:before {
    left: 0;
    right: unset;
    transform: rotate(180deg);
}

.multi-list .headers>*:hover h2:before,
.multi-list .headers>*:hover h2 {
    color: var(--accent-color);
}

.multi-list .headers>*:hover h2 {
    color: var(--accent-color);
    background-color: rgb(255, 255, 255);
}

.search-container {
    background-color: white;
    border-radius: 5px;
    display: flex !important;
    justify-content: center;
    width: 100%;
}


.search-container input {
    text-indent: 1.2em;
    flex: 1;
    border: none;
    background-color: rgba(0, 0, 0, 0);
    outline: none;
    padding: 0;
    color: var(--bg-0) !important;
    font-size: 18px;
}

.search-container span {
    color: var(--bg-0) !important;
    line-height: 60px;
}

@keyframes fadeUpIn {
    0% {
        transform: translateX(10%);
        opacity: 0;
    }

    100% {
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes fadeDownIn {
    0% {
        transform: translateY(-10px);
        opacity: 0.8;
    }

    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}