@font-face {
  font-family: "Kenney Future";
  src: url(../../assets/fonts/KENNEY\ FUTURE.TTF);
}
html {
  background-color: black;
  height: 100%;
}
p {
  font-family: "Lexend", sans-serif;
}
body {
  margin: 0;
  height: 100%;
  padding: 50px;
  box-sizing: border-box;
}
canvas {
  background-color: white;
  transition: 0.2s;
}
#game {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
#error {
  display: none;
  transition: 0.2s;
  color: #82131e;
  font-weight: bold;
  text-align: center;
  max-width: 900px;
  margin: auto;
  box-sizing: border-box;
  height: 100%;
}
#error div {
  background-color: #e84747;
  padding: 5px;
}
#error span {
  font-size: 0.8em;
}
@media (max-width: 1000px) {
  #game {
    display: none;
  }
  #error {
    display: flex;
    align-items: center;
    position: relative;
  }
}
@media (max-height: 700px) {
  #game {
    display: none;
  }
  #error {
    display: flex;
    align-items: center;
    position: relative;
  }
}
