/* === Grundlayout === */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #fff;
    color: #333;
    margin: 0 auto;
    padding: 0rem 2rem 2rem; /* Platz für Navbar + Standardabstand */
    line-height: 1.6;
    max-width: 800px;
}

/* === Typografie === */
h1, h2, h3, h4, h5, h6 {
    font-family: "Courier New", Courier, monospace;
    color: #111;
    margin: 2rem 0 1rem;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    color: #0066cc;
    text-decoration: none;
}

h2 a,
a:hover,
a:focus,
a:active,
a:visited {
    color: #333;
    text-decoration: none;
}

.summary a {
    color: #333:
}

.summary p {
  color: #555555; /* Replace with desired color */
}

code, pre {
    font-family: "Courier New", Courier, monospace;
    background-color: #f4f4f4;
    border-radius: 4px;
}

code {
    padding: 0.2rem 0.4rem;
}

pre {
    padding: 1rem;
    overflow-x: auto;
}

/* === Inhaltselemente === */
blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    color: #666;
    margin: 1rem 0;
}

ul, ol {
    padding-left: 2rem;
    margin: 1rem 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* === Kopf- und Fußbereich === */
header, footer {
    text-align: center;
    font-size: 0.9rem;
    color: #999;
    margin-top: 2rem;
}

footer {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

/* === Navigation === */
.navbar {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Stil für das Logo/Bild links */
.navbar-logo {
    margin-right: 20px;
}

.navbar-logo img {
    width: auto;
    vertical-align: middle;
}

/* Container für die Navigation-Links */
.navbar-links {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}

/* Stil für die einzelnen Links */
.navbar-links a {
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-links a:hover {
    color: #007bff;
}

/* Aktiver Link-Zustand */
.navbar-links a.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }
    
    .navbar-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .navbar-links {
        width: 100%;
        justify-content: center;
    }
}


/* === Artikel === */
.post header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.meta {
    font-size: 0.9rem;
    color: #777;
    font-family: "Courier New", Courier, monospace;
    margin-bottom: 1rem;
}

.meta a {
    text-decoration: none;
    color: #777;
}

.post img {
    margin: 2rem 0;
}

.content {
    margin-bottom: 2rem;
}

/* === Tags === */
.tags {
    font-size: 0.9rem;
    color: #555;
}

.tags a {
    font-family: "Courier New", Courier, monospace;
    color: #555;
    text-decoration: none;
}

.tags a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    font-size: 1em;
    background-color: #fff;
}

th, td {
    border: 1px solid #ccc;
    padding: 0.5em 1em;
    text-align: left;
}

th {
    background-color: #f4f4f4;
    font-weight: bold;
}

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

table.responsive {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.pagination {
    padding: 2rem;
    font-family: "Courier New", Courier, monospace;
}

.pagination-left {
  float: left;
}

.pagination-right {
  float: right;
}
