body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #333;
}

#game-container {
    position: relative;
    width: 1600px;
    height: 800px;
    background: url('assets/background.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    border: 2px solid #fff;
}

#player {
    position: absolute;
    width: 40px;
    height: 80px;
    background: url('assets/player.png') no-repeat center center;
    background-size: cover;
    display: none; /* Hide the player initially */
}

#player.mirrored {
    transform: scaleX(-1);
}

.platform {
    position: absolute;
    background-size: cover;
}

#start-screen, #end-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #00f; /* Blue color */
    font-size: 48px; /* Larger text size */
    z-index: 10; /* Ensure buttons are above the game */
}

.hidden {
    display: none;
}

.spike {
    position: absolute; /* Ensure spikes are positioned absolutely */
    background-size: cover;
}

button {
    font-size: 36px; /* Larger button text size */
    padding: 10px 20px;
    color: #00f; /* Blue color */
    background-color: #fff;
    border: none;
    cursor: pointer;
    z-index: 11; /* Ensure buttons are above the game */
}

h1 {
    background-color: #fff;
}

.coin {
    position: absolute;
    background-size: cover;
}

#start-button {
    position: absolute;
    top: calc(40%);
    left: calc(50% + 350px); /* Adjusted position */
    transform: translate(-50%, -50%);
    font-size: 24px; /* Adjust as needed */
    background-color: blue; /* Example background color */
    color: white; /* Example text color */
    padding: 10px 20px; /* Example padding */
    border: none; /* Example border */
    cursor: pointer;
}

.falling-spike {
    transform: rotate(180deg);
}