* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #121212;
  color: #e0e0e0;
}

#settings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: auto;
  background-color: #1e1e1e;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 600px;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #007bff;
}

label {
  margin-bottom: 12px;
  font-size: 20px;
  color: #d1d1d1;
}

input[type="number"],
input[type="range"],
span {
  padding: 12px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #333;
  color: #e0e0e0;
  font-size: 18px;
  transition: border-color 0.3s ease;
}

input[type="number"]:focus,
input[type="range"]:focus {
  border-color: #007bff;
  outline: none;
}

button {
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 18px;
}

button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

canvas {
  display: none;
}

@media (max-width: 600px) {
  #settings {
    font-size: 16px;
  }

  input[type="number"],
  input[type="range"],
  button {
    width: 90%;
    max-width: none;
  }
}