body {
    font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-size: 10pt;
    margin: 0;
    width: 100vw;
    min-height: 100vh;
}

a {
    color: black;
}

a:hover {
    text-decoration: underline;
}

iframe.header,
iframe.footer {
    border: none;
    width: 100%;
    height: 100%;
    background: darkslategray;
}

body.root {
    display: grid;
    grid-template-rows: 5em 1fr 12em;
    overflow: hidden auto;
}

div.main,
body.header,
body.footer {
    display: grid;
    grid-template-columns: 1fr minmax(auto, 1000px) 1fr;
    overflow: hidden;
}

body.header,
body.footer {
    color: whitesmoke;
    background: darkslategray;
}

div.main {
    background: whitesmoke;
}

header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
    padding: 1em 2em 1em 1em;
}

header section {
    text-wrap: nowrap;
    white-space: nowrap;
}

header img {
    height: 2em;
    vertical-align: middle;
}

header h1 {
    display: inline;
    vertical-align: middle;
    margin: 0 0 0 0.4em;
}

header .button {
    border: 1px solid whitesmoke;
    border-radius: 4px;
    padding: 0.2em 1em;
    margin: 0 0 0 1em;
    font-size: 12pt;
}

main {
    padding: 1em 2em 1em 1em;
}

img.image {
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}

footer {
    display: flex;
    flex-direction: row;
    gap: 2em;

    background: darkslategray;
    color: whitesmoke;
    padding: 2em 2em 1em 1em;
}

footer h2 {
    margin: 0 0 0.5em 0;
}

footer ul {
    margin: 0;
    padding: 0;
}

footer li {
    list-style: none;
    line-height: 2em;
}

header a,
footer a {
    color: whitesmoke;
    text-decoration: none;
}

@media print {

    header,
    footer {
        display: none !important;
    }

    body.root {
        grid-template-rows: 0em 1fr 0em !important;
    }
}