*, *::after, *::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  --color-purple-light: #7c70da;
  --color-purple-dark: #3e31a2;
}

game {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
}

@font-face {
  font-family: "Boulder Dash";
  src: url("../font/boulderdash.woff") format("woff");
}

button, .custom-file-input {
  font-family: "Boulder Dash";
  font-size: 1.2em;
  padding: 0.7em 1em 0.5em 1em;
  background: #000;
  color: #fff;
  cursor: pointer;
  border: 5px solid #fff;
  margin: 5px;
  border-radius: 10px;
  outline: none;
}

button:hover, button.selected, .custom-file-input:hover {
  border-color: var(--color-purple-light);
  color: var(--color-purple-light);
}

button:disabled, .custom-file-input:disabled {
  border-color: #aaa;
  color: #aaa;
  cursor: default;
}

.loading {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Boulder Dash";
  font-size: 1.2em;
}

.custom-file-input {
  position: relative;
  font-size: 1em;
}

.custom-file-input input {
  visibility: hidden;
  position: absolute;
}

body {
  padding: 20px;
}