* .tl {
    box-sizing: border-box;
}

/* Set a background color */
.tl-body {
    background-color: #474e5d;
    font-family: Helvetica, sans-serif;
}

/* The actual timeline (the vertical ruler) */
.tl-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--gray);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* The actual timeline (the vertical ruler) */
.tl-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #474e5d;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.tl-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.tl-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.tl-left {
    left: 0;
}

/* Place the container to the right */
.tl-right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.tl-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--black);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--black);
}

/* Add arrows to the right container (pointing left) */
.tl-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--black);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--black) transparent transparent;
}

/* Fix the circle for containers on the right side */
.tl-right::after {
    left: -12px;
}

/* The actual content */
.tl-content {
    background-color: var(--white);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    position: relative;
    border-radius: 11px;
}

.tl-content h2 {
    background: var(--black);
    color: #fff;
    border-radius: 10px 10px 0 0;
    text-align: center;
    padding: 0.4rem;
    margin-bottom: 0;
}

.tl-content p {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    color: var(--text-color);
}

.tl-content p:first-of-type {
    padding: 2rem;
    margin-bottom: 0;
}

.after-date {
    background-color: var(--black);
    color: var(--text-color);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .tl-timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .tl-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .tl-container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .tl-left::after,
    .tl-right::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .tl-right {
        left: 0%;
    }
}