@import url("https://fonts.googleapis.com/css2?family=Limelight&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;600&display=swap");
* {
  margin: 0;
  padding: 0;
}

body {
  background: #cae5ffff;
  width: 100%;
  height: 100vh;
}

textarea {
  resize: none;
  border: none;
  height: 300px;
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.2);
  padding: 10px;
  font-size: 18px;
  margin-bottom: 3vh;
}
textarea:focus {
  outline: none;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.6);
}
@media only screen and (max-width: 500px) {
  textarea {
    font-size: 12px;
  }
}

label {
  margin-bottom: 2vh;
  font-size: 27px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #023e8aff;
}
@media only screen and (max-width: 500px) {
  label {
    font-size: 20px;
  }
}

.header {
  margin: 2vh 0 8vh 0;
}
.header__title {
  font-family: "Limelight", cursive;
  text-align: center;
  color: #023e8aff;
  font-size: 70px;
  font-weight: 500;
  margin: 2% auto;
}
@media only screen and (min-width: 501px) and (max-width: 1024px) {
  .header {
    margin: 4vh 0;
  }
  .header__title {
    font-size: 55px;
  }
}
@media only screen and (max-width: 500px) {
  .header__title {
    font-size: 35px;
    margin: 2%;
  }
}

.translator {
  width: 85vw;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
}
.translator__input {
  width: 46%;
  margin-bottom: 8vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
}
.translator__input__wrapper {
  width: 450px;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.translator__input__btn {
  font-family: "Inter", sans-serif;
  border: none;
  border-radius: 10px;
  height: 40px;
  width: 200px;
  font-size: 16px;
  color: white;
  background-color: #023e8aff;
  box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.3);
}
@media only screen and (min-width: 501px) and (max-width: 1024px) {
  .translator {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .translator__input {
    width: 90%;
    margin-bottom: 8vh;
  }
}
@media only screen and (max-width: 500px) {
  .translator {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    width: 80%;
  }
  .translator__input {
    width: 90%;
    margin-bottom: 30px;
  }
  .translator__input__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 70%;
  }
  .translator__input__btn {
    height: 30px;
    width: 90px;
    font-size: 12px;
    border-radius: 5px;
  }
}

.reference > h2 {
  color: #023e8aff;
  font-family: "Limelight", cursive;
  font-size: 50px;
  font-weight: 500;
  text-align: center;
  margin: 5vh auto;
}
.reference__chart {
  color: #023e8aff;
  margin: 4vh 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  padding-bottom: 30px;
}
@media only screen and (min-width: 501px) and (max-width: 1024px) {
  .reference__chart > img {
    width: 85%;
  }
}
@media only screen and (max-width: 500px) {
  .reference > h2 {
    font-size: 30px;
  }
  .reference__chart {
    padding-bottom: 25px;
    margin: 0 2vw;
  }
  .reference__chart > img {
    width: 90%;
  }
}
