/* @keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} */

.abs {
  position: absolute;
}

a {
  color: white;
  text-decoration: none;
}
a:hover {
  color: lightblue;
}

body {
  bottom: 0;
  left: 0;
  margin: 0;
  right: 0;
  top: 0;
  transform-origin: 0px 0px;
  overflow: hidden;
  background: red;
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
}

.control-panel {
  display: none;
}

.loading {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  backface-visibility: hidden;
  justify-content: center;
  opacity: 1;
  /* transition: opacity 1s; */
}
.loading .message {
  font-size: x-large;
}
.loading .spinner {
  position: absolute;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;
  border: 32px solid #bebebe;
  border-top: 32px solid #3498db;
  border-radius: 50%;
}

.loaded .loading {
  opacity: 0;
}

#death {
  position: absolute;
  visibility: hidden;
  color: red;
  font-size: 4em;
  display: grid;
  place-items: center;
  text-align: center;
}

button {
  background-color: red;
  border-radius: 0.5em;
  padding: 0.5em;
  border: none;
  font-size: 0.5em;
}

button:hover,
button:focus {
  outline: black 10px solid;
}
