.overlay {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  background-color: #000000a1;
  z-index: 9999;
  display: none;
}
.image-top img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.popup-container {
  width: 800px;
  height: auto;
  box-shadow: 0px 0px 50px 8px #00000066;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffff;
}

.image-top {
  width: 100%;
  height: 360px;
  position: relative;
  overflow: hidden;
}

.popup-body {
  padding: 20px 40px 40px 40px;
}

.popup-title {
  font-weight: 700;
  font-size: 31.25px;
  line-height: 140%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #394049;
  margin-bottom: 8px;
}

.popup-text {
  font-family: Noto Sans;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #394049;
  margin-bottom: 32px;
}

.container-button {
  display: flex;
  justify-content: center;
  width: 100%;
}

.popup-button {
  padding: 12px 36px !important;
}

.popup-button span {
  font-family: Noto Sans;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #ffff;
}

.close-btn {
  position: absolute;
  z-index: 9999;
  color: #fff;
  right: 23px;
  top: 23px;
  font-size: 19px;
  line-height: 19px;
}

@media (max-width: 1200px) {
  .popup-container {
    width: 700px;
  }

  .popup-button {
    padding: 11px 34px !important;
  }
}

@media (max-width: 743px) {
  .popup-container {
    width: 380px;
  }

  .popup-button {
    padding: 11px 34px !important;
  }

  .image-top {
    height: 200px;
  }

  .popup-body {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .popup-title {
    font-size: 25px;
    margin-bottom: 12px;
  }

  .popup-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .popup-button {
    padding: 8px 24px !important;
  }

  .popup-button span {
    font-size: 14px;
  }

  .close-btn {
    right: 21px;
    top: 21px;
    font-size: 14px;
    line-height: 14px;
  }
}

@media (max-width: 389px) {
  .popup-container {
    width: 94%;
  }
}
