#canvas {
    border: 5px solid rgb(255, 0, 0);
    background-color: whitesmoke;
}

.outer {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   min-height: 100vh;
   background: linear-gradient(360deg, rgb(39, 29, 29), rgb(62, 59, 59));
}

.buttons {
  display:flex;
  align-items: center;
  gap: 10px
}

p, label {
  color: rgb(168, 165, 165);
  font-style: bold;
  font-size: 2rem;
  font-family: 'Russo One', sans-serif;
}

button, select {
  font-family: 'Russo One', sans-serif;
  font-size: 1.1em;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

#clear-button {
  background: linear-gradient(135deg, #f21347, #ff0000);
  color: black;
  box-shadow: 0 0 12px rgba(255, 65, 108, 0.7);
}

#clear-button:hover {
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 0 20px rgba(255, 65, 108, 1), 0 0 40px rgba(255, 75, 43, 0.7);
}

#particle {
  background: #222;
  color: white;
  border: 2px solid #ff4b2b;
  box-shadow: 0 0 10px rgba(255, 75, 43, 0.6);
}

#particle:hover {
  background: #333;
  border-color: #ff416c;
  box-shadow: 0 0 15px rgba(255, 65, 108, 0.8);
  transform: scale(1.05);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 200px;
  height: 8px;
  background: #444;
  border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff416c; 
  cursor: pointer;
  transition: 0.3s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #ff4b2b;
  transform: scale(1.2);
}