/* Base */
body {
  text-align: center;
  background-color: #011F3F;
  margin: 0;
}

/* Typography */
#level-title,
.game-title {
  font-family: 'Press Start 2P', cursive;
  color: #FEF2BF;
}

#level-title {
  font-size: 3rem;
  margin: 40px 20px;
}

.game-title {
  font-size: 2.5rem;
}

.game-intro {
  color: #ffffff;
  max-width: 500px;
  margin: 30px auto;
  line-height: 1.6;
}

/* Buttons */
button {
  background: #FEF2BF;
  color: #011F3F;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

/* Screens */
.screen {
  display: none;
  margin-top: 80px;
}

.screen.active {
  display: block;
}

.hidden {
  display: none;
}

/* Game Board */
.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: max-content;
  margin: 40px auto;
}

/* Game Buttons */
.btn {
  height: 180px;
  width: 180px;
  border: 10px solid black;
  border-radius: 20%;
}

/* Colors */
.red {
  background-color: red;
}

.green {
  background-color: green;
}

.blue {
  background-color: blue;
}

.yellow {
  background-color: yellow;
}

/* Effects */
.pressed {
  box-shadow: 0 0 20px white;
  background-color: grey;
}

.game-over {
  background-color: red;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .btn {
    height: 120px;
    width: 120px;
    border-width: 8px;
  }

  #level-title {
    font-size: 1.8rem;
  }

  .container {
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .btn {
    height: 100px;
    width: 100px;
  }
}