body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url(images/achtergrond2.png);
    background-size: cover;
    background-repeat: no-repeat;
    flex-direction: column;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind other content */
    opacity: 0.1; /* Low transparency */
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 1;
}

.video-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gamecontainer {
    position: relative;
    width: 600px;
    height: 600px;
    background-image: url(images/gras2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    border: 5px solid black;
}

.player {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 80px;
    height: 60px;
    background-image: url(images/kip.png);
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}

.invader {
    position: absolute;
    width: 70px;
    height: 50px;
    background-image: url(images/kat.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.bullet {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url(images/egg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.score {
    color: white;
    font-size: 24px;
    margin-top: 20px;
}
