.slider-container {
    position: relative;
}
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    margin-top: 1rem;
}

.slider::-webkit-slider-thumb,
.slider::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #5e48c1;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    position: absolute;
    top: -30px;
    left: 0;
}