*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: #111111;
  background: #bcb8b8;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 3rem;
  gap: 3rem;
}

.hero {
  text-align: center;
}

.name {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.06em;
}

.links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.links a {
  color: inherit;
  text-decoration: underline;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.links a:hover,
.links a:focus-visible {
  text-decoration: none;
}

.main {
  width: 100%;
  max-width: 960px;
}

.grass-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(60vh, 520px);
}

#grass-field {
  position: relative;
}

.grass-tile {
  position: absolute;
  width: 120px;
  height: 120px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  cursor: pointer;
  border-radius: 0;
}

@media (max-width: 600px) {
  .page {
    padding: 1.75rem 1rem 2.5rem;
    gap: 2.5rem;
  }

  .grass-tile {
    width: 96px;
    height: 96px;
  }
}
