/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 2 version
*/

@font-face {
  font-family: 'GP Commerce';
  src: url('/fonts/GPCommerce-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GP Commerce';
  src: url('/fonts/GPCommerce-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GP Commerce';
  src: url('/fonts/GPCommerce-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  font-family: 'GP Commerce', 'Helvetica Neue', Arial, sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.35;
  color: #0b0b0b;
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.page-container {
  width: 100%;
  max-width: 1833px;
  margin: 0 auto;
  padding: 0 70px;
}

.the-header {
  padding: 29px 0;
  background: #fff;
}

.the-header .page-container {
  max-width: 1460px;
}

.the-header__logo img {
  width: 254px;
}

.payment-page {
  flex-grow: 1;
  padding: 8px 0 40px;
  text-align: center;
  background: #fff;
}

.payment-page h1 {
  margin: 0;
  font-size: clamp(33px, 3.2vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.mt12 { margin-top: 12px; }
.mb12 { margin-bottom: 12px; }
.mt24 { margin-top: 24px; }
.mb24 { margin-bottom: 24px; }
.mt32 { margin-top: 32px; }
.mb32 { margin-bottom: 32px; }
.mt40 { margin-top: 40px; }
.mb40 { margin-bottom: 40px; }

.payment-page__subtitle {
  margin-top: 18px;
  font-size: clamp(19px, calc(1.4vw - 1px), 25px);
  line-height: 1.25;
}

.payment-page__intro {
  max-width: 1200px;
  margin: 16px auto 0;
  font-size: clamp(18px, calc(1.35vw - 1px), 24px);
  line-height: 1.35;
}

.payment-page__intro strong,
.payment-page__donation strong {
  font-weight: 700;
}

.payment-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 904px;
  margin: 44px auto 0;
  text-align: left;
}

.payment-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.payment-form__field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.payment-form__label-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 23px;
  margin-bottom: 3px;
}

.payment-form label {
  font-size: 17px;
  line-height: 1.25;
}

.payment-form select,
.payment-form input {
  width: 100%;
  height: 45px;
  padding: 0 14px;
  border: 1px solid #d4d9df;
  border-radius: 0;
  outline: none;
  background: #fff;
  font-size: 15px;
  font-weight: 300;
  color: #151515;
}

.payment-form select:focus,
.payment-form input:focus {
  border-color: #2f2cff;
}

.payment-form__submit {
  margin-top: 29px;
}

.payment-iframe-container {
  width: 100%;
  max-width: 500px;
  height: 700px;
  margin: 28px auto 0;
  background: #fff;
}

.payment-iframe-container[hidden] {
  display: none;
}

.payment-iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gpwebpay-lightbox-close {
  position: fixed;
  z-index: 99999999;
  top: 5%;
  left: calc(50% + 190px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 2px 0 0 2px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #151515;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.display-info-button {
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #302cff;
  cursor: pointer;
}

.display-info-button img {
  display: block;
  width: 20px;
  height: 20px;
}

.display-info {
  position: absolute;
  z-index: 10;
  top: 31px;
  left: 0;
  width: min(420px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid #d4d9df;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}

.display-info[hidden] {
  display: none;
}

.display-info p {
  margin: 0 0 12px;
}

.display-info p:last-child {
  margin-bottom: 0;
}

.display-info strong {
  font-weight: 700;
}

.button {
  align-self: center;
  padding: 20px 28px;
  border: 0;
  border-radius: 44px;
  background: #302cff;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.button:not(:disabled):hover {
  background: #1714d8;
}

.button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.payment-page__donation {
  max-width: 1600px;
  margin: 40px auto 0;
  font-size: clamp(21px, calc(1.6vw - 1px), 29px);
  line-height: 1.38;
}

.payment-page__visual {
  position: relative;
  width: 100%;
  max-width: 652px;
  margin: 54px auto 0;
}

.payment-page__visual-background {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  aspect-ratio: 1.64;
  border-radius: 22px;
  object-fit: cover;
}

.payment-page__visual-webpay {
  position: absolute;
  z-index: 1;
  right: -6.5%;
  bottom: -2%;
  display: block;
  width: 49%;
}

.payment-page__deferred-text {
  max-width: 1180px;
  margin: 46px auto 0;
  font-size: clamp(22px, calc(1.7vw - 1px), 29px);
  line-height: 1.35;
}

.payment-page__deferred-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 28px;
}

.payment-page__deferred-email {
  margin-top: 24px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.35;
}

.button--secondary {
  min-width: 268px;
  padding: 19px 24px;
  border: 2px solid #302cff;
  background: #fff;
  color: #0b0b0b;
  font-size: 20px;
  font-weight: 500;
}

.button--secondary:not(:disabled):hover {
  background: #302cff;
  color: #fff;
}

.the-footer {
  flex-shrink: 0;
  padding: 68px 0 61px;
  background: #f4f4f4;
  color: #3d3d3d;
}

.the-footer .container {
  width: calc(100% - 48px);
  max-width: 1320px;
  margin: 0 auto;
}

.the-footer__logo img {
  width: 248px;
}

.the-footer p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.35;
}

.the-footer strong {
  font-weight: 500;
}

.the-footer__company {
  margin: 37px 0 0;
  padding-top: 32px;
  border-top: 1px solid #1f1f1f;
}

.the-footer__copyright {
  margin: 16px 0 0;
}

@media (max-width: 900px) {
  .page-container {
    padding: 0 24px;
  }

  .the-header {
    padding: 24px 0;
  }

  .the-header__logo img {
    width: 220px;
  }

  .payment-page {
    padding-top: 36px;
  }

  .payment-page__intro {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .gpwebpay-lightbox-close {
    top: 12px;
    right: 12px;
    left: auto;
    transform: none;
  }

  .page-container {
    padding: 0 18px;
  }

  .the-header {
    padding: 20px 0;
  }

  .the-header__logo img {
    width: 200px;
  }

  .payment-page {
    padding: 32px 0;
  }

  .payment-page h1 {
    font-size: 32px;
    letter-spacing: -.7px;
  }

  .payment-page__subtitle {
    margin-top: 16px;
    font-size: 19px;
  }

  .payment-page__intro {
    margin-top: 16px;
    font-size: 17px;
  }

  .payment-form {
    margin-top: 38px;
  }

  .payment-form__fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .payment-form label {
    font-size: 17px;
  }

  .payment-form select,
  .payment-form input {
    font-size: 15px;
  }

  .button {
    width: 100%;
    padding: 18px 24px;
    font-size: 19px;
  }

  .payment-page__donation {
    margin-top: 40px;
    font-size: 22px;
  }

  .payment-page__donation br {
    display: none;
  }

  .payment-page__visual {
    margin-top: 45px;
  }

  .payment-page__visual-webpay {
    right: -2%;
    width: 52%;
  }

  .payment-page__deferred-text {
    margin-top: 38px;
    font-size: 20px;
  }

  .payment-page__deferred-actions {
    gap: 14px;
  }

  .the-footer {
    padding: 48px 0;
  }

  .the-footer .container {
    width: calc(100% - 36px);
  }

  .the-footer__logo img {
    width: 220px;
  }

  .the-footer__company {
    margin-top: 30px;
    padding-top: 26px;
  }
}
