body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.game-container {
    width: 700px;
    height: 730px;
    position: relative;
    margin-left: 100px ;
}

.border-left, .border-right {
    width: 100px;
    height: 730px;
    background-color: #ffffff;
    z-index: 3;
}

.border-left {
    position: absolute;
    left: -100px;
}

.border-right {
    width: 1000px;
    height: 890px;
    position: absolute;
    background-color: #ffffff;
    left: 500px;
    top: -100px;
}

.border-top {
    width: 900px;
    height: 200px;
    background-color: #ffffff;
    z-index: 2;
    position: absolute;
    top: -200px;
    left: -100px;
}

.sky {
    background-image: url('resources/newBackground.gif');
    width: 500px;
    height: 580px;
    position: relative;
}

.ground {
    background-image: url('resources/bottom-background.png');
    width: 700px;
    height: 150px;
    position: absolute;
    top: 580px;
    left: 0;
    z-index: 1;
}

/* CSS für das erste Telefonbild */
.phone-yellow {
    width: 30px;
    height: 50px;
    position: absolute;
    background-image: url('resources/phoneGelb.png');
    background-size: cover;
}

/* CSS für das zweite Telefonbild */
.phone-red {
    width: 30px;
    height: 50px;
    position: absolute;
    background-image: url('resources/phone.png');
    background-size: cover;
}
.item {
    background-image: url('resources/lightning.gif');
    width: 50px;
    height: 30px;
    position: absolute;
}

.bird {
    background-image: url('resources/HANDSUP.svg');
    position: absolute;
    width: 60px;
    height: 70px;
    left: 220px;
    bottom: 100px;
    background-size: contain;
    background-repeat: no-repeat;

}

.obstacle {
    background-image: url('resources/flappybird-pipe.png');
    width: 60px;
    height: 300px;
    position: absolute;
}

.topObstacle {
    background-image: url('resources/flappybird-pipe.png');
    transform: rotate(180deg);
    width: 60px;
    height: 300px;
    position: absolute;
}

.ground-container {
    height: 150px;
    width: 700px;
    position: absolute;
    top: 580px;
    left: 0;
}

.ground-moving {
    height: 150px;
    background-image: url('resources/bottom-background.png');
    background-repeat: repeat-x;
    animation: slideright 100s infinite linear;
    -webkit-animation: slideright 100s infinite linear;
    width: 700px;
    z-index: 1;
    position: absolute;
}

@keyframes slideright {
    0% {
        background-position: 0px;
    }
    100% {
        background-position: -10000px;
    }
}
