body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  font-family: 'Manrope', 'Montserrat', 'Roboto', sans-serif;
  background-color: #1e1e1e; 
}

.game-intro {
  margin-bottom: 20px;
}

.game-intro p {
  font-size: 18px;
  font-family: 'Verdana';
}

.logo-img {
  width: 350px;
}

.arrows-img {
  width: 150px;
}

body button {
  font-size: 30px;
  background-color: #870007;
  color: #fff;
  padding: 20px 40px;
  border: 0;
  box-shadow: 0;
  border-radius: 5px;
  margin-bottom: 20px;
  font-family: 'Mr Dafoe';
}

#game-board {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
 
}

button:hover {
  opacity: 0.5;
}

#start-button {
  font-family: 'Mr Dafoe', 'Roboto';
}
#game-over {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
}

#game-over h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

#game-over p {
  font-size: 24px;
  margin-bottom: 20px;
}
#music-toggle{
 display: none;
}
.game-intro p {
  color: #ffffff; 
  font-size: 18px;
  font-family: cursive;
  line-height: 1.5;
  margin-bottom: 16px;
}

canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}



/* Animation  */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.logo-img, .arrows-img, .game-intro p, #start-button {
  animation: fadeIn 1s ease-in-out;
}

.logo-img {
  animation-delay: 0.2s;
}

.game-intro p:nth-child(1) {
  animation-delay: 0.4s;
}

.game-intro p:nth-child(2) {
  animation-delay: 0.6s;
}

.game-intro p:nth-child(3) {
  animation-delay: 0.8s;
}

.arrows-img {
  animation-delay: 1s;
}

#start-button {
  animation-delay: 1.2s;
}