* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

.container {
  height: 100%;
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

canvas {
  border-style: none none solid solid;
  border-width: 1px;
  height: 250px;
  width: 250px;
  margin-right: 30px;
  margin-top: 10px;
  cursor: grab;
}

#canvas2 {
  height: 100px;
}

.cursor {
  position: absolute;
  height: 7px;
  width: 7px;
  border-radius: 5px;
  border: 1px solid black;
  background: white;
  z-index: 1;
  transition: opacity 0.1s;
/*   box-shadow: 1px 1px 4px gray inset, 0px 0px 1px gray; */
}

.hidden {
  opacity: 0;
}

.yAxis {
/*   display: inline-block; */
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.xAxis {
  position: relative;
/*   left: 1%; */
}

.label, label {
  font-size: 0.8rem;
  color: hsl(0, 0%, 40%);
  font-family: sans-serif;
  margin: 5px;
}

.sliderLabel {
/*   float: left; */
  font-size: 0.9rem;
  color: black;
  margin: 0;
}

.flex {
  display: flex;
}

.row {
  flex-direction: row;
}

.centered {
  text-align: center;
}

.border {
  border: 1px solid black;
}

.slider_container {
  position: relative;
  margin: 5px auto 20px auto;
  width: 90%;
  height: 40px;
  max-width: 380px;
}

.slider_left_gutter,
.slider_right_gutter,
.slider_knob {
  background: #777;
}

.slider_left_gutter, .slider_right_gutter {
  position: absolute;
  height: 4px;
  top: 18px;
  border-radius: 2px;
}

.slider_left_gutter {
  width: 0;
}

.slider_right_gutter {
  opacity: 0.2;
  width: 100%;
}

.slider_knob {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  cursor: ew-resize;
  touch-action: none;
  left: -20px;
}