.timeline-container {
    height: 12lvh;
    width: 100%;
    padding:0.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 6lvh;
}
.timeline {
    position: relative;
    width: 80%;
    height: 0.2em;
    background-image: linear-gradient(90deg,rgba(9,9,121,1) 0%, rgba(9,9,121,0) 100%);
    margin: 0;
} 

.event {
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    background-color: #3498db;
    border-radius: 50%;
    transform: translateY(-50%);
    top: 0.1em;
    left: -0.6em
}
.event.future {
    opacity: 50%;
}
.event p{
    transform: translate(-25%,2em);
    width: fit-content;
}

.event::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #3498db;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease-in-out;
}

.event:nth-child(1) {
    left: 0;
}

.event:nth-child(2) {
    left: 33%;
}

.event:nth-child(3) {
    left: 66%;
}

@media only screen and (orientation: portrait) {
    .timeline-container {
        justify-content: left;
        padding-left: 30%;
        height: 24lvh;
    }

    .timeline {
        width: 0.2em;
        height: 100%;
        background-image: linear-gradient(rgba(9,9,121,1) 0%, rgba(9,9,121,0) 100%);

    }

    .event {
        transform: translate(-50%);
        left: 0.2em;
        top: -0.6em
    }

    .event p{
        transform: translate(2em,-25%);
        width: 60lvw;
    }
    
    .event:nth-child(2) {
        top: 33%;
    }
    
    .event:nth-child(3) {
        top: 66%;
    }
}