:root {
    --text-primary: #cecece;
    --text-secondary: #858585;
    --heading-color: #222222;
    --link-color: #ef003f;
    --link-hover: #cc0036;
    --line-height: 1.6;
    --heading-font: 'Inter', sans-serif;
    --body-font: 'Inter', sans-serif;
    --code-bg: #222222;
    --code-color: #ffffff;
    --code-hover-bg: #404040;
    --table-bg: #2d2d2d;
    --table-border: #4a4a4a;
    --table-header-bg: #363636;
}

img {
    max-width: 100%;
}

footer{
    position: relative;
    bottom: 800px;
}

section {
    color: var(--text-primary);
    font-family: var(--body-font);
    line-height: var(--line-height);
    margin-bottom: 1.5em;
    font-size: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--text-secondary);
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

p, ul, ol, blockquote {
    margin-bottom: 1.5em;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--link-hover);
    border-bottom-color: var(--link-hover);
}

ul, ol {
    padding-left: 2em;
}

li {
    margin-bottom: 0.5em;
}

blockquote {
    margin: 2em 0;
    padding: 1em 2em;
    border-left: 4px solid var(--link-color);
    background-color: rgba(239, 0, 63, 0.05);
    font-style: italic;
}

blockquote p {
    margin: 0;
    color: var(--text-secondary);
}

/* Code-Blöcke */
pre {
    background: var(--code-bg);
    padding: 1.5em;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5em 0;
}

code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9em;
    background: var(--code-bg);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background: var(--table-bg);
}

th, td {
    padding: 0.75em;
    border: 1px solid var(--table-border);
    text-align: left;
    color: var(--text-primary);
}

th {
    background-color: var(--table-header-bg);
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background: #333333;
}

tbody tr:hover {
    background: var(--code-hover-bg);
}

hr {
    border: 0;
    height: 1px;
    background-color: #2b2b2b;
    margin: 2em 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }

    blockquote {
        padding: 1em;
        margin: 1.5em 0;
    }
}

/* Zusätzliche Klassen */
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.text-small { font-size: 0.875rem; }
.text-large { font-size: 1.125rem; }
.font-bold { font-weight: 600; }
.font-light { font-weight: 300; }

/* Code-Block Styles für Syntax Highlighting */
.code-block {
    background: var(--code-bg);
    color: var(--code-color);
    padding: 1.2em;
    border-radius: 8px;
    margin: 1.5em 0;
    overflow-x: auto;
    position: relative;
    font-family: 'Consolas', 'Monaco', monospace;
    line-height: 1.5;
    border: 1px solid var(--table-border);
}

.code-language {
    position: absolute;
    top: 0;
    right: 1em;
    background: var(--table-bg);
    color: #666;
    padding: 0.3em 0.6em;
    border-radius: 0 0 4px 4px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Syntax Highlighting */
.language-python .keyword { color: #ff79c6; }
.language-python .string { color: #f1fa8c; }
.language-python .number { color: #bd93f9; }
.language-python .comment { color: #6272a4; }

.language-javascript .keyword { color: #ff79c6; }
.language-javascript .string { color: #f1fa8c; }
.language-javascript .number { color: #bd93f9; }
.language-javascript .comment { color: #6272a4; }

.language-java .keyword { color: #ff79c6; }
.language-java .string { color: #f1fa8c; }
.language-java .number { color: #bd93f9; }
.language-java .comment { color: #6272a4; }

.language-html .tag { color: #ff79c6; }
.language-html .attribute { color: #50fa7b; }
.language-html .string { color: #f1fa8c; }
.language-html .comment { color: #6272a4; }

.language-css .selector { color: #ff79c6; }
.language-css .property { color: #50fa7b; }
.language-css .value { color: #f1fa8c; }
.language-css .comment { color: #6272a4; }
}