@import url("https://fonts.nexuspipe.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

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

body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #404040;
  color: #f9f9f9;
  font-family: "Roboto", sans-serif;
  position: relative;
}

canvas#renderCanvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  touch-action: none;
  -ms-touch-action: none;
}

noscript.noscript-message, .loading-failed {
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: calc(1.325rem + .9vw);
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

noscript.noscript-message {
  z-index: 9999;
}

.loading-failed {
  background-color: #404040;
  z-index: 1;
}

@media (min-width: 1200px) {
  noscript.noscript-message, .loading-failed {
    font-size: 2rem;
  }
}
