section:nth-of-type(1) ul {
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

@media all and (max-width: 900px) {

    section:nth-of-type(1) ul {
        grid-template-columns: 1fr 1fr;
    }

}

@media all and (max-width: 600px) {

    section:nth-of-type(1) ul {
        grid-template-columns: 1fr;
    }

}


section:nth-of-type(2) > div {
    position: relative;
}


.history {
    z-index: -50;
    margin-right: var(--space-lg);
    justify-content: space-around;
}

@media all and (max-width: 600px) {

    .history {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 20%;
    }

}


.timeline > div > :first-child {
    transform: translateX(-50%);
    margin-left: calc(200px + var(--space-lg) / 2);
    padding: var(--space-md) 0;
}

.timeline > div > :first-child > h3 {
    margin-bottom: 0;
    font-size: var(--text-lg);
}

.timeline > div > :last-child > div {
    position: relative;
    padding: var(--space-xl) 0;
}

.timeline > div > :last-child > div::before {
    position: absolute;
    left: calc(199px + var(--space-lg) / 2);
    top: 0;
    padding: 0 1px;
    height: 100%;
    content: "";
    background-color: var(--color-front);
}

.timeline > div > :last-child > div > :first-child {
    position: relative;
    min-width: 200px;
    max-width: 200px;
    font-size: var(--text-md);
}

.timeline > div > :last-child > div > :first-child::after {
    position: absolute;
    right: calc(var(--space-lg) / -2 - 6px);
    top: calc(var(--text-md) / 3);
    padding: 6px;
    content: "";
    background-color: var(--color-front);
}


@media all and (max-width: 1200px) {

    .timeline > div > :first-child {
        margin-left: 0;
        transform: none;
    }

    .timeline > div > :first-child > * {
        text-align: left;
    }

    .timeline > div > :last-child > div > :first-child {
        text-align: left;
    }

    .timeline > div > :last-child > div > :first-child::after {
        left: calc(var(--space-lg) / -2 - 6px);
        right: auto;
    }

    .timeline > div > :last-child > div {
        margin-left: var(--space-lg);
        flex-direction: column;
        align-items: start;
    }

    .timeline > div > :last-child > div::before {
        left: calc(var(--space-lg) / -2 - 1px);
    }

    .timeline > div > :last-child > div > :last-child {
        width: 100%;
    }

}
