.ton {
  position: relative;
  overflow: hidden;
}

.footer-screen__bg {
  position: absolute;
  /* transform: translate(0) !important; */

  z-index: -1;
}
@media (max-width: 998px) {
  .footer-screen__bg {
    display: none;
  }
}
.footer-screen__bg img {
  width: 100%;
}

._a1 {
  top: 80px;
  left: 2%;
  width: 8vw;
}

@media (max-width: 998px) {
  ._a1 {
    width: 20%;
    left: -10%;
    top: 35%;
  }
}

._a2 {
  top: 60px;
  left: 25%;
  width: 6vw;
}
@media (max-width: 998px) {
  ._a2 {
    width: 20%;
  }
}
._a3 {
  top: 60px;
  right: 2%;
  width: 10%;
}
@media (max-width: 998px) {
  ._a3 {
    width: 30%;
    top: 50%;
    right: -5%;
  }
}
._a4 {
  top: 140px;
  left: 54%;
  width: 5%;
}
@media (max-width: 998px) {
  ._a4 {
    width: 15%;
    right: -5%;
    top: 100px;

    left: auto;
  }
}

._a5 {
  top: 150px;
  left: -6%;
  width: 18%;
}
@media (max-width: 998px) {
  ._a5 {
    display: none;
  }
}

._a6 {
  bottom: 0px;
  left: 40%;
  width: 16%;
}
@media (max-width: 998px) {
  ._a6 {
    width: 25%;
    bottom: 35%;
    left: -10%;
  }
}

._a7 {
  top: 150px;
  right: 0%;
  width: 10%;
}
@media (max-width: 998px) {
  ._a7 {
    display: none;
  }
}

._a8 {
  bottom: 50px;
  left: -10%;
  width: 20%;
}
@media (max-width: 998px) {
  ._a8 {
    display: none;
  }
}
._quest-it {
  display: flex;
}
._quest-wp {
  width: 16px;
  margin-left: 5px;
  cursor: pointer;
  cursor: pointer;
  /* padding-top: 30px; */
}
._quest-wp:hover span {
  opacity: 1;
  pointer-events: all;
}
._quest-wp img {
  width: 16px !important;
  transform: translate(0px, -10px);
}

@media (min-width: 998px) {
  ._quest-wp {
    position: relative;
  }
}
._quest-it {
  position: relative;
  z-index: 2;
}

._quest-wp span {
  position: absolute;
  width: 240px;
  top: -15px;
  pointer-events: none;
  opacity: 0;
  right: -5px;
  white-space: normal;
  transform: translate(0px, -100%);
  border-radius: 15px;
  background: linear-gradient(0deg, #6a2f8a 0%, #6a2f8a 100%);
  padding: 7px 15px;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

@media (max-width: 998px) {
  ._quest-wp span {
    width: 200px;
    left: -20px;
    right: auto;
    font-size: 10px;
  }
}
.payment__offer {
  overflow: hidden;
}
.pay_slider {
  overflow: visible;
}

._quest-it._two ._quest-wp span {
  left: 0;
  right: auto;
  width: 270px;
}
@media (max-width: 998px) {
  ._quest-it._two ._quest-wp span {
    width: 240px;
    left: -60px;
  }
}
@media (max-width: 1600px) {
  .pay_slider .swiper-slide:last-child ._quest-it._two ._quest-wp span {
    left: -200px;
  }
}
@media (max-width: 998px) {
  .pay_slider .swiper-slide:last-child ._quest-it._two ._quest-wp span {
    left: -110px;
  }
}

.best-type__container {
  max-width: 1200px;
  padding: 0px 60px;
  margin: 0px auto;
  padding-top: 150px;
  color: #fff;
}
@media (max-width: 998px) {
  .best-type__container {
    padding: 0px 10px;
    padding-top: 100px;
  }
}
.best-type__title {
  text-align: center;
  font-family: Unbounded;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  padding-bottom: 45px;
  position: relative;
}

.best-type__title::before {
  position: absolute;
  bottom: 0;
  top: auto;
  left: 50%;
  transform: translate(-50%);
  content: "";
  height: 6px;
  width: 443px;
  border-radius: 7.5px;
  background: #6c60ff;
}

.best-type__title span {
  color: #ffd75d;
}

@media (max-width: 998px) {
  .best-type__title {
    font-size: 19px;
    padding-bottom: 25px;
  }
  .best-type__title::before {
    height: 3px;
    width: 200px;
  }
}

.best-type__subtitle {
  font-size: 25px;
  text-align: center;
  color: #fff;
  text-align: center;
  font-family: Montserrat;
  font-weight: 700;
  margin-top: 35px;
}
.best-type__subtitle span {
  color: #ffd75d;
}

@media (max-width: 998px) {
  .best-type__subtitle {
    margin-top: 20px;
    font-size: 13px;
  }
}

.best-type__block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 70px;
}
@media (max-width: 998px) {
  .best-type__block {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
    gap: 16px;
    row-gap: 7px;
  }
}
.best-type__block * {
  color: #fff;
  font-family: Montserrat;
}
.best-type__item {
  background-image: url(../images/bgb.png);
  background-size: 100% 100%;
  padding: 24px 14px;
}
@media (max-width: 998px) {
  .best-type__item {
    padding: 12px;
  }
}

.best-type__img {
  margin: 0px auto;
  display: flex;
  justify-content: center;
  aspect-ratio: 170/100;
  width: 100%;
  position: relative;
}
.best-type__img img {
  max-width: 100%;
  position: absolute;
}
.best-type__head {
  color: #fff;
  font-family: Montserrat;
  font-size: 22px;
  font-weight: 700;
  min-height: 55px;
}
@media (max-width: 1300px) {
  .best-type__head {
    font-size: 18px;
  }
}
@media (max-width: 500px) {
  .best-type__head {
    font-size: 13px;
    min-height: 40px;
  }
}

.best-type__text {
  font-size: 16px;
  color: #ebe0ff;
  font-weight: 500;
}
@media (max-width: 1300px) {
  .best-type__text {
    font-size: 14px;
  }
}
@media (max-width: 500px) {
  .best-type__text {
    font-size: 12px;
  }
}
.best-type__text div {
  margin-bottom: 10px;
  margin-top: 10px;
  border-radius: 7.5px;
  background: #ffd75d;
  width: 100%;
  height: 4px;
}
