@-ms-viewport{ width: device-width; }

html {
    /* changes the box model so height/width include padding and border */
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    /* these should really be in body, but iOS sucks... */
    font-size: 18px;
    background-color: #222222; 
    color: #ffffff;
    -webkit-text-size-adjust: 100%;
}

main {
    font-family: "body", serif;
    margin: 0 10vw;
}

ul {
    list-style: none;
    margin-top: 0;
}

p { margin-top: 0; }

header img {
    position: relative;
    top: 12px;
}

h1, h2 {
    font-family: "title", serif;
    color: var(--base-purple);
}

h1 {
    display: inline-block;
    margin-top: 0;
}

h2 {
    margin-bottom: 4px;
    font-size: 22px;
}

a, a:link, a:visited {
    color: var(--comp-green);
    text-decoration: none;
}
a:hover, a:focus {
    color: var(--a-pink);
    text-decoration: underline;
}
a:active {
    color: var(--a-blue);
    text-decoration: underline;
}

footer {
    margin-top:36px;
}

@media (min-width: 768px) {
    main {
        max-width: 400px;
        margin-left: 10vw;
    }
}

@media (min-height: 900px) {
    footer {
        position: fixed;
        bottom: 12px;
    }
}

