@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: lightgray;
}

canvas {
  border: 2px solid steelblue;
}

#canvas {
  background-color: #fff;
}

.toolbox {
  background-color: steelblue;
  width: 804px;
  display: flex;
  border: 1px solid slateblue;
  padding: 1rem;
}

/* targeting all children elements of toolbox */
.toolbox > * {
  width: 50px;
  height: 50px;
  background-color: #fff;
  font-size: 2rem;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.25rem;
  padding: 0.25rem;
  cursor: pointer;
}

/* targeting the 'clear' button of toolbox */
.toolbox > *:last-child {
  margin-left: auto;
}
