#dropdownButton {
    cursor: pointer;
    border: 0;
    background-color: transparent;
    color: white;
    font-size: 20px;
    padding: 6px 10px;
    margin-left: -12px;
}

.dropdownMenu {
    background-color: var(--dark-background);
}

@media (min-width:801px) {
    #dropdownButton {
        margin-left: 0px;
    }
}

@media (max-width:801px) {
    .dropdown {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        position: relative;
        z-index: 100;
    }

    .dropdown.dropdown-open .dropdownMenu li {
        display: block;
    }

    .dropdownMenu {
        position: absolute;
        display: none;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: -1;
        animation: growDown 100ms ease-in-out forwards;
        transform-origin: top center;
    }

    .dropdownMenu li {
        display: block;
        opacity: 1;
    }

    .dropdown.dropdown-open .dropdownMenu {
        display: block;
    }

    @keyframes growDown {
        0% {
            transform: scaleY(0);
        }

        100% {
            transform: scaleY(1);
        }
    }
}


footer {
    background-color: var(--dark-background);
    margin: 0;
    color: white;
    font-size: 0.8rem;
    line-height: 1.2rem;
    display: flex;
}

footer>.container {
    flex-direction: column;
}

footer>.container>div:first-child {
    flex-grow: 1;
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer a {
    color: white;
}

@media (min-width:801px) {
    footer>.container {
        flex-direction: row;
    }
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/Light/OpenSans-Light.woff2) format("woff2"), url(../fonts/Light/OpenSans-Light.woff) format("woff");
    font-weight: 300;
    font-style: normal
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/LightItalic/OpenSans-LightItalic.woff2) format("woff2"), url(../fonts/LightItalic/OpenSans-LightItalic.woff) format("woff");
    font-weight: 300;
    font-style: italic
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/Regular/OpenSans-Regular.woff2) format("woff2"), url(../fonts/Regular/OpenSans-Regular.woff) format("woff");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/Italic/OpenSans-Italic.woff2) format("woff2"), url(../fonts/Italic/OpenSans-Italic.woff) format("woff");
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/SemiBold/OpenSans-SemiBold.woff2) format("woff2"), url(../fonts/SemiBold/OpenSans-SemiBold.woff) format("woff");
    font-weight: 600;
    font-style: normal
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/SemiBoldItalic/OpenSans-SemiBoldItalic.woff2) format("woff2"), url(../fonts/SemiBoldItalic/OpenSans-SemiBoldItalic.woff) format("woff");
    font-weight: 600;
    font-style: italic
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/Bold/OpenSans-Bold.woff2) format("woff2"), url(../fonts/Bold/OpenSans-Bold.woff) format("woff");
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/BoldItalic/OpenSans-BoldItalic.woff2) format("woff2"), url(../fonts/BoldItalic/OpenSans-BoldItalic.woff) format("woff");
    font-weight: 700;
    font-style: italic
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/ExtraBold/OpenSans-ExtraBold.woff2) format("woff2"), url(../fonts/ExtraBold/OpenSans-ExtraBold.woff) format("woff");
    font-weight: 800;
    font-style: normal
}

@font-face {
    font-family: "Open Sans";
    src: url(../fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff2) format("woff2"), url(../fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff) format("woff");
    font-weight: 800;
    font-style: italic
}


pre code.hljs {
    display: block;
    overflow-x: auto;
    padding: 1em
}

code.hljs {
    padding: 3px 5px
}

/*!
  Theme: GitHub Dark Dimmed
  Description: Dark dimmed theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Colors taken from GitHub's CSS
*/
.hljs {
    color: #adbac7;
    background: #22272e
}

.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
    /* prettylights-syntax-keyword */
    color: #f47067
}

.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
    /* prettylights-syntax-entity */
    color: #dcbdfb
}

.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
    /* prettylights-syntax-constant */
    color: #6cb6ff
}

