.section-container ul {
    align-self: flex-start;
}

.flexstart {
    align-self: flex-start;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* timelinecontainer around content */
.timelinecontainer {
    padding: 10px 40px;
    position: relative;
    background-color: var(--color-background);
    width: 50%;
}

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

/* Place the timelinecontainer to the left */
.timelineleft {
    left: 0;
}

/* Place the timelinecontainer to the right */
.timelineright {
    left: 50%;
}

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

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

/* Fix the circle for timelinecontainers on the right side */
.timelineright::after {
    left: -16px;
}

/* The actual content */
.timelinecontent {
    padding: 20px 30px;
    background-color: var(--c-bg-3);
    position: relative;
    border-radius: 6px;
}

.timelinecontent h4 {
    color: var(--c-text-muted);
}

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

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

    /* Full-width timelinecontainers */
    .timelinecontainer {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .timelinecontainer::before {
        left: 60px;
        border: medium solid var(--color-primary-lighter);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--color-primary-lighter) transparent transparent;
    }

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

    /* Make all right timelinecontainers behave like the left ones */
    .timelineright {
        left: 0%;
    }
}
