/* =============================================
   MSC Theme – matthias-schneiderbanger.de
   ============================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --color-bg:      #ffffff;
    --color-text:    #000000;
    --color-link:    #000000;
    --color-muted:   #555555;
    --font-main:     'VT323', monospace;
    --max-width:     480px;
    --font-size:     1.0rem;
}

html {
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--font-size);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    hyphens: auto;
    lang: de;
}

/* ── Layout ──────────────────────────────── */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ── Typografie ──────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: normal;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.7rem; }
h4 { font-size: 1.5rem; }
h5 { 
    font-size: 1.0rem;
    text-decoration: underline;
}


p {
    margin: 0.5rem 0 1rem;
}

/* Style for horizontal line */
ul li hr {
    border: 0;
    border-top: 1px solid #e1e1e1;
    /* Subtle line color */
    margin: 50px 0;
    /* Space around the line */
    width: 60%;
    /* Line width */
    margin-left: 50px;
    /* Matches list item indentation */
    margin-bottom: 50px;
}

hr {
    border: 0;
    border-top: 1px solid #e1e1e1;
    /* Subtle line color */
    margin: 30px 40px;
    /* Space around the line */
    /* width: 80%; */
    /* Line width */
    /* margin-left: 20px; */
    /* Matches list item indentation */
    /* margin-bottom: 20px; */
}

/* ── Links ───────────────────────────────── */

/*a {
    color: var(--color-link);
    text-decoration: underline;
}*/

a {
    color:#3279A6;
    text-decoration: none;
    font-weight:normal;
    border-radius: 0px;
    filter:brightness(100%);
}

a:hover {
    color:black;
}

/*a:hover {
    text-decoration: none;
}*/

/* ── Bilder ──────────────────────────────── */

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.75rem 0;
}

.round-img {
    width: clamp(120px, 30vw, 200px);
    height: clamp(120px, 30vw, 200px);
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 1.5rem auto;
}

/* ── Listen (Events) ─────────────────────── */

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li::before {
    content: "-";
    /* Use "–" for a shorter mark */
    font-size: 1.0em;
    color: #333333;
    position: absolute;
    left: 0;
}

/*ul li {
    margin-bottom: 1rem;
}*/

ul li {
    list-style-type: none;
    padding-left: 20px;
    position: relative;
}

ul li p {
    hyphens: auto;
    width: 350px;
}

ul li h5 {
    text-decoration: underline;
    width: 400px;
    font-size: 1.0em;
}

/* ── Navigation ──────────────────────────── */

.site-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1rem 0;
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--color-muted);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--color-text);
    text-decoration: underline;
}

/* ── Texte / Blog ────────────────────────── */

.meta {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.project-list,
.item-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.project-list li,
.item-list li {
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--color-muted);
    margin-top: 0;
}

.post-nav {
    overflow: hidden;
    font-size: 0.95rem;
}

/* ── Footer ──────────────────────────────── */

footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
    border-top: 1px solid var(--color-text);
    font-size: 1rem;
    color: var(--color-muted);
}

footer a {
    color: var(--color-muted);
}

/* ── Responsive ──────────────────────────── */

@media (max-width: 480px) {
    :root {
        --font-size: 1.15rem;
    }
}

.page-header {
    text-align: center;
}

@font-face {
    font-family: 'VT323';
    src: url('../fonts/VT323-Regular.ttf') format('truetype');
    font-display: swap;
}
