@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');


body {
  width: 100%;
  
  position: absolute;
  background: #000000;
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
}

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

.ui {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Press Start 2P', cursive;
}

@keyframes game-over-anim {
  from {
    opacity: 0.0;
  }
  to {
    opacity: 1.0;
  }
}

.game-over-layout {
  opacity: 0.0;

  visibility: hidden;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.game-over-layout.active {
  opacity: 1.0;
  visibility: visible;
  transition: opacity 0.5s ease-in-out;
}

.game-over-text {
  font-size: 5em;
  color: white;
  text-shadow: 8px 8px black;
}

.score-text {
  font-size: 3em;
  color: white;
  padding: 2em;
  text-shadow: 5px 5px black;
}

.score-layout {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
}

.game-menu-layout {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    rgb(16, 16, 109),
    rgb(29, 29, 145),
    rgb(12, 12, 184)
  );
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.game-menu-window {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 500px;
}

.game-menu-window > img {
  width: 100px;
  height: 80px;
  padding-top: 100px;
  image-rendering: pixelated;
}

.game-menu-window > h1 {
  font-size: 1.6em;
  line-height: 1.25em;
  font-weight: 500;
  color: rgb(32, 33, 36);
}

.game-menu-window > p, li {
  margin: 0;
  font-size: 1em;
  line-height: 1.55em;
  color: rgb(95, 99, 104);
}

.game-menu-window > #error {
  margin: 0;
  font-size: 0.8em;
  line-height: 1.55em;
  color: rgb(95, 99, 104);
  margin-top: 12px;
}