.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: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;
    }
}