#popup-newsletter {
  font-size: 16px;
  z-index: 10;
  margin: 0;
}
#popup-newsletter,
#popup-newsletter .popup-overlay {
  width: 100%;
  height: 100%;
}
#popup-newsletter .popup-overlay,
#popup-newsletter-game .popup-overlay {
  background-color: rgba(0, 0, 0, 0.66);
}
#popup-newsletter .newsletter-default,
#popup-newsletter .newsletter-thanks {
  width: 535px;
  max-height: 100%;
  align-self: center;
  background-image: url('../../images/popups/newsletter-bg.jpg');
  background-image: image-set(url('../../images/popups/newsletter-bg.jpg') 1x,
  url('../../images/popups/newsletter-bg@2x.jpg') 2x);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
#popup-newsletter .popup-content .popup-close {
  padding: 18px 7px;
  width: auto;
  top: 0;
  right: 0;
}
#popup-newsletter .popup-content .popup-close:before,
#popup-newsletter .popup-content .popup-close:after {
  display: none;
}
#popup-newsletter .newsletter-default {
  padding: 0 35px;
}
#popup-newsletter p {
  font-size: 18px;
  line-height: 26px;
}
#popup-newsletter p.title {
  font-size: 32px;
  line-height: 36px;
}

#popup-newsletter .newsletter-thanks p {
  max-width: 360px;
  margin-bottom: 10px;
}
#popup-newsletter .newsletter-thanks p.title {
  margin-bottom: 11px;
}
#popup-newsletter .button {
  margin-top: 0;
  font-size: 20px;
  width: 6.35em;
  height: 2em;
  padding: 0;
  border-radius: 20px;
  background-color: var(--yellow);
  line-height: 1;
}
#popup-newsletter .newsletter-form form {
  margin-top: 20px;
}
#popup-newsletter .newsletter-form select {
  background: #fff;
}
#popup-newsletter .form-field {
  flex-basis: 50%;
  flex-grow: 1;
}
#popup-newsletter .form-action [type="submit"].button[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}
#popup-newsletter .newsletter-thanks {
  padding: 50px 15px;
}
#popup-newsletter .newsletter-thanks .button {
  width: 164px;
  margin-top: 15px;
}
#popup-newsletter .thanks {
  width: 34em;
  margin-bottom: 1em;
}
#popup-newsletter .form-action {
  padding-top: 27px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#myIframe {
  height: 100% !important;
  width: 29.5em !important;
  position: relative !important;
  top: -7px !important;
  border: none !important;
}

.newsletter-game-box {
  width: auto !important;
  height: 49em !important;
  align-self: center !important;
  position: relative !important;
  background-color: white !important;
  padding-top: 2em;
}

#popup-newsletter .rules-wrapper {
  width: 82%;
  margin-bottom: 1em;
}

#popup-newsletter .rules-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: 2.2em;
  margin-top: 11px;
}

#popup-newsletter .rules-wrapper p,
#popup-newsletter .rules-wrapper li {
  font-size: 1em;
}

#popup-newsletter strong {
  font-weight: 500;
}

#popup-newsletter .newsletter-thanks2 .thanks {
  width: 34em;
  margin-bottom: 1em;
  margin-top: -5em;
}

/* Safari Only */
@supports (background: -webkit-named-image(i)) {
  #popup-newsletter .button {
    padding-top: 1px;
  }
}

@media screen and (min-width: 1200px) {
}
@media screen and (max-width: 991px) {
}
@media screen and (max-width: 767px) {
}
@media screen and (max-width: 567px) {
  #popup-newsletter {
    z-index: 99;
  }
  #popup-newsletter .popup-content {
    width: 100%;
    height: 100%;
    top: 0;
    align-self: start;
    max-width: 100%;
  }
  #popup-newsletter .newsletter-default,
  #popup-newsletter .newsletter-thanks {
    height: 100%;
  }
  #popup-newsletter .popup-content .popup-close {
    padding: 21px 12px 0 0;
    width: auto;
    top: 0;
    right: 0;
  }
  #popup-newsletter .newsletter-form form {
    width: 345px;
    margin-top: 18px;
  }
  #popup-newsletter .form-text {
    width: 100%;
    margin-bottom: 1.5em;
    margin-top: 0;
  }
  #popup-newsletter .form-row {
    flex-direction: column;
  }
  #popup-newsletter .newsletter-buttons {
    flex-direction: column;
  }
  #popup-newsletter .newsletter-game {
    justify-content: center;
  }
  #popup-newsletter .button {
    font-size: 1.2em;
  }
  #popup-newsletter .thanks {
    width: 100%;
    margin-bottom: 4%;
  }
  #popup-newsletter .newsletter-thanks .button {
    font-size: 1.1em;
    width: 10em;
  }
  /* Safari Only */
  @supports (background: -webkit-named-image(i)) {
    #popup-newsletter .newsletter-thanks .button {
      padding-top: 1px;
    }
  }
  .newsletter-game-box {
    width: 100% !important;
    height: 100% !important;
    align-self: start !important;
    top: 0 !important;
    position: relative !important;
    background-color: white !important;
    padding-top: 0;
  }
  #myIframe {
    height: 96% !important;
    width: 100% !important;
    position: relative !important;
    top: -7px !important;
    border: none !important;
  }
  #popup-newsletter .rules-wrapper {
    width: 87%;
    margin-bottom: 1.5em;
  }
  #popup-newsletter .newsletter-thanks2 .thanks {
    margin-top: 0;
  }
}
