body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Use minimum 100% of viewport height */
    margin: 0;
	background-color: #f4f4f4; /* Or whatever color you prefer */
}


.game-container {
    max-width: 600px;
    margin: auto;
}

#gameCanvas {
    width: 100%;
    height: 100%;
    max-width: auto;
    max-height: auto;
    border: 1px solid black;
    margin: 0 auto;
    display: block;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h2 {
    text-align: center;
    color: #333;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

button {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    background-color: #ddd;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:active {
    background-color: #aaa;
}

.arrow-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.bottom-buttons {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

/* ... */
#startButton {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
}

#highscore {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
}

.arrow-button {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition-duration: 0.4s;
    cursor: pointer;
}

.arrow-button:hover {
    background-color: white;
    color: black;
    border: 2px solid #4CAF50;
}

#ad-banner {
    margin-top: 20px;
    width: 100%;
    height: 100px; /* Adjust according to your ad size */
    background-color: #ddd; /* Placeholder background color */
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.modal {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}
