/* mq-handling */
@media (max-width: 1175px) {
    .nav_container {
        display: none !important;
    }

    .mobile_nav_container {
        display: flex !important;
    }

    .mobile_nav__aside {
        display: flex !important;
    }

    .mobile_nav__aside__support {
        display: flex !important;
    }
}

/* utility */
.image_button {
    width: fit-content;
    height: fit-content;
    cursor: pointer;
    outline: none;
    border: none;
    background-color: transparent;
}

.image_button img,
.default_icon {
    height: auto;
    width: 40px;
}

/* mobile nav */
.mobile_nav__aside,
.mobile_nav__aside__support {
    position: fixed;
    z-index: calc(var(--navbar-z-index) + 2);
    right: 0;
    top: 0;
    width: min(532px, 100%);
    height: 100%;
    overflow-y: auto;
    background-color: var(--gray-700);
    translate: 100% 0;
    transition: translate 400ms;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 2rem;
    gap: 3rem;
}

@media (max-width: 325px) {
    .mobile_nav__aside,
    .mobile_nav__aside__support {
        padding: 1rem;
    }
}

.mobile_nav__aside__support {
    z-index: calc(var(--navbar-z-index) + 3);
    gap: 2rem;
}

.mobile_nav__aside.open,
.mobile_nav__aside__support.open {
    translate: 0 0;
}

.mobile_nav__aside__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile_nav__aside__logo {
    width: auto;
    height: 40px;
}

/* aside inner */
.mobile_nav__aside__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
}

.mobile_nav__aside__separator {
    width: 100%;
    height: 2px;
    background-color: var(--gray-300);
}

/* games */
.mobile_nav__aside__games {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 5rem;
    gap: 0.8rem;
}

.mobile_nav__aside__games a {
    border-radius: var(--border-radius-small);
    background-color: var(--gray-500);
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    transition: background-color 200ms;
}

.mobile_nav__aside__games a:hover {
    text-decoration: none;
    background-color: var(--gray-600);
}

.mobile_nav__aside__games a:last-child {
    grid-column: span 2;
}

@media (max-width: 255px) {
    .mobile_nav__aside__games {
        display: flex;
        flex-direction: column;
    }

    .mobile_nav__aside__games a {
        height: 3.625rem;
    }
}

/* anchors */
.mobile_nav__aside__anchors {
    display: grid;
    grid-auto-rows: 3.625rem;
    gap: 0.8rem;
}

.mobile_nav__aside__anchor {
    background-color: var(--gray-500);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.6em 1.3em;
    border-radius: var(--border-radius-small);
    transition: background-color 200ms;
    cursor: pointer;
}

.mobile_nav__aside__anchor:hover {
    text-decoration: none;
    background-color: var(--gray-600);
}

.mobile_nav__aside__anchor span {
    font-size: 1.1rem;
    font-weight: 400;
    hyphens: auto;
}

@media (max-width: 255px) {
    .mobile_nav__aside__anchors {
        grid-auto-rows: auto;
    }

    .mobile_nav__aside__anchor {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }
}

/* footer buttons */
.mobile_nav__aside__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: stretch;
    gap: 1rem;
}

.mobile_nav__aside__button {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 300px) {
    .mobile_nav__aside__buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* support nav */
.mobile_nav__aside__support__header {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.mobile_nav__aside__support_close {
    width: 100%;
    font-size: 1.3rem;
    font-weight: 500;
    height: 3.625rem;
}