* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('bricks.png'); 
    background-repeat: repeat-x; 
    background-color: #000;
    background-position: bottom;
    min-height: 100vh;
    background-size: auto 100px;
}

.game-board {
    width: 100%;
    height: 700px; 
    border-bottom: 2px solid #000000; 
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(#87CEEB, #E0F6FF);
}

.pipe {
    position: absolute;
    bottom: 0;
    width: 80px;
    animation: pipe-animation 1.5s infinite linear;
}

.mario {
    width: 150px;
    position: absolute;
    bottom: 0;
}

.jump {
    animation: jump 500ms ease-out;
}

.clouds {
    position: absolute;
    width: 390px;
    animation: clouds-animation 20s infinite linear;
    top: 190px; 
}

.game-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    z-index: 10;
}

.restart-button {
    display: none; 
    position: absolute;
    top: 800px; 
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    cursor: pointer;
    z-index: 20;
}

@keyframes pipe-animation {
    from {
        right: -80px;
    }

    to {
        right: 100%; 
    }
}

@keyframes jump {

    0% {
        bottom: 0;  
    }

    50% {
        bottom: 180px;
    }

    60% {
        bottom: 180px;
    }

    100% {
        bottom: 0;
    }
}

@keyframes clouds-animation {
    from {
        right: -550px;
    }

    to {
        right: 100%;
    }
}