#perebivka {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 65px 0;
}

.perebivka_wrapper {
    height: 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    width: 100%;
    max-width: 1920px;
}

.perebivka_text {
    max-width: 549px;
    font-family: 'Evolventa Bold';
    text-align: center;
    font-size: 18px;
    line-height: 24px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.perebivka_text span {
    color: #AA0909;
}

.dark .perebivka_text span {
    color: #BD9C49;
}

.perebivka_left,
.perebivka_right {
    position: absolute;
    top: 0;
    width: 1250px;
}

.perebivka_left {
    left: -32%;
}

.perebivka_right {
    display: block;
    right: -32%;
}

.dark .perebivka_left,
.dark .perebivka_right {
    opacity: 0.2;
}

.down {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.down_step {
    width: 12px;
    height: 7px;
    background: url(../assets/down.svg);
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    animation: fadeOpacity 1s infinite alternate;
}

.dark .down_step {
    background: url(../assets/down_white.svg);
}

.down_step:nth-child(2) {
    animation-delay: 0.3s;
}

.down_step:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeOpacity {
    from {
        opacity: 1;
    }
    to {
        opacity: 0.3;
    }
}

@media (max-width: 1770px) {
    .perebivka_right {
        right: -40%;
    }

    .perebivka_left {
        left: -40%;
    }
}

@media (max-width: 1650px) {
    .perebivka_right {
        right: -50%;
    }

    .perebivka_left {
        left: -50%;
    }
}

@media (max-width: 1510px) {
    .perebivka_right {
        right: -65%;
    }

    .perebivka_left {
        left: -65%;
    }
}

@media (max-width: 1300px) {
    .perebivka_right {
        display: none;
    }

    .perebivka_left {
        display: none;
    }

    #perebivka {
        padding: 32px 0;
    }
}