:root {
  --popup-width: 676px;
  --popup-height: 440px;
  --close-x: 14px;
  --close-y: 16px;
  --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-augeg {
  --blue: #2a3b74;
}
#popup-augeg .popup-content {
  width: var(--popup-width);
  height: var(--popup-height);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/eg/popup-back.webp);
  background-image: -webkit-image-set(url("../images/eg/popup-back.webp") 1x, url("../images/eg/popup-back@2x.webp") 2x);
  padding: 15px;
}
#popup-augeg .popup-default,
#popup-augeg .popup-start,
#popup-augeg .popup-thanks {
  width: 100%;
  height: 100%;
}
#popup-augeg .popup-start::before {
  content: "";
  position: absolute;
  bottom: -17px;
  left: -44px;
  width: 187px;
  height: 261px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../images/eg/popup-decor.webp);
  background-image: -webkit-image-set(url("../images/eg/popup-decor.webp") 1x, url("../images/eg/popup-decor@2x.webp") 2x);
}
#popup-augeg .popup-thanks::before {
  content: "";
  position: absolute;
  bottom: -27px;
  right: -85px;
  width: 187px;
  height: 261px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(../images/eg/popup-decor.webp);
  background-image: -webkit-image-set(url("../images/eg/popup-decor.webp") 1x, url("../images/eg/popup-decor@2x.webp") 2x);
  transform: scaleX(-1);
}
#popup-augeg .popup-default {
  display: none;
}
#popup-augeg .popup-close {
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  padding: var(--close-y) var(--close-x);
}
#popup-augeg form {
  margin-top: 10px;
}
#popup-augeg .button {
  width: 10.02em;
  height: 2.25em;
  border-radius: 20px;
  font-size: 1.125em;
  margin-top: 4px;
  background-color: #bc0e2c;
  margin-bottom: 0em;
  color: white !important;
  padding: 0;
  line-height: 1px;
}
#popup-augeg .popup-default .button {
  font-size: 1em;
  height: 2.53125em;
}
#popup-augeg .popup-start .button {
  width: 10.02em;
}
#popup-augeg .popup-thanks .button {
  font-size: 1em;
  height: 2.53125em;
  width: 11.15625em;
  margin-top: 4px;
}
#popup-augeg .reject:before,
#popup-augeg .reject:after {
  content: none !important;
}
#popup-augeg p {
  padding: 0;
  margin: 0;
  line-height: 1;
}
#popup-augeg .main-text1 {
  font-size: 22.5px;
  line-height: 27.5px;
  margin-top: 9px;
}
#popup-augeg .reject {
  font-size: 17px;
  line-height: 25px;
  text-decoration: underline;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 0;
  max-width: 301px;
  cursor: pointer;
}
#popup-augeg .form-text {
  font-size: 43px;
  letter-spacing: 0px;
  line-height: 17px;
  color: #022048;
  font-weight: 800;
  text-align: center;
}
#popup-augeg .thanks {
  margin-top: 30px;
  margin-bottom: -10px;
}
#popup-augeg .thanks-text1 {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: 0px;
  color: #fff;
}
#popup-augeg .thanks-text2 {
  font-size: 22.5px;
  line-height: 27.5px;
  text-align: center;
  margin: 10px auto;
  max-width: 500px;
}
#popup-augeg .popup-thanks .main {
  margin-top: -24px;
}
#popup-augeg .buttons {
  gap: 25px;
}
/* Safari Only */
@supports (background: -webkit-named-image(i)) {
  #popup-augeg .button {
    padding-top: 4px;
  }
}
@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-augeg .popup-content {
    width: 100%;
    height: 100%;
  }
  #popup-augeg .form-text,
  #popup-augeg .main,
  #popup-augeg .thanks {
    max-width: 100%;
  }
  #popup-augeg .main-text1 span {
    font-size: 62px;
  }
  #popup-augeg .main-text2 {
    font-size: 43px;
  }
  #popup-augeg .reject {
    max-width: 288px;
  }
  #popup-augeg .buttons {
    gap: 9px;
  }
  #popup-augeg .popup-thanks .button {
    font-size: 16px;
    width: 10em;
  }
  #popup-augeg .form-text {
    font-size: 29px;
  }
  #popup-augeg .popup-close {
    padding: 29px;
  }
  #popup-augeg .thanks-text2 {
    max-width: 329px;
  }
  #popup-augeg .thanks-text1 {
    font-size: 34px;
    line-height: 35px;
  }
  /* Safari Only */
  @supports (background: -webkit-named-image(i)) {
    #popup-augeg .button {
      padding-top: 2px;
    }
  }
}
