.section-main {
  width: 100%;
  display: flex;
  justify-content: center;
}

.section-form {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  padding-top: 54px;
  align-items: center;
  gap: 62px;
  margin-bottom: 100px;
}

.star-color {
  color: #1c75ca;
}

.title-home {
  text-align: center;
}

.form-contact {
  width: 100%;
  display: flex;
  position: relative;
  justify-content: center;
}

.image-container {
  width: 100%;
  height: 524px;
  background-image: url("/assets/Assets/beach-placeholder.jpg");
  background-size: cover;
  /* Assicura che l'immagine copra l'intero contenitore */
  background-position: center;
  position: absolute;
  /* Centra l'immagine di sfondo */
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  top: 0;
  right: 0;
  z-index: 0;
}

.card-body {
  display: flex;
  flex-direction: column;
  max-width: 511px;
  max-height: 573px;
}

.form-container {
  width: 100%;
  height: 573px;
  max-width: 511px;
  border-radius: 15px !important;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  margin-top: 53px;
  -webkit-box-shadow: 0px 0px 50px -8px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 50px -8px rgba(0, 0, 0, 0.1);
}

.form-content {
  width: 100%;
  height: 573px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.submit-button {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.first-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 382px;
  margin-bottom: 100px;
}

.image-first-row {
  width: calc((100% - 42px) / 3);
  padding: 31px 22px;
  height: 100%;
  display: flex;
  background-size: cover;
  background-position: initial;
  position: relative;
  border-radius: 15px;
  -webkit-box-shadow: 0px 0px 50px -8px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 50px -8px rgba(0, 0, 0, 0.1);
}

.image-first-row.first {
  background-image: url("/assets/Illustrations/illustration-15.png");
}

.image-first-row.second {
  background-image: url("/assets/Illustrations/illustration-16.png");
}

.image-first-row.third {
  background-image: url("/assets/Illustrations/illustration-17.png");
}

.section-home {
  width: 100%;
  max-width: 1308px;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 50px;
  align-items: start;
  gap: 62px;
}

.style-email-font-medium {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
  color: #000000;
}

.style-email-font-small {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #1c75ca;
}

.message-text {
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
}

.button-submit {
  width: 137px !important;
  height: 38px !important;
}
@media only screen and (max-width: 980px) {
  .titleMobileScreen {
    font-size: 30px !important;
    font-weight: 600;
    line-height: 31.54px;
    margin-left: 8px;
    margin-right: 8px;
  }

  .formContainerMobileScreen {
    width: calc(100% - 32px);
  }
  .textFormMobileScreen {
    margin-top: 10px;
  }
  .sectionHomeMobileScreen {
    align-items: center;
    padding-top: 0px;
    gap: 32px;
  }

  .h2TitleMobileScreen {
    font-size: 24px !important;
    font-weight: 600;
    line-height: 29px;
  }
  .first-rowMobileScreen {
    flex-direction: column;
    height: auto;
    width: calc(100% - 32px);
    margin-bottom: 24px;
    max-width: 350px;
  }

  .image-rowMobileScreen {
    width: 100%;
    margin-bottom: 16px;
    height: 382px;
    background-position: center;
  }
  .section-form {
    margin-bottom: 60px;
  }
}
@media (min-width: 641px) and (max-width: 980px) {
  .image-rowMobileScreen {
    min-width: 350px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    height: 382px;
    margin-left: 8px;
    margin-right: 8px;
    width: auto;
  }
  .first-rowMobileScreen {
    margin-top: 53px;
    flex-wrap: wrap;
    margin-left: 8px;
    margin-right: 8px;
    justify-content: space-around;
    max-width: none;
    flex-direction: row;
  }
  .titleMobileScreen {
    font-size: 36px;
    text-align: center;
  }
}

@media (min-width: 981px) and (max-width: 1350px) {
  .sectionHomeMobileScreen {
    padding-left: 16px;
    padding-right: 16px;
  }
}
