.popup__block {
  padding: 25px 25px 50px 50px;
  max-width: 708px;
  -webkit-filter: drop-shadow(0px 10px 50px rgba(0, 0, 0, 0.2));
  filter: drop-shadow(0px 10px 50px rgba(0, 0, 0, 0.2));
  border: none;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 768px) {
  .popup__block {
    margin-inline: 10px;
    padding: 20px 20px 30px 30px;
  }
}
@media (max-width: 576px) {
  .popup__block {
    margin-inline: 10px;
    padding: 15px 15px 30px 15px;
  }
}
.popup__decor {
  display: block;
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 768px) {
  .popup__decor {
    display: none;
  }
}
.popup__decor--fball {
  bottom: 0;
  right: 0;
  -webkit-transform: translate(50%, 50%);
  -ms-transform: translate(50%, 50%);
  transform: translate(50%, 50%);
  width: 194px;
  height: auto;
}
.popup__decor--bball {
  top: 0;
  left: 0;
  width: 113px;
  height: auto;
  -webkit-transform: translate(-50%, -50%) rotate(83deg);
  -ms-transform: translate(-50%, -50%) rotate(83deg);
  transform: translate(-50%, -50%) rotate(83deg);
}
@media (max-width: 576px) {
  .popup__close {
    margin-bottom: -5px;
  }
}
.popup__close a {
  background: unset;
}
.popup__close a::after,
.popup__close a::before {
  background-color: #fff;
}
.popup__close a:hover::before,
.popup__close a:hover::after {
  opacity: 1;
}
.popup__number {
  max-width: 89%;
  margin-right: 0;
  margin-top: 0;
}
.popup__number:not(:last-child) {
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .popup__number:not(:last-child) {
    margin-bottom: 20px;
  }
}
@media (max-width: 576px) {
  .popup__number:not(:last-child) {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}
.popup__number:first-child,
.popup__number:nth-child(2),
.popup__number:nth-child(3),
.popup__number:nth-child(4) {
  margin-left: 0;
}
.popup__number:not(:first-child) .popup__text {
  margin-left: 0px;
}
.popup__number::before {
  font-size: 40px;
  min-width: 32px;
}
@media (max-width: 1200px) {
  .popup__number::before {
    font-size: calc(24px + 30 * ((100vw - 320px) / 1600));
  }
}
@media (max-width: 576px) {
  .popup__number::before {
    min-width: 18px;
    margin-right: 0;
  }
}
.popup__text {
  padding-left: 30px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
@media (max-width: 1200px) {
  .popup__text {
    font-size: calc(14px + 14 * ((100vw - 320px) / 1600));
  }
}
@media (max-width: 768px) {
  .popup__text {
    padding-left: 20px;
  }
}
@media (max-width: 576px) {
  .popup__text {
    padding-left: 11px;
  }
}
.popup__button {
  margin-top: 50px;
  margin-bottom: 0;
}
@media (max-width: 1200px) {
  .popup__button {
    margin-top: 40px;
    font-size: calc(14px + 12 * ((100vw - 320px) / 1600));
  }
}
@media (max-width: 768px) {
  .popup__button {
    margin-top: 30px;
  }
}
.popup__btn {
  border-radius: 6px;
  font-style: normal;
  font-size: 20px;
  margin-bottom: 0;
  letter-spacing: 0;
}
@media (max-width: 1200px) {
  .popup__btn {
    font-size: calc(14px + 12 * ((100vw - 320px) / 1600));
  }
}
