html, body, div {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body, #root {
    background: white;
    width: 100%;
}

body { overflow-y: scroll; }

#root {
    display: grid;
    grid-template-rows: min-content 1fr min-content;
    min-height: 100vh;
}

html, body {
    color: white;
    color: black;
    font-family: "Verdana", sans-serif;
    font-size: 13.3px;
}

h1 { font-size: 2rem; margin-top: 1.3rem; margin-bottom: 1.3rem; }
h2 { font-size: 1.5rem; margin-top: 1.2rem; margin-bottom: 1.2rem; }
p, ul { margin-top: 1rem; margin-bottom: 1rem; }
a { color: #000040; }
a:visited { color: #000080; }
a:hover { color: #0000ff; }
.selflink { font-weight: bold; }

h1 { border-bottom: 1px solid #adf; }

.content-width {
    max-width: 1000px;
    padding: 0 4rem;
    margin: 0 auto;
}

.scrshot-thumb { width: 23rem; }
.scrshot-big { max-width: 100%; }

.two-columns {
    display: grid;
    grid-template-columns: auto max-content;
    grid-gap: 2rem;
}

/* Header */

.page-header {
    position: sticky;
    top: 0px;
    z-index: 100;
    background: #acdcff;
    overflow: hidden;
    border-bottom: 0.07rem solid black;
}
@media (max-height: 700px) {
    .page-header { position: static; }
}

.page-header-logo {
    background: #deedff;
    border-bottom: 0.07rem solid black;
    font-size: 2.5rem;
    font-style: italic;
    font-weight: bold;
    text-align: right;
    padding: 0.4rem 0;
}

.page-header a, .page-header a:visited {
    color: black;
    text-decoration: none;
}

.page-header-menu .breadcrumbs > * {
    white-space: nowrap;
    display: inline-block;
}
.page-header-menu .breadcrumbs .wikilink, .page-header-menu .breadcrumbs .selflink {
    display: inline-block;
    padding: 0.2rem 0.9rem;
    margin: 0.3rem 0.5rem;
}
.page-header-menu .breadcrumbs .wikilink:hover {
    background: white;
}

/* Footer */

.page-footer {
    min-height: 6rem;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* flex-direction: column; */
}

.page-footer > * { padding: 0.5rem 1rem; }
.page-footer a, .page-footer a:visited { color: #6e6e6e; }
.page-footer .selflink { color: #9d9d9d; font-weight: normal; }

/* Side shades */

.sideshade {
    position: fixed;
    background: #9d9d9d;
    opacity: 0.23;
    top: 0;
    bottom: 0;
    z-index: 999;
    width: calc(50% - 500px - 2rem);
}
.sideshade.left { left: 0; }
.sideshade.right { right: 0; }

/* Smaller screens */

@media (max-width: 749.9px) {
    .content-width { padding: 0 2rem; }
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.3rem; }
    .page-header-menu .breadcrumbs .wikilink, .page-header-menu .breadcrumbs .selflink {
        padding: 0.2rem 0.7rem;
        margin: 0.15rem 0.3rem;
    }
    .scrshot-thumb { width: 100%; max-width: 30rem; }
    .two-columns { display: block; }
}
@media (max-width: 354.9px) {
    html, body { font-size: 12px; }
    .content-width { padding: 0 1rem; }
    .scrshot-thumb { width: 100%; }
}
