body {
    background-color: #222;
    color: #EEE;
    margin: 0;
    font-family: overpass, sans-serif;
    font-weight: 500;
}

a{
    text-decoration: none;
    color: #0BF;
}

a:visited
{
    color: #08B;
}

a:hover
{
    color: #BBF;
}

dt
{
    /* Add a bit of margin between each set */
    font-weight: bold;
    margin-top: 0.5em;
}

dl
{
    /* Give some extra room up top for the new inter-term margin */
    margin-top: 0.5em;
    margin-bottom: 1em;
}


body > header
{
    background-color: #136;
    color: white;
    padding: 1em;
}

footer
{
    font-weight: 300;
}

#subtitle
{
    margin: 0 2em;
    color: #CEF;
}

#content{
    margin: 1em 20em 2em 2em;
}

nav {
    position: absolute;
    top: 10em;
    right: 0.5em;
    width: 18em;
}

h1 {
    font-size: 3em;
    margin: 0;
    font-weight: 800;
}

h1 > a:link, h1 > a:visited {
    color: inherit;
}

h1 > a:hover {
    color: #9DF;
}

h2 {
    font-size: 2.0em;
    font-weight: 200;
    margin: 1em 0 0.5em;
}

h3, h4, h5, h6{
    color: #6DE;
    font-weight: 300;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.8em;
}

h4
{
    font-size: 1.6em;
}

h5 {
    font-size: 1.4em;
}

h6 {
    font-size: 1.2em;
}

#post-list {
    list-style-type:none;
}


.imagec
{
    text-align: center;
    display: block;
}

img, video {
    max-width: 100%
}



.image1 {
    width: 100%;
    vertical-align: middle;
}

.image2 {
    width: 49.5%;
    vertical-align: middle;
}

.image3 {
    width: 32.5%;
    vertical-align: middle;
}

.image4 {
    width: 24.5%;
    vertical-align: middle;
}

.dosimg {
    width: 640px;
    height: 480px;
}

.arduboyimg {
    width: 256px;
    height: 128px;
}

#menulabel {
    display: none;
}

.navlabclosed::before {
    content: "☰ ";
}

.navlabopen::before {
    content: "✖ ";
}


@media screen and (max-width: 50em) {
    nav {
        position: relative;
        width: auto;
        padding: 1em;
        margin: 0;
        top: 0;
        right: 0;
        background-color: #113;
    }
    
    .navclosed {
        display: none;
    }

    .navopen {
        display: block;
    }

    #menulabel {
        font-size: 1.7em;
        font-weight: 700;
        margin-bottom: 0;
        display: block;
    }

    #content
    {
        margin: 1em 1em 1em 1em;
    }

    /* DPI is probably higher, so make this smaller so 
     * it doesn't stretch strangely */
    .dosimg {
        width: 320px;
        height: 240px;
    }
}

pre {
    white-space: pre-wrap;
}

time { font-style: italic; }

/* Comments stuff: */
#pcs-comment-form input,
#pcs-comment-form textarea {
	width: 100%;
}

legend {
    font-weight: bold;
}

label {
    font-style: italic;
}

fieldset {
    border: 0.2em solid #333;
    padding: 0.5em;
    margin: 0.5em 0;
}

input
{
    font-size: 1em;
}

input, textarea {
    background-color: black;
    color: white;
    border: 0.2em inset #444;
}

button {
    border: 0.2em outset #444;
    border-radius: 0.2em;
    background-color: #444;
    color: white;
    font-size: 1em;
}

button:hover {
    background-color: #555;
    color: #DEF;
}

button:active {
    border: 0.2em inset #444;
}

#pcs-comment-form-display-replyto {
	border: solid 1px black;
	padding: 2px;
}
#pcs-comment-form-display-replyto p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
#pcs-comments > ul {
	list-style: none;
}
#pcs-comments .comment-left {
	display: table-cell;
	padding-right: 10px;
}
#pcs-comments .comment-body {
	display: table-cell;
	vertical-align: top;
	width: 100%;
}

/* Syntax highlighting */
.gp {
    color: #6f0;
}

.ch { /* Character/comment/shebang? */
    color: #777;
}

.c, .c1 { /* Comment */
    color: #777;
}

.nv { /* Variable */
    color: #2df;
}

.o { /* Operator */
    color: #e36;
}

.p { /* Pipe */
    color: #e36;
}

.sb { /* delimiter for commands with stored output  */
    color: #6f0;
}

.k { /* Keyword */
    color: #e36;
}

.kp { /* Keyword p? */
    color: #2df;
}

.sx, .se { /* Special? */
    color: #F80;
}

.s, .s1, .s2 { /* String? */
    color: #6f0;
}

