.main-timeline{

&::after{
    content: '';
    display: block;
    clear: both;
}
&::before{
    content: '';
    background-color: blue;
    height: 100%;
    width: 4px;
    transform: translateX(-50%);
    position: absolute;
    top: 0;
    left: 50%;
}
.timeline{
    width: 50%;
    padding: 0 100px 0 0;
    margin: 0 10px 20px 0;
    float: left;
    position: relative;
    z-index: 1;
}

.timeline::before{
    content: '';
    background-color: #fff;
    height: 5px;
    width: 80px;
    position: absolute;
    right: 50px;
    top: 50px;
    z-index: -1;
}
.timeline-content{
    color: #555;
    background-color: #fff;
    padding: 0 0 10px;
    border-radius: 20px;
    display: block;
}
.timeline-content:hover{ text-decoration: none; }

.timeline-year{
    color: black;
    background-color:yellow;
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    line-height: 95px;
    height: 95px;
    width: 95px;
    border-radius: 50%;
    position: absolute;
    right: -47.5px;
    border: 8px solid blue;
    top: 0;
    z-index: 1;
}
.timeline-year:before{
    content: '';
    height: 80%;
    width: 80%;
    border-radius: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
}

.title{
    color: blue;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px;
    margin: 0 0 10px;
}
.description{
    font-size: 16px;
    margin: 0 15px;
}
.timeline:nth-child(even){
    padding: 0 0 0 100px;
    margin: 0 0 20px 10px;
    float: right;
}
.timeline:nth-child(even):before{
    right: auto;
    left: 50px;
}
.timeline:nth-child(even) .timeline-year{
    right: auto;
    left: -50px;
}
.timeline:nth-child(even) .timeline-icon{
    right: auto;
    left: 20px;
}
.timeline:nth-child(4n+3) .timeline-icon{ color: #4B49C3; }

}





@media screen and (max-width:767px){
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even){
        width: 100%;
        padding: 95px 0 0;
        margin: 0 0 20px;
        float: none;
    }
    .main-timeline .timeline:before{ display: none; }
    .main-timeline .timeline-year,
    .main-timeline .timeline:nth-child(even) .timeline-year{
        left: 50%;
        transform: translateX(-50%);
    }
}
@media screen and (max-width:567px){
    .main-timeline .title{ font-size: 18px; }
}