@import url("../fonts/Ermilov-bold.otf");

body {
  background-image: url("../images/BG.png");
  height: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.top {
  max-width: 425px;
  width: 100%;
  margin: 0 auto;
}

.bottom {
  max-width: 425px;
  width: 100%;
  margin: 34px auto 0;
}

.big__text {
  font-family: "Dela Gothic One", sans-serif;
  font-size: 46.32px;
  font-weight: 400;
  line-height: 51.07px;
  text-align: center;
  color: #000000;
}

.small__text {
  font-family: "Dela Gothic One", sans-serif;
  font-size: 46.32px;
  font-weight: 400;
  line-height: 51.07px;
  text-align: center;
  color: #000000;
}

.rel {
  min-height: 470px;
  position: relative;
}

.frame {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  position: absolute;
}

.btn {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  position: absolute;
}

.mid {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-fill-mode: forwards;
  position: absolute;
}

.hidden {
  display: none;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
  z-index: 11;
}

.modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 425px;
  width: 94%;
  height: 520px;
  background-image: url("../images/popup.png");
  background-repeat: repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.btn1 {
  max-width: 331px;
  width: 81%;
  margin: 37px 12px 0 0;
}

.top1 {
  margin-top: 145px;
  font-family: "Dela Gothic One", sans-serif;
  font-size: 30.08px;
  font-weight: 400;
  line-height: 44.19px;
  text-align: center;
  color: #ffffff;
}

.top2 {
  font-family: "Ermilov", sans-serif;
  font-size: 24.16px;
  font-weight: 700;
  line-height: 31.05px;
  text-align: center;
  color: #ffe1a5;

  margin-bottom: 20px;
}

.top3 {
  font-family: "Ermilov", sans-serif;
  font-size: 54.47px;
  font-weight: 700;
  line-height: 52.25px;
  letter-spacing: -0.04em;
  text-align: center;
  background: linear-gradient(87.95deg, #fde400 2.46%, #fd9800 98.28%);
  text-shadow: 0px 4.24px 9.04px #ffe81c40;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.top4 {
  font-family: "Ermilov", sans-serif;
  font-size: 63.47px;
  font-weight: 700;
  line-height: 61.6px;
  letter-spacing: -0.04em;
  text-align: center;
  text-shadow: 0px 4.24px 9.04px #ffe81c40;
  background: linear-gradient(87.95deg, #fde400 2.46%, #fd9800 98.28%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 420px) {
  .modal {
    height: 500px;
  }
}

@media screen and (max-width: 405px) {
  .modal {
    height: 480px;
  }
}

@media screen and (max-width: 385px) {
  .modal {
    height: 460px;
  }
}

@media screen and (max-width: 370px) {
  .modal {
    height: 435px;
  }
}

@media screen and (max-width: 350px) {
  .modal {
    height: 400px;
  }
}
