body {
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  color: white;
  font-family: sans-serif;
}

h3 {
  margin: 24px;
  font-size: 58px;
  font-style: italic;
  font-family: Arial, Helvetica, sans-serif;
}

.flipdot-board-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#flipdot-board {
  display: grid;
  grid-template-columns: repeat(84, 18px);
  grid-template-rows: repeat(28, 18px);
  gap: 2px;
}

.dot {
  width: 18px;
  height: 18px;
  background-color: #333;
  border-radius: 50%;
  transition: background-color 0.1s;
  cursor: pointer;
}


.on {
  background-color: white;
}

input[type="file"] {
  padding: 10px 15px;
  margin-top: 8px;
  background-color: #444;
  color: white;
  border: 1px solid white;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
}

input[type="range"] {
  padding: 10px 15px;
  margin-top: 8px;
  background-color: #4a4242;
  color: white;
  border: 1px solid white;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
}

button {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: bolder;
  padding: 6px 4px;
  margin-top: 8px;
  background-color: #4a4242;
  color: #c24b4b;
  border: 4px solid white;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  width: 264px;
  max-width: 1200px;
}

button:hover {
  background-color: #c24b4b;
  color: #4a4242;
}

#textDisplayControls {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

#textInput {
  padding: 8px;
  font-size: 18px;
  width: 200px;
  border-radius: 5px;
  border: none;
}

#displayTextButton {
  padding: 8px 16px;
  font-size: 18px;
  background: #9fcc72;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#displayTextButton:hover {
  background: #b7e27b;
}
