.main {
  padding-inline: 0px;
  margin-top: 116px;
}

.main h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 57.6px;
  text-align: center;
}
.imageWrapper {
  width: 100%;
  height: 700px;
  position: relative;
  margin-bottom: 400px;
}
.imageWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  filter: brightness(0.8);
  z-index: -1;
}

.imageWrapper h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 57.6px;
  text-align: center;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.formWrapper {
  width: fit-content;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px;
  background-color: #ffdcdc;
  border-radius: 20px;
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -100px;
  transform: translate(-50%);
}

.horizontalWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.horizontalWrapper input {
  width: 300px;
  padding: 10px;
  border-radius: 10px;
  border: none;
}

.formWrapper textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
}

.buttonWrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.buttonWrapper button {
  background-color: #d91e3e;
  border-radius: 20px;
  border: none;
  padding: 8px 30px;
  color: white;
}

.termsWrapper input {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

.termsWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.formWrapper form {
  position: relative;
}

.formWrapper .socialWrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 0;
  bottom: -70px;
}

@media screen and (max-width: 680px) {
  .formWrapper {
    padding: 16px;
    bottom: -200px;
  }
  .formWrapper .horizontalWrapper {
    display: flex;
    flex-direction: column;
  }
  .formWrapper .buttonWrapper {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }
  .formWrapper form button{
    width: 100%;
  }
}
