/* Canvas - Outer Rectangle (Background color changes here) */
.canvas {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: white; /* Default gray background */
  transition: background-color 0.3s ease;
}

/* Navbar */
.navbar {
  width: 100%;
  background-color: black;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: white;
}

/* Content - Inner Rectangle (Static white container) */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Title */
.title {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #111827;
}

/* Color Grid */
.color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Color Boxes */
.button {
  width: 5rem;
  height: 5rem;
  border: 2px solid #1f2937;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button:hover {
  border-color: #4b5563;
  transform: scale(1.05);
}

/* Individual color box backgrounds */
#grey {
  background-color: #808080;
}

#white {
  background-color: #ffffff;
}

#blue {
  background-color: #4338ca;
}

#pink {
  background-color: #f8b4d0;
}

/* Instructions */
.instructions {
  text-align: center;
  max-width: 28rem;
}

.instruction-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111827;
  margin: 0.5rem 0;
}

/* Responsive Design */
@media (min-width: 768px) {
  .title {
    font-size: 3.5rem;
  }

  .button {
    width: 6rem;
    height: 6rem;
  }

  .instruction-text {
    font-size: 1.5rem;
  }
}

/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
}

button {
  border: none;
  outline: none;
}
