@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=Knewave&display=swap');

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

h1 {
  font-weight: 900;
}

img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 25px;
}

.img-gallery {
  margin: 0;
}

.img-gallery:hover {
  transform: scale(1.02) rotate(0deg) translate(0px, 0px) skewX(0deg);
  box-shadow: 0 0px 30px rgba(0, 0, 0, 0.3);
  opacity: 1;
  filter: brightness(0.8);
}

ul {
    list-style-position: inside;
}

p, ul, .left {
  text-align: left;
}

.center {
  text-align: center;
}

h2, .word {
  font-weight: 900;
  color: #628141;
}

h2 {
  margin-top: 50px;
}

.site-title {
  margin-top: 20px;
}

.site-title a {
  font-family: "Knewave", system-ui;
  text-decoration: none;
  color: #0D4715;
}

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

.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: #E7EFC7;
  border: thick solid #628141;
  font-size: large;
  font-family: inherit;
  padding: 10px;
}

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

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

.button:hover {
  background-color: #E7EFC7;
  color: #1B211A;
  transition: background-color 0.5s ease;
}

.button a {
  text-decoration: none;
}

.button:hover a {
  background-color: #E7EFC7;
  color: #1B211A;
}

.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: 1px ridge #8A784E;
  border-radius: 10px;
}

.inside-wrapper {
  display: grid;
  grid-auto-rows: minmax(50px, auto);
  column-gap: 30px;
  row-gap: 30px;
  margin: 30px auto;
}

.heading {
  color: #628141;
}

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

.heading-divider {
  margin: 30px auto;
  width: 50%;
  border-top: 2px solid #8A784E;
  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;
  }
  
  .inside-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .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 20%;
  }

  .inside-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .textarea {
    width: 70%;
  }
}