body {
    display: flex;
    min-height: 100vh;
}

.layout {
    display: flex;
    width: 100%;
}

.sidebar {
    flex: 0 0 16%;
    padding: 20px;
    align-self: flex-start;
}

.sidebar-title {
    display: block;
    border-bottom: 1px dotted #808080;
    margin-bottom: 0.25em;
    font-size: 110%;
    font-weight: 700;
}
.sidebar-subtitle {
    color: #676767;
    font-size: 90%;
    margin-bottom: 1em;
}

.content {
    flex: 0 0 74%;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: var(--bg);
}

.side-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}
.side-tree,
.side-tree ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.side-tree ul {
    margin-left: 0.8em;
}
.side-tree summary {
    cursor: pointer;
    user-select: none;
}
.side-tree summary::marker {
    color: #676767;
}
.side-tree .dir {
    margin-top: 0.3em;
}

.side-nav li {
    margin-top: 0.3em;
}

.side-nav .d1 { margin-left: 0.5em; }
.side-nav .d2 { margin-left: 1em; }
.side-nav .d3 { margin-left: 1.5em; }
.side-nav .d4 { margin-left: 2em; }

.side-nav a {
    text-decoration: none;
}

.side-nav a.thisPage {
    font-weight: 700;
    text-decoration: underline;
}

.sidebar-powered {
    margin-top: 1.25em;
    padding-top: 0.75em;
    border-top: 1px dotted #808080;
    color: #676767;
    font-size: 90%;
}

@media (max-width: 900px) {
    body, .layout {
        flex-direction: column;
    }

    .sidebar,
    .content {
        flex: 0 0 auto;
        width: 100%;
    }

    .content {
        box-shadow: none;
        margin-bottom: 0;
    }
}

html,
body {
    --shrub-page-bg: url('/images/camo.png');
    min-height: 100%;
    background-color: #000000;
    background-image: var(--shrub-page-bg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

body,
body * {
    color: #ffeb3b;
    font-family: "Times New Roman", Times, serif;
}

a,
a:visited,
a:hover,
a:active,
nav a,
header a {
    color: #ffeb3b;
}

a:hover,
a:focus,
a:hover *,
a:focus *,
nav a:hover,
nav a:focus,
nav a:hover *,
nav a:focus *,
header a:hover,
header a:focus,
header a:hover *,
header a:focus * {
    background: #ffeb3b;
    color: #2f3b12;
}

header,
footer,
nav,
article,
blockquote {
    background: transparent;
}

.sidebar-title,
.sidebar-subtitle {
    color: #ffeb3b;
}

.sidebar,
.content {
    background: transparent;
    box-shadow: none;
}

blockquote {
    border-left: 2px solid #ffeb3b;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, max-content));
    gap: 12px;
    align-items: center;
    justify-content: start;
    margin-top: 1rem;
}

.button-grid__item {
    display: inline-flex;
    padding: 6px;
    border: 1px solid #ffeb3b;
    background: rgba(0, 0, 0, 0.35);
    line-height: 0;
}

.button-grid__item img {
    display: block;
    width: 88px;
    height: 31px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}
