#__next {
  height: 100vh;
}

body {
  overflow: hidden;
}

.invisible {
  display: none;
}

.layer-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.layer {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.layer:not(.game-viewport) {
  z-index: 1;
}

/*
  So that for hud layers the hud wont 
  intercept touch events
*/
.layer.touch-through {
  pointer-events: none;
}

.layer.touch-through > * {
  pointer-events: all;
}

.game-viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  touch-action: none;
  overflow-y: hidden;
}

#loading-screen {
  background: var(--light-gray);
}

@media (prefers-color-scheme: dark) {
  #loading-screen {
    background: var(--dark-gray);
  }
}

@media only screen and (max-width: 1025px) {
  #greeting-section {
    justify-content: flex-end;
  }

  #greeting {
    position: absolute;
    bottom: 175px;
  }
}
