@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&display=swap');

body {
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  overflow-wrap: break-word;
  background-color: #FAF7F0;
  color: #4A4947;
}

h1 {
  font-weight: 400;
}

.left {
  text-align: left;
}

.site-title a {
  font-family: "Bona Nova SC", serif;
  text-decoration: none;
  color: #4A4947;
}

.similar-words {
  font-size: large;
}

.word {
  font-weight: 900;
  color: #B17457;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, auto) 1fr;
  gap: 10px;
}

.search-left {
  grid-column: 1 / 3;
}

.search-right {
  grid-column: 3 / 4;
}

.search-element {
  border-radius: 10px;
  background-color: #FAF7F0;
  border: thick solid #B17457;
  font-size: large;
  font-family: inherit;
  padding: 10px;
}

.search-box {
  width: 100%;
  font-weight: 400;
}

.button {
  width: fit-content;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.button:hover {
  background-color: #B17457;
  color: #FAF7F0;
  transition: background-color 0.5s ease;
}

.content-wrapper {
  display: grid;
  grid-auto-rows: minmax(50px, auto);
  grid-template-columns: repeat(1, 1fr);
  column-gap: 10px;
  row-gap: 10px;
  margin: 30px auto;
  border: ridge #D8D2C2;
  border-radius: 10px;
}

.heading {
  color: #B17457;
}

.each-set {
  margin: 5px;
  padding: 5px;
}

.heading-divider {
  margin: 30px auto;
  width: 50%;
  border-top: 5px solid #D8D2C2;
  border-radius: 10px;
}

.each-set-divider {
  width: 30%;
}

@media (max-width: 992px) {
  body {
    width: 90%;
  }

  h1 {
    font-size: 1.7em;
  }

  .site-title a {
    font-size: 1.5em;
  }

  .search-wrapper {
    margin: 30px 0px;
  }

  .content-wrapper {
    padding: 20px;
  }

  .textarea {
    width: stretch;
  }
}

@media (min-width: 992px) {  
  body {
    width: 1280px;
  }

  h1 {
    font-size: 2em;
  }

  .site-title a {
    font-size: 2em;
  }

  .search-wrapper {
    margin: 30px 20%;
  }

  .content-wrapper {
    padding: 50px;
  }

  .textarea {
    width: 70%;
  }
}