@import url('https://fonts.googleapis.com/css2?family=Junge&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@100..900&display=swap');
@font-face {
    font-family: 'Palatia-Regular';
    src:url('/fonts/Palatia-Regular.ttf.woff') format('woff'),
        url('/fonts/Palatia-Regular.ttf.svg#Palatia-Regular') format('svg'),
        url('/fonts/Palatia-Regular.ttf.eot'),
        url('/fonts/Palatia-Regular.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

@media screen and (min-width: 48rem) {
    main > hgroup {
        background: url('img/logo.svg') left center no-repeat;
        background-size: 313pt;

        text-align: right;
        line-height: 0.9;

        padding-top: 240pt;
        padding-bottom: 80pt;
    }

    main h1 {
        font-size: 94pt;
    }

    #footnotes {
        font-size: large;
    }

    #footnotes > *:first-child {
        font-size: small;
    }

    #footnotes > *:nth-child(2) {
        text-align: center;
        font-size: x-large;
        line-height: 2;
    }

    #footnotes > *:last-child {
        text-align: right;
        line-height: 2.5;
    }

    .center-w {
        text-align: center;
    }

    .col-3 {
        font-size: smaller;
    }

    .framed {
        width: 100%;
        aspect-ratio: 1;

        display: flex;
        overflow: hidden;
        justify-content: center;
        align-items: center;

        border-radius: 3em;
    }

    .framed img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

@media screen and (max-width: 48rem) {
    .framed { display: none; }
    .img-l img { display: none; }

    main > hgroup {
        background: url('img/logo.svg') top center no-repeat;
        background-size: 80vw;

        line-height: 1.2;

        padding-top: 90vw;
    }

    main h1 {
        font-size: 64pt;
    }

    #footnotes {
        font-size: small;
    }
    #footnotes > *:not(:first-child) {
        margin-top: 1rem;
    }
}

body {
    background: #182128 url('parallaximg/space-network.jpg') top center no-repeat;

    color: white;
    font-size: 16pt;
    font-family: "Junge", cursive;
    line-height: 1.8;
}

strong {
    color: red;
}

em, q, blockquote {
    font-style: italic;
}

hr {
    width: 30%;
}

q:before {
    content: '“';
}
q:after {
    content: '”';
}

a, a:hover, a:active, a:visited, dfn {
    color: red;
}

a.block, a.block:hover, a.block:active, a.block:visited {
    color: white;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-family: 'Palatia-Regular', serif;
    font-size: 100pt;
    line-height: 1;
}

h2 {
    font-family: 'Palatia-Regular', serif;
    font-size: 44pt;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Alumni Sans', serif;
    font-size: 28pt;
}

#toolbar {
    font-family: 'Alumni Sans', serif;
    font-weight: 600;
    font-size: xx-large;
    text-transform: uppercase;

    background-color: rgba(24,33,40,0.66);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    box-shadow: #182128 0 6px 6px;

    padding-right: 1em;
}

#toolbar li {
    padding-left: 1em;
}

#toolbar a, #toolbar a:hover, #toolbar a:visited, #toolbar a:active {
    color: white;
}

#toolbar li {
    color: red;
}

#toolbar #logo {
    background: url('img/logo.svg') left center no-repeat;
    background-size: 24pt;
    padding-left: 32pt;
}

hgroup p:not(.usual) {
    font-size: larger;
}

main > hgroup > p:first-of-type {
    font-size: 22pt;
}
main > hgroup > p:last-of-type {
    font-family: 'Palatia-Regular', serif;
    font-size: 29pt;
    font-style: italic;
}

main section p, main article p {
    padding-bottom: 0.5em;
}

main section ul, main hgroup ul {
    list-style: disc outside;
    padding-left: 1em;
}

main article ol {
    list-style: decimal outside;
    padding-left: 2em;
}

main article ol li {
    margin-bottom: 1rem;
}

main article ol li p {
    padding-bottom: 0;
}

#footnotes {
    background-color: rgba(0, 0, 0, 0.2);
}

#footnotes p {
    padding-bottom: 1em;
}

.block {
    display: block;
}

.col-3 h2 {
    font-size: 36pt;
    text-align: center;
}

.shit {
    color: #ba7d51;
}

/* Index */

@media screen and (min-width: 48rem) {
    #values h2, #ethos h2, #keystones h2 {
        aspect-ratio: 1 / 1.3;

        background-position: center bottom 2rem;
        background-repeat: no-repeat;
        background-size: 90%;
    }

    #values h2 {
        background-image: url('img/values.svg');
    }

    #ethos h2 {
        background-image: url('img/ethos.svg');
    }

    #keystones h2 {
        background-image: url('img/concepts.svg');
    }
}

@media screen and (max-width: 48rem) {
    div.col-3 section ~ section {
        margin-top: 2rem;
    }
}
