* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  height: 100%;
}

canvas {
  /* position: absolute;  */
  /* top: 71px;
    left: 10%; */
  /* margin: auto; */
  /* width: 100%;
    height: 100%; */

  width: 90%;
  height: 100%;
}

nav {
  display: flex;
  background-color: coral;
  height: auto;
  min-height: 6vh;
  width: 100vw;
  justify-content: center;
  align-content: center;
}

.sort {
  display: flex;
  justify-content: space-evenly;
  align-content: center;
  height: auto;
  padding: 10px;
  text-align: center;
  margin: auto;
}

#range {
  display: flex;
  justify-content: center;
  align-content: center;
  padding: 6px;
  text-align: center;
  vertical-align: center;
  width: auto;
  height: auto;
}

#range h1 {
  font-size: 1.1rem;
  padding: 8px;
}

.algo-btn {
  color: white;
  cursor: pointer;
  height: fit-content;
  margin: 15px;
}

span {
  padding: 10px;
}

#algo-select {
  height: 27px;
  margin: 9px 8px 8px 0;
}

.sorting-group {
  display: flex;
  align-content: center;
  justify-content: center;
  text-align: center;
  vertical-align: center;
}

.sorting-group h1 {
  margin: 13px 4px 13px 13px;
  font-size: 1.1rem;
}

.cta {
  color: white;
  cursor: pointer;
  height: fit-content;
  padding: 4px;
  padding: 6px;
  background-color: black;
  margin: 8px 0 0 6px;
  border-radius: 10px;
}

.cta:hover,
.cta:active {
  background-color: rgba(255, 255, 255, 0.808);
  color: black;
  transition: all 0.2s;
}

.disable-btn {
  pointer-events: none;
}

#algo-select {
  border: 0;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 5%;
  border: 1px solid black;
  background-color: rgba(255, 255, 255, 0.808);
  color: black;
}

#algo-select:focus,
#algo-select:active {
  outline: 0;
}

.canvas-container {
  width: 100%;
  margin-top: 1px;
  height: 86%;
  display: flex;
  justify-content: center;
  align-items: center;
}


@media only screen and (max-width: 1015px) {
    .sort{
        flex-direction: column;
    }
    #range{
        flex-direction: column;
    }
}