@font-face {
  font-family: "Overused Grotesk";
  src:
    url("/OverusedGrotesk-VF.woff2") format("woff2 supports variations"),
    url("/OverusedGrotesk-VF.woff2") format("woff2-variations");
  font-weight: 300 900;
}

@font-face {
  font-family: "NyghtSerif";
  src:
  url("/NyghtSerif-Bold.woff2") format("woff2"), 
  url("/NyghtSerif-BoldItalic.woff2") format("woff2");
  font-weight: 300 900;
}

.header {
    padding-top: 4rem;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

img.header {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

body {
	background-color: #ffffff;
    margin: 0px;
    margin-bottom: 10vh;

}

#title {
    font-size: 4em;
    font-family: 'Overused Grotesk', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    padding-left: 2vw;
    padding-right: 2vw;
    margin-right: auto;
    margin-left: auto;
    max-width: 800px;
    text-align: center;
    border-bottom: 6px double black;
}

#main {
    font-family: Courier;
    font-size: 1.2em;
    text-rendering: optimizeLegibility;
    padding-left: 2vw;
    padding-right: 2vw;
    max-width: 800px;
    line-height: 1.3;
    text-align: left;
    overflow-wrap: break-word;
    margin-right: auto;
    margin-left: auto;


}

img.footer{
    vertical-align: middle;
}

#footer {
    font-family: Courier;
    font-size: 1.3em;
    text-rendering: optimizeLegibility;
    padding-left: 2vw;
    padding-right: 2vw;
    padding-top: 2vw;
    max-width: 800px;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: break-word;
    margin-right: auto;
    margin-left: auto;
    border-top: 6px double black;

}

#float-toc {
    font-family: Courier, monospace;
    width: 28vw;
    height: 100%;
    font-size: 1em;
    padding: 0.5em;
    margin-left: 2vw;
    margin-right: 2vw;
    float: right;
}

blockquote {
    font-size: 0.9em;
    font-style: italic;
}

ul.toc-h1 {
    padding-left: 1em;
    padding-right: 0.5em;
    font-size: 1.2em;
    font-weight: bold;
    list-style: square;
}

ul.toc-h2 {
    padding-left: 1em;
    font-size: 1em;
    font-weight: 100;
    list-style: square;
}

#nav {
    color: #00aeff;
    background-color: rgb(32, 32, 32);
    font-size: 1.8rem;
    line-height: 1.8rem;
    font-family: 'Overused Grotesk', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 100;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    text-align: center;
    display: block;
    padding: 0.5rem;
}

a.next{
    font-family: 'Overused Grotesk', sans-serif;
    font-weight: bold;
    font-size: 1.6em;
    text-transform: uppercase;
}

a.nav {
    color:#00aeff;
    text-decoration: none;
    padding-right: 0.5em;
    white-space: nowrap;
}


a.bread {
    color:#002cbb;
    text-decoration: underline;
}

a.nav:hover, a.bread:hover {
    color:#00aeff;
    text-decoration: none;
    font-style: italic;
}

#bread {
    padding-left: 2vw;
    padding-top: 0.5vw;
    background-color:white;
    font-size: 1em;
    font-family: 'Overused Grotesk', Courier, monospace;
    font-weight: bold;
    text-transform: lowercase;
    margin-bottom: 20px;
}

#date {
    font-size: 1em;
    font-family: 'Overused Grotesk', Courier, monospace;
    font-style: italic;
    padding-left: 2vw; 
}

img {
    max-width: 100%;
    /* max-width: 800px; */
    /* border:2px dotted #acff97; */
    
}

@media screen and (max-width:500px) {
	#float-toc {
        font-size: 1em;
        width: 90vw;
        float: none;
        line-height: 1.2;
        padding: 1%;
        margin-top: 2vw;
        margin-left: 2vw;
        margin-right: 2vw;
        margin-bottom: 0;
    }

    #main {
        width: 90vw;
        margin: 2vw;
	}

    ul.toc-h2 {
        display: none;
    }

    #nav {
    font-size: 1.2rem;
    }

    .header {
    padding-top: 4rem;

    }

}

h1 {
    font-family: 'Overused Grotesk', Courier, monospace;
    text-transform: uppercase;

}

a.toc-h1 {
    text-decoration: none;
    color: black;
}

h2 {
    font-family: 'Overused Grotesk', Courier, monospace;
    text-transform: uppercase;

}

a.toc-h2 {
    text-decoration: none;
    color: black;
}

h3 {
    font-family: 'Overused Grotesk', Courier, monospace;
    text-transform: uppercase;

}

h4 {
    font-family: 'Overused Grotesk', Courier, monospace;
    text-transform: uppercase;

}

h5 {
    font-family: 'Overused Grotesk', Courier, monospace;
    text-transform: uppercase;
}

h6 {
    font-family: 'Overused Grotesk', Courier, monospace;
    text-transform: uppercase;
}

a {
    text-decoration: underline;
    color:#002cbb;
}

a:hover {
    text-decoration: underline;
    color:#00aeff;
}

li.big {
	line-height: 115%;
	font-family: "Overused Grotesk", Courier, monospace;
	font-size: 1.5em;
    list-style-type: square;
}

.ascii {
    font-size: 3px;
    white-space: pre-wrap;
    font-family:'Courier New', Courier, monospace;
    display: block;
    min-width: 250px;
    font-weight: bold;
}

code {
    color: black;
    font-family:'Courier New', Courier, monospace;
    font-size: 0.9rem;
    background-color: #e0e0e0;
    padding: 2px;
}

pre code {
    background-color: inherit;
    color: inherit;
    font-size: inherit;
}

/* START Zola's recommended code block css */
pre {
    padding: 1rem;
    overflow: auto;
}
/* The line numbers already provide some kind of left/right padding */
    pre[data-linenos] {
    padding: 1rem 0;
}
pre table td {
   padding: 0;
}
/* The line number cells */
    pre table td:nth-of-type(1) {
    text-align: center;
    user-select: none;
}
pre mark {
/* If you want your highlights to take the full width. */
    display: block;
/* The default background colour of a mark is bright yellow */
    background-color: rgba(254, 252, 232, 0.9);
}
pre table {
    width: 100%;
    border-collapse: collapse;
}
/* END Zola's recommended code block css */

img.flyer {
    max-width: 30vw;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: rgb(32, 32, 32);
        color: white;
    }
    a.nav:hover, a.bread:hover {
        color:#00aeff;
        text-decoration: none;
        font-style: italic;
    }
    a {
        color:#00aeff; 
    }

    a:hover {
        color:white;
    }
    
    #bread {
        background-color: rgb(32, 32, 32);
    }

    code {
        color: white;
        font-family:'Courier New', Courier, monospace;
        font-size: 0.8rem;
        background-color: #4b4b4b;
        padding: 2px;
    }
    a.toc-h1 {
        text-decoration: none;
        color: white;
    }
    
    a.toc-h2 {
        text-decoration: none;
        color: white;
    }

    #title {
    border-bottom: 6px double white;
    }

    #footer {
    border-top: 6px double white;
    }
    
}