/* COLORS */
/* TYPOGRAPHY */
/* ---- MEDIA QUERIES ----- */
.form-hero {
  position: relative;
}
.form-hero .container {
  padding: 5rem 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}
.form-hero .container.small {
  min-height: 44rem;
}
.form-hero .container.medium {
  min-height: 64rem;
}
.form-hero .container.large {
  min-height: 84rem;
}
.form-hero .container.light {
  color: #fff;
}
.form-hero .container.dark {
  color: #000;
}
.form-hero .heading, .form-hero .sub-heading {
  text-align: center;
}
.form-hero .heading {
  margin: 0 auto 2.4rem;
}
.form-hero .sub-heading {
  margin: 0 auto 4.5rem;
  font-weight: 300;
  font-size: 2.5rem;
  max-width: 75rem;
}
.form-hero .sub-heading span {
  font-weight: 700;
}
.form-hero .usps {
  display: flex;
  justify-content: center;
  gap: 4rem;
}
.form-hero .usps .usp {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 2rem;
}
.form-hero .button {
  min-width: 20rem;
  margin: 3rem 0 0;
}
.form-hero .button:hover {
  color: #fff;
}
.form-hero .form {
  background-color: #fff;
  padding: 0.8rem;
  border-radius: 0.8rem 0.8rem 0 0;
  border-bottom: 2px solid #000;
  margin: 3rem 0 0;
}
.form-hero .form form {
  display: flex;
  gap: 3rem;
}
.form-hero .form form input {
  width: 100%;
  min-width: 31.7rem;
  border: none;
  padding: 0.5rem 0.5rem 0.5rem 6.4rem;
  background-image: url("../../../assets/icons/icon_begar_offert_form.svg");
  background-repeat: no-repeat;
  background-position: 1.6rem center;
  -moz-appearance: textfield;
}
.form-hero .form form input::-webkit-outer-spin-button, .form-hero .form form input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form-hero .form form input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #000;
}
.form-hero .form form input::-moz-placeholder { /* Firefox 19+ */
  color: #000;
}
.form-hero .form form input:-ms-input-placeholder { /* IE 10+ */
  color: #000;
}
.form-hero .form form input:-moz-placeholder { /* Firefox 18- */
  color: #000;
}
.form-hero .form form input:focus {
  outline: none;
}
.form-hero .form form input.error::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: red;
}
.form-hero .form form input.error::-moz-placeholder { /* Firefox 19+ */
  color: red;
}
.form-hero .form form input.error:-ms-input-placeholder { /* IE 10+ */
  color: red;
}
.form-hero .form form input.error:-moz-placeholder { /* Firefox 18- */
  color: red;
}
.form-hero .form form button {
  white-space: nowrap;
  padding: 2.3rem 3.8rem;
  min-width: unset;
  margin: 0;
}
.form-hero .background-video,
.form-hero .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.form-hero .background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-hero .background-image img, .form-hero .background-image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.form-hero .overlay.dark {
  background-color: rgba(255, 255, 255, 0.5);
}
.form-hero .overlay.light {
  background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .form-hero .container.small {
    min-height: 2rem;
  }
  .form-hero .container.medium {
    min-height: 4rem;
  }
  .form-hero .container.large {
    min-height: 6rem;
  }
  .form-hero .heading {
    margin: 0 auto 2.5rem;
  }
  .form-hero .sub-heading {
    margin: 0 auto 2.3rem;
    font-size: 1.8rem;
  }
  .form-hero .usps {
    display: none;
  }
  .form-hero .button {
    margin: 0;
  }
  .form-hero .form {
    padding: 0.7rem;
    border-radius: 0.7rem 0.7rem 0 0;
    margin: 0;
  }
  .form-hero .form form {
    gap: 1.1rem;
  }
  .form-hero .form form input {
    min-width: unset;
    border: none;
    padding: 0.5rem 0.5rem 0.5rem 4.4rem;
    background-image: url("../../../assets/icons/icon_begar_offert_form.svg");
    background-position: 0.7rem center;
    background-size: 2.5rem;
    font-size: 1.3rem;
  }
  .form-hero .form form button {
    white-space: unset;
    padding: 0.5rem 1rem;
  }
  .form-hero .background-video,
  .form-hero .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  .form-hero .background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .form-hero .background-image img, .form-hero .background-image picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .form-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
}