@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap");

* {
  box-sizing: border-box;
}
body {
  background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: "Mulish", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}
h2 {
  position: absolute;
  top: 10px;
}
.range-container {
  position: relative;
}
input {
  width: 300px;
  margin: 18px 0;
  appearance: none;
}
input:focus {
  outline: none;
}
input + label {
  background-color: #fff;
  position: absolute;
  top: -25px;
  left: 110px;
  width: 80px;
  padding: 5px 0;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

input::-webkit-slider-runnable-track {
  background-color: purple;
  border-radius: 4px;
  width: 100%;
  height: 12px;
  cursor: pointer;
}
input::-moz-range-track {
  background-color: purple;
  border-radius: 4px;
  width: 100%;
  height: 12px;
  cursor: pointer;
}
input::-ms-track {
  background-color: purple;
  border-radius: 4px;
  width: 100%;
  height: 12px;
  cursor: pointer;
}
input::-webkit-slider-thumb {
  appearance: none;
  height: 24px;
  width: 24px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid purple;
  margin-top: -7px;
  cursor: pointer;
}

input::-moz-range-thumb {
  appearance: none;
  height: 24px;
  width: 24px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid purple;
  margin-top: -7px;
  cursor: pointer;
}

input::-ms-thumb {
  appearance: none;
  height: 24px;
  width: 24px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid purple;
  margin-top: -7px;
  cursor: pointer;
}
