.popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}
.popup.is-show {
  opacity: 1;
  visibility: visible;
}
.popup-text {
  text-align: center;
  padding: 0 0 10px 0;
  font-weight: 600;
  font-size: 20px !important;
}
.popup p {
  color: black;
  font-size: 14px;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  .popup p {
    font-size: 14px !important;
  }
}
.popup p span {
  text-align: center;
  display: inline-block;
  width: 100%;
  padding-top: 5px;
  font-size: 12px;
}

.popup-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  padding: 30px;
  background-color: #fff;
  z-index: 2;
}
@media only screen and (max-width: 768px) {
  .popup-inner {
    padding: 25px;
  }
}
.popup-inner img {
  width: 45%;
  display: block;
  margin: auto;
  background: black;
  padding: 10px;
}
@media only screen and (max-width: 768px) {
  .popup-inner img {
    width: 80%;
    padding: 10px;
  }
}
.popup-inner a {
  background: black;
  width: 50%;
  display: block;
  border-radius: 2px;
  -webkit-box-shadow: 1px 1px 1px 1px #ccc;
          box-shadow: 1px 1px 1px 1px #ccc;
  margin: 10px auto;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.popup-inner a:hover {
  opacity: 0.8;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.popup__form {
  text-align: center;
  margin: 20px auto 0 auto;
  border-top: 1px dotted gray;
  padding: 20px 0 0 0;
}

.close-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}
.close-btn i {
  font-size: 20px;
  color: #333;
}

.black-background {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
  cursor: pointer;
}