.form_layout {
  font-family: "Point";
  display: flex;
  background: rgba(73, 73, 76, 1);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
}

.form_layout form {
  min-height: 572px;
  border-radius: 10px;
  max-width: 966px;
  min-width: 320px;
  padding: 80px 76px 69px 77px;
  position: relative;
  margin: auto;
}

.form_layout h4 {
  margin-bottom: 27px;
}

.form_layout hr {
  background-color: rgba(217, 217, 217, 1);
  border: none;
  color: rgba(217, 217, 217, 1);
  height: 1px;
  width: 100%;
  margin: 40px 0 22px;
}

.form_close {
  cursor: pointer;
  background: rgba(231, 238, 254, 1);
  border: 0.8px solid rgba(26, 49, 143, 1);
  border-radius: 33.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  width: 35px;
  position: absolute;
  top: -37px;
  right: -35px;
}

.form_close img {
  height: 17px;
  width: 18px;
}

.main_form_form_lauoutTree {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main_form_form_lauoutTree > p {
  color: rgba(26, 49, 143, 1);
  font-size: 16px;
  font-weight: 700;
  line-height: 19.2px;
  text-transform: uppercase;
}

.main_form_form_lauoutTree > div {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main_form_form_lauoutTree > div > p {
  color: rgba(26, 49, 143, 1);
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.main_form_form_lauoutTree div .icons {
  gap: 15px;
  max-width: 180px;
}

.main_form_form_lauoutTree div .icons img {
  height: 50px;
  width: 50px;
}

.main_form {
  background: url(../img/form-background.svg);
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  min-height: 505px;
  min-width: 320px;
  padding: 60px 110px;
  position: relative;
  z-index: 1;
}

.main_form::before {
  content: "";
  background: url(../img/form-background.2.png) top left / 100% no-repeat;
  position: absolute;
  top: -120px;
  right: 0;
  bottom: -120px;
  left: 0px;
  z-index: 1;
  height: 785px;
  width: 559px;
}

.main_form_form {
  padding: 33px 48px 38px 57px;
  background: rgba(231, 238, 254, 1);
  box-shadow: -2px 4px 4px 0px rgba(0, 0, 0, 0.25);
  min-height: 385px;
  border-radius: 10px;
  max-width: 919px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.main_form_form_title {
  color: rgba(26, 49, 143, 1);
  font-size: 16px;
  font-weight: 700;
  line-height: 19.2px;
  text-transform: uppercase;
  margin-bottom: 35px;
}

.main_form_form_lauout {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
}

.main_form_form_lauoutOne,
.main_form_form_lauoutTwo {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 375px;
  width: 100%;
}

.main_form_form_lauoutTwo section:nth-child(2) {
  margin-top: -12px;
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
  .main_form::before {
    content: "";
    background: url(../img/form-background.2.png) top left / 40% no-repeat;
    position: absolute;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0px;
    z-index: -1;
    height: 585px;
  }

  .main_form_form,
  .form_layout form {
    padding: 35px 30px 40px;
    min-height: fit-content;
  }

  .form_layout {
    padding: 0 50px;
  }

  .input {
    height: 60px;
  }

  .main_form_form_lauoutOne,
  .main_form_form_lauoutTwo {
    max-width: 100%;
  }

  .main_form_form_lauoutTwo button {
    max-width: 100%;
    height: 55px;
  }

  .main_form {
    padding: 60px 20px;
  }
}

@media screen and (max-width: 767px) {
  .main_form {
    padding: 30px 10px;
  }

  .form_layout form {
    border-radius: 0;
  }

  .form_layout h4 {
    margin-bottom: 22px;
  }

  .main_form_form_title {
    font-size: 14px;
    font-weight: 700;
    line-height: 16.8px;
    text-align: center;
  }

  .main_form_form,
  .form_layout form {
    padding: 35px 10px 40px;
  }

  .form_close {
    top: -45px;
    right: 10px;
  }

  .input {
    height: 50px;
  }

  .main_form_form_lauout {
    flex-direction: column;
    margin-top: 15px;
  }

  .main_form_form_lauoutOne,
  .main_form_form_lauoutTwo {
    gap: 15px;
    max-width: 100%;
  }

  .main_form_form_lauoutTwo button {
    max-width: 100%;
    height: 48px;
  }

  .form_layout hr {
    margin: 25px 0 20px;
  }

  .main_form_form_lauoutTree {
    gap: 17px;
  }

  .main_form_form_lauoutTree,
  .main_form_form_lauoutTree > div {
    flex-direction: column;
  }

  .main_form_form_lauoutTree p,
  .main_form_form_lauoutTree > div > p {
    font-size: 14px;
    font-weight: 700;
    line-height: 16.8px;
  }

  .main_form_form_lauoutTree > div {
    gap: 52px;
  }

  .main_form_form_lauoutTree div .icons img {
    height: 40px;
    width: 40px;
  }

  .main_form_form_lauoutTree div .icons {
    justify-content: space-between;
    width: 180px;
  }
}
