#between {
    padding: 80px 0 60px;
    overflow: hidden;
    position: relative;
}

.between_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: relative;
    z-index: 2;
    max-width: 1920px;
    margin: 0 auto;
}

.between_first {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 840px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.between_first h2 {
    text-align: center;
    text-shadow: 0px 2px 2px #0000004D;
}

.between_text {
    text-align: center;
    max-width: 636px;
}

body.dark .between_text {
    color: #E7E7E7;
}

.between_butns {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 20px;
    margin: 0 auto;
    flex-direction: row;
}

.between_butns button:nth-child(1),
.between_butns button:nth-child(3) {
    width: 260px;
    height: 57px;
}

.between_left,
.between_right {
    position: absolute;
    top: 0;
    width: 1250px;
}

body.dark .between_left,
body.dark .between_right {
    opacity: 0.2;
}

.between_left {
    left: -32%;
}

.between_right {
    display: block;
    right: -32%;
}

.soc_red {
    font-family: Colus;
    background-image: url(../assets/redmain.png);
    width: 335px;
    height: 57px;
    color: #EDEDED;
    font-size: 18px;
    line-height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform-style: flat;
    transition: all 250ms ease-out;
    background-size: cover;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: #ffffff00;

    &:before,
    &:after {
        content: "";
        position: absolute;
        z-index: -2;
        transition: all 250ms ease-out;
    }
}

.soc_shadow:hover {

    &:before,
    &:after {
        transition: box-shadow 600ms ease-out, left 200ms, right 200ms;
        box-shadow: 0 8px 8px rgba(31, 31, 31, 0.5);
    }

    &:before {
        left: 20px;
    }

    &:after {
        right: 20px;
    }
}

.soc_shadow:before {
    left: 20px;
    transform: rotate(-3deg);
}

.soc_shadow:after {
    right: 20px;
    transform: rotate(3deg);
}

.soc_shadow:before,
.soc_shadow:after {
    bottom: 12px;
    width: 44%;
    height: 20%;
    max-width: 300px;
    max-height: 100px;
    box-shadow: 0 15px 12px rgba(31, 31, 31, 0.7);
}

@media (max-width: 1880px) {
    .between_right {
        right: -40%;
    }

    .between_left {
        left: -40%;
    }
}

@media (max-width: 1725px) {
    .between_right {
        right: -50%;
    }

    .between_left {
        left: -50%;
    }
}

@media (max-width: 1550px) {
    .between_right {
        display: none;
    }

    .between_left {
        display: none;
    }
}

@media (max-width: 940px) {
    .between_butns {
        flex-direction: column;
    }
}

@media (max-width: 815px) {

    .between_wrapper {
        padding: 0 16px;
    }

    .between_right {
        display: none;
    }

    .between_left {
        top: 30%;
        left: 50%;
        z-index: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 560px) {
    .between_butns {
        flex-direction: column;
        gap: 8px;
    }

    #between {
        padding: 121px 0 60px;
    }
}