*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  box-sizing: inherit;
  font-size: 62.5%;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.3;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-image 1s ease-in-out;
}

.title {
  font-size: 1rem;
  font-weight: bold;
}


.controls label {
  display: block;
  /* Make labels display as block elements */
  margin-bottom: 5px;
  /* Add some space between labels */
}


.controls {
  position: fixed;
  left: 20px;
  /* Adjust this value according to your preference */
  bottom: 20px;
  /* Adjust this value according to your preference */
  z-index: 9999;
  /* Ensure the time is above other elements */
}

button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  color: white;
}

button.active {
  background-color: green;
}

button.inactive {
  background-color: red;
}

.controls input[type="range"] {
  margin-right: 5px;
}

canvas {
  cursor: pointer;
}