:root {
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --color-foreground: #000;
    --color-background: #fff;
    --color-red: #e63333;
    --color-red-background: #941414;
    --color-button-foreground: #fff;
    --color-button-hover-background: #690e0e;
    --color-slideshow-background: #eee;
    --color-slideshow-caption-background: #000;
    --color-footer-foreground: #fff;
    --color-footer-background: #292c2f;
    --color-border: #ccc;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    min-height: 100vh;
    color: var(--color-foreground);
    background: var(--color-background);
    hyphens: auto;
    overflow-wrap: break-word;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: var(--color-red);
}

table {
    border-collapse: collapse;
    width: 100%;
}

table td, table th {
    border: 1px solid var(--color-border);
    padding: 8px;
}

table tr:nth-child(even){
    background-color: #f2f2f2;
}

table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: var(--color-red-background);
    color: var(--color-background);
}

section {
    padding: 0.2rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    overflow: auto;
    z-index: 1;
    background: var(--color-background);
    border-bottom: solid 1px var(--color-border);
    width: 100%;
}

.logo-link {
    border-radius: 100%;
}

.logo {
    width: 5em;
    border-radius: 100%;
    padding: 0.5em;
}

.navlinks {
    display: flex;
    flex-direction: row;
    list-style-type: none;
}

.navlinks li:last-child {
    margin-right: 1rem;
}

.navlink {
    display: flex;
    padding: 0.5rem 1rem;
    color: var(--color-foreground);
}

.navlink:hover {
    color: var(--color-red);
}

.primary-button {
    display: flex;
    width: fit-content;
    color: var(--color-button-foreground);
    background: var(--color-red-background);
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.primary-button:hover {
    color: var(--color-button-foreground);
    background: var(--color-button-hover-background);
}

.token {
    color: var(--color-button-foreground);
    background: var(--color-red-background);
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
}

.token:hover {
    color: var(--color-button-foreground);
    background: var(--color-button-hover-background);
}

.main {
    flex: 1;
    padding: 7rem 2rem 8rem 2rem;
    justify-content: center;
}

.post-links {
    list-style: none;
    padding: 0;
}

.post-links li:first-child {
    padding-top: 0;
}

.post-links li {
    border-bottom: solid 1px var(--color-border);
    padding: 1rem 0;
}

.post-links li:last-child {
    border-bottom: none;
}

.page-title {
    color: var(--color-red);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
}

.bss-slides {
    margin: 0.5rem 0;
    max-width: 45rem;
    min-height: 20rem;
    z-index: 0;
    background: var(--color-slideshow-background);
}

.bss-slides figure {
    display: flex;
    justify-content: center;
    margin: 0;
}

.bss-slides figure figcaption {
    font-size: 1rem;
    background: var(--color-slideshow-caption-background);
}

.bss-slides figure img {
    max-width: 100%;
    max-height: 20rem;
}

.page-layout {
    max-width: 50rem;
}

.full-width {
    width: 50rem;
}

.footer {
    display: flex;
    justify-content: center;
    width: 100%;
    color: var(--color-footer-foreground);
    background: var(--color-footer-background);
}

.footer-contents {
    display: flex;
    flex-direction: row;
    padding: 2rem;
}

@media only screen and (max-width: 720px) {
    .footer-contents {
        flex-direction: column;
    }
}

.footer-header {
    padding-right: 4rem;
}

.footer-title {
    margin: 0;
}

.footer-subtitle {
    margin: 0;
    color: var(--color-red);
}

.follow-links li a {
    color: var(--color-footer-foreground);
}

.follow-links li a:hover {
    color: var(--color-red);
}

.follow-icon {
    width: 1.8rem;
}

.google-drive-folder {
    width: 100%;
    height: 18rem;
    border: 0;
}
