body {
  background: #00091B;
  color: #fff;
  font-family: 'Muli', sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center items horizontally */
  justify-content: center; /* Center items vertically */
  overflow: hidden; /* Prevent scroll */
  position: relative; /* Position relative for absolute child */
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  z-index: 1; /* Ensure it appears above the canvas */
  animation: fadeIn 1000ms ease; /* Keep fade-in effect */
}

#heading1 {
  font-size: 60px; /* Increased font size */
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
  font-weight: 700;
  color: #4FEBFE; /* Restored color */
  animation: bounceIn 1.5s ease-in-out infinite; /* Bounce animation */
}

@keyframes bounceIn {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.dot {
  color: #4FEBFE;
}

p {
  text-align: center;
  margin: 20px 0;
  font-size: 18px;
  font-weight: normal;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.icons a {
  text-decoration: none;
}

.icons i {
  color: #00091B;
  background: #fff;
  padding: 15px;
  border-radius: 50px;
  border: 3px solid #fff;
  transition: all 200ms ease;
}

.icons i:hover {
  color: #fff;
  background: #4FEBFE;
  transform: scale(1.2);
}

#audioPlayer {
  margin-top: 20px;
  display: none;
}

audio {
  display: block;
  margin: 20px auto;
  width: 80%;
  max-width: 400px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Fullscreen canvas */
#breakoutCanvas {
  position: absolute; /* Absolute positioning */
  top: 0; /* Align to top */
  left: 0; /* Align to left */
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  z-index: 0; /* Ensure it is behind other content */
}

#overlay {
  display: none; /* Hide overlay by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Grey semi-transparent background */
  z-index: 1000;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  text-align: center;
}


#overlay-message {
  font-size: 2rem; /* Larger font size for visibility */
  margin-bottom: 20px; /* Space between message and button */
}

#try-again {
  padding: 10px 20px; /* Button padding */
  font-size: 1rem; /* Button font size */
  background-color: #0095DD; /* Button color */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer; /* Change cursor on hover */
}

#try-again:hover {
  background-color: #007bb5; /* Darker shade on hover */
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #4FEBFE;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

button:hover {
  background-color: #0095DD;
}

.word {
  display: inline-block; /* Ensures proper spacing and inline display */
  margin-right: 2px; /* Adds a small space between words */
  cursor: pointer; /* Changes the cursor to indicate interactivity */
}

.word.destroyed {
  opacity: 0; /* Fade out effect for destroyed words */
  transition: opacity 0.5s ease-out;
}

