:root {
  --font-text:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;

  --font-code: "Consolas", "Monaco", "Courier New", monospace;

  --color-f1: #fbf5ef;
  --color-b1: #272744;
  --color-b2: #494d7e;
  --color-a1: #f2d3ab;
  --color-a2: #c69fa5;
  --color-a3: #8b6d9c;

  --color-fg-main: var(--color-f1);
  --color-bg-main: var(--color-b1);
  --color-heading: var(--color-a1);
  --color-link: var(--color-a2);
  --color-bold: var(--color-f1);
  --color-italic: var(--color-f1);
  --color-marker: var(--color-a3);
  --color-secondary: var(--color-a3);
  --color-quote-bg: var(--color-b2);
  --color-quote-border: var(--color-a2);
  --color-toc: var(--color-f1);
  --color-header-bg-alt: var(--color-b2);
  --color-code-bg: var(--color-b2);

  --header-height: 80px;
  --header-height-small: 60px;
  --page-side-width: 300px;
  --page-content-width: 700px;

  --border-radius: 0;
  --post-content-p-margin: 1rem;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-text);
    line-height: 1.4;
    color: var(--color-fg-main);
    font-size: 18px;
    background: var(--color-bg-main);
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0S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klq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);
}
@media (max-width: 1024px) {
    body {
        font-size: 16px;
    }
}

.full {
    top: 20vh;
    position: fixed;
    width: 100%;
    height: 100%;
}
.full video {
    display: block;
    height: 40vh;
    width-max: 90%;
    margin: 0 auto;
    margin-bottom: 1em;
    border-radius: 1.5em;
}
.full h1, .full h2 {
    text-align: center;    
}

header {
    height: var(--header-height);
    display: flex;
    top: 0;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    color: var(--color-fg);
    background: transparent;
    font-size: 2rem;
}
@media (max-width: 1536px) {
    header {
        z-index: 100;
        background: var(--color-header-bg-alt);
        top: 0;
        position: sticky;
        width: 100%;
        margin: auto;
    }
}
@media (max-width: 1024px) {
    header {
        height: var(--header-height-small);
    }
}
.header-logo {
    text-align: center;
    width: var(--page-side-width);
    display: block;
    color: var(--color-fg);
    height: 100%;
    align-content: center;
}
@media (max-width: 1024px) {
    .header-logo {
        font-size: 24px;
        margin: 0 1rem;
        text-align: left;
    }
}
.header-links {
    text-align: center;
    display: flex;
    justify-content: flex-end;
    height: 100%;
    align-items: center;
}
.header-links a {
    margin: 0 1rem;
    font-size: 16px;
    color: white;
}
.header-links a:last-child {
    margin-right: 2rem;
}
.header-links img {
    height: 2rem;
    vertical-align: middle;
}
@media (max-width: 1024px) {
    .header-links a {
        margin: auto 0.6rem;
    }
    .header-links a:last-child {
        margin-right: 1.2rem;
    }
    .header-links img {
        height: 20px;
    }
}

nav {
  
}

main {
  
}

footer {
  height: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-link);
}
a:hover {
    text-decoration: underline;
}

ol li::marker,
ul li::marker {
    font-weight: bold;
    color: var(--color-marker);
}

#page-title {
    text-align: center;
    display: block;
    padding: 0;
}
@media (max-width: 1536px) {
    #page-title {
        margin: 2rem auto;
        margin-left: var(--page-side-width);
        max-width: var(--page-content-width);
    }
}
@media (max-width: 1024px) {
    #page-title {
        margin: 2rem auto;
    }
}
#page-side {
    top: var(--header-size);
    height: fit-content;
    max-width: var(--page-side-width);
    max-height: calc(100vh - 4rem);
    overflow-y: auto;

    width: var(--page-side-width);
    position: fixed;
}
@media (max-width: 1536px) {
    #page-side {
        top: var(--header-height);
        margin-top: 2rem;
    }
}
@media (max-width: 1024px) {
    #page-side {
        position: initial;
        width: 100%;
        max-width: var(--page-content-width);
        max-height: fit-content;
        margin: 1rem auto;
    }
}
#page-side:blank {
    display: none;
}
#page-side:-moz-only-whitespace {
    display: none;
}
#page-content {
    max-width: var(--page-content-width);
    margin: 0 auto;
    margin-top: 2.5rem;
}
@media (max-width: 1536px) {
    #page-content {
        width: auto;
        max-width: var(--page-content-width);
        margin-left: var(--page-side-width);
    }
}
@media (max-width: 1024px) {
    #page-content {
        max-width: var(--page-content-width);
        margin: 0 auto;
    }
}

