html, body {
    font-family: 'Inconsolata', monospace;
    line-height: 1.65;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.card-horizontal {
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-rows: min-content 1fr;
    align-items: center;
}

.container {
    height: 100%;
}

.container-inner {
    padding-bottom: 50px;
}

@media screen and (max-width: 700px) {
    body {
        padding-left: 1em;
        padding-right: 1em;
    }
}

a {
    color: #404040;
    text-decoration: none;
}

.content a {
    border-bottom: 1px solid #202020;
}

.header {
    text-align: center;
}

.header img {
    height: 100%;
    width: 90%;
}

.footer {
    text-align: center;
    font-size: 0.85em;
    height: 50px;
    margin-top: -35px;
}

.header h2 {
    padding-top: 0.5em;
    margin-top: 0;
    margin-bottom: 0.1em;
    font-size: 1.5em;
}

.header h4 {
    margin-top: -0.5em;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 1.10em;
}

.line {
    margin-top:    0.25em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #eeeeee;
}

.line-short {
    margin-top:    0.25em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #eeeeee;
    width: 75%;
}

.navigation {
    display: flex;
    font-size: 0.9em;
    margin-top: -0.5em;
    margin-bottom: 0.0em;
    padding-right: 0.5em;
}

.navigation ul {
    padding: 0;
    margin: 0 auto;
}

.navigation li {
    display: inline;
}

.navigation.site li a {
    border-bottom: 0;
}

.navigation a.current {
    font-weight: bold;
    color: #000000;
}

.navigation.site li a.current {
    border-bottom: 1px dashed #404040;
}

.content {
    margin-top: 1.0em;
    margin-bottom: 1.0em;
}

.content p {
    font-size: 0.9em;
    margin: 0;
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}

.dev-log-content li {
    font-size: 0.9em;
}

.project-box {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
    outline: 1px solid #505050;
    width: 100%;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 0.2em;
    padding-right: 0.2em;
}

.project-info {
    margin-left: 1.0em;
    min-height: 110px;
}

.project-info h2 {
    margin: 0;
}

.project-info p {
    margin: 0;
    font-size: 0.85em;
}

.project-info p.project-nav {
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    font-size: 0.95em;
    position: absolute;
    bottom: 0;
}

.project-info p.project-nav:hover {
    font-weight: bold;
}

.project-img {
    max-width: 160px;
    grid-row: 1/3;
    border: 2px solid #000;
}

.project-nav {
    font-size: 0.9em;
    position: relative;
    bottom: 0;
    margin-left: 1.0em;
    margin-right: .5em;
    margin-top: .2em;
}

.project-nav ul {
    padding: 0;
    margin: 0;
}

.project-nav li {
    display: inline;
}

.project-nav li a {
    border-bottom: 0;
}

.project-nav li a:hover {
    font-weight: bold;
}

.project-nav .line {
    margin-top: 0;
    margin-bottom: 0;
}

.content h3 {
    margin-top: 0.5em;
    margin-bottom: 0.0em;
}

.content h4 {
    margin-top: 0.5em;
    margin-bottom: 0.0em;
}

.dev-log-content img.img-normal {
    margin-top: 0.15em;
    margin-bottom: 0.15em;
    box-shadow: 0px 0px 4px #888888;
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.dev-log-content img.img-sm {
    margin-top: 0.15em;
    margin-bottom: 0.15em;
    box-shadow: 0px 0px 4px #888888;
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.dev-log-content img.lower-pos {
    object-position: 50% 0% !important;
}

.dev-log-content img {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    box-shadow: 0px 0px 4px #888888;
    width: 100%;
    object-fit: cover;
    height: auto;
}

.dev-log-content video {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    box-shadow: 0px 0px 4px #888888;
}

.content .dev-feed-list {
    padding: 0;
    list-style: none;
    font-size: 0.9em;
}

.content .dev-feed-list li {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

.dev-log-header {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dev-log-header .left {
    text-align: left;
}

.dev-log-header p {
    color: grey;
    margin: 0;
    padding: 0;
    font-size: 0.8em;
    text-align: right;
}

.dev-log-nav {
    margin: 0;
    margin-top: 1.0em;
    margin-bottom: 1.0em;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hidden {
    visibility: hidden;
}

code {
    display: block;
    white-space: pre-wrap;
    margin-bottom: 1.5em;
    line-height: 1.4em;
}