@font-face {
    font-family: 'Michroma';
    src: url('fonts/michroma-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vollkorn';
    src: url('fonts/vollkorn-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vollkorn';
    src: url('fonts/vollkorn-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/*  */

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-weight: 400;
    background-color: #111111;
    color: #e3ffffee;
    margin: 0;
    height: 100vh;
    transition: 0.2s;
}

body.dark-mode {
    font-weight: 450;
    transition: 0.3s;
}

#navbar ul {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    background-color: #212121;
    position: fixed;
    top: 0;
    width: 100vw;
    box-shadow: 0 2px 12px #010101;
    z-index: 1;
}

#navbar li {
    display: block;
    float: left;
    background-color: #212121;
    position: relative;
    margin: 0;
}

#navbar li a {
    display: block;
    height: 1em;
    font-weight: bold;
    color: #e3ffff;
    text-decoration: none;
    text-align: center;
    margin: 0;
    padding: 1em;
    cursor: pointer;
}

#navbar li a:hover {
    background-color: #225744;
}

#navbar li a:active {
    background-color: #225744cc;
}

#menu ul {
    position: absolute;
    display: none;
    padding: 0;
    width: inherit;
    top: unset;
}

#menu ul li {
    float: left;
    border-top: 2px solid #111111;
    width: 100%;
    white-space: nowrap;
}

#menu ul a {
    display: block;
    padding: 0.5em 0.9em;
    color: #e3ffff;
    text-align: left;
}

#navbar li.float-right {
    float: right;
}

#dark-button {
    float: inline-end;
    display: block;
    background-color: #111111;
    color: #708080;
    text-decoration: none;
    margin: 0 15px 0 0;
    height: 48px;
    width: 84px;
    border: 1px solid #708080;
    cursor: pointer;
}

#dark-button:hover {
    background-color: #313131;
    color: #e3ffff;
    border: 1px solid #e3ffff;
    box-shadow: 0 0 5px #e3ffff;
}

.dark-mode {
    background-color: #f5f5f5;
    color: #111111;
    transition: 0.3s;
}

div#spacer {
    height: 40px;
}

div#banner {
    background-color: #227744;
    background-image: url(./images/48005363111_98faba9383_k.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 10px;
    max-width: 100%;
    height: auto;
}

div#bannerRed {
    background-color: #a73322;
    background-image: url(./images/54118670022_245cec3bcb_k.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 10px;
    max-width: 100%;
    height: auto;
}

header h1 {
    font-family: 'Michroma', Arial, sans-serif;
    color: #e3ffff;
    font-size: 30pt;
    letter-spacing: 0.25em;
    text-shadow: 0 0 2px #e3ffff, 3px 2px #111111;
    text-align: center;
}

main {
    box-sizing: border-box;
    line-height: 2rem;
    font-size: larger;
    text-align: justify;
    padding: 0.5em 17vw;
}

main a:link,
main a:visited {
    color: #227744;
    text-decoration: none;
}

main a:hover,
main a:active {
    color: #22a544;
    text-decoration: underline;
}

main.red details>summary {
    color: #a73322;
}

main.red a:link,
main.red a:visited {
    color: #a73322;
    text-decoration: none;
}

main.red a:hover,
main.red a:active {
    color: #d53322;
    text-decoration: underline;
}

.polaroid {
    display: flex;
    flex-flow: row wrap;
    column-gap: 10px;
    justify-content: space-around;
    align-items: center;
    color: #111111;
}

.polaroid>div {
    padding: 10px;
    padding-top: 15px;
    margin: 15px 0;
    background-color: #f5f5f5;
    box-shadow: 0 0 12px #111111;
    text-align: center;
    width: 250px;
    height: 300px;
    max-width: 250px;
    max-height: 300px;
    object-fit: contain;
}

.polaroid>div>img,
.polaroid>div>a img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    background-color: #212121;
}

