.social {
    background: #61598a;
    padding: 145px 0 220px;
    overflow: hidden;
}

.social-wrapper {

    padding: 145px 0 220px;
    margin-bottom: -322px;
}

.social__container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.social__h2 {
    color: #feffff;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center
}

.social__text {
    color: #ffffff;
    margin-bottom: 50px;
    text-align: center
}

.social__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
    margin-bottom: 80px;
}

.social__inner_widjet {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 320px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding: 15px;
    border-radius: 30px;
    background: #ffffff;
}

.social__inner_widjet img {
    max-height: 90px;
    border-radius: 25px;
}

.social__inner_widjet-title {
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
    font-size: 18px;
}

.social__button {
    text-decoration: none;
    border: 1px solid #ee3661;
    padding: 8px;
    border-radius: 25px;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    background: #fffffc;
}

.social__button:hover {
    background: #ee3661;
}

.social__button span {
    color: #ee3661;
}

.social__button:hover span {
    color: #feffff;
}

.social__button i {
    color: #d92e76;
}

.social__button:hover i {
    color: #feffff;
}

.menu__balloon {
    -webkit-animation: Balloon 2s linear infinite;
    animation: Balloon 2s linear infinite;
    z-index: -1;
    max-width: 0;
    min-width: 0 !important;
    padding: 0 !important;
}

.menu__balloon-left {
    position: absolute;
    left: -60px;
    bottom: 85px;
    z-index: 1;
    -webkit-animation: rotatBalloon 2s linear infinite;
    animation: rotatBalloon 2s linear infinite;
}

.menu__balloon-right {
    position: absolute;
    right: -166px;
    bottom: 85px;
    z-index: 1;
    -webkit-animation: rotatBalloon 1.5s linear infinite;
    animation: rotatBalloon 1.5s linear infinite;
}

.menu__balloon-obj-left {
    position: absolute;
    left: -80px;
    bottom: 0;
    -webkit-animation: rotatBalloonObj 3s linear infinite;
    animation: rotatBalloonObj 3s linear infinite;
}

.menu__balloon-obj-right {
    position: absolute;
    right: -80px;
    bottom: 0;
    -webkit-animation: rotatBalloonObj 3.5s linear infinite;
    animation: rotatBalloonObj 3.5s linear infinite;
}

/* Social ru-only */
.social-wrapper.ru-only {
    position: relative;
}

.ru-only .social__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 80px;
    overflow: hidden;
}

.ru-only .menu__balloon-left {
    left: 260px;
    top: -40px;
    width: 94px;
}

.ru-only .menu__balloon-right {
    right: 160px;
    bottom: 260px;
    width: 82px;
}

.social-arrows-bg {
    position: absolute;
    left: 0;
    top: 0;
}

.social-ellipse-bg {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    min-width: 100%;
}

.ru-only .social__h2 {
    margin: 0;
}

.ru-only .social__button {
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 46px;
    padding: 12px 20px;
    border: none;

    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    text-align: center;
    transition: all 0.2s linear;
}

.ru-only .social__button:hover {
    opacity: 0.8;
    color: #fff;
}

.vk__button {
    background: #6D76E7;
}

.tg__button {
    background: #32B4FF;
}


.ru-only .vk__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;

    z-index: 1000;
}

.ru-only .social__inner_widjet {
    z-index: 1000;
}

@media screen and (max-width: 1024px) {
    .ru-only .social__container {
        margin-bottom: 0;
        gap: 60px;
        flex-direction: column;
        padding-bottom: 40px;
    }
}

@media screen and (max-width: 767px) {
    .ru-only .social {
        padding-top: 0;
    }

    .social-arrows-bg {
        display: none;
    }

    .social-ellipse-bg {
        display: none;
    }

    .menu__balloon-left {
        display: none;
    }

    .menu__balloon-right {
        display: none;
    }

    .ru-only .vk__container {
        gap: 24px;
    }

    .vk__img {
        width: 60px;
    }

    .social__h2 {
        font-size: 26px;
    }

    .ru-only .social__button {
        font-size: 12px;
    }
}


@-webkit-keyframes Balloon {
    0% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(5px)
    }
    100% {
        transform: translateY(0)
    }
}

@keyframes Balloon {
    0% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(5px)
    }
    100% {
        transform: translateY(0)
    }
}

@-webkit-keyframes rotatBalloonObj {
    0% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }
    50% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }
}

@keyframes rotatBalloonObj {
    0% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }
    50% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }
}

@-webkit-keyframes rotatBalloon {
    0% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
    50% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
}

@keyframes rotatBalloon {
    0% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
    50% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
}