.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
    /* prettylights-syntax-string */
    color: #96d0ff
}

.hljs-built_in,
.hljs-symbol {
    /* prettylights-syntax-variable */
    color: #f69d50
}

.hljs-comment,
.hljs-code,
.hljs-formula {
    /* prettylights-syntax-comment */
    color: #768390
}

.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
    /* prettylights-syntax-entity-tag */
    color: #8ddb8c
}

.hljs-subst {
    /* prettylights-syntax-storage-modifier-import */
    color: #adbac7
}

.hljs-section {
    /* prettylights-syntax-markup-heading */
    color: #316dca;
    font-weight: bold
}

.hljs-bullet {
    /* prettylights-syntax-markup-list */
    color: #eac55f
}

.hljs-emphasis {
    /* prettylights-syntax-markup-italic */
    color: #adbac7;
    font-style: italic
}

.hljs-strong {
    /* prettylights-syntax-markup-bold */
    color: #adbac7;
    font-weight: bold
}

.hljs-addition {
    /* prettylights-syntax-markup-inserted */
    color: #b4f1b4;
    background-color: #1b4721
}

.hljs-deletion {
    /* prettylights-syntax-markup-deleted */
    color: #ffd8d3;
    background-color: #78191b
}

.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
    /* purposely ignored */

}

* {
    box-sizing: border-box;
}

code {
    background-color: rgb(241, 241, 241);
    color: var(--coloured-background);
    border-radius: 10px;
    padding: 3px 10px;
}

pre code {
    display: block;
    background-color: rgb(40, 40, 40);
    color: white;
    padding: 10px;
    overflow: auto;
    line-height: 1.5rem;
}

html,
body {
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6rem;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    height: 100%;

    display: flex;
    flex-direction: column;

    --dark-background: #272727;
    --coloured-background: #3e5b15;
}

.container,
main {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

.anchor,
.anchor:visited {
    text-decoration: none;
    color: gray;
}

.callout {
    background-color: rgb(167, 20, 20);
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

header {
    background-color: var(--coloured-background);
    color: white;
    margin: 0;
    display: flex;
    place-content: center;
    line-height: 2rem;
}

header img {
    width: 24px;
}

header a {
    text-decoration: none;
    color: white;
}

header>.container {
    padding: 6px 20px;
}

header>.container>div:first-child {
    flex-grow: 1;
}

.dropdownMenu>.container {
    padding-top: 0;
    padding-bottom: 0;
}

.menu {
    font-size: 1rem;
}

.menu ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.menu li {
    white-space: nowrap;
    display: inline;
    color: white;
    border-radius: 5px;
    margin-right: 5px;
}

.menu li {
    margin-top: 5px;
    margin-bottom: 5px;
}

.menu li a {
    color: white;
    text-decoration: none;
    padding: 6px 14px;
    display: block;
}

.menu li[active] a {
    font-weight: bold;
    border-radius: 3px;
    background-color: var(--coloured-background);
}

.menu div.container {
    display: flex;
    flex-direction: column;
}

.menu div.container>ul {
    margin-left: -12px;
    margin-right: -18px;
}

.menu>.container {
    flex-direction: column;
}

@media (max-width:801px) {
    .big-only {
        display: none;
    }
}

@media (min-width:801px) {
    .small-only {
        display: none;
    }

    .menu {
        flex-direction: column;
    }

    .menu ul {
        flex-direction: row;
    }

    .menu li {
        margin-bottom: 0;
    }

    .menu li[active] {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .menu li:not([active]) {
        margin-bottom: 5px;
    }

    .menu>div.container {
        flex-direction: row;
    }

    .menu div.container {
        display: flex;
        flex-direction: row;
    }

    .menu div.container>ul:first-child {
        flex-grow: 1;
    }

    .menu ul:last-child {
        margin-right: -17px;
    }

    .menu>div.container>ul {
        margin-right: -18px;
    }
}