#patches {
    position: relative;
    overflow: hidden;
    background: url(../assets/ice.jpg) center / cover no-repeat;
}

.patches {
    padding: 224px 64px 526px;
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

#patches::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 330px;
    background: url(../assets/snow1.png) bottom / contain no-repeat;
    pointer-events: none;
    bottom: 0;
    left: 0;
    z-index: 0;
}

#patches::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 513px;
    background: url(../assets/snowup.png) top / contain no-repeat;
    pointer-events: none;
    top: 0px;
    left: -0;
    z-index: 0;
}

.patches_head {
    padding-bottom: 88px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.patches_title {
    color: #0CAD65;
    text-align: center;
    font-family: "Ramillas";
    font-size: 64px;
    line-height: 110%;
    letter-spacing: -0.64px;
    max-width: 1010px;
    position: relative;
}

.panda {
    position: absolute;
    width: 550px;
    bottom: 175px;
    right: -130px;
    pointer-events: none;
}

.hor {
    position: absolute;
    width: 550px;
    bottom: 100px;
    left: 18px;
    pointer-events: none;
}

.patches_content {
    display: flex;
    margin: 0 auto;
    width: 100%;
    max-width: 1183px;
    flex-direction: column;
    align-items: center;
    gap: 96px;
    padding: 57px 0 64px;
}

.patches_row {
    display: flex;
    align-items: center;
    gap: 64px;
    width: 100%;
}

.patches_first {
    justify-content: space-between;
}

.patches_text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.patches_row_title {
    font-family: 'Ramillas';
    font-size: 48px;
    line-height: 110%;
    letter-spacing: -0.48px;
}

.patches_first .patches_row_title {
    color: #4C8DF5;
}

.patches_second .patches_row_title {
    color: #0CAD65;
}

.patches_row_gif {
    width: 556px;
    height: 313px;
    aspect-ratio: 556/313;
    border-radius: 40px;
    border: 8px solid #E7F3FF;
    box-shadow: 0 2.257px 6.771px 0 #38568266;
}

.patches_row_gif video {
    border-radius: 30px;
    aspect-ratio: 552/305;
    object-fit: cover;
}

.patches_row_text {
    color: #12161D;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    max-width: 400px;
}

@media (min-width: 1921px) {
    #patches::before {
        height: 390px;
        background: linear-gradient(180deg, #ffffff00 0%, #FFF 100%), linear-gradient(180deg, #ffffff00 0%, #FFF 100%);
    }

    #patches::after {
        height: 200px;
        background: linear-gradient(0deg, #ffffff00 0%, #FFF 100%), linear-gradient(0deg, #ffffff00 0%, #FFF 100%);
    }
}

@media (max-width: 1760px) {
    .patches_head .vetka_raz {
        left: -990px;
    }

    .patches_head .vetka_dva {
        right: -990px;
    }
}

@media (max-width: 1500px) {


    .hor {
        width: 327px;
        bottom: 120px;
        left: 16px;
    }

    .panda {
        width: 295px;
        bottom: 179px;
        right: -8px;
    }
}

@media (max-width: 1400px) {
    .patches_head .vetka_raz {
        left: -1050px;
    }

    .patches_head .vetka_dva {
        right: -1050px;
    }

    .patches_title {
        font-size: 48px;
        line-height: 110%;
        letter-spacing: -0.48px;
        max-width: 667px;
        position: relative;
    }

    .patches_row_title {

        font-size: 32px;
        line-height: 110%;
        letter-spacing: -0.32px;
    }

    .patches_row_gif {
        width: 516px;
        height: 290px;
        aspect-ratio: 516/290;
    }

    .patches_content {
        gap: 64px;
        padding: 38px 0 0;
    }

    .patches {
        padding: 163px 64px 433px;
    }

    .panda {
        bottom: 73px;
    }

    .hor {
        bottom: 50px;
    }
}

@media (max-width: 1000px) {
    .patches_first {
        flex-direction: column;
    }

    .patches_second {
        flex-direction: column-reverse;
    }

    .patches_content {
        gap: 96px;
        padding: 38px 0 0;
    }

    .patches_row {
        gap: 32px;
    }

    .patches_row_text {
        max-width: 500px;
    }

    .patches_head .vetka {
        display: none;
    }
}

@media (max-width: 800px) {
    .panda {
        display: none;
    }

    #patches::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 330px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
        pointer-events: none;
        bottom: 0;
        left: 0;
        z-index: 0;
    }

    .patches_title {
        font-size: 28px;
        line-height: 110%;
        letter-spacing: -0.28px;
        max-width: 395px;
    }

    .patches {
        padding: 150px 16px 470px;
    }

    .patches_row_title {
        font-size: 24px;
        line-height: 110%;
        letter-spacing: -0.24px;
    }

    .patches_head {
        padding-bottom: 26px;
    }

    .patches_row_text {
        font-size: 14px;
        line-height: 130%;
    }

    .patches_text {
        gap: 16px;
    }
}

@media (max-width: 550px) {

    .patches_row_gif {
        height: 193px;
        width: 343px;
        aspect-ratio: 343/193;
    }

    .patches_row_text {
        max-width: 330px;
    }

    .hor {
        left: 50%;
        transform: translate(-50%, 0);
    }
}