/*
Wanha style with vintage typography
2024 Jal
*/

@font-face {
    font-family: 'charter';
    src: url('../../fonts/Charter Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'charter';
    src: url('../../fonts/Charter Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'charter';
    src: url('../../fonts/Charter Italic.ttf');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'charter';
    src: url('../../fonts/Charter Bold Italic.ttf');
    font-weight: bold;
    font-style: italic;
}

@font-face { 
    font-family: 'kanzlei'; 
    src: url('../../fonts/kanzlei-initials.ttf'); 
} 

body {
    font-family: 'charter', Georgia, 'Times New Roman', serif;
    font-size: 1em;
    color: #000000;
    background-color: #f7f4ed;

}

h1 {
    font-family: 'kanzlei', Georgia, 'Times New Roman', serif;
    font-size: 6em;
    color: #000000;
    text-align: center;
    font-weight: normal;
}

h2 {
    font-family: 'charter', Georgia, 'Times New Roman', serif;
    font-size: 1.8em;
    color: #000000;
    text-align: center;
    margin: 1em 0 0.5em;
    font-weight: bold;
}

h3, h4, h5 {
    font-family: 'charter', Georgia, 'Times New Roman', serif;
    color: #000000;
    font-weight: bold;
}

a {
    color: #2B4B9B;
    text-decoration: none;
    border-bottom: 1px solid #2B4B9B;
}


table {
    border-collapse: collapse;
    margin: 1.5em 0;
    width: 100%;
    border: 1px solid #000000;
}

th, td {
    border: 1px solid #000000;
    padding: 0.45em;
}

th {
    font-weight: bold;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    padding: 0.2em 0.4em;
    border-radius: 0.4em;
    background-color: #e3ded4;
}

pre code.hljs {
    background-color: #e3ded4;
}

blockquote {
    margin: 1.5em 0;
    padding: 0.2em 1em;
    font-style: italic;
    color: #000000;
    background-color: #e3ded4;
}

hr {
    border: 0;
    border-top: 1px solid #000000;
    margin: 2em 0;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
        color: #f7f4ed;
    }

    h1 {
        color: #f7f4ed;
        border-bottom-color: #f7f4ed;
    }

    h2 {
        color: #f7f4ed;
        border-bottom-color: #f7f4ed;
    }

    h3, h4, h5 {
        color: #f7f4ed;
    }

    a {
        color: #8BA4DB;
    }


    table {
        border-color: #919191;
    }

    th, td {
        border-color: #919191;
    }


    code {
        background-color: #0d1117;
    }

    pre code.hljs {
        background-color: #0d1117;
    }

    blockquote {
        color: #f7f4ed;
        border-left-color: #f7f4ed;
        background-color: #0d1117;
    }

    hr {
        border-top-color: #f7f4ed;
    }
}

/* Print styles */
@media print {
    body {
        color: #000000;
        background: #FFFFFF;
    }

    a {
        color: #000000;
        border-bottom: none;
    }
} 