@font-face {
  font-family: 'Brawl Stars';
  src: url('fonts/lilitaone-regular-webfont.ttf') format('truetype');
  font-weight: normal;
}
@font-face {
  font-family: 'Brawl Stars Bold';
  src: url('fonts/nougat-extrablack-webfont.ttf') format('truetype');
  font-weight: normal;
}

/* Loading overlay. Visible from first paint (the markup is in each page's
 * HTML); loader.js adds .fading on window 'load' to transition it away. */
#loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #0c0c10;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.25s ease;
}
#loading-screen.fading {
  opacity: 0;
  pointer-events: none;
}
#loading-screen img {
  width: 180px;
  height: 180px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  #loading-screen img { animation: none; }
}

