.nav-bar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 230px;
    z-index: 1000;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-bar::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 2px;
    z-index: -1;
}

.nav-dot {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #f4f4f4;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-dot::after {
    content: attr(data-name);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: color-mix(in srgb, var(--tooltip-bg) 70%, transparent);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
}

.nav-dot:hover::after {
    opacity: 1;
}

.nav-dot:hover {
    transform: scale(1.3);
}

.nav-left {
    left: 40px;
    --line-color: #000000;
    --dot-color: #636363;
}

.nav-left::before {
    background-color: #000000;
}

.nav-left .nav-dot {
    border: 2px solid var(--dot-color);
}

.nav-left .nav-dot.active {
    background-color: var(--dot-color);
}