
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #ff0000;
    magin: 0;
    padding: 0;
    min-height: 100vh;
    transition: background-color 1.0s ease;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
}
header h1 {
    color: #333;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#game-container {
    text-align: center;
    font-family: Arial, sans-serif;
}
canvas {
    border: 5px solid #333;
    background-color: #000;
    display: block;
    margin: 0 auto;
}
#score {
    font-size: 24px;
    margin-top: 10px;
}
.responsive-img {
  width: 50%;
  height: auto;
}

button:hover {
    background-color: #0056b3;
}

.center-content {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
    height: 100vh;           /* Makes the container full viewport height */
    text-align: center;      /* Ensures text inside is centered */
    flex-direction: column;  /* Stacks items vertically if you add more later */
}

.responsive-img {
  max-width: 300px; /* Limits the image to 300px wide maximum */
  width: 100%;      /* Allows it to shrink on mobile screens */
  height: auto;     /* Maintains the aspect ratio */
  display: block;   /* Removes extra space below the image */
  margin: 20px auto; /* Centers the image and adds spacing */
}
