.formkit-page {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  background-size: cover;
  color: #333333;
  font-family: var(--body-font-family);
  font-size: 18px;
  line-height: 1.5;
  min-height: 100%;
}

.formkit-container {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  padding: 42px 60px 60px 60px;
  width: 100%;
  min-height: 100vh;
}

.formkit-card {
  border: 16px solid;
  padding: 60px 16%;
  display: -webkit-box;
  display: flex;
  -webkit-box-flex: 1;
          flex: 1 0 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-pack: center;
          justify-content: center;
  z-index: 3;
  position: relative;
}

.formkit-card-background {
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  max-width: 100% !important;
}

.formkit-card > * {
  max-width: 60%;
}

.formkit-preheader,
.formkit-preheader *,
.formkit-header,
.formkit-header * {
  font-family: var(--headings-font-family);
}

.formkit-preheader {
  margin-bottom: 16px;
  margin-top: 0;
}

.formkit-preheader h1 {
  margin-bottom: 0;
}

.formkit-header {
  margin-top: 0;
  margin-bottom: 32px;
}

.formkit-header,
.formkit-header * {
  line-height: 1.2;
}

.formkit-content p:first-of-type {
  margin-top: 0;
}

.formkit-form {
  margin-top: 24px;
}

.formkit-fields {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

.formkit-fields > input {
  width: 100%;
}

.formkit-field {
  width: 100%;
  margin-bottom: 20px;
}

.formkit-field:last-of-type {
  -webkit-box-flex: 1;
          flex: 1 0 auto;
  width: auto;
}

.formkit-input {
  border-width: 1px;
  border-style: solid;
  border-radius: 0;
  color: #24221f;
  font-size: 22px;
  line-height: 1.4;
  padding: 22px 28px;
}

[data-group="dropdown"] .formkit-select {
  font-size: 22px;
  padding: 22px 28px;
}

.formkit-field [data-group="dropdown"]::before {
  right: 23px;
  top: 35px;
}

.formkit-submit {
  margin-bottom: 20px;
  border-radius: 0;
  width: 190px;
  font-size: 16px;
  text-transform: uppercase;
}

.formkit-submit > span {
  line-height: 1.125;
  padding: 28px 10px;
}

.formkit-disclaimer {
  margin-bottom: 35px;
}

.formkit-powered-by-convertkit {
  margin: 0;
}

@media all and (max-width: 1300px) {
  .formkit-card > * {
    max-width: 65%;
  }
}

@media all and (max-width: 1200px) {
  .formkit-card > * {
    max-width: 70%;
  }
}

@media all and (max-width: 1100px) {
  .formkit-card > * {
    max-width: 75%;
  }
}

@media all and (max-width: 1000px) {
  .formkit-card > * {
    max-width: 85%;
  }
}

@media all and (max-width: 900px) {
  .formkit-card {
    padding: 60px;
  }

  .formkit-card > * {
    max-width: 100%;
  }
}

@media all and (max-width: 700px) {
  .formkit-container {
    padding: 0;
  }

  .formkit-preheader {
    font-size: 38px !important;
    margin-bottom: 22px;
    padding: 5px 20px 0;
  }

  .formkit-card {
    padding: 20px;
  }

  .formkit-card > * {
    max-width: 100%;
  }

  .formkit-header {
    font-size: 42px !important;
  }

  .formkit-field:last-of-type {
    width: 100%;
  }

  .formkit-submit {
    width: 100%;
  }
}
