.timeline {
    position: relative;
    max-width: 80%;
    width: auto;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

.projects-content {
    margin-top: 30px;
}

a:visited,
a:link {
    text-decoration: none;
    color: var(--white);
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    -webkit-animation: timeline-appear 1.5s;
    -moz-animation: timeline-appear 1.5s;
    -o-animation: timeline-appear 1.5s;
    animation: timeline-appear 1.5s;
}

.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--white);
    border: 4px solid var(--blue);
    top: 35px;
    border-radius: 50%;
    z-index: 1;
    -webkit-animation: fadein .4s ease-in-out .5s backwards;
    -moz-animation: fadein .4s ease-in-out .5s backwards;
    -o-animation: fadein .4s ease-in-out .5s backwards;
    animation: fadein .4s ease-in-out .5s backwards;
}

.timeline .left {
    left: -80px;
}

.timeline .right {
    left: 50%;
}

.container::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 42px;
    width: 0;
    z-index: 1;
    border: medium solid var(--blue);
    opacity: 1;
}

.timeline .left::before {
    right: 30px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--blue);
}

.timeline .right::before {
    left: 30px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--blue) transparent transparent;
}

.timeline .right::after {
    left: -16px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--blue);
    position: relative;
    border-radius: 6px;
    opacity: 1;
    margin-top: 20px;
    margin-bottom: 20px;
}

.timeline-content h5 {
    text-align: justify;
    margin-top: 5px;
}

@media all and (max-width: 65em) {
    .timeline {
        max-width: 75%;
    }
    .timeline-content {
        margin-bottom: 30px;
    }
}

@keyframes timeline-appear {
    from {
        opacity: 0;
        height: 0px;
    }
    to {
        opacity: 1;
        height: 100%;
    }
}

@-moz-keyframes timeline-appear {
    from {
        opacity: 0;
        height: 0px;
    }
    to {
        opacity: 1;
        height: 100%;
    }
}

@-webkit-keyframes timeline-appear {
    from {
        opacity: 0;
        height: 0px;
    }
    to {
        opacity: 1;
        height: 100%;
    }
}

@-o-keyframes timeline-appear {
    from {
        opacity: 0;
        height: 0px;
    }
    to {
        opacity: 1;
        height: 100%;
    }
}