body {
  margin: 0;
  font-family: sans-serif;
    background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("src/ducks.jpg") repeat;
}

/* Font for the deNomer link (path is relative to this file, so it works from game pages too) */
@font-face {
  font-family: "Cream Cake";
  src: url("src/Cream Cake Bold.otf") format("opentype");
}

/* Title on the left, home button on the right */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgb(251, 185, 84);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

header h1 a {
  color: inherit;
  text-decoration: none;
}

/* Cursive deNomer link on the right of the header, links back to denomer.fun */
.home {
  font-family: "Cream Cake", cursive;
  font-size: 1.3rem;
  color: inherit;
  text-decoration: none;
}

.game-title {
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.thumb {
  height: 150px;
  border-radius: 12px;
}
