.c-slider {
  display: flex;
  position: relative;
  width: 100%;
  flex-direction: column;
}

.c-slider .wrapper {
  position: relative;
  width: 80%;
  background-color: #ffffff;
  padding: 50px 40px 20px 40px;
  border-radius: 10px;
}

.c-slider .container {
  display: flex;
  position: relative;
  width: 100%;
  height: 16px;
}

.c-slider input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  background-color: transparent;
  pointer-events: none;
}

.c-slider .slider-track {
  width: 100%;
  height: 5px;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  border-radius: 5px;
}

.c-slider input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 5px;
}

.c-slider input[type="range"]::-moz-range-track {
  -moz-appearance: none;
  height: 5px;
}

.c-slider input[type="range"]::-ms-track {
  appearance: none;
  height: 5px;
}

.c-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 1rem;
  width: 1rem;
  background-color: #9D8DF8;
  cursor: pointer;
  margin-top: -5px;
  pointer-events: auto;
  border-radius: 50%;
}

.c-slider input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  height: 1rem;
  width: 1rem;
  cursor: pointer;
  border-radius: 50%;
  background-color: #9D8DF8;
  pointer-events: auto;
  border: none;
}

.c-slider input[type="range"]::-ms-thumb {
  appearance: none;
  height: 1rem;
  width: 1rem;
  cursor: pointer;
  border-radius: 50%;
  background-color: #9D8DF8;
  pointer-events: auto;
}

.c-slider input[type="range"]:active::-webkit-slider-thumb {
  background-color: #beb6fc;
  border: 1px solid #9D8DF8;
}

.c-slider .values {
  background-color: #9D8DF8;
  width: 32%;
  position: relative;
  margin: auto;
  padding: 10px 0;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  font-size: 25px;
  color: #ffffff;
  margin-bottom: 30px;
}

.c-slider .values:before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  border-top: 15px solid #9D8DF8;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  margin: auto;
  bottom: -14px;
  left: 0;
  right: 0;
}
