body {
  font-family: Arial;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
}

input {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  font-size: 20px;
  width: 400px;
}

.centered {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section {
  display: inline-block;
  height: 100%;
  width: 17%;
  padding: 0;
  margin: 0;
}

@media all and (min-width: 768px) and (max-width: 5000px) {
  .box {
    display: flex;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.5);
  }
  .slider {
    margin-bottom: 5%;
  }
}

@media all and (min-width: 0px) and (max-width: 768px) {
  .box {
    display: flex;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.5);
  }
  .slider {
    margin-bottom: 15%;
  }
}

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.5;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  cursor: pointer;
}

#redRange1::-webkit-slider-thumb {
  background: rgb(255, 50, 50);
}

#greenRange1::-webkit-slider-thumb {
  background: rgb(50, 255, 50);
}

#blueRange1::-webkit-slider-thumb {
  background: rgb(50, 50, 255);
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}
