
body {
  margin: 0;
  padding: 16px;
}

button, input {
  font-size: 16px;
}

input[type="file"] {
  display: none;
}

.btn {
  display: inline-block;
  height: 28px;
  line-height: 28px;
  padding: 0 8px;
  border-radius: 5px;
  border: 1px solid mediumblue;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  color: mediumblue;
  background-color: white;
  text-align: center;
}

.btn {
  transition: background-color 0.2s;
}

@media screen and (width > 480px) {
  .btn:hover {
    background-color: lightcyan;
  }
}

@media screen and (width <= 480px) {
  .btn:active {
    background-color: lightcyan;
  }
}

#config-wrapper {
  margin-bottom: 16px;
}

.config {
  margin-bottom: 4px;
}

.config:last-of-type {
  margin-bottom: 0;
}

.config label {
  display: inline-block;
}

#color-count {
  width: 60px;
}

canvas {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  border: 1px solid black;
}

#pallet {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.color {
  width: 100px;
  height: 100px;
  border: 1px solid black;
  border-radius: 10%;
}

.message {
  font-size: 24px;
}
