body {
    background-color: Yellow;
    border: 2px solid Black;
    border-radius: 16px;
    font-family: verdana;
    margin-left: auto;
    margin-right: auto;
    max-width: 1560px;
    min-width: 256px;
    padding: 24px;
    color: #111111;
    text-align: center;
}
html {
    background-image: linear-gradient(to left, red,orange,yellow,green,blue); 
}
nav ul {
    list-style-type: none;
    background-color: #B577B5;
    border: 4px solid #111111;
    border-radius: 10px;
    font-family: verdana;
    font-weight: bold;
    padding: 16px;
}
nav ul li {
    display: inline;
    border-right: 2px solid #111111;
    padding-right: 8px;
    padding-left: 8px;
}
nav ul li:last-child {
    border-right: none;
}
nav ul li a {
    text-decoration: none;
    color: #111111;
}
nav .selected {
    color:#606060;
}
nav li a:hover {
    text-decoration: underline;
}
img {
    border: 2px solid #111111;
    border-radius: 16px;
}
.game{
    width: 500px;
    height: 200px;
    border: 1px solid black;
    margin: auto;
}
#character{
    width: 20px;
    height: 50px;
    background-color: red;
    position:relative;
    top: 150px;
}
.animate{
    animation: jump 0.3s linear;
}
@keyframes jump{
    0%{top: 150px;}
    30%{top: 100px;}
    70%{top: 100px;}
    100%{top: 150px;}
}

#block{
    background-color: blue;
    width: 20px;
    height: 20px;
    position: relative;
    top: 130px;
    left: 500px;
    animation: block 1s infinite linear;
}
@keyframes block{
    0%{left: 500px}
    100%{left: -20px}
}
p{
    text-align: center;
}