.App {
  height: 100vh;
  display: grid;
  place-items: center;
  background-color: #fbf7ef;
  background-image: url("./assets/background-image.svg");
  position: relative;
}

.gameContainer {
  width: 80vw;
  height: 60vh;
  border: 4px solid #133c46;
  position: relative;
}

.highScoreBoard {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  z-index: 1;
  column-gap: 1rem;
}

.highScoreBoard h1 {
  font-size: 2.5rem;
  color: #133c46;
}

.highScore {
  font-size: 1.4rem;
  background-color: #c9c9c9;
  border: 2px solid rgb(254, 230, 90);
  padding: 7px 20px;
  border-radius: 20px;
  letter-spacing: 3px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

.scoreBoard {
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px 10px;
  margin: 2px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.score {
  letter-spacing: 2px;
  text-align: center;
  color: white;
}

.connectionButtonsContainer {
  position: absolute;
  bottom: calc(100% + 1rem);
  right: calc(100% - 8vw);
  height: fit-content;
  z-index: 10;
}

.playBtnContainer {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translateX(-50%);
  width: 30vw;
  height: 10vh;
  display: grid;
  place-items: center;
}

.playBtn {
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.stopBtn {
  background: red;
  border-radius: 25px;
  display: grid;
  place-items: center;
  position: relative;
  width: 60%;
  height: 100%;
}

.stopBtn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15%;
  height: 60%;
  background: #f1f2f2;
  border-radius: 5px;
}
.blockSelectorContainerTop {
  position: absolute;
  left: calc(25% - 8vw);
  top: -12vh;
  display: flex;
  column-gap: 1rem;
}
.blockSelectorContainerBottom {
  position: absolute;
  left: 0;
  bottom: -12vh;
  display: flex;
  column-gap: 1rem;
}

@keyframes zoomInOut {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.gameFinishedContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1rem;
  border-radius: 10px;
  z-index: 9999;
  animation: zoomInOut 1.5s infinite;
}
.gameFinishedText {
  font-size: 10rem;
  color: white;
  text-align: center;
  white-space: nowrap;  
}

