body {
    background:radial-gradient(red , black);
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    overflow: hidden;
}

.game-container {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: black;
    overflow: hidden;
    border: 2px red;
}

.player {
    position: absolute;
    bottom: 0px;
    left: 100px;
    width: 70px;
    height: 70px;
    border-radius: 5px;
}

.obstacle {
    position: absolute;
    bottom: 0;
    right: -50px;
    width: 30px;
    height: 50px;
    background-color: #4682b4;
    animation: moveObstacle 2s infinite linear;
}

@keyframes moveObstacle {
    from {
        right: -50px;
    }
    to {
        right: 100%;
    }
}

@keyframes jump {
    0% {
        bottom: 0;
    }
    50% {
        bottom: 150px;
    }
    100% {
        bottom: 0;
    }
}

.game-over {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: red;
    text-align: center;
}
