@keyframes bg {
    0% {
        background: #000;
        color: #0f0;
    }
    25% {
        background: #000;
        color: #0f0;
    }
    75% {
        background: #aa2222;
        color: #fff;
    }
    100% {
        background: #aa2222;
        color: #fff;
    }
}

@keyframes speech {
    0% {
        top: 20%;
    }
    49% {
        top: 20%;
    }
    50% {
        top: 25%;
    }
    100% {
        top: 25%;
    }
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: monospace;
    font-weight: bold;
    animation: bg 2s infinite alternate;
}

.wrap {
    min-height: 100vh;
    /* padding: 2rem 1rem; */
    display: flex;
    align-items: center;
    flex-direction: column;
}

.title-wrap {
    display: flex;
}

.content-split {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ingame {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.offgame {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

#title {
    position: relative;
    font-size: 1rem;
}

#title::after {
    position: absolute;
    right: -100%;
    top: 20%;
    content: "HA HA HA EAT SHIT";
    animation: speech 1s infinite alternate;
}

.message.header {
    font-size: 2rem;
    padding: 1.5rem .5rem;
}

.message.box {
    font-size: 1.3rem;
    text-align: center;
    width: 70%;
    line-height: 2rem;
}

.off-game-info {
    /* position: absolute;
    bottom: 10px; */
    cursor: pointer;
}

@media only screen and (max-width: 1000px) {
    .message.box {
        font-size: 1.2rem;
        text-align: center;
        width: 80%;
        line-height: 2rem;
    }

    #title::after {
        right: -50%;
    }
}

@media only screen and (max-width: 600px) {
    .message.box {
        font-size: 1rem;
        text-align: center;
        width: 90%;
        line-height: 2rem;
    }

    #title::after {
        display: none;
    }
}
