html,
body {
  height: 100%;
  color: black;
  margin: 0;
}

input[type="number"] {
  width: 8rem;
}

input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 8rem;
  height: 30px;
  padding: 0;
}
input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
input[type="color"]::-webkit-color-swatch {
  border: none;
}

.overlay-button {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  margin-bottom: 0.25rem !important;
}

.config-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}
.config-item input {
  margin-left: 1rem;
  float: right;
}

#canvas {
  width: 100%;
  height: calc(100% - 6px);
  image-rendering: pixelated;
}

.menu-offset {
  margin-bottom: 0.4rem !important;
}

#bezier-points {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 6px;
}

#bezier-points > input {
  margin-top: 40px;
  margin-left: 200px;
}

#bezier-points span {
  display: inline-block;
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 5px solid rgb(161, 161, 161);
  cursor: move;
}
#bezier-points span:first-child {
  background-color: lightcoral;
}
#bezier-points span:last-child {
  background-color: lightgreen;
}
#bezier-points #points-between span {
  background-color: white;
}
