/* =====================================
   Christmas Modern Light Theme
   ===================================== */

:root {
    --bg: #ffffff;
    --text: #222222;
    --card-bg: #f9f9f9;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --header-bg: #c0392b;
    --link: #1a5f3d;
    --primary: #2e7d32;
}

[data-theme="dark"] {
    --bg: #1a1210;
    --text: #f0e0c0;
    --card-bg: #2b1f18;
    --card-shadow: rgba(255, 150, 60, 0.15);
    --header-bg: #3d1f12;
    --link: #ffb347;
    --primary: #ff9f45;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family:
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;

    color: var(--text);
    line-height: 1.7;

    background:
        linear-gradient(
            180deg,
            #f8fbfd 0%,
            #eef5f8 100%
        );

    background-color: var(--bg);
    transition: background-color 0.4s ease, color 0.4s ease;
}



/* Header */


header {

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f1f7fa
        );

    padding: 1.5em 1.5rem;

    text-align: left;

    border-bottom: 1px solid var(--border);

    background-color: var(--header-bg);
    transition: background-color 0.4s ease;
}

header h1 {

    margin: 0;

    font-size: 2.5rem;

    font-weight: 700;

    color: var(--primary);
}

header p {

    margin-top: 0.75rem;

    color: var(--text-light);

    font-size: 1.05rem;
}

/* Layout */

main {

    max-width: 900px;

    margin: 2rem auto;

    padding: 0 1rem;
}



/* Karten */

.card {

    background: var(--surface);

    border-radius: var(--radius);

    padding: 1.5rem;

    margin-bottom: 1.5rem;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    background-color: var(--card-bg);
    box-shadow: 0 2px 8px var(--card-shadow);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {

    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.12);
}

.card h2 {

    margin-top: 0;

    color: var(--primary);

    font-size: 1.4rem;
}

/* Text */

p {
    margin: 0.8rem 0;

}

.lyrics {
        white-space: pre-wrap;
      overflow-wrap: break-word;
}

ul {

    margin: 0;

    padding-left: 1.3rem;
}

li {

    margin-bottom: 0.7rem;
}

/* Links */

a {

    color: var(--primary);

    text-decoration: none;

    font-weight: 500;
}

a:hover {

    color: var(--primary-light);

    text-decoration: underline;
}

.tree {
    font-size: 3em;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;

    
}



/* Buttons */

.btn,
button {

    display: inline-block;

    background: var(--primary);

    color: white;

    padding: 14px 24px;

    border-radius: 30px;

    border: none;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;
}

.btn:hover,
button:hover {

    background: var(--primary-light);

    text-decoration: none;

    transform: translateY(-2px);
}

/* PDF Viewer */

.pdf-viewer {

    background: #fafafa;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    margin-top: 1rem;
}

iframe {

    width: 100%;
    height: 800px;
    border: none;
}

/* Footer */

footer {

    text-align: center;

    padding: 3rem 1rem;

    color: var(--text-light);

    font-size: 0.95rem;
}

/* Kleine Weihnachtsdetails */

.card h2::before {

    content: "❄ ";
}


/* Smartphone */






/* Candlelight flicker effect in dark mode */
[data-theme="dark"] body {
    background-image: radial-gradient(ellipse at top, rgba(255, 159, 69, 0.08), transparent 70%);
    animation: flicker 6s infinite ease-in-out;
}

@keyframes flicker {
    0%, 100% { background-color: #1a1210; }
    50% { background-color: #1e1512; }
}

.theme-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--primary);
    color: var(--card-bg);
    transform: rotate(15deg) scale(1.1);
}

