@import "../global.css";

main {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 2rem; */
}

.rows-cols-input {
  margin-block: 3rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 1.5rem;
}

.rows-cols-input input {
  width: 50px;
  height: 30px;
  border: 1px solid #999;
  padding-inline: 0.5rem;
  text-align: center;
  outline: none;
}

.rows-cols-input input::-webkit-outer-spin-button,
.rows-cols-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

button {
  padding: 0 1rem;
  background-color: #333;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
}

.display-pixel-chart {
  box-shadow: 5px 5px 8px rgb(0 0 0 /0.2);
}

.row {
  display: flex;
}

.col {
  display: flex;
  width: 2rem;
  height: 2rem;
  border: 1px solid #333;
  border-bottom: 0;
}

.col:not(:last-child) {
  border-right: 0;
}

.row:last-child .col {
  border-bottom: 1px solid #333;
}

.pixel-box {
  border: 1px solid #333;
  border-bottom: 0;
  background-color: #fff;
}

.color-box {
  border: 1px solid #333;
  cursor: pointer;
}

.color-box .col {
  border: none;
}
