/* style.css - dark design with animations */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  box-sizing: border-box;
}

.canvas-container {
  width: 100%;
  height: 320px;
  margin: 20px 0;
  background-color: #1e1e1e;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#pixelCanvas {
  border: 1px solid #333;
  border-radius: 4px;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.palette {
  display: flex;
  justify-content: space-around;
}

.color {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
}

.color:hover {
  transform: scale(1.1);
}

.tools {
  display: flex;
  justify-content: space-around;
}

button {
  padding: 10px 20px;
  background-color: #333;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #444;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}