body {
    display: flex;
    flex-direction: column;
    padding: 4vh 4vw 4vh 4vw;
}

.page-content {
    flex: 1;
    max-width: 560px;
    margin-left: 12vw;
}

.timeline {
    border-left: 1px solid var(--border);
    padding-left: 28px;
    margin-left: 4px;
    margin-top: 8px;
}

.section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.2);
    margin: 52px 0 12px;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.section-label.visible {
    opacity: 1;
}

.section-label:first-child {
    margin-top: 8px;
}

.entry {
    position: relative;
    margin: 28px 0;
    font-size: 14.5px;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.entry.visible {
    opacity: 1;
    transform: translateY(0);
}

.entry::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, transform 0.4s ease-out;
    transform: scale(0);
}

.entry.visible::before {
    transform: scale(1);
}

.entry:hover::before {
    background: var(--accent);
}

.entry.muted {
    color: var(--text-muted);
}

.entry.aside {
    color: var(--text-muted);
    font-style: italic;
    font-size: 13.5px;
}

.entry.aside::before {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: scale(0);
}

.entry.aside.visible::before {
    transform: scale(1);
}

.entry.current {
    color: #ffffff;
    font-weight: 400;
}

.entry.current::before {
    background: var(--accent);
    width: 7px;
    height: 7px;
    left: -33px;
    top: 8px;
    box-shadow: 0 0 8px rgba(201, 168, 124, 0.3);
    transform: scale(0);
}

.entry.current.visible::before {
    transform: scale(1);
}

footer {
    max-width: 560px;
    margin-left: 12vw;
}

@media (max-width: 900px) {
    body {
        padding: 4vh 6vw;
    }

    .page-content,
    footer {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    body {
        padding: 3vh 5vw;
    }

    .timeline {
        padding-left: 20px;
    }

    .entry::before {
        left: -24px;
    }

    .entry.current::before {
        left: -25px;
    }
}
