@font-face {
  font-family: Galano classic;
  src: url('../fonts/Galano-Classic.woff2') format("woff2"), url('../fonts/Galano-Classic.eot') format("embedded-opentype"), url('../fonts/Galano-Classic.woff') format("woff"), url('../fonts/Galano-Classic.ttf') format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: auto;
}

label {
  color: #a8a8a8;
  margin-bottom: 5px;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  display: block;
}

.section {
  background-image: url('../images/beautiful-chaos.jpg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  display: flex;
}

.wrapper {
  cursor: pointer;
}

.text-block {
  color: #fff;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
  font-size: 32px;
  line-height: 80px;
}

.form-overlay {
  z-index: 100;
  background-color: #000;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding-left: 10%;
  padding-right: 10%;
  display: flex;
  position: absolute;
  inset: 0%;
}

.contact-form-grid {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
  grid-auto-columns: 1fr;
  width: 100%;
  margin-top: 40px;
  display: grid;
}

.container {
  flex: 0 0 100%;
  max-width: 600px;
}

.submit-button {
  color: #000;
  background-color: #0063b9;
  margin-top: 20px;
  padding: 15px 30px;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
  font-size: 18px;
}

.text-field {
  color: #aaa;
  background-color: #000;
  border: 1px solid #414141;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
}

.text-field:focus {
  color: #fff;
  border-color: #fff;
}

.text-field::placeholder {
  color: #aaa;
}

.close-btn-container {
  z-index: 200;
  width: 30px;
  margin-top: 2%;
  margin-right: 2%;
  position: fixed;
  inset: 0% 0% auto auto;
}

.field-label {
  color: #aaa;
}

.success-message {
  color: #aaa;
  background-color: #0000;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
  font-size: 18px;
}

.error-message {
  background-color: #fa5b5b;
  margin-top: 20px;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.descriptor {
  color: #686868;
  padding-bottom: 10px;
  font-family: Times New Roman, TimesNewRoman, Times, Baskerville, Georgia, serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
}

@media screen and (max-width: 991px) {
  .wrapper {
    margin-left: 50px;
    margin-right: 50px;
  }
}

@media screen and (max-width: 479px) {
  .wrapper {
    margin-left: 20px;
    margin-right: 20px;
  }

  #w-node-e52dbcb7-c3ce-45f8-19f9-1eceb55f0bbb-603cfa86, #w-node-e52dbcb7-c3ce-45f8-19f9-1eceb55f0bc3-603cfa86 {
    grid-area: span 1 / span 2 / span 1 / span 2;
  }
}


@font-face {
  font-family: 'Galano classic';
  src: url('../fonts/Galano-Classic.woff2') format('woff2'), url('../fonts/Galano-Classic.eot') format('embedded-opentype'), url('../fonts/Galano-Classic.woff') format('woff'), url('../fonts/Galano-Classic.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: auto;
}
/* Independent modal behaviour after moving from Webflow to Cloudflare Pages. */
.form-overlay {
  display: none;
  opacity: 0;
  transition: opacity 350ms ease-out;
  overflow-y: auto;
}
.form-overlay.is-visible { display: flex; }
.form-overlay.is-open { opacity: 1; }
.close-btn-container {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.wrapper:focus-visible,
.close-btn-container:focus-visible {
  outline: 2px solid white;
  outline-offset: 6px;
}
.submit-button:disabled { cursor: wait; opacity: .75; }
@media (prefers-reduced-motion: reduce) {
  .form-overlay { transition-duration: 0ms; }
}

/* Form security challenge: dark theme to match the existing black modal. */
.captcha-wrap { margin-top: 20px; min-height: 74px; }
.captcha-feedback { color: #fa8585; margin: 10px 0 0; font-size: 15px; }
.captcha-feedback[hidden] { display: none; }
