:root {
    box-sizing: border-box;
    scroll-behavior: smooth;
    --system-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; 
    --body-background-color: white;
    --text-color: black;
    --link-color: rgb(14, 134, 179);
}

@media (prefers-color-scheme: dark) {
    :root {
        --body-background-color: black;
        --text-color: white;
        --link-color: #79cdb1;
    }
}
html, body {
  	-webkit-tap-highlight-color: transparent;
  	-webkit-text-size-adjust: 100%;
    font: -apple-system-body;
    color: var(--text-color);
  }

body {
    font-family: var(--system-font-family);
    margin: 0;
    padding: 0;
    background-color: var(--body-background-color);
    color: var(--text-color);
}

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

img {
    max-width: 100%;
}

blockquote {
    border-width: 0 0 0 4px;
    border-style: solid;
    border-color: rgba(128, 128, 128, 0.5);
    padding-left: 10px;
    margin-left: 10px;
}

pre code {
    border-radius: 10px;
    font-family: Menlo, monospace;
}

.main-container {
    max-width: 600px;
    margin: 0 auto;
}

.info-box {
    background-color: rgba(128, 128, 128, 0.1);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.topic {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
    gap: 6px;
}

.topic-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.topic-postcount {
    min-width: 24px;
    padding: 3px;
    border-radius: 20px;
    background-color: rgba(128, 128, 128, 0.3);
    text-align: center;
    font-size: 14px;
}

.topic-date {

}

.topic-subtitle {
    display: flex;
    flex-direction: row;
    gap: 10px;
    opacity: 50%;
}
.topic-teaser {
    opacity: 70%;
}
.post {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.5);
}

.post-user {
    font-weight: bold;
}

.post-title {
    display: flex;
    flex-direction: row;
}

.post-date {
    opacity: 50%;
}

.flex-space {
    flex-grow: 1;
}

.pagination {
    margin-bottom: 20px;
    text-align: center;
}

a.page-nav {
    display: inline-block;
    margin: 5px;
    min-width: 30px;
    min-height: 30px;
}

.footer {
    margin-bottom: 80px;
}