* {
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

canvas {
  background-color: white;
  border: 2px solid green;
  height: 700px;
}

.toolbox {
  background-color: steelblue;
  border: 1px solid darkblue;
  display: flex;
  justify-content: center;
  padding: 1rem;
  width: 700px;
}
.toolbox > * {
  background-color: #ffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  height: 50px;
  width: 50px;
  margin: 10px;
  cursor: pointer;
}

.toolbox > *:last-child {
  margin-left: auto;
}

.kinetic {
  position: relative;
  height: 80px;
  width: 80px;
}

.kinetic::after,
.kinetic::before {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  border: 50px solid transparent;
  border-top-color: rgb(167, 39, 39);
}

.kinetic::after {
  transform: rotate(90deg);
}

@keyframes rotateA {
  0%,
  25% {
    transform: rotate(0deg);
  }

  50%,
  75% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
