body {
  background-color: rgb(66, 66, 66);
  margin: 0px;
  padding: 30px;
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: none;
}

canvas {
  box-shadow: black 0px 3px 2px 1px;
  touch-action: none;
}


.tools {
  display: flex;
  justify-content: center;
  flex-direction: row;
  margin-top: 15px;

}

.colour-field {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  cursor: pointer;
  display: inline-block;
  box-sizing: border-box;
  border: 2px solid white;
  border-radius: 50%;
  align-self: center;
  margin: 0 10px;

}

.tools .button {
  width: 100px;
  height: 40px;
  border: 2px solid white;
  background-color: #222;
  color: white;
  cursor: pointer;
  display: inline block;
  font-weight: bold;
  align-self: center;
  margin: 0 10px;
  
}

.colour-picker {
  align-self: center;
  margin: 0 10px;
  height: 50px;
  cursor: pointer;
  min-width: 50px;

}

.pen-size {
  margin: 0 15px;
  align-self: center;
  cursor: pointer;
}

@media (max-width: 600px) {
  .tools {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }

  .tools .button,
  .colour-picker,
  .pen-size,
  .colour-field {
    margin: 5px;
    flex: 0 1 auto;
  }

  .tools .button {
    width: 100px;
    max-width: unset;
  }
  
}