.popup_after {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
}
.popup_after-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup_after-container {
  max-width: 850px;
  width: 100%;
  background: white;
  position: relative;
  padding: 200px 100px;
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (max-width: 900px) {
  .popup_after-container {
    max-width: 500px;
    padding: 100px 30px;
  }
}
@media screen and (max-width: 540px) {
  .popup_after-container {
    max-width: 300px;
    padding: 70px 20px;
  }
}

.popup-title {
  font-family: "HelveticaNeueCyr";
  font-style: normal;
  font-weight: 900;
  font-size: 40px;
  line-height: 100px;
  text-align: center;
  letter-spacing: -0.891429px;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 20px;
}
@media screen and (max-width: 540px) {
  .popup-title {
    font-size: 32px;
    line-height: 60px;
  }
}
.popup-subtitle {
  font-family: "HelveticaNeueCyr";
  font-style: normal;
  font-weight: 900;
  font-size: 24px;
  line-height: 24px;
  color: #000000;
  margin-bottom: 32px;
  text-align: center;
}
@media screen and (max-width: 540px) {
  .popup-subtitle {
    font-size: 18px;
    line-height: 20px;
  }
}
.popup-text {
  text-align: center;
  font-family: "HelveticaNeueCyr";
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: #000000;
}
@media screen and (max-width: 540px) {
  .popup-text {
    font-size: 18px;
    line-height: 20px;
  }
}

.popup_after.hide-popup {
  display: none;
}