.polaroid h4 {
    transform: translateY(-60%);
}

sup {
    line-height: 0;
    vertical-align: super;
}

.center {
    text-align: center;
}

.center img {
    max-width: 85vw;
    max-height: 85vh;
    box-shadow: 0 0 12px #111111;
}

.gray {
    opacity: 50%;
}

details div.gray {
    padding: 0 2em;
}

details div.gray a {
    color: inherit;
}

table {
    margin: 0.5em 0;
}

details table,
th,
td {
    border: 1px solid;
    border-collapse: collapse;
    padding: 0.2em 0.5em;
}

div.tableContainer {
    display: flex;
    flex-flow: row wrap;
    gap: 1em 4em;
    color: inherit;
}

span>small {
    font-size: 8pt;
}

video {
    width: 720px;
    height: auto;
    max-width: 85vw;
    max-height: 85vh;
    background-color: #212121;
    border: 1px solid #010101;
    box-shadow: 0 0 12px #111111;
}

summary {
    user-select: none;
    cursor: pointer;
    color: #227744;
}

summary.heading {
    color: #e3ffffee;
    transition: 0.2s;
}

summary:has(h3) {
    list-style: none;
}

summary:has(h3)::marker {
    display: none;
}

.dark-mode summary.heading {
    color: #111111;
    transition: 0.3s;
}

ul.bulletless {
    user-select: text;
    list-style-type: none;
}

.gallery {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    gap: 5px 15px;
    padding: 5px;
}

.gallery img.selected {
    opacity: 1;
}

.gallery>div>a img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    box-shadow: 0 0 9px #111111;
    background-color: #212121;
    opacity: 0.5;
    transition: 0.2s;
}

.dark-mode .gallery>div>a img {
    background-color: #dedede;
    transition: 0.3s;
}

.gallery img:hover:not(img.selected) {
    opacity: 1;
}

hr {
    border: 1px solid;
    color: inherit;
    width: 100%;
}

hr.invis {
    border: 1px rgba(0, 0, 0, 0);
    color: rgba(0, 0, 0, 0);
}

.info {
    max-width: 100%;
    padding: 1em;
    margin: 0;
    background-color: #212121;
    color: #e3ffff;
    font-style: normal;
    font-weight: 400;
    font-size: 17pt;
    text-align: center;
    transition: 0.2s;
}

.dark-mode .info {
    background-color: #dedede;
    color: #111111;
    transition: 0.3s;
}

.info span {
    color: #22a544;
}

.vollkorn {
    font-family: 'Vollkorn', 'Times New Roman', Times, serif;
}

footer {
    max-width: 100vw;
    padding: 0.8em;
    margin: 0;
    margin-top: auto;
    font-weight: 400;
    background-color: #212121;
    color: #e3ffff;
    text-align: center;
    letter-spacing: -0.01em;
}

footer a:link,
footer a:visited {
    color: #e3ffff;
    text-decoration: none;
}

/*  */

@media screen and (max-width: 768px) {
    main {
        padding: 0.5em 3%;
    }
}

@media screen and (max-width: 600px) {
    #menu ul a {
        padding: 1em 0.55em;
    }

    #dark-button {
        margin: 0;
        width: 72px;
        font-size: 9pt;
    }

    header h1 {
        font-size: 20pt;
    }

    footer {
        padding: 1.8em;
        font-size: x-small;
    }
}

@media print {
    div#spacer {
        display: none;
    }

    div#banner {
        padding: 0;
    }

    header h1 {
        font-size: 20pt;
        text-shadow: none;
    }

    #navbar {
        display: none;
    }

    main,
    footer {
        padding: 0.5em 3%;
        color: black;
    }

    div.center>img {
        width: 66%;
        height: auto;
        box-shadow: none;
    }

    span.gray small {
        display: none;
    }

    div.center h5,
    div.gallery {
        display: none;
    }
}

/*  */