input[type=range] {
  -webkit-appearance: none;
  display: block;
  margin: 0;
  width: 100%;
}

input[type=range]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  color: transparent;
  background: lightgray;
  border-radius: 999px;
  border: none;
}

input[type=range]::-moz-range-track {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  color: transparent;
  background: lightgray;
  border-radius: 999px;
  border: none;
}

input[type=range]::-ms-track {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  color: transparent;
  background: lightgray;
  border-radius: 999px;
  border: none;
}

input[type=range]::-ms-fill-lower {
  display: none;
}

input[type=range]::-ms-fill-upper {
  display: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 30px;
}

input[type=range]::-moz-range-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 30px;
}

input[type=range]::-ms-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 30px;
}

.ticks {
  position: relative;
  top: -5px;
  display: flex;
  justify-content: space-between;
  z-index: -1;
  padding: 5px 10px;
}

.tick {
  position: relative;
  display: flex;
  white-space: nowrap;
  justify-content: center;
  width: 1px;
  background: gray;
  height: 5px;
  line-height: 40px;
  margin-bottom: 20px;
}

