html, body {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0E1B17;
  overflow: hidden;
  color:#fff;
}

/* Leaderboard Container */
#leaderboardContainer {
    width: 90%;
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
    font-family:  "Press Start 2P", system-ui;
    background-color: #0E1B17;
    color: white;
    padding: 15px;
    border-radius: 10px;
    max-height: 90vh; /* Restrict height to 80% of the viewport */
    overflow-y: auto; /* Vertical scrolling */
    overflow-x: auto; /* Horiztonal scrolling */

}

#flapAgainButton {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 15px;
    background-color: #0e1a16;
    color: #86EFBE;
    font-size: 16px;
    border: solid;
    border-width: 1px;
    border-color: #86EFBE;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

#flapAgainButton:hover {
    background-color: #86EFBE;
    color: black;
    font-family: 'Press Start 2P', cursive;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

/* Style the image to fill the container */
#leaderboardContainer img {
    width: 100%;      /* Fill the container width */
    height: auto;     /* Maintain aspect ratio */
    display: block;   /* Remove extra space below the image */
    margin-bottom: 10px; /* Add spacing below the image */
}

/* Leaderboard Table */
#leaderboardTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1px;
}

/* Table Header */
#leaderboardTable th {
    background-color: #16482F; /* Green Header */
    color: white;
    padding: 10px;
    text-transform: uppercase;
    font-size: 10px;
}

/* Table Rows */
#leaderboardTable tr {
    transition: background-color 0.3s ease;
}

/* Alternate Green Row Backgrounds */
#leaderboardTable tr:nth-child(odd) {
    background-color: #12251F; /* Darker Green */
    color: white;
}

#leaderboardTable tr:nth-child(even) {
    background-color: #162E26; /* Lighter Green */
    color: white;
}

/* Table Cells */
#leaderboardTable td {
    padding: 10px;
    text-align: center;
    font-size: 8px;
}
