*{
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
    box-sizing: border-box;
}

body{
    background: #2e364a;
}

.timeline{
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}

.container{
    padding: 10px 50px;
    position: relative;
    width: 50%;
}

.rightside img{
    left: -20px;
}

.container img{
    position: absolute;
    width: 40px;
    border-radius: 50%;
    right: -20px;
    top: 32px;
    z-index: 10;
    animation: movedownlogo 1s linear forwards;
    opacity: 0;
}

@keyframes movedownlogo{
    0%{
        opacity: 1;
        transform: translateY(-30px) scale(0.95);
    }

    100%{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.container:nth-child(2) img{
    animation-delay: 1s;
}

.container:nth-child(3) img{
    animation-delay: 2s;
}

.container:nth-child(4) img{
    animation-delay: 3s;
}

.timeline-box{
    padding: 20px 30px;
    background: #fff;
    position: relative;
    border-radius: 6px;
    animation: movedownbox 1s linear forwards;
    opacity: 0;
}

@keyframes movedownbox{
    0%{
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    100%{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.container:nth-child(2) .timeline-box{
    animation-delay: 1s;
}

.container:nth-child(3) .timeline-box{
    animation-delay: 2s;
}

.container:nth-child(4) .timeline-box{
    animation-delay: 3s;
}

.leftside{
    left: 0;
}

.rightside{
    left: 50%;
}

.timeline::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 100%;
    background: #fff;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 4s linear forwards;
}

@keyframes moveline{
    0%{
        height: 0%;
    }

    100%{
        height: 100%;
    }
}

.timeline-box h2{
    font-weight: 600;
}

.timeline-box small{
    display: inline-block;
    margin-bottom: 15px;
}

.leftarrow{
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid white;
    right: -15px;
}

.rightarrow{
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid white;
    left: -15px;
}

@media screen and (width <= 600px){
    .timeline{
        margin:50px auto;
    }

    .timeline::after{
        left: 31px;
    }

    .container{
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }

    .timeline-box{
        font-size: 13px;
    }

    .timeline-box small{
        margin-bottom: 10px;
    }

    .rightside{
        left: 0;
    }

    .leftside img, .rightside img{
        left: 10px;
    }

    .leftarrow, .rightarrow{
        border-right: 15px solid #fff;
        border-left: 0;
        left: -15px;
    }
}