@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=swap');

@font-face {
  font-family: pixel_nums;
  src: url('../fonts/SuperMario.ttf');
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(143, 211, 255);
}

#game-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

#game {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#rotate-device {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 4.5em;
  z-index: 9999;
}

#gif {
  height: 30%;
  position: absolute;
  z-index: 100;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#gif-shadow {
  height: 30%;
  position: absolute;
  z-index: 99;
  top: 31%;
  left: 51%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  filter: brightness(5%) blur(5px);
}
 
/* Noscript alert */
.alertpopup {
  position: fixed;
  z-index: 1039;
  width: 35vw;
  max-width: 1440px;
  background: rgba(50, 50, 50, 0.25);
  box-shadow: 0 0.75rem 2rem 0 rgba(0, 0, 0, 0.15);
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-right: 4rem;
  padding-left: 4rem;
  margin-left: 50%;
  margin-right: 50%;
  font-family: 'Quicksand', sans-serif;
}
.blurbg{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(10px);
    background: rgba(50, 50, 50, 0.15);
    display: grid;
    box-sizing: content-box;
    place-items: center;
}
