body {
  text-align: center;
  background-color: #011F3F;
  min-height: 100dvh;
  margin: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#level-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 3rem;
  margin: 30px 20px 30px 20px;
  color: #FEF2BF;
}

.container {
  display: block;
}

.row {
  display: flex;
  justify-content: center;
}

.btn {
  margin: 25px;
  height: 200px;
  width: 200px;
  border: 10px solid black;
  border-radius: 20%;
  box-sizing: border-box;
}

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

dialog {
  border-radius: 10px;
  padding: 16px 25px;
  background: #073363;
  border: none;
  color: #FFFFFF;
}

dialog::backdrop {
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.4);
}

.rules {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  margin-top: 5vh;
}

.rules button {
  background: #3498db;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-family: 'Press Start 2P', cursive;
  cursor: pointer;
  transition: background 0.2s ease;
}

.rules button:hover {
  background: #2980b9;
}

.rules button:active {
  background: #1f6da0;
}

.rule-heading {
  text-align: center;
  margin: 0;
  width: 100%;
}

.rules-list {
  padding-left: 5px;
  margin: 10px 0px;
}

.red {
  background-color: red;
}

.green {
  background-color: green;
}

.blue {
  background-color: blue;
}

.yellow {
  background-color: yellow;
}

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

@media (max-width: 800px) {
  #level-title {
    font-size: 2rem;
  }

  .btn {
    width: 40vw;
    height: 40vw;
    max-width: 350px;
    max-height: 350px;
    margin: 10px;
  }
}
