* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.game-board {
    width: 100%;
    height: 500px;
    border: 15px solid rgb(35,160,35);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(#87CEEB, #E0F6FF);
    
}

.pipe {
    position: absolute;
    bottom: 0;
    width: 60px;
    right: -80px;
    animation: pipe-animation 2s infinite linear;
}

.pipe {
    width: 5%; /* Bild füllt den verfügbaren Platz aus */
    height: auto; /* Verhältnismäßige Höhe, um das Bild nicht zu verzerren */
}

/* Media Query für kleinere Bildschirme (z. B. Mobilgeräte) */
@media only screen and (max-width: 600px) {
    .pipe {
        width: 10%; /* Ändere die Breite des Bildes auf 80% des verfügbaren Platzes */
    }
}

.mario {
    width: 150px;
    position: absolute;
    bottom: 0;
    
}

.mario {
    width: 5%; /* Bild füllt den verfügbaren Platz aus */
    height: auto; /* Verhältnismäßige Höhe, um das Bild nicht zu verzerren */
}

/* Media Query für kleinere Bildschirme (z. B. Mobilgeräte) */
@media only screen and (max-width: 440px) {
    .mario {
        width: 10%; /* Ändere die Breite des Bildes auf 80% des verfügbaren Platzes */
    }
}

.jump {
    animation: jump 700ms infinite ease-out;
}

.clouds {
    position: absolute;
    width: 300px;
    animation: clouds-animation 10s infinite linear;
}

@keyframes pipe-animation {
    from {
        right: 0px;
    }
    to {
        right: 100%;
    }
}

@keyframes jump {
    0% {
        bottom: 0;
    }
    30% {
        bottom: 170px;   
       }
    40% {
     bottom: 180px;   
    }
    
    50% {
        bottom: 180px;
    }
    60% {
        bottom: 180px;
    }
    70% {
        bottom: 170px;   
       }
    100% {
        bottom: 0;
    }
}

@keyframes clouds-animation {
    from {
        right: 0;
    }
    to {
        right: 100%;
    }
}