.navbar {
    background-color: var(--shade-5b);
    border-right: solid 1px var(--shade-3);
    position: fixed;
    left: 0;
    height: 100vh;
    width: 80px;
    z-index: 996;
}

@media screen and (max-width: 768px) {
    .navbar {
        height: 80px;
        width: 100vw;
        position: fixed;
        bottom: 0;
        border-right: none;
        border-top: solid 1px var(--shade-3);
    }
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .navbar-nav {
        flex-direction: row;
    }
}

.nav-item,
.nav-item-2 {
    width: 100%;
    justify-items: center;
    box-sizing: border-box;
}

.nav-item-2 {
    position: relative;
}

.nav-item-2:hover {
    background-color: var(--shade-4);
    width: 60px;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .nav-item-2:hover {
        width: 100%;
    }
}

.nav-item:first-child {
    margin-bottom: auto;
}

@media screen and (max-width: 768px) {
    .nav-item:first-child {
        margin: 0 5px;
    }
}

.nav-item:last-child {
    margin-top: auto;
}

@media screen and (max-width: 768px) {
    .nav-item:last-child {
        margin: 0 5px;
    }
}

.nav-link,
.nav-link-2 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    text-decoration: none;
}

.nav-link:active {
    transform: translate(0, 1px);
}

.nav-item-2:active {
    transform: scale(0.93);
}

.nav-item-2.active {
    background-color: var(--shade-5);
    outline: 1px solid var(--shade-3);
    border-radius: 10px;
    box-sizing: border-box;
    width: 60px;
}

.nav-item-2.active:hover {
    background-color: var(--shade-4);
}

@media screen and (max-width: 768px) {
    .nav-item-2.active {
        width: 100%;
    }
}

.nav-item:not(:first-child):not(:last-child),
.nav-item-2:not(:first-child):not(:last-child) {
    margin: 5px 0;
}

@media screen and (max-width: 768px) {
    .nav-item:not(:first-child):not(:last-child),
    .nav-item-2:not(:first-child):not(:last-child) {
        margin: 0 5px;
    }
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: calc(50% - 30px + 4px);
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #8f44ff;
    box-shadow:
        0 0 0 3px rgba(143, 68, 255, 0.35),
        inset 0 1px 2px rgba(0,0,0,0.25);
    pointer-events: none;
    animation: pulse-badge 1.9s infinite ease-in-out;
    z-index: 10;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        opacity: 0.92;
    }
    50% {
        transform: scale(1.22);
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .notification-badge {
        right: 4px;
    }
}

@media screen and (max-width: 480px) {
    .notification-badge {
        top: 3px;
        right: 3px;
        width: 15px;
        height: 15px;
    }
}.dropbtn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

@media screen and (max-width: 768px) {
    .dropbtn {
        align-items: center;
        justify-content: center;
    }
}

.dropbtn:active {
    transform: translate(0, 1px);
}

.dropdown {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    width: 250px;
    min-width: 250px;
    left: 20px;
    bottom: 60px;
    background: var(--shade-5);
    border-radius: 22px;
    border: solid 1px var(--shade-3);
    box-sizing: border-box;
    padding: 12px 12px;
    min-width: 160px;
    overflow: auto;
}

@media screen and (max-width: 768px) {
    .dropdown-content {
        left: 0;
        bottom: 81px;
        width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
        border-radius: 0;
    }
}

.dropdown-content a,
.dropdown-content .menu-item-btn {
    font-family: "IsidoraSans-SemiBold";
    font-size: 1rem;
    color: var(--shade-1);
    padding: 16px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    position: static;
}

.dropdown-content a svg,
.dropdown-content .menu-item-btn svg {
    width: 1rem;
    height: 1rem;
    stroke: var(--shade-2);
}

.dropdown-content .menu-item-btn .icon-sun {
    display: block;
}

.dropdown-content .menu-item-btn .icon-moon {
    display: none;
}

[data-theme="light"] .dropdown-content .menu-item-btn .icon-sun {
    display: none;
}

[data-theme="light"] .dropdown-content .menu-item-btn .icon-moon {
    display: block;
}

@media screen and (max-width: 768px) {
    .dropdown-content a,
    .dropdown-content .menu-item-btn {
        width: 100%;
    }
}

.dropdown-content-inside:active {
    transform: scale(0.970);
}

@media screen and (max-width: 768px) {
    .dropdown-content-inside {
        display: flex;
        width: 100%;
        overflow: hidden;
    }
}

.dropdown a:hover,
.dropdown .menu-item-btn:hover {
    background-color: var(--shade-3);
    border-radius: 10px;
}

.menu-divider {
    height: 0;
    border-top: 1px solid var(--shade-3);
    margin: 8px 16px;
    padding: 0;
    flex-shrink: 0;
}

.show {
    display: flex;
    flex-direction: column;
}.back-forward-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--shade-5);
    border: solid var(--shade-3) 1px;
    border-radius: 22px;
    padding: 12px;
    color: var(--shade-0);
    font-family: "IsidoraSans-SemiBold";
    font-size: 1.125rem;
    width: 100%;
    min-width: 0;
    margin: 0 0 2rem 0;
    box-sizing: border-box;
    position: sticky;
    top: 1rem;
    z-index: 1;
    overflow-x: hidden;
}

.back-forward-bar,
.back-forward-bar * {
    text-align: center !important;
}

.back-forward-bar span {
    flex: 1 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
}

.back-forward-bar span * {
    display: inline-block !important;
    text-align: center !important;
}

.back-button,
.forward-button {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: var(--shade-3);
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.back-button i,
.forward-button i {
    font-size: 20px;
    color: var(--shade-1);
}

.back-button:active,
.forward-button:active {
    transform: scale(0.970);
}span {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

span.logo {
    content: url(../images/vectors/logo.svg);
    width: 25px;
}

span.qrcode {
    content: url(../images/vectors/qr-code-icon.svg);
    width: 25px;
}

span.info-icon {
    content: url(../images/vectors/info-icon.svg);
    width: 25px;
}

span.doc {
    content: url(../images/vectors/doc.svg);
    width: 25px;
}

span.ts {
    content: url(../images/vectors/teamspeak.svg);
    width: 18px;
}

span.bolt {
    content: url(../images/vectors/bolt-icon.svg);
    width: 25px;
}

span.minecraft-icon {
    content: url(../images/vectors/minecraft-icon.svg);
    height: 25px;
}

span.archive-icon {
    content: url(../images/vectors/archive-icon.svg);
    width: 25px;
}

span.hamburger {
    content: url(../images/vectors/hamburger.svg);
    width: 30px;
}

span.hammer {
    content: url(../images/vectors/hammer.svg);
    width: 25px;
}

span.faq {
    content: url(../images/vectors/faq.svg);
    width: 25px;
}

span.discord {
    content: url(../images/vectors/discord.svg);
    height: 0.75rem;
}

span.el {
    content: url(../images/vectors/external-link.svg);
    height: 0.75rem;
}

.with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 20px;
    padding-right: 20px;
}

.with-icon .info-icon {
    width: 18px;
    height: 18px;
    content: url(../images/vectors/info-icon.svg);
    display: inline-block;
}

.with-icon .faq {
    width: 18px;
    height: 18px;
    content: url(../images/vectors/faq.svg);
    display: inline-block;
}

.with-icon .doc {
    width: 18px;
    height: 18px;
    content: url(../images/vectors/doc.svg);
    display: inline-block;
}
