body {
  width: 100%;
  height: 100vh;
  margin: 0px;
  text-align: center;
  background-color: #011F3F;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


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

.container {
  width: fit-content;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  place-items: center;
  gap: 10px;
}

.btn {
  display: inline-block;
  height: 200px;
  width: 200px;
  border: 10px solid black;
  border-radius: 20%;
}

.red {
  background-color: red;
}

.green {
  background-color: green;
}

.blue {
  background-color: blue;
}

.yellow {
  background-color: yellow;
}

/* ---------------Animation Section----------------- */
@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes wrong {
  0% {
    box-shadow: 0 0 20px black;
    background-color: darkred;
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    box-shadow: 0 0 20px black;
    background-color: darkred;
    opacity: 1;
  }
}

.blinking {
  animation: blink 1s infinite;
}

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

.wrongAnswer {
  animation: wrong 1s infinite;
}

/* --------------Streak counter Section---------------- */
.streakCount {
  display: none;
  padding: 5px;
  box-sizing: border-box;
  writing-mode: horizontal-tb;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  background-color: #FEF2BF;
  width: 6%;
  height: 150px;
  position: absolute;
  left: 0px;
  top: 40;
}

.streakCount:hover {
  border: 5px solid yellow;
}

/* ------------PlayAgain Section------------- */
.playAgainDiv {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.95);
  width: 100%;
  height: 100vh;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: display 1s ease-in-out;
}

.playAgainItem {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 250px 250px;
  grid-template-rows: 1fr 1fr;
  place-items: center;
  gap: 5px;
  padding: 8px;
  border-radius: 10px;
  background-color: rgba(14, 5, 105);
  width: fit-content;
}

.playAgainItem h1 {
  grid-column: span 2;
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  margin: 10px;
  color: #FEF2BF;
}



.button {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bolder;
  box-sizing: border-box;
  border-radius: 5px;
  width: 80%;
  height: 50px;
}

.button:hover {
  background-color: #011F3F;
  color: white;
  border: 3px solid white;
}

/* ---------GoodBye Section------------ */
.goodBye_div h1 {
  font-size: 0.8rem;
  font-family: 'Press Start 2P', cursive;
  color: #FEF2BF;
}

.goodBye_div {
  display: none;
  box-sizing: border-box;
  background-color: rgba(14, 5, 105);
  width: 500px;
  height: fit-content;
  padding: 15px;
  border-radius: 50px;
}

.goodByeImg {
  width: 70%;
  height: 250px;
  border: 5px solid white;
  border-radius: 50px;
}