@charset "UTF-8";
.rp_languages {
  padding-top: 60px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, #3d2aa4 0%, #291a7a 100%);
}
.rp_languages__title {
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.83;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.rp_languages__block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.rp_languages__item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #4e3ea6;
  padding: 9px 15px 9px 11px;
  background: rgba(255, 255, 255, 0.05);
}
.rp_languages__item-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-right: 6px;
  flex-shrink: 0;
}
.rp_languages__item-logo img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
}
.rp_languages__item-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.rp_languages__сaption {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 1280px) {
  .rp_languages__block {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 767px) {
  .rp_languages {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .rp_languages__title {
    font-size: 20px;
    line-height: 1.6;
  }
  .rp_languages__block {
    gap: 24px 16px;
  }
}
@media (max-width: 500px) {
  .rp_languages__block {
    max-width: 270px;
    justify-content: flex-start;
  }
  .rp_languages__item:nth-child(1) {
    order: 1;
  }
  .rp_languages__item:nth-child(5) {
    order: 2;
  }
  .rp_languages__item:nth-child(2) {
    order: 3;
  }
  .rp_languages__item:nth-child(6) {
    order: 4;
  }
  .rp_languages__item:nth-child(3) {
    order: 5;
  }
  .rp_languages__item:nth-child(7) {
    order: 6;
  }
  .rp_languages__item:nth-child(4) {
    order: 7;
  }
  .rp_languages__item:nth-child(8) {
    order: 8;
  }
}

.rp_languages-new {
    background: #F6F6FB;
    text-align: center;
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
}
.rp_languages-new .container {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
}
.rp_languages-new::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 1920px;
    height: 591px;
    top: 0;
    left: 52%;
    transform: translate(-52%, 0);
    background-image: url("../../images/bg_lang.svg");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top center;
}
.rp_languages-new__block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.rp_languages-new__item {
    display: flex;
    width: 160px;
    padding: 5px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: var(--color-white);
}
.rp_languages-new__runner {
    display: flex;
    width: max-content;
    animation: inf_columns_slider 50s linear infinite;
}
.rp_languages-new__block {
    margin-right: 5px;
}
.rp_languages-new__сaption {
    margin-top: 20px;
    color: #404040;
}
.rp_languages-new__runner {
    margin-top: 40px;
}
.rp_languages-new__item-title {
    color: var(--color-black04);
}

@media (max-width: 1024px) {
    .rp_languages-new {
        padding: 40px 0 20px;
    }
    .rp_languages-new__block:nth-child(2) {
        display: none;
    }
    .rp_languages-new__runner {
        width: unset;
        animation: unset;
    }
    .rp_languages-new h2, .rp_languages-new__сaption {
        padding: 0 80px;
    }
}
@media (max-width: 767px) {
    .rp_languages-new h2, .rp_languages-new__сaption {
        padding: 0;
    }
    .rp_languages-new__item {
        width: 145px;
    }
}