@font-face {
    font-family: 'Obsidian';
    src: url('font/obsidian/Obsidian-Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    /*font-display: swap;*/
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("font/jetbrains-mono/JetBrainsMono-Regular.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Reckless";
    src: url("font/reckless/WEB/Reckless-Regular.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Reckless";
    src: url("font/reckless/WEB/Reckless-RegularItalic.woff2") format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Reckless";
    src: url("font/reckless/WEB/Reckless-Bold.woff2") format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


body {
    --background: #111;
    --background-2: #252525;
    --background-3: #444;
    --color: #fffbe3;
    --color-2: #d0c895;

    background: var(--background);
    color: var(--color);
    font-family: "Reckless", serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wrapper {
    max-width: 800px;
    width: calc(100% - 40px);
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 100px;
    min-height: 100vh;
}

code {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8em;
    color: var(--color-2);
}

p, h1, h2, h3, h4, h5, h6, li {
    font-size: 1.3em;
}

h1:before, h2:before, h3:before, h4:before, h5:before, h6:before {
    font-family: "Reckless", serif;
    color: var(--color-2);
    margin-right: 10px;
}

h1 {
    font-size: 2em;
    margin: 0;
    margin-top: 50px;
}
h1:before {
    content: '#';
    /*margin-left: -27px;*/
}
h2 {
    font-size: 1.7em;
    margin: 0;
    margin-top: 50px;
}
h2:before {
    content: '##';
    /*margin-left: -27px;*/
}
h3 {
    font-size: 1.4em;
    margin: 0;
    margin-top: 50px;
}
h3:before {
    content: '###';
    /*margin-left: -27px;*/
}
h4 {
    font-size: 1.3em;
    color: var(--color-2);
    margin: 0;
    margin-top: 50px;
}
h4:before {
    content: '####';
    /*margin-left: -27px;*/
}
h5 {
    font-size: 1.3em;
    color: var(--color-2);
    margin: 0;
    margin-top: 50px;
}
h5:before {
    content: '#####';
    /*margin-left: -27px;*/
}
h6 {
    font-size: 1.3em;
    color: var(--color-2);
    margin: 0;
    margin-top: 50px;
}
h6:before {
    content: '######';
    /*margin-left: -27px;*/
}

a {
    color: #dfdbc3;
}

p {
    margin: 20px 0 0;
    padding: 0;
}

.feed-item {
    margin: 30px 0;
    background: var(--background-2);
    padding: 15px;
    border: 1px solid var(--background-3);
}

.feed-item .tag, .secondary {
    color: var(--color-2);
    font-style: italic;
}

.secondary {
    font-size: 0.8em;
}

.button-links a {
    margin-right: 10px;
}

.obsidian {
    font-family: "Obsidian", serif;
}

.hero {
    font-family: "Obsidian", serif;
    font-size: 11em;
    margin-top: 0;
}

nav {
    margin-top: 25px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #7f7b63;
    /*margin-bottom: 150px;*/
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

nav ul a {
    color: #fffbe3;
    text-decoration: none;
}

nav ul a:hover {
    color: #cfcbb3;
}

blockquote {
    border-left: 2px solid var(--color-2);
    color: var(--color-2);
    padding-left: 10px;
    margin-left: 10px;
}

img {
    max-width: 100%;
}

center {
    margin: 0 20px;
    color: var(--color-2);
}

pre {
    overflow-x: scroll;
}

hr {
    border-color: var(--color-2);
    margin: 30px 0;
}

button {
    border: 1px solid var(--background-3);
    color: var(--color-2);
    background: var(--background-2);
    padding: 3px 15px;
    margin: 15px 0;
    transition: all 0.1s linear;
}

button:hover {
    cursor: pointer;
    color: var(--color);
    background: var(--background);
    border-color: var(--color-2);
}

ul.plain {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.plain li {
    margin: 20px 0;
}

.italic {
    font-style: italic;
}

#about {
    margin-top: 50px;
}

footer {
    width: 100%;
    min-height: 300px;
    background-color: #ffffff08;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

footer .obsidian {
    font-size: 4em;
    margin-right: 30px;
    padding-right: 30px;
    border-right: 1px solid #fffbe1;
}

footer p {
    margin: 5px 0 0;
}

.inline-markmark-logo {
    height: 16pt;
    margin-bottom: -3px;
    opacity: 0.75;
}

@media screen and (max-width: 500px) {
    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    footer {
        flex-direction: column;
        align-items: start;
    }

    footer .obsidian, footer p {
        margin: 0 50px;
    }

    footer .obsidian {
        border-right: unset;
        margin-bottom: 20px;
    }
}
