body {
    background-color: #111111;
    color: #e8e8e8;

    font-family: "Courier New", Courier, monospace;
    font-size: 16px;

    margin: 0;
    padding: 40px 20px;
}

p {
    line-height: 1.7em;
}

hr {
    border: 0;
    border-top: 1px solid #555555;
    margin: 30px 0;
}

img {
    max-width: 100%;
    height: auto;

    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

a,
a:visited {
    color: #e8e8e8;
    text-decoration: underline;
}

a:hover {
    color: #ffffff;
    background-color: transparent;
}


/* Headings */

h1,
h2,
h3,
h4,
h5 {
    font-family: "Courier New", Courier, monospace;
    font-weight: normal;
    color: #e8e8e8;
}


/* Main blog container */

#container {
    margin: 30px auto;

    width: 90%;
    max-width: 700px;

    background-color: #111111;
    color: #e8e8e8;
}


/* Main content */

#content {
    padding: 10px 0 20px 0;
}


/* Header / navigation */

#header {
    background-color: transparent;

    padding: 0 0 20px 0;

    border: 0;
    border-bottom: 1px solid #555555;
}

#header ul {
    list-style-type: none;

    padding: 0;
    margin: 0;
}

#header li {
    font-size: 14px;

    display: inline-block;

    margin-right: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
}

#header li a {
    color: #e8e8e8;

    text-decoration: underline;
    background-color: transparent;
}

#header li a:hover {
    color: #ffffff;
    text-decoration: underline;
}


/* Homepage title */

#content > h1 {
    font-size: 26px;

    margin-top: 30px;
    margin-bottom: 10px;
}


/* Recent posts */

#recentpostlistdiv {
    margin-top: 35px;
}

#recentpostlistdiv h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

#recentpostlistdiv ul {
    font-size: 16px;

    padding: 0;
    list-style-type: none;
}

#recentpostlistdiv li {
    margin-bottom: 12px;
}


/* Archive page */

#postlistdiv ul {
    font-size: 16px;

    padding: 0;
    list-style-type: none;
}

#postlistdiv li {
    margin-bottom: 12px;
}

.moreposts {
    font-size: 14px;
    margin-top: 15px;
}


/* Individual posts */

#postTitleH1 {
    font-size: 26px;
    margin-bottom: 5px;
}

#postDate {
    font-size: 13px;

    font-style: italic;
    color: #777777;

    margin-bottom: 35px;
}


/* Next / Previous navigation */

#nextprev {
    text-align: center;

    margin-top: 45px;
    padding-top: 20px;

    border-top: 1px solid #555555;
}


/* Footer */

#footer {
    font-size: 12px;

    padding: 25px 0 10px 0;
    margin-top: 30px;

    color: #666666;
}

#footer hr {
    margin-bottom: 20px;
}


/* Optional image alignment helpers */

.right {
    float: right;
    margin-left: 1em;
}

.left {
    float: left;
    margin-right: 1em;
}

.center {
    display: block;

    margin-right: auto;
    margin-left: auto;

    text-align: center;
}


/* Smaller images */

@media only screen and (min-width: 600px) {
    .small {
        max-width: 60%;
        height: auto;
    }
}


/* Captions */

.caption {
    margin-top: 0;

    font-size: 0.9em;
    font-style: italic;

    color: #999999;
}


/* HOVER PICTURE */

.hover-picture {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hover-picture img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
}

.hover-text {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: black;
    color: white;

    padding: 8px 12px;

    text-align: center;

    opacity: 0;
    transition: opacity 0.3s ease;

    pointer-events: none;
}

.hover-picture:hover .hover-text {
    opacity: 1;
}


/* Mobile */

@media only screen and (max-width: 600px) {
    body {
        padding: 25px 15px;
    }

    #container {
        width: 100%;
    }
}