@font-face {
  font-family: "Minecraft";
  src:
    url("https://cdn.jsdelivr.net/npm/minecraft-font@1.0.0/font/minecraft.woff2") format("woff2"),
    url("https://cdn.jsdelivr.net/npm/minecraft-font@1.0.0/font/minecraft.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #2c2c2c;
  color: #ffffff;
  font-family: "Minecraft", monospace;
  margin: 0;
  padding: 0;
}

body {
  padding: 16px;
  box-sizing: border-box;
}

button {
  font-family: "Minecraft", monospace;
  font-size: 16px;
  color: #ffffff;
  background-color: #727272;
  border: 2px solid #373737;
  padding: 8px 16px;
  margin: 4px;
  cursor: pointer;
  min-width: 120px;
  text-shadow: 2px 2px #000000;
  box-shadow:
    inset -2px -4px #0006,
    inset 2px 2px #fff7;
  outline: none;
}

button:hover {
  background-color: #8b8b8b;
}

button:active {
  box-shadow:
    inset -2px -4px #0004,
    inset 2px 2px #fff5;
}

pre {
  background-color: #373737;
  padding: 16px;
  border-radius: 4px;
  font-family: "Minecraft", monospace;
  white-space: pre-wrap;
  margin-top: 16px;
}

canvas {
  image-rendering: pixelated;
  background: #8b8b8b;
  border: 2px solid #373737;
  margin-bottom: 16px;
}

p {
  text-shadow: 2px 2px #000000;
  margin: 8px 0;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.button-group {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
