@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pixelify Sans', sans-serif;
  background-color: #b7cf96;
}

.game {
  max-width: 900px;
  margin: 24px auto;
  padding: 0 16px;
}

/* CANVAS */
.stage {
  position: relative;
  margin: 50px 0;
  border: 1px solid #000;
}
#canvas-game {
  display: block;
  width: 100%;
  height: 100%;
}
#start-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  z-index: 2;
}
#start-screen img {
  margin-top: 5px;
  width: 70px;
}
.start-screen-text {
  font-size: 24px;
  font-weight: bold;
  background: linear-gradient(
    150deg,
    #c1ff6b,
    #6be4ff,
    #ffe96b,
    #ffb86b,
    #ff6b6b
  );
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 18s linear infinite;
}
@keyframes rainbow {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 400%;
  }
}

/* HERO */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section img {
  padding: 50px 0;
  width: 300px;
}
.hero-section .description {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-section .description span {
  font-weight: bold;
}

/* CONTROL */
.controls {
  margin-top: 16px;
  padding: 16px;
  background: #101418;
  color: #e7ecef;
  border-radius: 12px;
}
.controls li {
  display: flex;
  align-items: center;
  padding: 3px 0;
  list-style: none;
}
.controls img {
  margin-right: 5px;
  height: 20px;
}
