* {
  font-family: 'Source Code Pro', monospace;
}

body {
  padding: 20px;
  background: #f0f0f0;
}

#controls {
  margin-bottom: 20px;
}

#tileSelector {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 20px;
}

.tile-option {
  padding: 2px;
  border: 2px solid #ccc;
  cursor: pointer;
  background: white;
}

.tile-option.selected {
  border: 2px solid black;
}

#tilemapAll {
  transform-origin: top left;
}

#tilemapContainer {
  display: grid;
  background: #0C0C0C;
  position: relative;
}

.tile {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: transparent;
  user-select: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.tile:hover {
  border: 2px solid rgba(255, 255, 255, 0.5);
}
