
body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color:#fafafa;
}

* { font-family: 'PT Sans', sans-serif; }

button {
  background: none;
  border: 2px solid black;
  color: black;
  padding: 5px;
}

button:disabled {
  border: 2px solid grey;
  color: grey;
}

.container {
  margin-top: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  position: relative;
  width: 800px;
  height: 290px;
  text-align: center;
}

input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  margin: 0;
}

input[type=range]:focus { outline: none; }
input[type=range]::-webkit-slider-runnable-track {
 width: 100%;
 height: 19px;
 cursor: pointer;
 box-shadow: 0 4px 4px rgba(0,0,0,0.3) inset;
 background: linear-gradient(to right, #005fc2, #35A834 40%, #ffd400 65%, #FF6400);
 border-radius: 20px;
 border: 0.2px solid #010101;
}
input[type=range]::-webkit-slider-thumb {
 box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
 border: 1px solid #000000;
 height: 20px;
 width: 20px;
 border-radius: 20px;
 background: white;
 cursor: pointer;
 -webkit-appearance: none;
 margin-top: -1px;
}

#slide:before {
  content: attr(min);
  position: absolute;
  bottom: 0;
  left: 0;
  color: black;
  font-size: 1rem;
}

#slide:after {
  content: attr(max);
  position: absolute;
  bottom: 0;
  right: 0;
  color: black;
  font-size: 1rem;
}

#val {
  font-size: 1.6rem;
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100px;
}

.form {
  height: 100px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
}

h1 { margin: 0; }
