* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f0f0f0;
  overflow: hidden;
}
#text{
  position: absolute;
  top: 80px;
  font-size: 25px;
  right: 100px;
  color: black;
}

svg#game-canvas {
  width: 100vw;
  height: 100vh;
  display: block;
}

#Score-Card,
#restart-countdown {
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgb(72, 240, 63);
  width: 80%;
  max-width: 400px;
  height: 40vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 30px;
  gap: 30px;
  flex-direction: column;
  padding: 20px;
  text-align: center;
  z-index: 100;
}

.button {
  padding: 10px;
  border-radius: 15px;
  width: 80%;
  font-size: 15px;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(0, 0, 0);
  color: rgb(0, 0, 0);
} 

.button:hover {
  cursor: pointer;
  background-color: black;
  color: white;
}

@media only screen and (max-width: 720px) {
  body {
    font-size: 20px;
  }

  .button {
    font-size: 14px;
  }
  #text {
    font-size: 20px;
    top: 30px;
    right: 25px;
  }
}
