.formkit-page {
  background: #ffffff;
  background-size: cover;
  color: #333333;
  font-size: 18px;
  font-family: var(--body-font-family);
  min-height: 100%;
}

p {
  line-height: 1.5;
  margin: 1em 0;
}

.formkit-container {
  padding: 80px 0 80px 220px;
  min-height: 100vh;
  display: -webkit-box;
  display: flex;
  -webkit-box-flex: 1;
          flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-pack: justify;
          justify-content: space-between;
}

.formkit-content-container {
  width: 740px;
  z-index: 2;
  position: relative;
  -webkit-box-pack: justify;
          justify-content: space-between;
  display: -webkit-box;
  display: flex;
  -webkit-box-flex: 1;
          flex: 1;
  -webkit-box-align: start;
          align-items: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  margin-top: 0;
  padding-bottom: 34px;
}

.formkit-name {
  margin-top: 0;
  margin-bottom: 0.67em;
  position: relative;
  z-index: 3;
}

.formkit-name h1 {
  line-height: 1.2;
  margin: 0;
}

.formkit-card {
  background: #fff;
  padding: 50px 50px 50px 0;
}

.formkit-header {
  font-family: var(--headings-font-family);
  margin-bottom: 0.67em;
}

.formkit-header h1 {
  line-height: 1.2;
  margin: 0;
}

.formkit-content p:last-of-type {
  margin-bottom: 0;
}

.formkit-form {
  margin-top: 40px;
  width: 100%;
  box-shadow: 0px 40px 40px rgba(0, 0, 0, 0.08);
}

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

.formkit-field {
  width: 100%;
}

.formkit-field .formkit-input,
.formkit-field .formkit-select {
  border-bottom-width: 0;
}

.formkit-fields[data-stacked="false"] .formkit-field {
  width: calc(100% - 200px);
}

.formkit-field:last-of-type .formkit-input,
.formkit-field:last-of-type .formkit-select {
  border-bottom-width: 1px;
}

.formkit-input,
.formkit-select {
  font-size: 22px !important;
  padding: 29px 55px 29px 29px !important;
}

[data-group="checkboxes"] {
  padding: 10px 29px;
}
[data-group="dropdown"]::before {
  right: 25px !important;
}

.formkit-submit {
  width: 200px;
  border-radius: 0;
  margin-bottom: 0;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  line-height: 1.5;
}

.formkit-submit span {
  padding: 32px 6px;
}

.formkit-fields[data-stacked="true"] .formkit-submit {
  flex-basis: 100%;
  width: auto;
}

.formkit-disclaimer {
  margin-left: 2px;
  margin-top: 10px;
}

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

.formkit-background {
  position: absolute;
  top: 80px;
  right: 0;
  width: calc(100vw - 760px);
  height: calc(100vh - 160px);
  background-size: cover;
}

@media all and (min-width: 1201px) and (max-width: 1360px) {
  .formkit-container {
    padding-left: 120px;
  }

  .formkit-background {
    width: calc(100vw - 660px);
  }
}

@media all and (min-width: 901px) and (max-width: 1200px) {
  .formkit-container {
    padding-left: 80px;
  }

  .formkit-background {
    width: calc(100vw - 620px);
  }
}

@media all and (max-width: 900px) {
  .formkit-container {
    padding: 130px 30px 30px;
  }

  .formkit-content-container {
    width: 100%;
    background: #fff;
    padding: 30px 30px 80px;
    -webkit-box-pack: start;
            justify-content: flex-start;
    height: auto;
  }

  .formkit-name {
    font-size: 38px !important;
    margin-bottom: 1.5em;
    margin-top: 0.75em;
    top: 0;
  }

  .formkit-card {
    background: #fff !important;
    margin-top: -15px;
    padding: 0;
  }

  .formkit-header {
    font-size: 30px !important;
    margin-bottom: 0.75em;
  }

  .formkit-fields {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
  }

  .formkit-field {
    width: 100% !important;
  }

  .formkit-input,
  .formkit-select {
    padding: 18px !important;
    text-align: center;
    font-size: 18px !important;
  }

  .formkit-submit {
    width: 100%;
    font-size: 14px;
  }

  .formkit-submit span {
    padding: 21px 6px;
  }

  .formkit-background {
    top: 0;
    left: 0;
    width: 100%;
    height: 340px;
  }
}
