.timeline {
    --timeline-bg-color: #888;

    font-family: 'Figtree';

    display: grid;
    grid-template-areas: 'timeline';

    isolation: isolate;
}

.timeline .timeline-slider {
    grid-area: timeline;

    display: flex;
    overflow: hidden;
    margin-bottom: auto;
}

.timeline .timeline-slider .timeline-date {
    width: 100%;
    min-height: 100px;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background-color: #888;
    background-color: var(--timeline-bg-color, #888);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1;
}
@media (min-width: 480px) {
    .timeline .timeline-slider .timeline-date {
        width: calc(100% / 3);
    }
}
@media (min-width: 768px) {
    .timeline .timeline-slider .timeline-date {
        width: calc(100% / 5);
    }
}
@media (min-width: 992px) {
    .timeline .timeline-slider .timeline-date {
        width: calc(100% / 7);
    }
}

.timeline .timeline-controls {
    grid-area: timeline;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (min-width: 480px) {
    .timeline .timeline-controls {
        margin-bottom: 0;
        height: 300px;
    }
}

.timeline .timeline-controls .timeline-control {
    height: 40px;
    width: 40px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 2;
}

.descbox-wrapper {
    min-height: 400px;
    display: flex;
    align-items: end;
    height: 100%;
}
.descbox {
    font-family: 'Figtree';

    background-color: var(--timeline-bg-color, #888);
    display: grid;
    place-items: center;
    width: 86%;
    height: 100%;
    font-size: 1.5rem;
    color: #fff;
    transition: background-color 300ms linear;
    padding: 1.5rem;
    text-align: center;
    line-height: 1.25;

    margin: 0 6% 0 7%;
}
@media (min-width: 480px) {
    .descbox {
        margin: 0 6% 0 11%;
    }
}
@media (min-width: 768px) {
    .descbox {
        margin: 0 6% 0 7%;
    }
}
@media (min-width: 992px) {
    .descbox {
        margin: 0 6% 0 8%;
        padding: 3rem;
    }
}
@media (min-width: 1200px) {
    .descbox {
        font-size: 2.25rem;
    }
}
