.perebivka {
    padding: 112px 32px;
    overflow: hidden;
}

.perebivka_block {
    display: flex;
    max-width: 1488px;
    width: 100%;
    margin: 0 auto;
    padding: 44px 64px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0px -1px 6px 0px #00000026 inset, 0px 1px 6px 0px #0000004d inset;
}

body.dark .perebivka_block {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: -2px -2px 4px 0px rgba(255, 255, 255, 0.25) inset, 2px 2px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.perebivka_left {
    color: #AA0909;
    font-family: 'Evolventa Bold';
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
    max-width: 385px;
}

body.dark .perebivka_left {
    color: #BD9C49;
}

.perebivka_rights {
    position: relative;
    width: 100%;
    height: 80px;
}

.perebivka_right {
    font-family: Colus;
    font-size: 48px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.64px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
    text-align: end;
}

.perebivka_right.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1480px) {

    .perebivka_right {
        font-family: Colus;
        font-size: 48px;
        font-weight: 400;
        line-height: 52px;
        letter-spacing: -0.48px;
    }
}

@media (max-width: 1250px) {

    .perebivka_block {
        padding: 32px;
    }

    .perebivka_left {
        font-size: 24px;
        line-height: 32px;
    }

    .perebivka_right {
        font-size: 36px;
        line-height: 36px;
        text-align: end;
    }
}

@media (max-width: 800px) {

    .perebivka_block {
        padding: 16px;
        gap: 64px;
        flex-direction: column;
        align-items: flex-start;
    }

    .perebivka_right {
        text-align: start;
    }

    .perebivka_right {
        font-size: 32px;
        line-height: 32px;
    }

    .perebivka {
        padding: 112px 16px;
    }

    .perebivka_rights {
        height: 100px;
    }
}