@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&family=Kanit:wght@300;900&display=swap");

* {
  margin: 0px;
  padding: 0px;

  font-family: "Kanit", sans-serif;
}

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(to right bottom, red, blue);
}

div h1 {
  color: rgb(255, 255, 255);
  font-size: 40px;
  font-weight: 1000;
  margin: 20px;
  border-top: 4px solid rgb(242, 255, 0);
}

span {
  color: red;
  text-shadow: none;
  border-bottom: 4px solid rgb(242, 255, 0);
  font-family: "Bai Jamjuree";
}

textarea {
  width: 600px;
  height: 240px;
  padding: 20px;
  outline: 0;
  color: white;
  font-size: 20px;
  background: rgba(124, 227, 237, 0.477);
  border: none;
  border-radius: 20px;
  box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.4);
  margin-bottom: 20px;
  resize: none;
  overflow: auto;
}

textarea::-webkit-scrollbar {
  display: none;
}

textarea::placeholder {
  color: white;
  font-size: 25px;
}

.row {
  height: 40px;
  max-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

button {
  font-size: 22px;
  border-radius: 20px;
  padding: 9px;
  background-color: lightgreen;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  outline: 0;
  border: 0;
  cursor: pointer;
}

button img {
  height: 30px;
}

select {
  flex: 1;
  background-color: lightgreen;
  height: 55px;
  outline: 0;
  border: 0;
  padding: 0px 20px;
  border: none;
  border-radius: 17px;
  appearance: none;
  background-image: url(images/up-arrow.png);
  background-size: 17px;
  background-repeat: no-repeat;
  background-position-x: calc(100% - 20px);
  background-position-y: 20px;
  width: 510px;
  font-size: medium;
}

@media (max-width: 650px) {
  textarea {
    width: 300px;
  }

  select {
    width: 249px;
  }

  div h1 {
    font-size: 27px;
  }

  button {
    font-size: 0px;
  }
}

@media (max-width: 345px) {
  .hero {
    width: 100%;
    min-height: 100vh;
  }
  textarea {
    width: 261px;
  }

  select {
    width: 207px;
  }

  div h1 {
    font-size: 22px;
  }

  button {
    font-size: 0px;
  }
}
