* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  background: #ffffff;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

button {
  padding: 0.1rem;
}

#root {
  position: absolute;
  inset: 0;
  user-select: none;
  touch-action: none;
}

.tile {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 128px;
  color: #000000;
  background: #ffffff;
  background-origin: border-box;
  border: 2px solid transparent;
}

.tile:hover {
  border-color: #000000;
}

.tile .text {
  position: absolute;
  padding: 1rem;
}

.tile img {
  position: absolute;
  inset: 0;
}

#loading-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000;
}

#upload-popup {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  background: #ffffff;
  border: 2px solid #000000;
  z-index: 1;
}
