* {
    box-sizing: border-box;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
}

#gameContainer {
    position: relative;
    width: 600px;
    height: 400px;
    border: 2px solid #333;
    background-color: #fff;
}

#gameCanvas {
    width: 100%;
    height: 100%;
    background-color: #eee;
}

#gameControls {
    margin-top: 10px;
    text-align: center;
}

#title {
    margin: 10px 0;
    font-size: 24px;
}

#scoreDisplay {
    font-size: 18px;
}

#gameOverMessage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    text-align: center;
    display: none;
}