*{user-select: none;}
.timeline{
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    flex-direction: column;
    max-width: 900px;
    position: relative;
}
.timeline__content-title{
    font-size: 66px;
    margin: -10px 0 0 0;
    transition: 0.4s;
    padding: 0 10px;
    color: var(--redcolor);
}
.timeline:before{
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    content: "";
    background: var(--bluecolor)
}
.timeline-item{
    padding: 40px 0;
    opacity: 0.3;
    filter: blur(2px);
    transition: 0.5s;
    box-sizing: border-box;
    width: calc(50% - 40px);
    display: flex;
    position: relative;
    transform: translateY(-80px);
}
.timeline-item:before{
    content: attr(data-text);
    letter-spacing: 3px;
    width: 100%;
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    top: 70%;
    margin-top: -5px;
    padding-left: 15px;
    opacity: 0;
    right: calc(-100% - 56px);
}
.timeline-item:nth-child(even){align-self: flex-end;}
.timeline-item:nth-child(even):before{
    right: auto;
    text-align: right;
    left: calc(-100% - 56px);
    padding-left: 0;
    border-left: none;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    padding-right: 15px;
}
.timeline-item--active{
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
}
.timeline-item--active:before{
    top: 50%;
    transition: 0.3s all 0.2s;
    opacity: 1;
}
.timeline-item--active .timeline__content-title{
    border-radius: 10px;
    padding: 10px;
    font-weight: 700;
}
.timeline__content{
    background-color: var(--greycolor);
}
.timeline__content-desc p b{
    font-weight: 700;
    color: var(--bluecolor);
}
.timeline__img{
    max-width: 100%;
    border-radius: 10px;
}
.timeline-container{
    width: 100%;
    position: relative;
    padding: 80px 0;
    transition: 0.3s ease 0s;
    background-attachment: fixed;
    background-size: cover;
}
.timeline-container:before{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 99, 99, 0.8);
    content: "";
}
.timeline-header{
    width: 100%;
    text-align: center;
    margin-bottom: 0;
    position: relative;
}
.timeline-header__title{
    color: #fff;
    font-size: 46px;
    font-weight: normal;
    margin: 0 auto;
    padding-bottom: 15px;
    width: max-content;
    border-bottom: 2px solid var(--bluecolor);
}
@media only screen and (max-width: 768px){
    .timeline-header__title{
        margin: 0 auto 15px auto;
        font-size: 36px;
    }
    .timeline__content-title{
        font-size: 50px;
    }
    .timeline:before{
        left: 15px;
    }
    .timeline-item{
        align-self: baseline !important;
        width: 100%;
        padding: 0 10px 150px 32px;
    }
    .timeline-item:before{
        left: 10px !important;
        padding: 0 !important;
        top: 50px;
        text-align: center !important;
        width: 60px;
        border: none !important;
    }
    .timeline-item:last-child{padding-bottom: 40px}
    .timeline-item:before{display: none}
}