#timeline {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 50px 0 0;
}

.timeline_head {
    padding: 62px 180px 22px;
    text-align: center;
    position: relative;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.timeline_head::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 25px;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    background-image: url(../assets/long.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.timeline_title {
    text-transform: uppercase;
    text-shadow: 0 4px 8px #00000026, 0 1px 3px #0000004d;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.timeline_title_text {
    text-align: center;
    font-size: 24px;
    line-height: 32px;
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.timeline_bg {
    padding: 36px 0 148px;
}

.timeline_border {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    padding: 3px;
    background: linear-gradient(180deg, #4D4336 0%, #714A27 63.5%, #AA8E75 79%, #5E5548 98.5%);
}

.timeline_item {
    max-width: 133px;
    width: 133px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    opacity: 0;
    position: relative;
}

.timeline_item.active {
    opacity: 1;
}

.timeline_name {
    font-family: Evolventa Bold;
    text-align: center;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.18px;
    position: relative;
}

.timeline_mounth {
    text-align: center;
    text-align: center;
    font-family: Evolventa Bold;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.16px;
}

.timeline_body {
    width: 64px;
    height: 64px;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: 3px solid #EDEDED;
    background: #EDEDED;
    box-shadow: 0px 0px 2px 1px #08080830;
}

.timeline_text {
    border-radius: 3px;
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), linear-gradient(180deg, #E0E0E0 0%, rgba(224, 224, 224, 0.85) 100%);
    font-family: Evolventa Bold;
    font-size: 16px;
    line-height: 120%;
    padding: 10px 14px;
}

.timeline_body img {
    border-radius: 3px;
    object-fit: cover;
    width: 100%;
}

.timeline_info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    cursor: pointer;
}

.timeline_info.active .timeline_body {
    border: 0px solid #AA0909;
    padding: 3px;
    background: #AA0909;
    opacity: 1;
    transform: translateY(0);
}

.timeline_timeline {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.timeline_timeline::before,
.timeline_timeline::after {
    content: "";
    position: absolute;
    /* inset: 0; */
    z-index: 2;
    background: url(../assets/back.jpg) center / cover no-repeat;
    height: 100%;
    width: 120px;
    display: none;
}

.timeline_timeline::before {
    top: 0;
    left: 0px;
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 1) 60%,
            rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 1) 30%,
            rgba(0, 0, 0, 0) 100%);
}

.timeline_timeline::after {
    top: 0;
    right: 0;
    mask-image: linear-gradient(to left,
            rgba(0, 0, 0, 1) 60%,
            rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left,
            rgba(0, 0, 0, 1) 30%,
            rgba(0, 0, 0, 0) 100%);
}

.timeline_brakepoints {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1280px;
    height: 186px;
    margin: 0 auto;
}

.timeline_line {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 6px;
    transition: all 1s linear;
    opacity: 0;
    top: 50%;
}

.timeline_line_new {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: #F5F5F5;
    box-shadow: 0 -2.04px 0.408px 0 #ffffff80 inset, 0 1.02px 2.04px 0 #00000066 inset;
    top: 70px;
    transition: all 3s linear;
}

.timeline_cloud {
    border-radius: 10px;
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), linear-gradient(180deg, #E0E0E0 0%, rgba(224, 224, 224, 0.85) 100%);
    box-shadow: 0 1px 2px 0 #0000004d, 0 1px 3px 1px #00000026;
    padding: 6px;
    position: absolute;
    width: 300px;
    top: 150px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.timeline_body:hover+.timeline_cloud {
    opacity: 1;
}

.to_read {
    width: 8px;
    height: 8px;
    position: absolute;
    right: -13px;
    top: -5px;
    background: #ff0000;
    border-radius: 50%;
}

.timeline_slider .slick-list {
    padding: 0 !important;
}

.slick-current.slick-center .timeline_cloud {
    opacity: 1;
}

@media (min-width: 1920px) {.timeline_timeline::before,
.timeline_timeline::after {display: block;}}

@media (max-width: 1440px) {
    .timeline_bg {
        padding: 55px 0 130px;
    }

    .timeline_item {
        max-width: 125px;
        width: 125px;
    }

    .to_read {
        right: -10px;
    }

    .timeline_mounth {
        font-size: 16px;
        line-height: 100%;
        letter-spacing: -0.16px;
    }

    .timeline_body {
        width: 55px;
        height: 55px;
        border-radius: 4px;
    }

    .timeline_name {
        font-size: 18px;
        line-height: 100%;
        letter-spacing: -0.18px;
    }

    .timeline_brakepoints {
        padding: 0;
        max-width: 860px;
        height: 145px;
    }

    .timeline_line_new {
        top: 65px;
    }
}

@media (max-width: 1260px) {
    .timeline_text {
        font-size: 14px;
        line-height: 130%;
    }

    .timeline_head {
        padding: 68px 180px 22px;
    }

    .timeline_title_text {
        font-size: 20px;
        line-height: 130%;
        max-width: 580px;
    }

    .timeline_bg {
        padding: 90px 0 150px;
    }

    .timeline_head {
        padding: 68px 32px 22px;
        gap: 14px;
    }
}

@media (max-width: 1080px) {

    .cloud_first {
        left: 0;
    }

    .cloud_last {
        right: 0;
    }
}

@media (max-width: 1020px) {

    .timeline_bg {
        padding: 180px 0 130px;
    }

    .timeline_cloud {
        font-size: 16px;
        line-height: 120%;
    }

    .timeline_slider .slick-list {
        overflow: visible !important;
    }

    .timeline_brakepoints {
        padding: 0;
        height: 155px;
    }

    .timeline_item {
        display: flex !important;
        padding-top: 5px;
    }

}

@media (max-width:970px) {

    .timeline_title_text {
        font-size: 16px;
        line-height: 130%;
        max-width: 343px;
    }

    .timeline_head {
        padding: 60px 16px 22px;
        gap: 8px;
    }

    .timeline_bg {
        padding: 56px 0 150px;
    }

    .timeline_item {
        max-width: 154px;
        width: 154px;
    }
}

@media (max-width: 800px) {
    .timeline_item:nth-child(1) .to_read {
        opacity: 0;
    }
}

@media (max-width: 780px) {



    .timeline_slider {
        width: 90%;
        margin: 0 auto;
    }

    .cloud_last {
        right: auto;
    }

    .cloud_first {
        left: auto;
    }
}


@media (max-width: 450px) {
    .timeline_slider {
        width: 100%;
        margin: 0 auto;
    }
}