* {
  padding: 0;
  margin: 0;
}

.hidden {
  display: none;
}

body {
  height: 95vh;
  width: 95vw;
  background: #ddd;
}

main {
  display: flex;
  width: inherit;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: start;
  padding: 1rem;
}

section {
  border: 3px solid #000;
  display: flex;
  flex-direction: column;
  width: min-content;
  padding: 0.5rem;
  gap: 0.5rem;
}

.frame {
  border: 3px solid #000;
  background: #003d2e;
  width: 40vw;
  height: 40vh;
}

.row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0.5rem;
  background: #fff;
}

.col {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.5rem;
}

label {
  display: inline-flex;
  justify-content: space-between;
}

canvas,
img {
  image-rendering: pixelated;
}

canvas {
  border: 1px solid #000;
}

#color-list {
  list-style: none;
  overflow-y: scroll;
  height: inherit;
  flex-grow: 1;
}

#color-list span {
  margin-left: 3rem;
  font-weight: bold;
  font-size: x-large;
  color: #000;
  background-color: #fff;
}
