.contact {
  display: flex;
  color: white;
  justify-content: center;
  font-size: larger;
  gap: 50px;
  padding: 40px 0;
}

.contact__title,
.contact__formSection {
  display: flex;
  flex-direction: column;
}

.contact__title {
  align-items: center;
  justify-content: space-evenly;
}

.formSection__div form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formSection__div form input,
textarea {
  border-radius: 8px;
  border: 0;
  padding: 4px;
}

textarea {
  height: 100px;
}

.formSection__div form label {
  text-align: center;
}

.formSection__div form button {
  border: 0;
  border-radius: 12px;
  margin: 10px 0;
  padding: 10px;
  font-size: 12px;
  font-family: 'Work Sans', sans-serif;
}

.formSection__div form button:hover {
  transform: scale(1.05);
  transition: 300ms ease-in-out;
}

.highlited-greentext {
  color: #d3ffb5;
}

@media screen and (min-width: 900px) {
  .formSection__div form input,
  textarea {
    width: 400px;
  }
}

@media screen and (max-width: 900px) {
  .contact__formSection {
    align-items: center;
  }
  .formSection__div form input,
  textarea {
    border-radius: 8px;
    border: 0;
    padding: 4px;
  }

  .formSection__div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 270px;
    max-width: 600px;
    width: 500px;
  }

  .formSection__div form {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .formSection__div form input,
  textarea,
  .formSection__div form button {
    width: 100%;
  }
  .contact {
    flex-direction: column;
    padding: 20px;
  }
}

@media screen and (max-width: 540px) {
  .formSection__div {
    width: 320px;
  }
}
