/*Start*/
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

button {
  background-color: rgb(224, 194, 194);
  border: 1px black solid;
  border-radius: 4px;
  padding: 6px;
  width: 100%;
  margin-bottom: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 12px;
  max-lines: 0;
  white-space: nowrap;
  align-items: center;
}
.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.controls {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: auto;
  margin-right: 10px;
}

#cSelect {
  border: none;
  width: 100%;
  border-radius: 2px;
  padding: 0;
  margin-bottom: 10px;
}

.rangeInput {
  text-align: center;
}
.sketchBoard {
  width: 40rem;
  height: 30rem;
  display: flex;
  justify-content: space-around;
  flex-flow: row wrap;
  border: 2px black solid;
}

div {
  box-sizing: border-box;
}

.active {
  background-color: black;
  color: whitesmoke;
}

button:hover,
#cSelect:hover {
  cursor: pointer;
  transform: scale(1.1);
}

@media (max-width: 800px) {
  .container {
    flex-direction: column;
  }

  .controls {
    flex-direction: row;
    width: 98%;
    align-items: center;
  }
}

@media (max-width: 690px) {
  .sketchBoard {
    width: 35rem;
    height: 25rem;
  }
}

@media (max-width: 490px) {
  .sketchBoard {
    width: 30rem;
    height: 20rem;
  }
  button {
    white-space: normal;
  }
}

@media (max-width: 460px) {
  .sketchBoard {
    width: 20rem;
    height: 20rem;
  }

  .controls {
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .container {
    flex-direction: column-reverse;
  }
}
