#timeline {
    overflow: hidden;
    background: url(../assets/ice.jpg) center / cover no-repeat, #DBF8FF;
    position: relative;
}

#timeline::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 281px;
    background: linear-gradient(180deg, #ffffff00 0%, #FFF 100%), linear-gradient(180deg, #ffffff00 0%, #FFF 100%);
    pointer-events: none;
    z-index: 0;
}

.timeline_snow {
    width: 100%;
    height: 513px;
    background: url(../assets/snowup.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 130px;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.timeline {
    height: 100%;
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.snowflake_big {
    width: 516px;
    height: 516px;
    top: 10px;
    left: -182px;
}

.snowflake_mini {
    width: 387px;
    height: 387px;
    right: -178px;
    bottom: 50px;
}

.snowflake {
    animation: snowflake-move 20s linear infinite;
    transform-origin: 50% 50%;
    z-index: 1;
}

@keyframes snowflake-move {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-50px) rotate(90deg);
    }

    50% {
        transform: translateY(0) rotate(180deg);
    }

    75% {
        transform: translateY(50px) rotate(270deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.snowflake {
    position: absolute;
}

.timeline_content {
    padding: 224px 64px 206px;
    max-width: 1312px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline_slider {
    width: 650px;
    height: 650px;
}

.timeline_img {
    width: 650px;
    height: 650px;
    border-radius: 64px;
    border: 12px solid #E7F3FF;
    box-shadow: 0 2px 6px 0 #38568266;
}

.slick-list {
    overflow: visible !important;
}

#slide_1 {
    background: url(../assets/slide1.jpg) center / cover no-repeat;
}

#slide_2 {
    background: url(../assets/slide2.jpg) center / cover no-repeat;
}

#slide_3 {
    background: url(../assets/slide3.jpg) center / cover no-repeat;
}

#slide_4 {
    background: url(../assets/slide4.jpg) center / cover no-repeat;
}

.timeline_title {
    color: #4C8DF5;
    font-family: 'Ramillas Bold';
    font-size: 40px;
    line-height: 110%;
    letter-spacing: -0.4px;
}

.timeline_rows {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.timeline_row {
    color: #12161D;
    font-size: 24px;
    line-height: 130%;
    display: flex;
    align-items: center;
    gap: 26px;
    position: relative;
}

.timeline_row.red::after {
    content: '';
    position: absolute;
    top: 3px;
    right: -20px;
    width: 10px;
    height: 10px;
    background: #FF001E;
    border-radius: 100%;
}

.timeline_button {
    padding-top: 14px;
}

.bubka {
    width: 24px;
    height: 24px;
    aspect-ratio: 1/1;
    border-radius: 100%;
    position: relative;
}

.bubka.last::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    background: url(../assets/last.svg) center / cover no-repeat;
    z-index: 1;
}

.bubka.last::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10px;
    width: 1.5px;
    height: 20px;
    background: #19D17E;
    z-index: 1;
}

.bubka.current {
    border: 3px solid #4C8DF5;
}

.bubka.current::after {
    content: '';
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 14px;
    height: 14px;
    background: #4C8DF5;
    z-index: 1;
    border-radius: 100%;
}

.bubka.def::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    background: #C4DBFF;
    z-index: 1;
    border-radius: 100%;
}

.bubka.def::before {
    content: '';
    position: absolute;
    top: -26px;
    left: 10px;
    width: 1.5px;
    height: 20px;
    background: #C4DBFF;
    z-index: 1;
}

