body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 2em;
  background: #f0f0f0;
  color: #333;
}

canvas {
  margin-top: 20px;
  background: black;
  border: 1px solid #ccc;
}

.canvas-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1em;
}

.grid-options {
  margin-bottom: 1em;
}

input, label, button, select {
  margin: 0.5em;
  font-size: 1em;
}

#dropZone {
  margin: 1em auto;
  padding: 3em 2em;
  border: 2px dashed #888;
  background: #ffffff;
  color: #666;
  width: 60%;
  border-radius: 12px;
  cursor: pointer;
}

#dropZone:hover {
  background: #e0e0e0;
}

#mosaicCanvas {
  cursor: move;
}

#zoomSlider, #circleSizeSlider {
  width: 300px;
  accent-color: #888;
  -webkit-appearance: none;
  background: transparent;
}

#zoomSlider::-webkit-slider-thumb,
#circleSizeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 18px;
  width: 18px;
  background: #888;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
  margin-top: -6px;
}

#zoomSlider::-moz-range-thumb,
#circleSizeSlider::-moz-range-thumb {
  height: 18px;
  width: 18px;
  background: #888;
  cursor: pointer;
  border-radius: 0;
  box-shadow: none;
}

#zoomSlider::-webkit-slider-runnable-track,
#circleSizeSlider::-webkit-slider-runnable-track {
  height: 6px;
  background: #ccc;
  border: none;
}

#zoomSlider::-moz-range-track,
#circleSizeSlider::-moz-range-track {
  height: 6px;
  background: #ccc;
  border: none;
}

#contactButton {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #ffffff;
  border: 2px solid #888;
  padding: 0.5em 1em;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: 'Press Start 2P', cursive;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  color: #333;
}

#contactButton:hover {
  background-color: #f2f2f2;
}

.step-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 2em;
  margin-bottom: 2em;
}

.step-text {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8em;
}

.step-text-top {
  margin-top: 0;
  margin-bottom: 0.5em;
}

.step-text-spaced {
  margin-top: 2em;
  margin-bottom: 1em;
}

.step-text-bottom {
  margin-top: 2em;
}

.download-section {
  text-align: center;
  margin-top: 1em;
}

.hidden {
  display: none !important;
}

.circle-size-label,
.circle-size-slider {
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
