@font-face
{
    font-family: main-font;
    src: url("./assets/8bitoperator_jve.woff") format("woff");
}

@font-face
{
    font-family: thin-font;
    src: url("./assets/pixeloperator.woff") format("woff");
}

:root
{
    --white: rgb(253, 253, 253);
    --black: rgb(2, 2, 2);
    --lightgrey: rgb(214, 214, 214);
    --grey: rgb(131, 131, 131);
    --darkgrey: rgb(41, 41, 41);
    --primary1: rgb(255, 148, 48);
    --primary2: rgb(204, 120, 41);
    --secondary1: rgb(94, 196, 255);
    --secondary2: rgb(72, 154, 202);
    --accent1: rgb(255, 224, 48);
    --accent2: rgb(201, 204, 41);

    font-family: main-font, monospace;
    font-size: 32px;
    color: var(--white);
}

@media (max-width: 480px) { :root { font-size: 24px; } }
@media (max-width: 320px) { :root { font-size: 20px; } }

body { overflow-x: hidden; } /*If clip is unsupported*/

body
{
    margin: 0;
    background-color: var(--black);
    overflow-x: clip;

    display: flex;
    flex-direction: column;
    align-items: center;
}

h1
{
    font-weight: normal;
    color: var(--primary1);
}

h2
{
    font-weight: normal;
    color: var(--accent1);
}

h1, h2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
p, a, b, i { margin: 0; font-family: thin-font; }

a
{
    text-decoration: underline;
    color: var(--secondary1);
}

a:hover
{
    text-decoration: underline;
    color: var(--secondary2);
}

#strip
{
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: min(calc(100vw - 2rem), 25rem);
}