.timeline_body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blue_but {
padding: 16px 40px;
display: flex;
justify-content: center;
align-items: center;
gap: 16px;
border-radius: 100px;
border: 3px solid #55A4FF;
background: linear-gradient(180deg, #55A4FF 0%, #326FB5 100%);
color: #FFF;
text-align: center;
font-size: 22px;
line-height: normal;
letter-spacing: 0.66px;
text-transform: uppercase;
max-width: fit-content;
cursor: pointer;
transition: all 0.3s ease;
}

.blue_but:hover {
background: linear-gradient(0deg, #0BD098 0%, #189056 100%); 
border: 3px solid #0BD098;
}

.timeline_slider_arrows {
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translate(0, -50%);
    display: flex;
    flex-direction: column;
    gap: 24px;cursor: pointer
}

.timeline_arrow {
    display: flex;
    height: 70px;
    width: 70px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 4px solid #FFF;
    background: linear-gradient(180deg, #D0F3FF 0%, #A2E7FF 100%), linear-gradient(180deg, #ECFAFF 0%, #D0F3FF 100%), rgba(93, 93, 93, 0.42);
    box-shadow: 0 0 14px 0 rgba(127, 164, 187, 0.25);
}

.timeline_arrow_prev {
    transform: rotate(180deg);
}

.slick-disabled {
    opacity: 0.32;
}

.timeline_img span {
    display: none;
}

@media (min-width: 1921px) {
    .timeline_snow {
        display: none;
    }

    #timeline::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 281px;
        background: linear-gradient(0deg, #ffffff00 0%, #FFF 100%), linear-gradient(0deg, #ffffff00 0%, #FFF 100%);
        pointer-events: none;
        z-index: 0;
    }
}

@media (max-width: 1780px) {
    .snowflake_big {
        width: 313px;
        height: 313px;
        top: 10px;
        left: -182px;
    }

    .timeline_content {
        padding: 205px 64px 320px;
    }
}


@media (max-width: 1400px) {
    .snowflake_big {
        left: -217px;
    }

    .timeline_title {
        font-size: 32px;
        line-height: 120%;
        letter-spacing: -0.32px;
    }

    .timeline_row {
        font-size: 16px;
        line-height: 130%;
    }

    .timeline_img {
        width: 544px;
        height: 487px;
    }

    .timeline_slider {
        width: 544px;
        height: 487px;
    }

    .timeline_content {
        max-width: 1010px;
        align-items: flex-start;
    }

    .timeline_slider_arrows {
        right: 233px;
        top: 715px;
        flex-direction: row;
        transform: none;
    }
}

@media (max-width: 1000px) {
    .timeline_title {
        text-align: center;
        position: absolute;
        top: 100px;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .timeline_content {
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
    }

    .timeline_slider_arrows {
        right: 0;
        top: 36%;
        width: 100%;
        justify-content: space-between;
        padding: 0 50px;
    }

    .timeline_slider .slick-slide {
        padding: 0 8px;
    }

    .timeline_slider .slick-list {
        margin: 0 -8px;
    }

    .timeline_rows {
        flex-direction: row;
        position: relative;
        gap: 20px;
    }

    .timeline_row span {
        display: none;
    }

    .timeline_img {
        border-radius: 24px;
        border: 4px solid #E7F3FF;
    }

    .bubka.last::before {
        content: '';
        position: absolute;
        top: 11px;
        left: 24px;
        width: 20px;
        height: 1.5px;
        background: #19D17E;
        z-index: 1;
    }

    .bubka.def::before {
        content: '';
        position: absolute;
        top: 11px;
        left: -20px;
        width: 20px;
        height: 1.5px;
        background: #C4DBFF;
        z-index: 1;
    }

    .timeline_row.red::after {
        background: none;
    }

    .timeline_body {
        align-items: center;
    }

    .timeline_img {
        color: #FFF;
        text-align: center;
        font-size: 16px;
        line-height: 130%;
        position: relative;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 0 0 20px;
    }

    .timeline_img span {
        z-index: 1;
        display: block;
    }

    .timeline_img::before {
        border-radius: 24px;
        bottom: 0;
        left: 0;
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        z-index: 0;
        background: linear-gradient(180deg, rgba(22, 13, 0, 0.00) 67.79%, rgba(22, 13, 0, 0.90) 100%);
    }

    .timeline_arrow_prev {
        transform: rotate(90deg);
    }

    .timeline_arrow_next {
        transform: rotate(270deg);
    }
}

@media (max-width:600px) {
    .timeline_slider {
        width: 280px;
        height: 280px;
    }

    .timeline_img {
        width: 280px;
        height: 280px;
    }

    .timeline_title {
        font-size: 24px;
        line-height: 110%;
        letter-spacing: -0.24px;
    }

    .timeline_content {
        padding: 250px 64px 320px;
    }

    .timeline_title {
        top: 175px;
    }

    .timeline_arrow {
        height: 40px;
        width: 40px;
        border: 2px solid #FFF;
    }

    .blue_but {
        padding: 10px 40px;
        font-size: 14px;
        line-height: normal;
        letter-spacing: 0.42px;
    }

    .timeline_body {
        gap: 8px;
    }

    .snowflake_big {
        width: 184px;
        height: 184px;
        top: 10px;
        left: -82px;
    }

    .snowflake_mini {
        width: 179px;
        height: 179px;
        right: -78px;
        bottom: 180px;
    }
}