#page {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#sidebar {
    width: 182px;
    height: 100%;
    display: flex;
    gap: 20px;
    overflow-y: auto;
    flex-direction: column;
    top: 0;
    position: sticky;
}

#sidebar > p {
    font-weight: 700;
    font-size: 11px;
}

#home-text {
    margin: 20px 0 0;
    font-size: 24px !important;
    /* When in doubt, use !important. It fixes everything a dumbass like me can't do properly. - t1stm */
}

.navbar {
    height: fit-content;
    overflow: hidden;
    border-radius: 10px;
    background: var(--tile);
    width: 100%;
    box-shadow: var(--box-shadow);
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

.nav-item {
    min-height: 38px;
    height: 38px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: rgba(0, 0, 0, 0.005);
    box-shadow: inset 4px 0 0 var(--sidebar-effect);
    cursor: pointer;
    transition-duration: calc(var(--transition-duration) * 3);
    padding: 10px;
    gap: 10px;
    box-sizing: border-box;
}

.nav-selected {
    background: var(--button);
    box-shadow: inset 4px 0 0 var(--sidebar-effect-selected);
}

.nav-item:hover,
.nav-item:focus {
    background: var(--sidebar-hover);
    box-shadow: inset 4px 0 0 var(--sidebar-effect-hover);
}

.nav-item:focus {
    font-weight: bold;
    background: var(--button);
}

.nav-item > img {
    height: 24px;
    width: 24px;

    object-fit: contain;
}

.nav-item > span {
    white-space: nowrap
}

.nav-item:hover > span,
.nav-selected > span {
    font-weight: bold;
}

#sidebar-реклама {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    background: var(--tile);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

#sidebar-реклама > span {
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    text-align: center;
}

.epic-рекламичка {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--tile);
}

#b_irl {
    cursor: help;
}

.logo {
    content: var(--logo-location);
}
