#review {
    position: relative;
    overflow: hidden;
    background: url(../assets/setka.svg) center / contain no-repeat;
}

#review::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(180deg, #0A100A 0%, transparent 500px),
        linear-gradient(90deg, #0A100A 0%, transparent 20%);
}

#review::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(0deg, #0A100A 0%, transparent 500px),
        linear-gradient(270deg, #0A100A 0%, transparent 20%);
}

.review {
    position: relative;
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
}

.review_content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0 70px;
    width: 100%;
    position: relative;
    max-width: 1488px;
    margin: 0 auto;
    z-index: 2;
}

.pers {
    max-width: 740px;
    height: 870px;
    padding-right: 0;
    position: relative;
}

.pers_img {
    width: 680px;
    position: relative;
    left: 40px;
}

.pers_stone1,
.pers_stone2,
.pers_stone3,
.pers_stone4 {
    position: absolute;
}

.pers_stone1 {
    top: 62%;
    left: 15%;
    animation: float1 4s ease-in-out infinite;
}

.pers_stone2 {
    top: 62%;
    right: 3%;
    animation: float2 5.5s ease-in-out infinite;
}

.pers_stone3 {
    top: 48%;
    right: -5%;
    animation: float3 3.8s ease-in-out infinite;
}

.pers_stone4 {
    top: 39%;
    left: 5%;
    animation: float4 6.2s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-22px);
    }
}

@keyframes float4 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.review_stata_dva {
    display: flex;
    padding: 28px;
    flex-direction: column;
    align-items: center;
    gap: 23px;
    border-radius: 12px;
    border: 2px solid #256C51;
    background: #0C1B16;
    box-shadow: 0 0 16px 0 #3596256b inset;
    width: 348px;
    height: fit-content;
    opacity: 0;
    transform: translateX(40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

.dva_point {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.dva_point_up {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    line-height: normal;
}

.dva_point_bottom {
    position: relative;
    width: 100%;
}

.dva_point_line {
    width: 100%;
    height: 6px;
    border-radius: 100px;
    background: #243226;
}

.dva_point_current {
    border-radius: 100px;
    background: linear-gradient(180deg, #83FF94 0%, #509159 100%);
    height: 6px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s ease;
}

.dva_point_current.animate {
    transform: scaleX(1);
}

.current_line_1 {
    width: 60%;
}

.current_line_2 {
    width: 80%;
}

.current_line_3 {
    width: 90%;
}

.current_line_4 {
    width: 20%;
}

.current_line_5 {
    width: 50%;
}

.current_line_6 {
    width: 80%;
}

.review_stata_raz {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: fit-content;
    min-width: 189px;
    opacity: 0;
    transform: translateX(-40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    will-change: transform, opacity;
}

.raz_point {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.raz_point_name {
    font-family: 'Inter Medium';
    font-size: 16px;
    line-height: 100%;
}

.raz_point_what {
    color: #88EE96;
    font-family: 'Inter Medium';
    font-size: 32px;
    line-height: 120%;
    display: flex;
    align-items: center;
    gap: 16px;
}

#review.show .review_stata_raz,
#review.show .review_stata_dva {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.3s;
}

@media (max-width: 1600px) {

    .pers_img {
        width: 680px;
        position: relative;
        left: -20px;
    }

    .pers_stone1 {
        left: 9%;
    }

    .pers_stone2 {
        right: 11%;
    }

    .pers_stone3 {
        right: 2%;
    }

    .pers_stone4 {
        left: -5%;
    }

    .review_content {
        padding: 80px 64px;
    }

    .pers {
        max-width: 620px;
        height: 760px;
    }

    .raz_point_what {
        font-size: 24px;
    }

    .review_stata_raz {
        gap: 24px;
        width: 348px;
    }

}

@media (max-width: 1400px) {

    .pers {
        max-width: 508px;
        height: 583px;
    }

    .raz_point_name {
        font-size: 12px;
        line-height: 100%;
    }

    .raz_point_what {
        font-size: 20px;
        line-height: 120%;
        gap: 8px;
    }

    .raz_point_what svg {
        height: 28px;
        width: auto;
    }

    .review_stata_raz {
        gap: 21px;
        width: 227px;
    }

    .review_stata_dva {
        width: 227px;
        right: -226px;
        top: 126px;
        padding: 24px;
        gap: 9px;
        border-radius: 12px;
    }

    .dva_point_current {
        height: 4.5px;
    }

    .dva_point_line {
        height: 4.5px;
    }

    .dva_point_up {
        font-size: 12px;
        line-height: normal;
    }

    .dva_point_up span:nth-child(2) {
        font-size: 9.75px;
        line-height: normal;
    }

    .raz_point_what img {
        width: 58px;
    }

    .review::before {
        bottom: 0;
    }

    .review::after {
        bottom: -80px;
        left: 50%;
        width: 130%;
        height: 100%;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 1200px) {
    .review_content {
        padding: 80px 32px;
    }

    .pers {
        max-width: 430px;
        height: 495px;
    }
}

@media (max-width: 1000px) {
    .pers_stone1 {
        width: 15px;

    }

    .pers_stone2 {
        width: 25px;

    }

    .pers_stone3 {
        width: 20px;

    }

    .pers_stone4 {
        width: 30px;

    }

    .raz_point_what {
        font-size: 20px;
        line-height: 120%;
    }

    .review_stata_raz,
    .review_stata_dva {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        z-index: 2;
    }

    .pers {
        top: 53px;
        right: 0;
        position: absolute;
        max-width: 334px;
        height: 440px;
        padding-right: 0;
        pointer-events: none;
    }

    .review_content {
        flex-direction: column;
        max-width: 100%;
        gap: 64px;
        align-items: flex-start;
    }

    .review_stata_raz {
        gap: 24px;
    }

    .review_stata_dva {
        width: 100%;
        padding: 21px;
        gap: 23px;
        border-radius: 12px;
    }

    .dva_point_up {
        font-size: 16px;
        line-height: normal;
    }

    .dva_point_up span:nth-child(2) {
        font-size: 13px;
        line-height: normal;
    }

    .dva_point_line,
    .dva_point_current {
        height: 6px;
    }

    .review::before {
        display: none;
    }

    .review::after {
        bottom: -60px;
        width: 100%;
        height: 100%;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 575px) {
    .pers {
        right: -180px;
    }
}