html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

canvas {
  display: block;
  margin: 10px auto;
  border: 3px solid #333;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#status {
  font-size: 20px;
  font-weight: bold;
  margin: 15px 0;
  padding: 10px 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
  min-width: 300px;
}

#colorDisplay {
  width: 350px;
  height: 120px;
  margin: 20px auto;
  border-radius: 15px;
  border: 4px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#colorDisplay small {
  font-size: 16px;
  font-weight: normal;
  margin-top: 8px;
  opacity: 0.8;
}


@media (max-width: 768px) {
  canvas {
    width: 95%;
    height: auto;
  }
  
  #colorDisplay {
    width: 90%;
    font-size: 20px;
  }
  
  #status {
    font-size: 18px;
    min-width: 250px;
  }
}