@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  transition: background-color 0.4s ease;
  font-family: 'Space Grotesk', sans-serif;
  color: #1f2937;
  min-height: 100vh;
  background-color: #f0f4f8;
}

nav {
  padding: 1rem;
  display: flex;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #fff;
  background: #eb5f28;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
}

.canvas {
  margin: 4.5rem auto;
  width: min(900px, 92vw);
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #e8dccf;
  border-radius: 22px;
  padding: 2.2rem 1.2rem;
  box-shadow: 0 16px 36px rgba(78, 59, 42, 0.15);
}

.canvas h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 1.5rem;
}

.button {
  height: 96px;
  width: 96px;
  border: 3px solid rgba(0, 0, 0, 0.16);
  display: inline-block;
  border-radius: 18px;
  margin: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

#grey {
  background-color: #7b7b7b;
}

#white {
  background-color: #fff;
}

#yellow {
  background-color: #f4d03f;
}

#blue {
  background-color: #3a8dde;
}

#purple {
  background-color: #8f4fc8;
}

.canvas h2 {
  font-size: 1.2rem;
  margin-top: 1.8rem;
  color: #445061;
}

.canvas h2 span {
  display: block;
  margin-top: 0.35rem;
  color: #6a7483;
  font-weight: 500;
  font-size: 0.96rem;
}

@media (max-width: 560px) {
  .button {
    width: 78px;
    height: 78px;
  }
}
  