@font-face {
    font-family: dogicapixel;
    src: url(dogicapixel.ttf);
    font-display: swap;
}

h1 {
    font-family: dogicapixel, monospace;
    font-size: 44px;
    font-weight: bold;
    color: #555;
}

h2 {
    font-family: dogicapixel, monospace;
    font-size: 20px;
    font-weight: bold;
    color: #555;
}

body {
    background-color: rgb(255, 252, 242);
    font-family: dogicapixel, monospace;
    font-size: 12px;
    line-height: 1.5;
    color: #555;
    min-width: 1000px;
    width: 1280px;
}

#hidden {
    display: none;
}

a {
    display: block;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#main {
    display: block;
}

#minecraft, #openttd {
    display: inline-block;
    width: fit-content;
}

button {
    font-family: dogicapixel, monospace;
    border: solid;
    background-color: rgb(255, 235, 204);
    color: #777;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

button:hover {
    background-color: rgb(255, 252, 242);
}

/* Greater than 1024 */
@media (min-width: 1024px) {
    #message {
        width: 1000px;
        padding-right: 10px;
        position: fixed;
    }
}

/* Less than 1024 */
@media (max-width: 1023px) {
    body {
        width: 512px;
        min-width: 512px;
    }

    a {
        display: inline-block;
        text-decoration: none;
    }

    a:hover {
        text-decoration: underline;
    }

    #main {
        text-align: left;
        position: absolute;
        top: -3%
    }
}
