body {
  display: flex;
  height: 100vh;
  padding-top: 150px;
}

div#playground {
  border-right: solid 2px black;
  width: 50%;
  display: grid;
  /*  grid-template-columns: 1fr 1fr;*/
  /*  grid-template-rows: auto 1fr 1fr;*/
  padding: 0 75px 50px 75px;
}

header {
  grid-column: span 2;
  display: flex;
  align-items: center;
  border: solid 1px black;
  border-radius: 50px;
  padding: 10px 25px;
  justify-content: space-evenly;
  width: fit-content;
}

#playground header {
  margin-bottom: 20px;
  justify-self: center;
  gap: 50px;
  height: 53px;
}

div.input-wrapper {
  display: flex;
  align-items: center;
}

input {
  margin-left: 15px;
}

input[type='range'] {
  appearance: none;
  outline: none;
  border-radius: 30px;
  cursor: pointer;
  height: 1px;
  background: black;
  width: 80px;
}

input[type='range']::-webkit-slider-thumb {
  appearance: none;
  background: black;
  border-radius: 30px;
  outline: none;
  height: 10px;
  width: 10px;
  border-radius: 50%;
}

input[type='color'] {
  -webkit-appearance: none;
  border: none;
  width: 20px;
  height: 20px;
  background: none;
  cursor: pointer;
}

input[type='color']::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type='color']::-webkit-color-swatch {
  border-radius: 50%;
  border: solid 0.1px rgb(175, 175, 175);
}

div.canvas-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: span 2;
}

canvas {
  image-rendering: pixelated;
}

canvas.draw {
  border: solid 1px black;
  cursor: none;
}

div.actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

button.action,
div#actions div.input-wrapper {
  border: solid 1px black;
  padding: 0 8px;
  width: fit-content;
  font-size: 14px;
  border-radius: 50px;
  height: 26px;
}

div#actions input[type='color'] {
  margin-left: 6px;
  width: 15px;
  height: 15px;
}

div#cursor {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: pink;
  position: absolute;
  pointer-events: none;
  display: none;
  border: solid 1px grey;
}

div#render {
  height: 100%;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 75px;
}

div#header-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 30px;
}

canvas#animation {
  border: solid 1px black;
  width: 60%;
  aspect-ratio: 1 / 1;
}

button#animate {
  width: 200px;
}

button:disabled {
  border-color: lightgrey;
}

video {
  position: fixed;
  top: 0;
  left: 0;
}
