body {
  background-color: #0a0a23;
  text-align: center;
  background-image: url('https://wallpapercave.com/wp/wp9133884.jpg');
  background-size: cover; /* Ensure the image covers the area */
  background-position: center top; /* Focus on the top part of the image */
  background-repeat: no-repeat; /* Prevent repetition */
  overflow: hidden; /* Prevent scrolling */
}

  
  #text {
    background-color: #0a0a23;
    color: #ffffff;
    padding: 10px;
  }
  
  #game {
    max-width: 500px;
    max-height: 400px;
    background-color: #45384f;
    color: #ffffff;
    margin: 30px auto 0px;
    padding: 10px;
  }
  
  #controls,
  #stats {
    border: 1px solid #0a0a23;
    padding: 5px;
    color: #0a0a23;
  }
  
  #monsterStats {
    display: none;
    border: 1px solid #0a0a23;
    padding: 5px;
    color: #ffffff;
    background-color: #c70d0d;
  }
  
  .stat {
    padding-right: 10px;
  }
  
  button {
    cursor: pointer;
    color: #0a0a23;
    background-color: #feac32;
    background-image: linear-gradient(#fecc4c, #ffac33);
    border: 3px solid #feac32;
  }

  #info {
    position: relative; /* Make sure #info stays within the flow of the document */
    top: 75%; /* Increase this value to move the info box lower on the screen */
    margin: 380px auto 0; /* Add space of 20px from the #board */
    width: 300px; /* Set box width */
    height: 170px; /* Set box height */
    text-align: center; /* Center align the text inside info */
    color: rgba(255, 255, 255, 0.9); /* Make text white for better visibility */
    font-weight: bold; /* Make text thicker */
    font-size: 24px; /* Increase the font size for prominence */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add a subtle shadow for depth */
    background-color: rgba(0, 0, 0, 0.7); /* Add a dark semi-transparent background */
    padding: 15px; /* Add padding around the text */
    border-radius: 8px; /* Optional: rounded corners for the background */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for a floating effect */
}

p {
    margin: 10px 0; /* Add space between paragraphs */
    font-size: 18px; /* Set font size for paragraphs */
}

.back-to-games {
    display: inline-block; /* Makes the link behave like a box */
    padding: 10px 20px; /* Adds space inside the box */
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    color: white; /* White text color */
    border: 2px solid rgba(255, 255, 255, 0.6); /* Adds a border */
    border-radius: 5px; /* Slight rounding of the corners */
    text-decoration: none; /* Removes the underline from the link */
    font-size: 18px; /* Adjusts the font size */
    margin-top: 10px; /* Adds space above the link */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.back-to-games:hover {
    background-color: rgb(143, 35, 35); /* Darkens background on hover */
    border-color: rgba(255, 255, 255, 1); /* Lightens border on hover */
}