/* CastleHollow — handcrafted CSS, no frameworks involved */

body {
    background-color: #c0c0c0;
    color: #000080;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    margin: 0;
    padding: 8px;
}

#wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 2px solid #000080;
    padding: 12px 20px;
}

#header h1 {
    font-size: 2em;
    margin: 0 0 4px 0;
    color: #800000;
}

#header h1 a {
    color: #800000;
    text-decoration: none;
}

#header h1 a:hover {
    text-decoration: underline;
}

.tagline {
    font-size: 0.85em;
    color: #555;
    margin: 0;
    font-style: italic;
}

hr.divider {
    border: none;
    border-top: 2px solid #000080;
    margin: 8px 0;
}

#nav {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.95em;
    margin: 6px 0;
}

#nav a {
    color: #000080;
    text-decoration: none;
    margin-right: 4px;
}

#nav a:hover {
    color: #800000;
    text-decoration: underline;
}

#content {
    padding: 12px 0;
}

#content h2 {
    color: #800000;
    border-bottom: 1px solid #000080;
    padding-bottom: 4px;
}

a {
    color: #000080;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #800000;
}

#footer {
    font-size: 0.8em;
    color: #555;
    text-align: center;
    font-family: "Courier New", Courier, monospace;
}

#footer a {
    color: #555;
}

/* Blog */

.post-summary {
    margin: 12px 0 4px 0;
}

.post-summary h3 {
    margin: 0 0 2px 0;
    color: #800000;
}

.post-meta {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8em;
    color: #555;
    margin: 0;
}

hr.post-divider {
    border: none;
    border-top: 1px dashed #000080;
    margin: 8px 0;
}

.post-body {
    margin: 16px 0;
    line-height: 1.6;
}

.post-body h2, .post-body h3 {
    color: #800000;
}

.post-body code {
    font-family: "Courier New", Courier, monospace;
    background: #f0f0f0;
    padding: 1px 4px;
    border: 1px solid #ccc;
}

.post-body pre {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px;
    overflow-x: auto;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
}

.post-nav {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
    margin-top: 24px;
}

.feed-link {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85em;
    margin-top: 16px;
}

/* Freelance */

hr.section-rule {
    border: none;
    border-top: 1px solid #000080;
    margin: 20px 0;
}

.service {
    margin: 16px 0;
    padding-left: 12px;
    border-left: 3px solid #000080;
}

.service h4 {
    color: #800000;
    margin: 0 0 4px 0;
    font-size: 1em;
}

/* Contact Form */

.contact-form label {
    display: block;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
    font-weight: bold;
    color: #000080;
    margin-top: 14px;
    margin-bottom: 3px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 2px inset #808080;
    background: #ffffff;
    color: #000000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1em;
    padding: 4px 6px;
}

.contact-form textarea {
    height: 130px;
    resize: vertical;
}

.contact-form .h-captcha {
    margin-top: 14px;
}

.contact-form button[type="submit"] {
    display: block;
    margin-top: 14px;
    background: #000080;
    color: #ffffff;
    border: 2px outset #000080;
    font-family: "Courier New", Courier, monospace;
    font-size: 1em;
    padding: 6px 20px;
    cursor: pointer;
}

.contact-form button[type="submit"]:hover {
    background: #800000;
    border-color: #800000;
}

.form-error {
    background: #fff0f0;
    border: 1px solid #800000;
    color: #800000;
    padding: 8px 10px;
    margin-bottom: 12px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
}

/* Projects */
.project-card {
    border: 1px solid #999;
    background: #f5f5f0;
    padding: 12px 16px;
    margin: 16px 0;
}

.project-card h3 {
    margin: 0 0 8px 0;
    font-family: "Courier New", Courier, monospace;
}

.project-meta {
    margin: 8px 0 0 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
}

p.small {
    font-size: 0.9em;
    color: #555;
}
