/* White background for the whole page */
body {
  background: white;
  color: #333;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
}

/* The logo, centered above the title */
.logo {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  margin-top: 12px;
  margin-bottom: 24px;
}

/* The grid that holds all the slots: 3 side by side, filling the whole page.
   The page scrolls down when there are more slots than fit on screen. */
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* On smaller windows, show fewer slots side by side so they don't get squished */
@media (max-width: 750px) {
  .slots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .slots { grid-template-columns: 1fr; }
}

/* One empty rectangle with an outline */
.slot {
  border: 3px solid black;
  border-radius: 6px;
  aspect-ratio: 21 / 10;   /* about twice as wide as it is tall */
  overflow: hidden;
  transition: transform 0.15s;   /* makes the growing smooth */
}

/* Hovering the mouse over a slot makes it a tiny bit bigger */
.slot:hover {
  transform: scale(1.03);
}

/* The cover picture fills the whole slot */
.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* A slot with a game in it is clickable: it opens the game */
a.slot {
  display: block;
}

a.slot:hover .thumbnail {
  filter: brightness(1.15);
}
