html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: black;
}

.canvas-container {
  position: relative;
  display: inline-block;
  margin-top: 20px; 
}

div {
  box-sizing: border-box;
}
.side {
    position: fixed;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px; 
    bottom: 0; 
    right: 0;
    width: 400px;
    padding-top: 40px;

}

.canvas-container::before {
  content: "";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid lightgray;
  border-radius: 60px 60px 0 0;
  box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.6);
  z-index: 10;
}

.mini {
  position: relative;
  display: inline-block; 
  margin-top: 10px; 
}

.mini::before {

  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid lightgray;
  border-radius: 60px 60px 0 0;
  box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.6);
  z-index: 10;
}



#canvas {
  display: block;
  background: rgba(255, 255, 255, 0.2);
}




#hue-slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

#hue-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 200px;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right,
    red, yellow, lime, cyan, blue, magenta, red
  );
  outline: none;
  cursor: pointer;
  margin: 0;
}

/* Chrome / Safari */
#hue-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  background-color: hsl(0, 100%, 50%);
  cursor: pointer;
  transition: background-color 0.1s ease;
}

/* Firefox */
#hue-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  background-color: hsl(0, 100%, 50%);
  cursor: pointer;
  transition: background-color 0.1s ease;
}

#hue-value {
  width: 30px;
  text-align: center;
}

#hue-preview {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background-color: hsl(0, 100%, 50%);
}
