.timeline-wrap {
    text-align: center;
}
.timeline {
    position: relative;
    padding: 10px 0 40px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 0;
    transform: translateX(-50%);
    width: 2px;
    background: #333;
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 0 0;
    box-sizing: border-box;
    left: 0;
    text-align: right;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}
.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}
/*.timeline-item:not(:first-child) {
    margin-top: -50px;
}*/
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 45px;
}
.timeline-item:nth-child(odd) {
    padding-right: 45px;
}
.timeline-item .content {
    max-width: 620px;
    display: inline-block;
}
.timeline-item h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}
.timeline-item::after {
    content: '';
    position: absolute;
    top: 10px;
    width: 40px;
    height: 40px;
    background: #1da1d2;
    border-radius: 50%;
    z-index: 1;
}
.timeline-item::after {
    right: -20px;
}
.timeline-item:nth-child(even)::after {
    left: -20px;
}
.timeline-end {
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 18px solid #333;
}
@media (max-width: 767px) {
    .timeline::before {
        left: 15px;
    }
    .timeline-item::after {
        width: 30px;
        height: 30px;
    }
    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 0;
    }
    .timeline-item:nth-child(odd) {
        padding-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        padding-left: 45px;
    }
    .timeline-item {
        width: 100%;
        padding: 14px 0 0;
        padding-left: 45px;
    }
    .timeline-end {
        left: 5px;
        bottom: -2px;
        transform: translateX(0%);
    }
}