html, body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* disables scrollbars */
  height: 100vh;
  width: 100vw;
  background-color: aquamarine;
}

h5 {
  text-align: center;
}

.header {
  text-align: center;
  background-color: blueviolet;
  color: azure;
}

.user_header {
  text-align: center;
  background-color: blueviolet;
  color: rgb(0, 0, 0);
}

#error-message {
  display: none;
  color: red;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 10px;
}

#game-and-scores {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

#login-form {
  text-align: center;
  border: 10px solid;
  border-radius: 5px;
  border-color: azure;
  height: 300px;
  width: 300px;
}

#game-wrapper {
  display: none; /* hidden until login */
  width: 640px;
  height: 480px;
}


#canvas {
  position: relative;
  display: none;
}


#jax {
  position: absolute;
}

#scores {
  text-align: center;
  width: 600px;
  background-color: rgb(115, 236, 196);
  border: 10px solid;
  border-radius: 5px;
  border-color: azure;
}

#user-scores-card {
  display: none;
  text-align: center;
}

#leader-scores-card {
  text-align: center;
}

#play-again {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: 4px solid blueviolet;
  border-radius: 10px;
  padding: 20px 30px;
  z-index: 10;
  text-align: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

