body {
    margin: 0;
    background-color: #333;
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

#game {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #555;
    overflow: hidden;
}

.player {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: red;
}

#player1 {
    left: 100px;
    bottom: 50px;
}

#player2 {
    right: 100px;
    bottom: 50px;
    background-color: blue;
}

#health-bars {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.health-bar {
    width: 40%;
    height: 20px;
    background-color: green;
    border: 1px solid white;
}
#instructions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    text-align: center;
    font-size: 18px;
    padding: 20px;
}

#instructions h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

#instructions button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
}

#instructions button:hover {
    background: #444;
    color: white;
}
.bullet {
    position: absolute;
    width: 10px;
    height: 5px;
    background-color: yellow;
    border-radius: 2px;
}
.apple {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: red;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}
