@font-face {
    font-family: 'Jost-400-Book';
    src: url(fonts/Jost-400-Book.otf) format('opentype');
}

@font-face {
    font-family: 'Jost-300-Light';
    src: url(fonts/Jost-300-Light.otf) format('opentype');
}

@font-face {
    font-family: 'Mononoki-Regular';
    src: url(fonts/mononoki-Regular.otf) format('opentype');
}

html {
    margin: 0;
    font-size: 100%;
    min-height: 100%;
    min-width: 100%;
}

body {
    background: #fff;
    color: #404040;
    line-height: 1.7;
    font-weight: 400;
    font-size: 18px;
    height: 100%;
    font-family: "Jost-400-Book",sans-serif;
}

.wrapper {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

body #content {
    margin: auto;
    max-width: 50%;
}

.topbar {
    margin: auto;
    position: relative;
    padding: 10px 0;
    border-bottom: 2px solid #eee;
}

.bottombar {
    margin: auto;
    position: relative;
    padding: 20px 0;
    border-top: 2px solid #eee;
}

a {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}
a:hover, a:active {
    color: #4183c4;
}

img {
    max-width: 100%;
}

.site-avatar {
    float: left;
    width: 70px;
    height: 70px;
    margin-right: 15px;
}

.site-avatar img {
    border-radius: 5px;
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.site-info {
    float: left;
}

.site-name {
    margin: 0;
    color: #333;
    cursor: pointer;
    font-family: 'Jost-300-Light',sans-serif;
    font-weight: 300;
    font-size: 28px;
    letter-spacing: 1px;
    text-align: left;
}

.site-description {
    margin: -5px 0 0 0;
    color: #666;
    font-size: 16px;
}

#h-card-container {
    display: flex;
    padding-bottom: 40px;
}

.profile-photo {
    max-width: 200px;
    flex: 30%;
    padding-right: 30px;
    align-self: center;
}

.about {
    flex: 50%;
    align-self: center;
}

.title {
    margin: 0;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: bold;
    line-height: 1.7;
    margin: 1em 0 15px;
    padding: 0;
    text-align: center;
    font-weight: 500;
}

.creator {
    color: #666;
    position: relative;
    font-size: 11px;
    text-align: right;
}

.header {
    margin: auto;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.date {
    color: #939aa1;
    text-align: center;
    line-height: 1;
}

div .footnotes {
    opacity: 0;
    user-select: none;
}

pre {
    display: block;
    white-space: pre-wrap;
    overflow-x: scroll;
    border-radius: 5px;
    border: 3px solid #707070;
    padding: 20px;
    background: #333;
    color: #fff;
}
code {
    font-family: 'Mononoki-Regular',monospace;
    font-size: inherit;
}

.footref {
    text-decoration: none;
}

.entry-title {
    font-weight: 300;
    font-family: 'Jost-300-Light',sans-serif;
    margin-bottom: 0;
}

.entry-timestamp {
    text-align: center;
    color: #939aa1;
    padding-bottom: 20px;
    /* border-bottom: 2px solid #eee; */
    margin-bottom: -30px;
}

ul {
    list-style: none;
}

.org-ul {
    padding-left: 0;
}

.figure {
    font-size: 14px;
}

@media all and (max-width: 768px) {
    body #content {
        margin: auto;
        max-width: 100%;
    }

    .header {
        margin: auto;
        max-width: 100%;
    }

    #h-card-container {
        display: flex;
        flex-direction: column;
        padding-bottom: 40px;
    }
}

.org-center {
    text-align: center;
}

.org-left {
    text-align: left;
}

table {
    border-collapse: collapse;
}

table tr {
    border-bottom: 1px solid #cccccc;
    padding: 5px;
}

table tr th {
    padding: 5px;
}

table tr td {
    padding: 5px;
}

table tr:last-child {
    border-bottom: none;
}
