* {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: "Arcade";
    src: url("./ARCADECLASSIC.TTF") format("truetype");
    font-style: normal;
    font-weight: 400;
}

.page {
    background-color: #00ace6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 100%;
}

.game {
    width: 500px;
    height: 200px;
    border: 1px solid white;
    background-color: #00ace6;
}

.character {
    width: 20px;
    height: 50px;
    background: url(./images/Weezer\ bolt.png);
    position: relative;
    top: 150px;
}

.animate {
    animation: jump 500ms;
}

.block {
    width: 20px;
    height: 20px;
    background: url(./images/Weezer\ W.png);
    position: relative;
    top: 130px;
    left: 480px;
    animation: block 1s infinite linear;
}

.title {
    font-family: 'Arcade', Arial, sans-serif;
    color: #ffffff;
    font-weight: 400;
    font-size: 200px;
    line-height: 22px;
    margin: 50px auto 25px;
}

.middletitle {
    font-family: 'Arcade', Arial, sans-serif;
    color: #ffffff;
    font-weight: 400;
    font-size: 50px;
    line-height: 22px;
    margin: 50px auto 50px;
}

.subtitle {
    font-family: 'Arcade', Arial, sans-serif;
    color: #ffffff;
    font-weight: 400;
    font-size: 75px;
    line-height: 21px;
    margin: 0 auto 25px;
}

@keyframes block {
    0% {
        left: 480px;
    }
    100% {
        left: -40px;
    }
}

@keyframes jump {
    0% {
        top: 150px;
    }
    30% {
        top: 100px;
    }
    70% {
        top: 100px;
    }
    100% {
        top: 150px;
    }
}