@import "reset.css";

body {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  background-color: gainsboro;
  padding: 20px;
  font-family: sans-serif;
}
canvas {
  width: 800px;
  height: 800px;
  background-color: white;
  border-radius: 10px;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
}
.color-option {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  cursor: pointer;
  transition: transform ease-in-out 0.1s;
}
.color-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.color-option:hover {
  transform: scale(1.2);
}
.btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
button,
label {
  all: unset;
  padding: 10px 0px;
  text-align: center;
  background-color: rgb(149, 164, 170);
  color: white;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: opacity linear 0.3s;
}
button:hover {
  opacity: 0.85;
}
input#text {
  all: unset;
  padding: 10px 0px;
  text-align: center;
  border-radius: 10px;
  font-weight: 500;
  background-color: white;
}
input#file {
  display: none;
}
@media (max-width: 768px) {
  body { flex-direction: column; }
  canvas { width: 100%; height: 60vh; }
  .color-options { flex-direction: row; }
}