:root {
    --white: #fff;
    --black: #1c2b2d;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 10px;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--black);
}
p {
    margin: 10px;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #fff;
}
.container {
    background: url(images/forest1.gif) center no-repeat;
    position: relative;
    overflow: hidden;
}
.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0.4);
}
.game {
    width: 500px;
    height: 200px;
    border-bottom: 3px solid #fff;
    margin: auto;
}
.hero {
    width: 20px;
    height: 50px;
    position: relative;
    top: 150px;
    left: 20px;
    z-index: 1;
}
.animate {
    animation: jump 0.3s linear;
}
@keyframes jump {
    0% {
        top: 150px;
    }
    30% {
        top: 100px;
    }
    50% {
        top: 60px;
    }
    70% {
        top: 100px;
    }
    100% {
        top: 150px;
    }
}
.vilan {
    width: 20px;
    height: 20px;
    position: relative;
    top: 115px;
    left: 450px;
    z-index: 1;
    /* animation: move 1s infinite linear; */
}
@keyframes move {
    0% {
        left: 480px;
    }
    100% {
        left: -20px;
    }
}