/* Color Changer Specific Styles */

.canvas {
  text-align: center;
  max-width: 600px;
}

.color-palette {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0;
}

.button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.button:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.button:active {
  transform: scale(0.95);
}

#grey {
  background-color: #64748b;
}

#white {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

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

#yellow {
  background-color: #eab308;
}

#purple {
  background-color: #a855f7;
}

.instructions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
}

.instructions h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.instructions p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Transition for the body background color when changed via JS */
body {
  transition: background-color 0.5s ease;
}
