
body::-webkit-scrollbar-track {
    background-color: var(--invert-font-color);
}

body::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background: var(--secondary-color-lowalpha);
}


.container, .container-fluid {
    margin: 0 auto;
    padding: 0;
    height: 100%;
    min-width: 600px;
}


.homepage-logo {
    width: 500px;
    margin: 0 auto;
    display: block;
}

.homepage-title {
    text-align: center;
    display: block;
}

.nav-container {
    width: 200px;
}

.nav-container {
    width: 200px;
}

.nav-container ul {
    margin-top: 0;
}


.content-container h1.article-title {
    font-size: 3rem;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 5px;
}

.content-container h1.about-title {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 25px !important;
}


.about-body h2, h3, h4 {
    margin-top: 40px;
    font-size: 1.4em !important;
    border-bottom: 1px dashed rgb(73, 73, 73);
    line-height: 30px;
    padding-bottom: 10px;
    padding-top: 20px;
}

.about-body h3, h4 {
    font-size: 1.2em !important;
}

.about-body h4 {
    font-size: 1em !important;
}


.article-list-body {
    padding-right: 5px;
}

p.codesplit {
    border-left: 1px dashed var(--hrcolor);
    display: block;
    padding-left: 20px;
    color: var(--tertiary-color);
    margin-top: -30px;
    margin-bottom: -30px;
    padding-top: 20px;
    padding-bottom: 40px;
    font-style: italic;
}


.highlight pre {

    border: none;
    border-left: 2px solid var(--secondary-color);
    padding: 10px 0 10px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

pre code {
    display: inline;
}

.terminal-alert .highlight pre {
    margin-top: 0;
    margin-bottom: 0;
    border-left: 2px solid var(--secondary-color);
}

figcaption h4 {
    margin-top: 0;
    font-size: inherit;
    border-bottom: none;
}

hr.article-footer-divider {
    clear: both;
}


.menu-item span {
    padding: 3px;
}


.menu-item .active {
    background-color: var(--secondary-color);
    color: black;
    font-family: var(--font-stack-bold), monospace;
}

.go-back-parent-link {
    margin-top: 20px;
}


/* chroma */
.chroma {
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(to right, #171d25, var(--background-color))
}

.latest-page-item {
    display: flex;
}

.article-hero-thumb {
    height: 190px;
    width: 100%;
    display: block;
}

.screen-reader {
    height: 1px;
    width: 1px;
    position: absolute;
    overflow: hidden;
    color: rgba(255, 255, 255, 0);
    pointer-events: none;
}


.about-details {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-gap: 3rem;
    margin-bottom: 60px;
    margin-top: 50px;
    align-items: center;
}

.profile-crop {
    width: 220px;
    height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 10%;
    margin-right: 50px;
    margin-bottom: 50px;
    float: left;
}

.profile-shot {
    width: 220px;
}



.clear {
    clear: both;
}

.footnotes {
    font-size: 0.9rem;
}

dt {
    margin-top: 30px;
    margin-bottom: 10px;
}

dl {
    margin-bottom: 50px;
}

hr.article-title-divider {
    margin-bottom: 5px;
}


mobile-nav.hide {
    top: -185px;
}

/** mobile stuff */

mobile-nav {
    display: none;
}
.instruction-video {
    width: 715px;
    border: 1px dashed var(--secondary-color-lowalpha);
}


@media only screen and (max-width: 1000px) {

    #header-menu {
        display: none;
    }

    .homepage-logo {
        width: 370px;
    }

    mobile-nav {
        display: block;
        transition: top 0.3s;
        transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
        font-size: 0.9rem;
    }

    ul.mobile-nav li > ul {
        margin-left: 10px;
        font-size: 0.7rem;
    }

    article time {
        padding-top: 0;
    }

    .quobix-header {
        max-width: 100vw;
        width: 100vw;
        padding-left: 10px;
        padding-right: 10px;
    }

    .quobix-header.hide {
        top: -185px;
    }

    article-body {
        margin-top: 60px;
    }

    .content-container {
        margin-top: 120px;

    }

    .container, .container-fluid {
        min-width: 100px;
    }

    .content-container h1.article-title {
        font-size: 30px;
    }

    .article-strapline, .article-strapline em {
        font-size: 1.2rem;
    }


    .page-item {
        width: 320px !important;
    }

    .profile-crop {
        float: none;
        margin: 0 auto 40px auto;
    }

    .about-body h2, h3, h4 {
        line-height: 30px;
        padding-bottom: 10px;
    }

    .quobix-header {
        transition: top 0.3s;
        transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    }

    #top-nav-divider {
        margin-top: 2px;

    }


    .image-grid img {

        width: 100vw;
        max-width: initial;
    }

    code {
        font-size: 11px !important;
    }

    .highlight {
        margin-left: -10px;
    }

    .codesplit {
        margin-left: -10px;
    }

    main.content-container {
        margin-top: 20px;
    }

    .instruction-video {
        width: 100%;
        border: 1px dashed var(--secondary-color-lowalpha);
    }

}


.nav-badge {
    width: 70px;
    vertical-align: sub;
}

.nav-badge-discord {
    width: 88px;
    vertical-align: sub;
}

hr.mobile-nav-divider {
    margin-top: 10px;
    margin-bottom: 10px;
}