.container {
    max-width: 2560px;
    margin: 0 auto;
    padding: 0 1rem;
}

.post-cards {
    list-style-type: none;
}
.post-card {
    margin: 2rem 0;
}
.post-card-title {
    margin: 1rem 0;
    color: var(--color-heading);
}
.post-card-date {
    color: var(--color-secondary);
}
.post-card-brief {
    margin: 1rem 0;
}
.post-card-continue {
    margin: 1rem 0;
}

.post-header {
}
.post-header .title {
    display: grid;
    height: var(--header-size);
    text-align: center;
    font-size: 2.5rem;
    place-items: center;

    color: var(--color-fg);
}

.post-toc {
    overflow-wrap: break-word;
    color: var(--color-toc);
}
.post-toc ol {
    margin: 0 1.25rem;
}
.post-toc a {
    color: var(--color-toc);
}
.toc-entry-1 {
}
.toc-entry-2 {
}
.toc-entry-3 {
}
.toc-entry-4 {
}
.toc-entry-5 {
}
.toc-entry-6 {
}

.post-content {
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 2.5rem 0 1rem;
    position: relative;
    scroll-margin: 2rem;
}
.post-content h1 a,
.post-content h2 a,
.post-content h3 a,
.post-content h4 a,
.post-content h5 a,
.post-content h6 a {
    color: var(--color-heading);
}
@media (max-width: 1536px) {
    .post-content h1,
    .post-content h2,
    .post-content h3,
    .post-content h4,
    .post-content h5,
    .post-content h6 {
        scroll-margin: calc(var(--header-height) + 2rem);
    }
}
@media (max-width: 1024px) {
    .post-content h1,
    .post-content h2,
    .post-content h3,
    .post-content h4,
    .post-content h5,
    .post-content h6 {
        scroll-margin: calc(var(--header-height-small) + 1rem);
    }
}

.post-content p {
    margin: var(--post-content-p-margin) 0;
}
.post-content strong {
}
.post-content em {
    color: var(--color-italic);
}
.post-content a {
    color: var(--color-link);
    font-weight: bold;
}
.post-content blockquote {
    background: var(--color-quote-bg);
    border-left: 3px solid var(--color-quote-border);
    padding: 0.25rem 0.5rem;
    padding-left: 1rem;
    border-radius: var(--border-radius);
}
.post-content ul,
.post-content ol {
    margin: 1rem 1.5rem;
}
.post-content code {
    font-family: var(--font-code);
    padding: 0.1rem 0.3rem 0.05rem 0.3rem;
    border-radius: 0.35rem;
    background: var(--color-code-bg);
    font-weight: bold;
}
.post-content pre {
    margin: var(--post-content-p-margin) 0;
    padding: 1rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    font-size: 16px;
}
@media (max-width: 1024px) {
    .post-content pre {
        font-size: 14px;
    }
}
.post-content pre code {
    font-weight: unset;
    background: unset;
    padding: 0;
}
.post-content img,
.post-content video {
    width: 100%;
}
.post-content table {
    display: block;
    width: 100%;
    margin: var(--post-content-p-margin) 0;
    overflow-x: auto;
    white-space: nowrap;
}
.post-content th,
.post-content td {
    text-align: left;
    border: 1px solid var(--color-secondary);
    padding: 4px;

}
.post-content th {
    font-weight: bold;
}
