
body{
background: #053257;
background: radial-gradient(circle,rgba(5, 50, 87, 1) 24%, rgba(242, 141, 90, 1) 57%, rgba(227, 213, 107, 1) 75%);
background-size: 400% 400%;
animation: daynightcyle 90s ease infinite;
max-height: 100vh;
overflow-y: hidden;
overflow-x: hidden;
margin:0; 
}

@keyframes daynightcyle{
    0%{
        background-position: 0% 30%;
    }

    25%{
        background-position:75% 50% ;
    }

    50% {
        background-position: 100% 70%;
    }

    75%{
        background-position:75% 50% ;
    }

   100% {
    background-position: 0% 30%;
   } 

}

#landscape{
    background-image: url("images/Backgroundnummer3.png");
    height: 100vh;
    width: 100% ;
    background-size: cover;
    background-repeat: repeat-x;
    animation: slidetotheright 60ms infinite linear;
    background-position: 0%;
}

/* @keyframes slidetotheright {
0%{
    background-position: 0%;
}

 100%{
    background-position: 1000%;
} 
} */




img#Startlandscape{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
}
.player {
    background-image:url("images/character\ Gif.gif ") ;
    height: 80px;
    width: 80px;
    /* dit is de grootte van je charachter*/
    position: absolute;
    bottom: 0;
}

.obstacle {
 background-image:url("images/Fence\ Obstacle.png");
 height: 32px;
 width: 32px;
 position: absolute;
 bottom: 0;
}

.score{
    position: absolute;
    top:20px;
    margin-left: 700px;
    font-size: xx-large;
    font-weight: bold;
    color: #7e7979;
    align-items: center;
}

.popup {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0, 0, 0, 0.6);
justify-content: center;
align-items: center;
}

.popup-content {
background: #ceeeeca0;
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
padding: 20px;
border-radius: 5px;
text-align: center;
}

.popup:target {
display: flex;
}

    .button{
        position: absolute;
  margin-top: 290px; 
  margin-left: 550px;
  padding:40px 60px; 
  background-color: #94e9cb69; 
   border-radius: 20px;
   font-size: xx-large;
   font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
   font-weight: bold;

    }
    .Fontcolor{
        color: #ffffffc9;
        text-align: center;
        text-decoration: none;
        display: inline-block;
    }
    .spacebar-instruction{
        color: rgba(45, 45, 45, 0.801);
        font-size: small;
        text-decoration: none;
    }
