.banner {
  width: 100%;
  position: relative;
  padding: 0 15px;
}
.banner_background {
  width: 50%;
  height: calc(100% - 125px);
  position: absolute;
  object-fit: cover;
  z-index: -1;
  right: 0;
  top: 0;
}
.banner .container {
  display: flex;
  justify-content: space-between;
  padding: 75px 0 75px 0;
}
.banner_text {
  width: calc(50% - 20px);
  padding-bottom: 125px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.banner_text h1 {
  font-weight: 700;
  font-size: calc(22px + 18 * ((100vw - 370px) / (1920 - 370)));
  line-height: 130%;
  color: #243d3a;
  margin-bottom: 0;
}

.banner_text p {
  font-weight: 500;
  font-size: calc(16px + 8 * ((100vw - 370px) / (1920 - 370)));
  line-height: 140%;
  color: #967340;
}

.banner_form {
  width: calc(50%);
  padding-left: 50px;
  display: flex;
  align-items: center;
}
.banner_line {
  width: 100%;
  height: 125px;
  background: #3e635f;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
@media screen and (max-width: 1000px) {
  .banner_background {
    height: calc(100% - 80px);
  }
  .banner .container {
    padding: 30px 0;
    align-items: center;
  }
  .banner_line {
    height: 80px;
  }
  .banner_text {
    padding-bottom: 80px;
  }
  .banner_form {
    padding-left: 30px;
  }
}
@media screen and (max-width: 800px) {
  .banner_form {
    position: relative;
  }
  .banner_form {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .banner_background {
    height: calc(100% - 70px);
  }
  .banner_background {
    width: 100%;
  }
  .banner .container {
    flex-direction: column;
    padding: 0;
  }
  .banner {
    padding: 0;
  }
  .banner_text {
    width: 100%;
    background-color: white;
    padding: 40px 15px;
  }
  .banner_text h1 {
    text-align: center;
  }
  .banner_text p {
    text-align: center;
  }
  .banner_form {
    width: 100%;
    padding: 40px 25px;
  }
  .banner_line {
    height: 70px;
  }
}
@media screen and (max-width: 400px) {
  .banner_form {
    padding: 30px 15px;
  }
}
