@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200..1000&display=swap");

html,
body {
  font-family: Nunito, sans-serif;
  height: 100%;
  margin: 0;
  padding: 0;
}

.layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 50vh;
  background-color: rgb(255 230 215);
  padding: 5rem 0;
}

.hero > h1 {
  font-weight: bolder;
  font-size: 4rem;
  line-height: 3.5rem;
  color: #ff6000;
  margin: 0;
  margin-top: 1rem;
}

.hero > img {
  width: 8rem;
}

.games {
  padding-top: 2rem;
}

.games-list {
  margin: 0 auto;
  max-width: 900px;
  list-style-type: none;
  padding: 0 1rem;
}

.games-list > li {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
}

.games-list > li img {
  width: 6rem;
}

.games-list > li h3 {
  font-size: 1.75rem;
  margin: 0;
  margin-bottom: 0.25rem;
}

.games-list > li span {
  font-size: 1.25rem;
}

.games-list > li a {
  display: block;
  color: black;
  font-size: 1.25rem;
  text-underline-position: under;
  text-decoration-thickness: 3px;
}

.games-list > li a:visited {
}

.games-list > li#co-games-bot {
  background: rgb(53 53 222 / 15%);
}

.games-list > li:not(:last-of-type) {
  margin-bottom: 1rem;
}

.game-link-list {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.game-link-list #telegram {
  text-decoration-color: #39f;
}

.game-link-list #vk {
  text-decoration-color: #06f;
}

.footer {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  filter: grayscale(0.5) hue-rotate(190deg) saturate(500%);
  opacity: 0.75;
}

/* 404.html */
.not-found {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 900px;
  padding-top: 1rem;
  gap: 4rem;
}

.not-found > .title {
  display: inline-flex;
  font-size: 0.75rem;
  gap: 0.5rem;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
}
.not-found > .title > img {
  width: 2rem;
}

.not-found > .message {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
}

.not-found > .message > a {
  text-underline-position: under;
}
