/* Sliders based on code from https://www.w3schools.com/howto/howto_js_rangeslider.asp*/

.container {
  text-align: center;
}

.contents {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rgb, .hsl {
  width: 200px;
}

.contents div {
  margin: 16px;
}

.inputs input {
  margin: 4px auto;
  padding: 2px;
  border-radius: 4px;
  border: solid rgb(157, 150, 142) 1px;
  width: 132px;
}

#box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 16px auto;
}

label {
  font-family: monospace;
}

.slider {
  -webkit-appearance: none;
  height: 12px;
  width: 160px;
  margin-bottom: 16px;
  border-radius: 5px;
  border: solid black 1px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: solid black 2px;
  background: white;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: solid black 2px;
  background: white;
  cursor: pointer;
}
