.form-section {
  display: flex;
  margin-right: 0;
  justify-content: space-between;
  flex-direction: column-reverse;
}

.left {
  padding: 32px;

  max-width: 44rem !important;
  width: 100% !important;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: image-set(
    '../img/registration.webp' type('image/webp'),
    '../img/registration_small.jpg' type('image/jpeg')
  );
  background-image: -webkit-image-set(
    '../img/registration.webp' type('image/webp'),
    '../img/registration_small.jpg' type('image/jpeg')
  );
}


@media only screen and (max-width: 1024px) {
  .hero {
    min-width: 100%;
    max-height: 200px;
    margin-bottom: 100px;
    height: 450px;
  }


  .form-section {
    align-items: center;
  }

  .left {
    z-index: 1000;
  }
}

@media only screen and (min-width: 1025px) {
  .form-section>* {
    min-height: 50vh;
  }

  .content.form-section {
    flex-direction: row;
    padding: 0;
    max-width: unset;
    min-height: 860px;

  }

  .left {
    max-width: 44rem;
    margin-left: auto;
    max-width: 44rem;
  }

  .hero {
    max-width: 45%;
    margin-left: 5%;
    display: block;
    width: 50vw;
    min-height: 100%;
    background-position: right 20% center;
  }
}