canvas {
  display: block;
  position: relative;
  /* border: 2px solid black; */
  max-width: 80% !important;
  height: auto !important;
  width: 500px !important;
}
#sketch {
  display: flex;
  justify-content: center;
}

#container {
  min-height: 100vh;
  /*vertical center*/
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
  gap: 20px;
}

.arrow-key-container {
  display: inline-block;
  text-align: center;
  transform: translate3d(0, 0, 0);
}
.arrow-key {
  align-items: center;
  background: #ccc;
  border-radius: 6px;
  box-shadow: -1px 1px 0 #999, -2px 2px 0 #999, -3px 3px 0 #999, -4px 4px 0 #999;
  color: #fff;
  display: inline-flex;
  font-size: 30px;
  font-weight: bold;
  height: 75px;
  justify-content: center;
  margin: 5px;
  transform: translate3d(0, 0, 0);
  transition: box-shadow 0.1s linear, transform 0.1s linear;
  width: 75px;
  cursor: pointer;
}
.arrow-key:active,
.arrow-key.press {
  box-shadow: 0px 0px 0 #999, 0px 0px 0 #999, 0px 0px 0 #999, -1px 1px 0 #999;
  transform: translate3d(-3px, 3px, 0);
}
.arrow-key.left:before {
  content: "←";
}
.arrow-key.up:before {
  content: "↑";
}
.arrow-key.down:before {
  content: "↓";
}
.arrow-key.right:before {
  content: "→";
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
