body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  position: absolute;
  background-color: ghostwhite;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
/* Mobile */
@media (max-width: 475px) {
  .container {
    max-width: 100%;
  }
}

/* Tablet */
@media (min-width: 640px) {
  .container {
    max-width: 800px;
  }
}

/* Laptop */
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}
/* Desktop */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
main {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3.25rem;
  overflow-y: auto;
  gap: 2rem;
  padding: 2rem 0;
}
header {
  text-align: center;
}
header {
  text-align: center;
}
header div {
  display: flex;
  flex-direction: column;
  font-size: medium;
  font-size: small;
}
header a {
  color: inherit;
  height: 24px;
}
form {
  width: 100%;
  flex-direction: column;
  display: flex;
  align-items: center;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-section {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 24px;
}
.form-colors {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 4 equal columns */
  width: 100%;
  gap: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.controls {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
label {
  display: inline-block;
  font-size: small;
  padding-bottom: 8px;
  text-align: start;
  width: 100%;
}
input {
  padding: 5px;
  width: 100%;
  box-sizing: border-box;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}
button {
  font-weight: 600;
  padding: 8px 15px;
  background-color: #a700df;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
}
button:hover {
  background-color: #8a00ba;
}
#sketch-holder {
  margin-top: 20px;
  width: 100%;
}
#sketch-holder canvas {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 0.5rem;
}
