html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    background-color: #ddd;
}

body {
    margin: 0 10px 10px;
}

img,
canvas,
embed,
object,
video {
    max-width: 100%;
}

a {
    color: #00f;
    text-decoration: none;
}

.page {
    width: 640px;
    max-width: 100%;
    margin: 0 auto;
}

.textAlignCenter {
    text-align: center;
}

/* Header */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo {
    font-size: 28pt;
}

.header-nav {
    font-size: 20pt;
    color: #888;
}

/* Navigation */

.nav {
    color: #888;
    font-size: 20pt;
}

.nav2 {
    margin-top: 15px;
    font-size: 18pt;
}

.navLink {
    padding: 0 5px;
}

.navLinkHilite {
    background-color: #305eff;
}

a.navLinkHilite {
    color: #fff;
}

/* Main content */

.homeTagline {
    margin-top: 25px;
    font-size: 22pt;
    font-weight: normal;
    color: #888;
}

canvas {
    width: 100%;
    max-width: 640px;
}

.resource-links {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.resource-card {
    width: 300px;
    text-align: center;
}

.resource-card figure {
    margin: 0;
}

.logo4 {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.logo5 {
    width: 300px;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.resource-card figcaption {
    margin-top: 10px;
}

/* Footer */

.footer {
    margin-top: 15px;
    font-size: 10pt;
    color: #aaa;
}

.attribution {
    margin-top: 15px;
    font-size: 9pt;
    color: #aaa;
}

.paleLink,
a.paleLink {
    color: #99f;
}

/* Legacy / other pages */

.logo3 {
    vertical-align: super;
    font-size: 70%;
}

.contact {
    margin-top: 25px;
    font-size: 11pt;
}

.pictureSpacingMargin {
    margin-left: 20px;
}

/* Mobile */

@media screen and (max-width: 426px) {
    .site-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .site-brand {
        justify-content: center;
    }

    .header-logo {
        width: 45px;
        height: 45px;
    }

    .logo {
        font-size: 22pt;
    }

    .header-nav {
        font-size: 18pt;
    }

    .nav {
        font-size: 18pt;
    }

    .nav2 {
        font-size: 16pt;
    }

    .logo4 {
        height: 120px;
    }
}