@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

}
.timeline{
    position: relative;
    max-width: 1200px;
    margin: 100px auto;
}
h1{
    font-family: 'Bebas Neue', sans-serif;
}

h3{

}

.header {
    position: absolute;
    top: 40px;              /* distance from top */
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 1.5rem;
    text-align: center;
    background-color: lightgray;

  }

.header::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 200%;
    background-color: lightgray;
    top: 70px;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
}
.container{
    padding: 10px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity: 0;
}

.container:nth-child(1){
    animation-delay: 0s;
}
.container:nth-child(2){
    animation-delay: 1.2s;
}
.container:nth-child(3){
    animation-delay: 2.5s;
}
.container:nth-child(4){
    animation-delay: 3.8s;
}
.container:nth-child(5){
    animation-delay: 5s;
}
@keyframes movedown {
    0% {
        opacity: 1;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}


.text-box{
    padding: 20px 30px;
    position: relative;
    border-radius: 6px;
    font-size: 15px;
    background-color: lightgray;

}

.left-container{
    left: 0;
}

.right-container{
    left: 50%
}

.container img{
    width: 100%;
}

.text-box h2{
    font-weight: 600;
    font-family: 'Bebas Neue', sans-serif;
}
.text-box small{
    display: inline-block;
    margin-bottom: 15px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 15px;

}
p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.left-container-arrow{
    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 black;
    right: -15px;
}

.right-container-arrow{
    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 black;
    left: -15px;
}

.container h3{
    position: absolute;
    width: 40px;
    right: -20px;
    top: 43px;
    z-index: 10;
    border-radius: 20%;
    background-color: lightgray;
    text-align: center;

}

.right-container h3{
    left: -20px;
}

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

