*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
img, picture, video, canvas, svg, iframe {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

@font-face {
  font-family: 'YourWorld';
  src: url('/your_world_font_v1.ttf');
}
body {
  background-color: #caffff;
  color: #322f2f;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
h1, h2, h3, h4, nav a, .standard-links, .bitfont {
  font-family: YourWorld, Verdana, Geneva, Tahoma, sans-serif;
}
a {
  text-decoration: none;
  color: #174683;
}
a:hover {
  color: #3169b3;
}
p {
  margin-top: 1rem;
}
p.center {
  text-align: center;
}
blockquote {
  border-left: 4px solid #322f2f;
  padding-left: 2rem;
  margin-top: 1rem;
}
h1, h2, h3, h4, h5, h6 {
  text-align: center;
}
h1 {
  font-size: 2rem;
}
img {
  margin-top: 1rem;
}

main {
  position: relative;
  margin: 1rem auto 1rem;
  width: 100%;
  max-width: 100%;
  padding: 1rem;
}
header {
  background-color: #99d6d6;
  display: flex;
  flex-direction: column;
  padding: 2rem 0.5rem 0.5rem;
  background: url('/img/banner.webp');
}
nav {
  display: flex;
  justify-content: center;
}
nav a {
  line-height: 64px;
  padding: 5px 14px;
  font-size: 1.2rem;
}
ul {
  list-style: none;
  text-align: center;
}
li {
  line-height: 200%;
}
button {
  background-color: #38b764;
  border: 4px solid black;
  padding: 1rem;
  cursor: pointer;
}
button:hover {
  background-color: #a7f070;
}

.bg {
  background-color: #322f2f;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  filter: blur(3px);
}
.logo {
  margin: 0 auto;
  padding: 0;
  width: 144px;
}
.icon {
  width: 96px;
  transition: all 0.25s ease-in-out;
}
.icon:hover {
  transform: scale(1.2);
}
.blog-index {
  text-align: center;
}
.standard-links {
  margin: 2rem 0;
  text-align: center;
}
.games-list {
  display: flex;
  justify-content: center;
  align-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.games-list a {
  width: 128px;
  text-align: center;
}
.gallery {
  display: grid;
  grid-gap: 1rem;
}
.gallery img:hover {
  transition: all 0.25s ease-in-out;
  transform: scale(1.2);
}
.text-center {
  text-align: center;
}
.wishlist-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1rem 0;
}
.wishlist-link span {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 2rem;
}
.wishlist-link img {
  width: 48px;
  margin: 0 auto;
}

@media only screen and (min-width: 440px) {
  main {
    margin: 0.5rem auto 0.5rem;
    width: 95%;
  }
  .games-list a {
    width: 144px;
  }
  .icon {
    width: 128px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (min-width: 768px) {
  main {
    width: 85%;
    max-width: 700px;
  }
  .games-list a {
    width: 216px;
  }
  .icon {
    width: 196px;
  }
  .gallery:not(.faded-cove) {
    grid-template-columns: repeat(3, 1fr);
  }
  h1 {
    font-size: 3rem;
  }
  nav a {
    padding: 5px 20px;
    font-size: 1.4rem;
  }
}
@media only screen and (min-width: 1280px) {
  main {
    max-width: 900px;
  }
  .games-list a {
    width: 285px;
  }
  .icon {
    width: 256px;
  }
  .gallery:not(.waves-of-chess, .faded-cove) {
    grid-template-columns: repeat(4, 1fr);
  }
}

