.mobilmenu {
    display: none;
}

.mobilmenu {
    height: 65px;
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.5s;
    padding: 0 20px;
    background-color: #FFFFFFAA;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.mobilmenu .container {
    display: flex;
    justify-content: space-between;
    padding: 0 !important;
    margin: 0;
    max-width: 100%;
}

.mobilmenu .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobilmenu .logo img {
    height: 38px;
    object-fit: contain;
}

.mobilmenu .buttons {
    display: flex;
    gap: 5px;
}

.mobilmenu #sidebar-collapse,
.mobilmenu .icon {
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 999px;
    border: none;
    outline: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.mobilmenu .basket-icon {
    margin-right: 3px;
}

.mobilmenu .icon img {
    height: 30px;
}

.mobilmenu .hb1 {
    width: 28px;
    border-bottom: 4px solid var(--darkgreen);
    border-radius: 99px;
    transition: all 0.5s;
}

.mobilmenu .hb2 {
    width: 22px;
    margin-left: -6px;
    border-bottom: 4px solid var(--darkgreen);
    border-radius: 99px;
    transition: all 0.5s;
}

.mobilmenu .hb3 {
    width: 28px;
    border-bottom: 4px solid var(--darkgreen);
    border-radius: 99px;
    transition: all 0.5s;
}

.mobilmenu #sidebar-collapse.closed .hb1 {
    transform: rotate(-45deg) translate(-6px, 10px);
    width: 30px;
}

.mobilmenu #sidebar-collapse.closed .hb2 {
    margin-left: -100%;
    opacity: 0;
}

.mobilmenu #sidebar-collapse.closed .hb3 {
    transform: rotate(45deg) translate(-6px, -10px);
    width: 30px;
    margin-left: 0;
}

#sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#sidebar,
.navbar-dropdown {
    width: 100%;
    position: fixed;
    right: -110vw;
    top: 65px;
    height: calc(100dvh - 65px);
    z-index: 997;
    background: #FFFFFFAA;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: right 0.45s cubic-bezier(0.2, 1, 0.8, 1);
    overflow: hidden;
    overscroll-behavior: contain;
    padding: 0 20px;
}

#sidebar.active,
.navbar-dropdown.active {
    right: 0;
}

#sidebar .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin-top: -10px;
    height: 100%;
}

#sidebar .links {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#sidebar .links .nav-item {
    width: 100vw;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 20px;
    font-weight: 600;
}

#sidebar .links a svg {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 18px;
}

#sidebar .links a svg path {
    stroke: var(--gray);
}

#sidebar .bottom {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 30px;
    gap: 20px;
}

#sidebar .bottom .primary-link {
    width: 200px;
    height: 60px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

#sidebar .bottom>.buttons {
    display: flex;
    gap: 20px;
}

#sidebar .bottom .item>button {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sidebar .bottom .item>button.search {
    background-color: var(--yellow);
}

#sidebar .bottom .item>button.accessibility {
    background-color: var(--green);
}

#sidebar .bottom .item>button svg {
    height: 24px;
}

@media (max-width: 1279px) {

    .desktop-modal {
        width: calc(100vw - 40px);
        max-width: 400px;
        right: 20px;
    }

    .desktop-modal.active {
        transform: translateY(20px);
    }

    .desktop-modal.login-modal::before {
        right: 92px;
    }

    .desktop-modal.basket-modal::before {
        right: 47px;
    }

    .desktop-modal.basket-modal .buttons .primary-link {
        margin-bottom: 0 !important;
        font-size: 15px;
    }

}

@media (min-width: 1280px) {

    #sidebar,
    .overlay.active {
        display: none;
    }

    .mobilmenu {
        display: none;
    }

    .game-wrapper .mobilmenu {
        display: flex;
    }
}