body{
    background-color: white;
}

.slidecontainer {
    position: relative;
    width: 80%; 
    margin:auto;
}

.slider-label{
    position: absolute;
    width:6em;
    left:-6.5em;
    top:-0.1em;
    text-align: end;
}

.slider {
    -webkit-appearance: none;  /* Override default CSS styles */
    appearance: none;
    width: 100%;
    height: 10px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    cursor: pointer;
    border-radius: 3px;
}

.slider:hover {
    opacity: 1;
}