#stars {
  position: absolute;
  top: 23%;
  left: 17%;
}

#hero-title {
  font-weight: 500;
  font-size: 4rem;
  width: 70%;
}

/* contact form */
.contact-form {
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 5rem;
  z-index: 4;

  position: relative;
}

.form-container {
  max-width: 800px;
  width: 100%;
  border: 1px solid #a8c686;
  max-height: 100%;
  border-radius: 15px;
}

.form-header {
  padding: 2.3rem 2rem;
  background-color: #a8c686;
  color: #fff;
  font-size: 2rem;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  line-height: 1.3;
}

.form-content {
  display: flex;
  font-family: Manrope;
  flex-direction: column;
  padding: 5rem;
  padding-bottom: 2.7rem;
}

.form-content label {
  font-size: 2rem;
}

.form-content input,
textarea {
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid #333;
  outline: none;
  border-radius: 10px;
}

.submit-btn {
  width: 40%;
  margin: 1rem auto 0;
  padding: 0.6rem 2rem;
  font-size: 2rem;
  border: 2px solid #ededed;
}

/* Form message styles */
.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* element style */

.header-star {
  position: absolute;
  top: 21%;
  left: 21%;
}

.triangle-ele {
  position: absolute;
  bottom: -17%;
  left: -7%;
  opacity: 30%;
  width: 20%;
  rotate: 40deg;
}

.star-element {
  position: absolute;
  top: -3%;
  right: 18%;
}

.kid-1 {
  position: absolute;
  bottom: -19%;
  width: 25%;
  right: 0;
  z-index: 34;
}

.kid-2 {
  position: absolute;
  top: 0;
  left: 0;
}

.form-container {
  z-index: 34;
}

/* laptop responsive style */
@media (max-width: 1440px) {
  .kid-1,
  .kid-2,
  .triangle-ele,
  .star-element {
    width: 20%;
  }

  .star-element {
    right: 11%;
  }

  .kid-1,
  .triangle-ele {
    bottom: -35%;
  }
}

@media (max-width: 1440px) and (min-width: 1025px) and (orientation: landscape) {
  .hero {
    height: 20%;
  }

  .hero-title {
    padding: 0;
  }

  .contact-form {
    margin-bottom: 20rem;
  }
}

/* tab responsive style */
@media screen and (max-width: 1024px) {
  #hero-title {
    font-size: 2rem;
    line-height: 2.6rem;
  }

  .form-container {
    border-radius: 10px;
  }

  .form-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .form-content label {
    font-size: 1.7rem;
  }

  .contact-form {
    padding: 5rem 7.4rem;
  }

  .form-content {
    padding: 3rem;
  }

  .form-content input,
  textarea {
    font-size: 1.4rem;
  }

  .kid-1,
  .kid-2,
  .star-element,
  .triangle-ele {
    width: 25%;
  }

  .kid-2 {
    position: absolute;
    top: 7%;
    left: -3%;
    width: 20%;
  }

  .star-element {
    right: 0;
    top: -2%;
  }

  .form-header {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
  }

  .triangle-ele {
    bottom: -8%;
    left: -7%;
    rotate: 90deg;
  }

  .kid-1 {
    bottom: -10%;
  }

  .submit-btn {
    width: 62%;
  }
}

/* mobile responsive style */
@media (max-width: 430px) {
  .contact-form {
    padding: 5rem 2rem;
  }

  .form-content label {
    font-size: 1.2rem;
  }

  .form-content input,
  textarea {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .form-content {
    padding: 1.8rem;
  }

  .form-header {
    font-size: 1rem;
    padding: 1rem;
  }

  .kid-1,
  .kid-2,
  .star-element {
    width: 40%;
  }

  .kid-2 {
    top: -10%;
    left: 0;
  }

  .submit-btn {
    margin: 0 auto;
    font-size: 1.3rem;
    border-radius: 10px;
  }

  .triangle-ele {
    width: 30%;
  }

  #stars {
    top: 46%;
    left: 6%;
  }
}
