body {
    background-color: #000;
    color: #fff;
    font-family: 'Press Start 2P', cursive; /* A common pixel font */
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

h1 {
    color: #fff;
    text-shadow: 4px 4px 0px #ff0000; /* Retro shadow effect */
}

#gameContainer {
    position: relative;
}

canvas {
    background-color: #5c94fc; /* Sky blue */
    border: 4px solid #fff;
    box-shadow: 0 0 20px #fff;
    display: block; /* Removes extra space below canvas */
}

#gameOverUI {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'Press Start 2P', cursive;
}

#gameOverUI h2 {
    font-size: 40px;
    color: #ff0000;
    margin-bottom: 20px;
}

#gameOverUI input, #gameOverUI button {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    padding: 10px;
    margin: 10px;
    width: 250px;
    text-align: center;
    background-color: #333;
    color: #fff;
    border: 2px solid #fff;
}

#buttonContainer {
    display: flex;
    justify-content: center;
}

#buttonContainer button {
    width: 150px;
}

#gameOverUI button {
    cursor: pointer;
}

#gameOverUI button:hover {
    background-color: #ff0000;
}

.hidden {
    display: none !important;
}

/* A bit of a hack to use a web font without adding a link to the HTML for this prototype */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

