*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    user-select:none;
}
body{
    margin-top:10%;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
}

/*trava o scroll global da página*/
body {
    overflow: hidden;
}

.tela{
    position: relative;
    width:70%;
    height:500px;
    border:1px solid #ccc;
    overflow: hidden;
    background: rgb(0,74,219);
    background: linear-gradient(180deg, rgba(0,74,219,1) 0%, rgba(217,241,247,1) 100%);
    border-bottom: 18px solid green;
    /* 
    IMAGE PISO***
    border-bottom: 18px solid transparent;
    padding-bottom: 10px;
    border-image: url(../styleSheet/faze1.png) 40% round; */
}

.ponto{
    font-size:16px;
    color:yellow;
    padding:10px 20px;
    display:inline-block;
    background-color:#000; 
}

.TelaGameOver{
    position: absolute;
    left:0;
    top:0;
    display:none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index:10;
    width:100%;
    height:100%;
    background-color: rgb(0, 0, 0);
}

.TelaGameOver h1{
    font-size:50px;
    color:#fff;
}

.TelaGameOver .pontuacao{
    margin-top:20px;
    font-size:18px;
    color:yellow;
}

button.Start{
    padding:10px 25px;
    margin-top:20px;
    color:#fff;
    background-color: #f00;
    border:none;
    border-radius:15px;
    outline:none;
    cursor:pointer;
}
button.Start:hover{
    box-shadow:0 0 5px 5px rgba(203, 0, 0,0.5);
}

.nuvem1{
    position: absolute;
    top:-10px;
    right:0;
    width:500px;
    height:280px;
    animation: nuvem 8s infinite linear;
}

@keyframes nuvem{
    from{
        right:-80px;
    }
    to{
        right:100%;
    }
}


.espinho{
    width:50px;
    position:absolute;
    bottom:0;
    animation: animateEspinhos 2s infinite linear;
}

@keyframes animateEspinhos{
    from{
        right:-80px;
    }
    to{
        right:100%;
    }
}

.player{
    position:absolute;
    bottom:0;
    left:20px;
    width:80px;
}

.player.jump{
    position:absolute;
    bottom:0;
    left:20px;
    width:80px;
    animation: jump 500ms ease;   
}

@keyframes jump {
    0%{
        left:20px;
        bottom:0px;
    }
    50%{
        right:20px;
        bottom:80px;
    }
    100%{
        left:20px;
        bottom:0px;
    }
}

.inimigo{
    position: absolute;
    right:80px;
    top: 80px;
    width:200px;
}

.debug-box{
    position: absolute;
    border: 2px solid red;
    pointer-events: none;
    z-index: 999;
}

.player.jump{
    animation: jump 500ms ease;
}

@keyframes jump {
    0%{
        bottom: 0px;
    }
    50%{
        bottom: 120px;
    }
    100%{
        bottom: 0px;
    }
}