@font-face {
    font-family: 'OSD Mono';
    src: url('/fonts/VCR_OSD_MONO_1.001.ttf') format('truetype');
}

body {
    font-family: 'OSD Mono', monospace;
    font-weight: 100;
    color: #ffffff;
    background-color: #000;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: .1em;
    box-sizing: border-box;
    object-fit: cover;
}

div.container p:has(img) {
    margin: 0;
    text-align: center;
}

div.container p img {
    max-width: 100%;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

a.navbar img {
    max-height: 100%;
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

div pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

code {
    text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

blockquote {
    border-left: 2px solid #b19e9e;
    padding-left: 1em;
    margin-left: 0;
    color: #b19e9e;
}

a:hover {
    color: #cf7f7f;
}

.blogpost {
    color: #fff;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.topbar a {
    color: #fff;
    text-decoration: none;
}

.topbar-right a {
    margin-left: 15px;
}

.topbar-right a:hover {
    color: #cf7f7f;
}

/* remove right bar on phones and small tablets, it looks ugly */
@media (max-width: 700px) {
    .topbar a {
        color: #fff;
        text-decoration: none;
        margin: 0;
    }

    .topbar-right a {
        margin-left: 0;
        display: none;
    }
}

.topbar-left a {
    font-weight: bold;
    font-size: 1.2em;
}

.logo {
    height: 24px;
    vertical-align: middle;
    border-radius: 50%;
    transform: translateY(-1px);
}
