h1 {
    color: #ffffff;
    font-size: 35px;
    text-align: center;
    display: block;
}

body {
    background-color: rgb(0, 0, 0);
    background-image: url("images/purple.jpg");  
    animation: backgroundMove 5s infinite alternate;
}

/* Keyframes for background movement */
@keyframes backgroundMove {
    0% {
        background-position: 0px 0px;
    }

    50% {
        background-position: 10px 10px;
    }

    100% {
        background-position: 0px 0px;
    }
}

.game-container {
    align-items: center;  width: min(600px, 100%);
    justify-content: space-around;
    margin: auto;
    width: min(600px, 100%);
    height: 600px;
    background-color: #000;
    overflow: hidden;
    box-shadow: 0 10px 40px #5312cc;
    border-radius: 15px;
}

.game-details {

    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
    background-color: transparent;
    width: min(600px, 100%);
    display: flex;
    align-items: center;
    margin: auto;
    margin-bottom: 15px;
    justify-content: space-around;
    background: #000;
    box-shadow: 0 10px 80px #5312cc;
    border-radius: 15px;
}

.popUp {
    width: min(300px, 100%);
    height: 300px;
    background-color: rgba(0, 0, 0, 0.699);
    z-index: 3;
    border-radius: 15px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 80px #5312cc;
}

.popUp-content {
    /* background-color: #28cc12; */
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.player,
.invader,
.bullet {
    position: absolute;
    box-sizing: border-box;
    will-change: transform;
}

.bullet {
    width: 5px;
    height: 15px;
    background: rgb(221, 157, 17);
    position: absolute;
}

.invader {
    width: 40px;
    height: 40px;
    background-image: url("images/enemy2.png");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
}

.player {
    width: 50px;
    height: 50px;
    background-image: url("images/player.png");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
}
