:root {
  --popup-width: 704px;
  --popup-height: 498px;
  --close-x: 32px;
  --close-y: 34px;
  --text-dist: 38px;
  --submit-width: 206px;
  --submit-height: 40px;
  --submit-radius: 20px;
  --submit-fontsize: 1.125em;
  --submit-dist: 6.5px;
  --thanks-button-dist: 35px;
}

#popup-fish {
  --blue: #2a3b74;
}

#popup-fish .popup-content {
  width: var(--popup-width);
  height: var(--popup-height);
}
#popup-fish .popup-default {
  width: 100%;
  height: 100%;
  padding: 0 15px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/eg/popup-back.jpg);
  background-image: -webkit-image-set(
    url("../images/eg/popup-back.jpg") 1x,
    url("../images/eg/popup-back@2x.jpg") 2x
  );
}

#popup-fish .popup-start {
  width: 100%;
  height: 100%;
  padding: 0 15px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/eg/main-back.jpg);
  background-image: -webkit-image-set(
    url("../images/eg/main-back.jpg") 1x,
    url("../images/eg/main-back@2x.jpg") 2x
  );
}

#popup-fish .popup-thanks {
  width: 100%;
  height: 100%;
  padding: 0 15px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/eg/thanks-back.jpg);
  background-image: -webkit-image-set(
    url("../images/eg/thanks-back.jpg") 1x,
    url("../images/eg/thanks-back@2x.jpg") 2x
  );
}

#popup-fish .popup-default {
  display: none;
}

#popup-fish .popup-close {
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  padding: var(--close-y) var(--close-x);
}

#popup-fish form {
  margin-top: 20px;
}

#popup-fish .button {
  width: 10em;
  height: 2.2em;
  border-radius: 1.1em;
  font-size: 1.1em;
  margin-top: 10px;
  background-color: #ffe13a;
  margin-bottom: 2em;
  color: black !important;
}

#popup-fish .popup-thanks .button {
  margin-top: var(--thanks-button-dist);
}

#popup-fish .main {
  margin-bottom: 1em;
}

#popup-fish .reject:before,
#popup-fish .reject:after {
  content: none !important;
}

#popup-fish .reject {
  margin: 0 auto !important;
  padding: 0 !important;
  cursor: pointer;
}

@media screen and (min-width: 568px) {
}

@media screen and (max-width: 567px) {
  :root {
    --popup-width: 100%;
    --popup-height: 100%;
    --close-x: 16px;
    --close-y: 20px;
    --text-dist: 21px;
    --submit-width: 150px;
    --submit-height: 33px;
    --submit-radius: 17px;
    --submit-fontsize: 0.8125em;
    --submit-dist: 10px;
    --thanks-button-dist: 24px;
  }

  #popup-fish .popup-content {
    width: 100%;
    height: 100%;
  }

  #popup-fish .form-text {
    width: 80%;
  }

  #popup-fish .form-text,
  #popup-fish .main,
  #popup-fish .reject,
  #popup-fish .thanks {
    max-width: 100%;
  }
}
