/* styles.css */

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background-color: #70c5ce; /* Fallback background */
}

canvas {
    display: block;
    margin: 0 auto;
    background-color: #70c5ce;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(112, 197, 206, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.menu img {
    width: 200px;
    margin-bottom: 20px;
}

.menu-section {
    margin: 10px 0;
}

.menu label {
    margin-right: 10px;
    color: #fff;
    font-size: 18px;
}

.menu select {
    padding: 5px;
    font-size: 16px;
}

.menu button {
    padding: 10px 20px;
    font-size: 20px;
    margin-top: 20px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
}

.menu button:hover {
    background-color: #45a049;
}

/* Score Display */
#score-display, #score-display-over {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 30px;
    display: flex;
    z-index: 5;
}

#score-display img, #score-display-over img {
    width: 20px;
    height: 30px;
}

/* Level Display */
#level {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: lightgray;
    text-shadow: 1px 1px 2px #000;
    z-index: 5;
}

/* Game Over Screen */
#game-over img {
    width: 200px;
    margin-bottom: 20px;
}

.score-section {
    text-align: center;
    margin-bottom: 20px;
}

.score-section div {
    font-size: 20px;
    color: white;
    margin: 5px 0;
}

#high-score {
    color: yellow;
}

/* Power-Up Message (Removed as Star is not available) */

/* Responsive Adjustments */
@media (max-width: 500px) {
    canvas {
        width: 100%;
        height: auto;
    }

    .menu img {
        width: 150px;
    }

    .menu label, .menu select, .menu button {
        font-size: 16px;
    }

    #score-display img, #score-display-over img {
        width: 15px;
        height: 22px;
    }

    #level {
        font-size: 18px;
    }
}

