@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

h1 {
    font-family: 'Roboto Mono', monospace;
    font-weight: lighter;
    color: #1a1c2c;
}

body {
    background-color: #181425;
    color: #1a1c2c;
    font-family: 'Roboto Mono', monospace;
    font-weight: normal;

    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
}

footer {
    font-family: arial;
    font-size: 12px;
    padding-left: 10px;
    position:absolute;
    bottom: 0;
    width: 100%;
}

#game {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* the canvas *must not* have any border or padding, or mouse coords will be wrong */
#canvas {
    padding: 0;
    display: block;
    border: 0px solid #1a1c2c;
    visibility: hidden;
    width: 100vw;
    height: 100vh;
}

#loadingCanvas {
    position: absolute;
    top: 0;
    left: 0;

    min-width: 100vw;
    min-height: 100vh;
    width: 100vw;
    height: 100vh;

    background-image: url(../splash.png);
    background-color: #242424;
    background-position: center;
    background-repeat: no-repeat;
}
button {
    background-color: #1a1c2c;
    color: #181425;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 16px 8px;
    font-size: 14px;
    cursor: pointer; 
}

footer {
    max-width: 90vw;
}
