body {
    font-family: Arial, sans-serif;
    background: rgba(0, 128, 0, 0.28);
}

#gameArea {
    position: relative;
    width: 400px;
    height: 400px;
    border: 1px solid #000;
    overflow: hidden;
}

#player, #monster, #apple {
    position: absolute;
}

#player {
    width: 30px;
    height: 30px;
    background: blue;
}

#monster {
    width: 30px;
    height: 30px;
    background: yellow;
}

#apple {
    width: 20px;
    height: 20px;
    background: red;
}



#scoreboard p {
    margin: 0; /* Remove default margin for paragraphs */
}

#scoreboard {
    margin-top: 10px; /* Adjust this value for vertical spacing */
    margin-bottom: 10px; /* Adjust this value for vertical spacing */
}

#scoreboard div {
    display: flex;
    align-items: center; /* Center items vertically */
}

#highscores-table th:nth-child(1),
#highscores-table th:nth-child(2) {
    text-align: left;  /* Left-align both columns */
}

#highscores-table th:nth-child(2),
#highscores-table td:nth-child(2) {
    padding-left: 8px; /* Adds spacing to the 2nd column */
}
