/* Base styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #222;
  margin: 0;
  padding: 20px;
}

.wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: 45px;
}

h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

h2, h4 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: black;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.back-button:hover {
  background-color: #333;
}


/* Canvas styles */
.canvas-container {
  margin: 20px auto;
  display: flex;
  justify-content: center;
}

canvas {
  border: 2px solid #ccc;
  border-radius: 6px;
}

/* Planet palette */
#planet-palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  background: #222;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

#planet-palette img {
  width: 50px;
  cursor: grab;
  transition: transform 0.2s ease;
}

#planet-palette img:hover {
  transform: scale(1.2);
}

/* Buttons and selects */
button, select {
  padding: 10px 16px;
  margin: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button {
  background-color: #007acc;
  color: white;
}

button:hover {
  background-color: #005f99;
}
#reset {
  background-color: #d9534f;
  color: white;
}

#reset:hover {
  background-color: #c9302c;
}


select {
  background-color: #eee;
}

#time-display {
  margin-top: 20px;
  font-weight: bold;
}
