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

:root {
  --bg: #161210;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Press Start 2P", sans-serif;
  color: #fff;
  user-select: none;
}

body {
  background-color: var(--bg);
}

section.container {
  position: relative;
  width: min-content;
}

#gameInfo {
  position: absolute;
  right: 0;
  top: 0;
  padding: 20px;
  display: flex;
  flex-direction: row;
  gap: 40px;
  background-image: linear-gradient(
    to left bottom,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0)
  );
}

#gameInfo p {
  font-size: 2.25rem;
  text-shadow: 0 0 5px #000;
  display: flex;
  gap: 10px;
}

#gameInfo p img {
  height: 100%;
}

#endGame {
  position: absolute;
  overflow: hidden;
  z-index: 9999;
  height: 0%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 800ms;
}

#endGame h1 {
  color: #fff;
  font-size: 4.5rem;
  letter-spacing: 4px;
  -webkit-text-stroke: 2px #bbb;
}
