html, body {
    color: silver;
    background: purple;
    margin: 0;
    padding: 0;
    font-family: monospace, mono, fixed;
    background-image: linear-gradient(to bottom, #0000, purple, #0000),
                      linear-gradient(to bottom right, blueviolet, #3333, darkviolet),
                      url("/img/checker.jpg");
    background-attachment: fixed;
    background-size: cover;
}
h1 {
    background-image: linear-gradient(to bottom, #4088, #000a);
}
h1, h2, h3 {
    margin: 0;
    padding: 0.25em 0.5em;
    color: pink;
}
h1 img, h2 img, h2 img {
    height: 2em;
}
h1 {
    font-size: max(3vw, 15pt);
}
.center {
    text-align: center;
}
#navbar {
    background: black;
}
#navbar a {
    font-size: 125%;
}
a {
    color: orange;
    transition: color 0.25s, transform 0.25s, border-bottom 0.25s,
                margin 0.25s, padding 0.25s;
}
a:hover {
    color: gold;
}
a.nav {
    text-decoration: none;
    display: inline-block;
    /*transform: scale(85%);*/
    padding: 0;
    margin: 0 0.5em;
    border-bottom: thick solid black;
}
a.nav:hover {
    transform: scale(100%);
}
a.nav.current {
    color: white;
    border-bottom: thick solid purple;
    padding: 0 1em;
}

@keyframes rock {
    0% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(-5deg);
    }
}
.merch {
    text-decoration: none;
    display: inline-block;
    background: #fff3;
    padding: 0.5em 1em;
    border: thick dashed pink;
    margin: 0.5em;
    animation: 1s ease-in-out alternate infinite rock;
    backdrop-filter: blur(0.5em);
}
.merch img {
    height: 4em;
    vertical-align: middle;
    opacity: 0.85;
    transition: transform 0.25s, filter 0.25s, opacity 0.25s;
}
.merch:hover img {
    opacity: 1;
    transform: scale(120%);
    filter: brightness(1.2);
}

#page {
    margin-bottom: 3em;
}
#bottombar {
    background: black;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5em;
}
.flex {
    display: flex;
}
.flex > * {
    flex: 1;
}

img {
    max-width: 90%;
}
form {
    background: #0008;
    display: inline-block;
    text-align: left;
    padding: 1em;
    margin: 1em;
    border-radius: 1em;
}
form input, form textarea {
    font-size: 14pt;
    width: 15em;
}
form textarea {
    height: 4em;
}
form button {
    font-size: 14pt;
    padding: 0 1em;
}
form input.mini {
    width: 7em;
}
form input[type=checkbox] {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}
.picker label {
    padding: 1em;
    line-height: 2em;
    color: silver;
    background: #0008;
    border-radius: 1em 1em 0 0;
}
iframe {
    display: inline-block;
    position: absolute;
    left: 1em;
    right: 1em;
    margin: auto;
    height: calc(100% - 14em);
    width: 85%;
    max-width: 800px;
}

.blog_section {
    background: #0008;
    color: white;
    margin: 1em;
}
.blogpost {
    padding-bottom: 1em;
}
.blogpost>h2>a.close {
    float: right;
}
.blogpost>p, .blogpost>div {
    margin: 0.5em 1em;
}
.blogpost img {
    max-width: 85%;
    height: auto;
}
.byline {
    font-style: italic;
    font-size: 85%;
    margin-left: 0.5em;
}
ul.blogsummary {
    list-style: none;
    padding: 1em 0;
}
ul.blogsummary li {
    padding: 0 0.5em 0.5em 0.5em;
}
ul.blogsummary li div {
    display: inline-block;
    width: calc(100% - 4em);
    vertical-align: middle;
}
ul.blogsummary li div div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
ul.blogsummary li .thumbnail {
    /*background-color: #333;*/
    background-repeat: no-repeat;
    background-size: cover;
    width: 3em;
    height: 3em;
    padding: 0;
    margin-right: 0.5em;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    width: 100dvw;
    height: 100%;
    height: 100dvh;
    background: #0008;
    backdrop-filter: blur(0.1em);
    margin: 0;
    padding: 0;
    z-index: 10;
    display: table;
    -webkit-user-select: none; /* Safari */
    user-select: none;
    cursor: pointer;
}
.lightbox .closebtn, .lightbox .prevbtn, .lightbox .nextbtn {
    position: absolute;
    font-size: 400%;
    color: white;
    cursor: pointer;
    text-decoration: none;
}
.lightbox .closebtn {
    top: 0.25em;
    right: 0.25em;
}
.lightbox .middle {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    background: white;
    border: thick solid white;
    box-shadow: 0 0.5em 2em black;
}


.fade {
    transition: opacity 0.5s;
}
.fade.out {
    opacity: 0;
}
.hidden {
    display: none;
}
