h1.main-title {
  font-family: 'Montserrat';
  font-weight: 300;
  font-size: 34px !important;
  line-height:1.2;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
  letter-spacing: 0;
  text-transform: uppercase;
  color:#000;
}


#main {
  padding: 66px 0 67px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../images/referral-2.jpg');
  background-image: image-set(url('../images/referral-2.jpg') 1x,
  url('../images/referral-2@2x.jpg') 2x);
}

#main .container {
  display: flex;
  gap: 87px;
  max-width: 1342px;
}

#main .form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 47%;
}

#main .image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 880px;
  flex-direction: column;
  color: #fff;
  flex: 1 1 618px;
  max-width: 618px;
  min-width: 300px;
  padding: 0 20px;
}

#main .image .bigtext {
  font-size: 52px;
  line-height: 1.25em;
  letter-spacing: 0.042em;
}

#main .image .bigtext strong {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.042em;
}

#main .image .bigtext em {
  font-size: 113px;
	font-family: "BDScript";
  margin-left: 5px;
  position: relative;
  top: -7px;
  letter-spacing: 0.042em;
}

#main .image .smalltext {
  max-width: 520px;
  text-align: center;
  font-size: 11px;
  line-height: 17px;
  letter-spacing: 0.02em;
  margin-top: 30px;
}

#main .gform_wrapper {
  position: relative;
}

#main .gform_wrapper.gravity-theme .gfield_label,
#main .gfield_consent_description {
  font-weight:400;
}

#main .form .gform_validation_errors,
.gfield_required.gfield_required_text {
  display:none !important
}

#main .form .gfield_validation_message {
  font-size: 10px;
  padding: 0px 10px;
}

#field_25_9 {display:flex;}

#main .form .title {
  text-align: center;
  font-size: 26px;
  line-height: 46px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #242424;
  margin: -23px auto 18px auto;
  width: fit-content;
  position: relative;
}
#main .form .title::after {
  content: '';
  position: absolute;
  top: -34px;
  left: 15px;
  transform: rotate(-10deg);
  width: 66px;
  height: 66px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../images/title-decor-black.svg');
}

#main .form .title strong {
  font-size: 36px;
  line-height: 1em;
  font-weight: 500;
}

#main .form .title p {
  font-weight:300;
}

#main .form .description {
  text-align: center;
  margin-bottom: 19px;
}

#main .gform_wrapper.gravity-theme .gfield_label {
  font-size: 10px;
  line-height: 1em;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

#main #field_25_5,
#main #field_25_3 {
  grid-column: span 3;
}

#main #field_25_6 {
  grid-column: span 6;
}

#main .gform_wrapper.gravity-theme .gform_fields {
  grid-row-gap: 2px;
  grid-column-gap: 20px;
}

#main .gform_wrapper.gravity-theme .gfield input.large,
#main .gform_wrapper.gravity-theme .gfield select.large {
  height: 35px;
  font-size: 10px;
  letter-spacing: 0.02em;
}

#main #field_25_9 {
  display: flex;
  margin-top: 24px;
  padding: 0 24px;
}

#main .gfield_validation_message {
  font-size: 12px;
  padding: 5px 10px;
}

#main #field_25_9 legend,
#main #field_25_9 label {
  display: none;
}

#main .gfield_consent_description {
  border: none;
  text-align: center;
  font-size: 8px;
  line-height: 13px;
  color: #000000;
  overflow: hidden;
  max-width: 500px;
  margin: 0;
}

#main .gfield_consent_description a {
  color: #000;
  text-decoration: underline;
}

#main .bottom {
  display: flex;
  margin-top: 8px;
  padding: 0 50px;
}

#main .loc {
  flex: 1;
  color: #000;
  font-size: 8px;
  line-height: 1em;
  text-align: center;
}

#main .loc p {
  font-weight: 700;
  margin: 0;
}

#main .loc a {
  color: #000;
  text-decoration: underline;
}

#gform_submit_button_25 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -107px;
  height: 27px;
  width: 160px;
  background: #A46DAC;
  border-radius: 70px;
  border: none;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
}

#main .gform_wrapper.gravity-theme .gform_footer,
#main .gform_wrapper.gravity-theme .gform_page_footer {
  margin: 0;
  padding: 0;
}

#main .gform_confirmation_message {
  text-align: center;
  font-size: 18px;
  line-height: 26px;
  color: #242424;
  margin-bottom: 40px;
  font-weight:400;
}

@media screen and (max-width: 1200px ) {
  #main {
    padding: 0;
  }

  #main .container {
    max-width: 100%;
    width: 100%;
  }

  #main .image {
    max-width: 400px;
  }

  #main .image .bigtext {
    font-size: 42px;
  }

  #main .image .bigtext strong {
    font-size: 40px;
  }

  #main .image .bigtext em {
    font-size: 83px;
  }
}

@media screen and (max-width: 992px ) {
  #main .container {
    flex-direction: column;
    gap: 50px;
    padding-bottom: 109px;
  }

  #main .image {
    width: 100%;
    max-width: 100%;
    min-height: unset;
    flex-basis: unset;
    padding: 50px 20px;
  }

  #main .form {
    width: 80%;
    margin: 0 auto;
  }

  #main .form .title {
    margin: 27px auto 18px auto;
  }
}

@media screen and (max-width: 640px ) {
  h1.main-title {
    font-size: 22px !important;
    padding: 0 20px 20px 20px;

  }
  #main #field_25_5,
  #main #field_25_3 {
    grid-column: span 6;
  }

  #main #field_25_6 {
    grid-column: 1 / -1;
  }

  #main #field_25_9 {
    padding:0;
  }

  #main .gfield_consent_description {
    max-width:270px;
  }

  #main .form .title strong {
    font-size:23px;
  }

  #main .form .title {
    font-size:20px;
    line-height: 1.7;
  }

  #main .form .title::after {
    left:-10px;
  }

  #main .form .description {
    font-size: 14px;
    line-height: 1.4;
  }

  #main .form {
    margin-top:-30px;
  }

  #main .image .bigtext em {
    font-size: 73px;
  }

  #main .bottom {
    padding: 0;
  }

  #main .gform_confirmation_message {
    font-size:14px;
    line-height:22px;
  }
}

@media screen and (max-width: 360px ) {
  #main .form .title {
    font-size:18px;
  }
}