#timeline {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: url(../assets/bgtime.jpg) top / cover no-repeat;
    max-width: 1950px;
    margin: 0 auto;
}

.timeline_bg {
    padding: 190px 0 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 47px;
}

.timeline_border {
    position: relative;
    display: flex;
    width: 567px;
    height: 500px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 32px;
    background: #F9E1E2;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s ease, transform 1s ease;
}

.timeline_pic {
    border-radius: 28px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../assets/dashed.svg);
    width: 100%;
    height: 100%;
    position: relative;
}

.timeline_discribe {
    color: #4F0008;
    font-size: 18px;
    font-style: normal;
    line-height: 24px;
    max-width: 424px;
}

.timeline_discribe p+p {
    margin-top: 16px;
}

.timeline_text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease, transform 1s ease;
}

.timeline_block {
    display: flex;
    flex-direction: row;
    max-width: 1184px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 0 0 115px;
}

.timeline_date {
    color: #4F0008;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;

    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.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 {
    color: #FFFFFF;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    line-height: 100%;
    letter-spacing: -0.18px;
    position: relative;
}

.timeline_mounth {
    text-align: center;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    line-height: 100%;
    letter-spacing: -0.16px;
}

.timeline_body {
    width: 70px;
    height: 70px;
    padding: 3px;
    background: #271d10;
    transition: all 0.3s ease;
}

.timeline_inbody {
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(255, 183, 0, 0.00) 0%, rgba(255, 183, 0, 0.12) 100%), linear-gradient(180deg, #4C4739 0%, #363022 45%, #362D1B 46%, #241E12 55%, #473825 100%);
}

.timeline_body img {
    object-fit: cover;
    width: 100%;
}

.timeline_info {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    cursor: pointer;
}

.timeline_info.active .timeline_body {
    background: linear-gradient(180deg, #BD9C49 0%, #E6B843 63.5%, #EECE7F 79%, #8C7845 98.5%);
    opacity: 1;
    transform: translateY(0);
}

.timeline_timeline {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.timeline_brakepoints {
    display: flex;
    flex-direction: row;
    width: 100%;
    position: relative;
    justify-content: space-between;
    padding: 0 40px;
    max-width: 1280px;
    height: 175px;
    margin: 0 auto;
}

.timeline_line {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: #242018;
    transition: all 1s linear;
    opacity: 0;
    top: 50%;
}

.timeline_line_new {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: #242018;
    top: 50%;
    transition: all 3s linear;
}

.timeline_cloud {
    background: #1b1712;
    border: 2px solid #B0944D;
    display: flex;
    padding: 14px 18px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    color: #F9E1E2;
    font-size: 16px;
    line-height: 120%;
    position: absolute;
    width: 300px;
    top: -155px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.timeline_body:hover+.timeline_cloud {
    opacity: 1;
}

.cloud_first {
    left: 0;
}

.cloud_first .cloud_ugol {
    left: 37px;
    transform: none;
}

.cloud_last {
    right: 0;
}

.cloud_last .cloud_ugol {
    right: 37px;
    transform: none;
    left: auto;
}

.cloud_ugol {
    position: absolute;
    bottom: -18px;
    z-index: 6;
    left: 50%;
    transform: translate(-50%);
}

.to_read {
    width: 8px;
    height: 8px;
    position: absolute;
    right: -13px;
    top: -5px;
    background: #ff0000;
    border-radius: 50%;
}

.timeline_gradient {
    position: absolute;
    width: 200px;
    height: 100px;
    z-index: 10;
    display: block;
}

.gradient_left {
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(270deg, #11100d00 0%, #11100d 100%);
}

.gradient_right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #11100d00 0%, #11100d 100%);
}

.timeline_slider .slick-list {
    padding: 0 !important;
}

.timeline_bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.timeline_bottom_text {
    max-width: 772px;
    color: #FFF4E7;
    text-align: center;
    font-family: "Open Sans";
    font-size: 18px;
    line-height: 24px;
}

@media (max-width: 1920px) {
    .timeline_gradient {
        display: none;
    }
}

@media (max-width: 1570px) {

    .timeline_bg {
        padding: 145px 0 112px;
    }
}

@media (max-width: 1430px) {
    .timeline_bg {
        padding: 140px 0 112px;
    }
}

@media (max-width: 800px) {

    .timeline_brakepoints {
        height: 170px;
    }

    .timeline_item {
        max-width: 154px;
        width: 154px;
    }

    .timeline_block {
        max-width: 896px;
        gap: 30px;
        padding: 0 0 130px;
    }

    .timeline_bg {
        padding: 157px 0 100px;
    }

    .timeline_border {
        width: 477px;
        height: 421px;
    }

    .timeline_text {
        padding-top: 50px;
        max-width: 352px;
        gap: 14px;
    }

    .timeline_body {
        width: 55px;
        height: 55px;
    }

    .timeline_name {
        font-size: 16px;
        line-height: 100%;
        letter-spacing: -0.16px;
    }

    .timeline_border {
        width: 341px;
        height: 300px;
        padding: 16px;
        border-radius: 19px;
        padding: 10px;
    }

    .timeline_block {
        max-width: 725px;
        gap: 30px;
        padding: 0 0 80px;
    }

    .timeline_text {
        padding-top: 0px;
        max-width: 343px;
        gap: 12px;
    }

    .timeline_cloud {
        font-size: 16px;
        line-height: 120%;
    }

    .timeline_slider .slick-list {
        overflow: visible !important;
    }

    .timeline_item {
        display: flex !important;
        padding-top: 5px;
    }

    .timeline_little {
        display: none !important;
    }

    .timeline_date {
        font-size: 16px;
        line-height: 24px;
    }

    .timeline_discribe {
        font-size: 16px;
        line-height: 22px;
    }

    .timeline_pic {
        border-radius: 0;
    }

    .cloud_last {
        right: auto;
    }

    .cloud_last .cloud_ugol {
        right: auto;
        transform: translate(-50%);
        left: 50%;
    }

    .cloud_first {
        left: auto;
    }

    .cloud_first .cloud_ugol {
        left: 50%;
        transform: translate(-50%);
    }
}

@media (max-width: 460px) {

    .timeline_item.slick-center .timeline_cloud {
        opacity: 1;
    }

    .timeline_bottom {
        padding: 0 16px;
    }

    .timeline_bottom_text {
        font-size: 16px;
        line-height: 22px;
    }
}