/* about.css – styles specific to the about page */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 20px;
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 0 20px 60px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 12px;
    top: 24px;
    background-color: var(--color-light);
    border: 4px solid var(--color-accent);
    border-radius: 50%;
    z-index: 1;
}

@media screen and (min-width: 768px) {
    .timeline::after {
        left: 50%;
    }

    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 40px;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        padding-left: 40px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even)::after {
        left: -10px;
    }

    .timeline-item:nth-child(odd)::after {
        left: auto;
        right: -10px;
    }
}