/* Basic styling for the body and canvas */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;  /* Ensures no scrollbars appear */
    background-color: #000;  /* Black background for space */
    font-family: Arial, sans-serif;
    color: white;
  }
  
  canvas {
    display: block;  /* Ensures the canvas is displayed as a block-level element */
    background-color: #111;  /* Darker background for the canvas */
    touch-action: none; 
    cursor: none;
  }
  #scoreboard {
    margin-top: 20px;
    text-align: left;
    display: inline-block;
}

#startButton {
  display: inline;
  margin-top: 10px;
  padding: 10px 30px;
  font-size: 1.2em;
  margin: 10px;
  cursor: pointer;
  background: linear-gradient(45deg, #FF4500, #FFD700);
  border: none;
  border-radius: 5px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
  font-size: 28px;
  cursor: pointer;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;

} 

#muteButton {
  display: flex;
  text-align: center;

  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;

}

#restartBtn {
  display: flex;
  text-align: center;

  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;

}
h1{
  font-size: 3em;
  margin-bottom: 30px;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  animation: glow 2s ease-in-out infinite alternate;
}

h2{

  font-size: 18px;


  color: white;
  border: none;
  border-radius: 5px;
}

h3{

  font-size: 18px;

  color: white;
  border: none;
  border-radius: 5px;
}

#scoreboardTable {
  margin: 20px auto;
  width: 60%;
  border-collapse: collapse;
  color: white;
  background: rgba(0, 0, 0, 0.8);
}

#scoreboardTable th,
#scoreboardTable td {
  border: 1px solid white;
  padding: 10px;
  text-align: center;
}

#scoreboardTable th {
  background-color: rgba(255, 165, 0, 0.8);
  color: black;
}
