* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.game-board {
    width: 100%;
    height: 500px;
    border-bottom: 15px solid rgba(35, 160, 35);
    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: 550px;
    animation: clouds-animation 20s infinite linear;
}

.pontuacao {
    display: flex;
    flex-direction: row;
    align-items: right;
    margin-top: 50px;
    position: absolute;
    margin-left: 85%;



}

.numeros {

    display: flex;
    flex-direction: row;
    padding: 5%;
    font-size: 25px;

}

.btn {
    
    cursor: pointer;
    opacity: 0.75;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 30px;
    border: 1px solid #ccc; 
    background-color: #d11f1f;

}

.botoes {

    

    display: flex;
    flex-direction: column;
    margin-top: 15%;
    margin-left: 45%;
    gap: 10px;
    font-size: 55px;
    font-weight: bold;
    position: absolute;

    padding: 10px 20px;
    font-weight: bold;
    border-radius: 30px;
    border: 1px solid #ccc; 
    background-color: #ccc;
    background-image: url("imagens/mario-and-luigi.png");
    background-size: 100%;
    
    
    transition: all 0.2s ease-in-out;

    
    
}

.start {


    padding: 10px 20px;
    font-weight: bold;
    font-size: 55px;
    border-radius: 30px;
    cursor: pointer;
    border: 1px solid #ccc; 
    background-color: #d11f1f;
    
   opacity: 0.75;

  
    
}

.voltar {
    
    padding: 10px 20px;
    font-weight: bold;
    font-size: 55px;
    border-radius: 30px;
    cursor: pointer;
    border: 1px solid #ccc; 
    background-color: #d11f1f;
    
    opacity: 0.75;
    transition: all 0.2s ease-in-out;
   
    
    
}

.start:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.voltar:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.voltar, .start, .botoes {
    display: none;
}

@keyframes pipe-animation {
    from {
        right: -80px;
    }

    to {
        right: 100%;
    }
}

@keyframes jump {

    0% {
        bottom: 0;
    }

    40% {
        bottom: 180px;
    }

    50% {
        bottom: 180px;
    }

    60% {
        bottom: 180px;
    }

    100% {
        bottom: 0;
    }
}


@keyframes clouds-animation {
    from {
        right: -550px;
    }

    to {
        right: 100%;
    }
}

@media (max-width: 543px) {
    .game-board {
        width: 100%;
        position: fixed;
        height: 100vh;
    }

}

@media (orientation: landscape) {

    .game-board {
        width: 100%;
        position: fixed;
        height: 100vh;

    }

    
}