@font-face {
    font-family: 'Inter Display Black';
    src: url('font/InterDisplay-Black.woff2') format('woff2'),
         url('font/InterDisplay-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'FK Roman Regular';
    src: url('font/FKRomanText-Regular.woff2') format('woff2'),
         url('font/FKRomanText-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GT Sectra Italic';
    src: url('font/GTSectra-RegularItalic.woff2') format('woff2'),
         url('font/GTSectra-RegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

body {
    font-family: 'FK Roman Regular', Arial, sans-serif;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
}

p,.content li {
    font-family: 'FK Roman Regular', Arial, sans-serif;
    font-size: 1.05em;
}

h1, h2, h3 {
    font-family: 'Inter Display Black', Arial, sans-serif;
}

h1{
    line-height: 1.1;
}

h2{
    line-height: 2em;
}

em, i, strong, li i {
    font-family: 'GT Sectra Italic', serif;
    font-style: italic;
}

p em, p i, p strong{
    font-size: 1.1em;
    line-height:1em;
}

.nav-menu {
    background-color: #ffffff;
    padding: 10px;
    width: 250px;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    font-family: 'Inter Display Black', Arial, sans-serif;
    letter-spacing:.02em;
}

.nav-menu h2 {
    margin-top: 0;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
}

.nav-menu li {
    margin-bottom: 5px;
}

.nav-menu a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    display: block;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #852429;
    text-decoration: none;
}

.content-wrapper {
    width: calc(100% - 250px);
    margin-left: 250px;
    display: flex;
    justify-content: center;
}

.content {
    padding:0 40px 40px 40px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

blockquote {
    border-left: 6px solid #000;
    margin-left: 0;
    padding-left: 20px;
    font-style: italic;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0.2em;
    text-align:center;
}

h2 {
    font-size: 1.8em;
    margin-top: 0.2em;
    margin-bottom: 1em;
    text-align:center;
}

h3 {
    font-size: 1.5em;
    margin-top: 3em;
    text-align:center;
}

ul{
    list-style-type: square;
    padding:15px;
}

.footnote li i{
    font-size:1.15em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
}

.border{
    margin: 2em 0 2em 0;
}

.nav-menu img{
    margin: 0;
}

.figure {
    margin: 2em 0;
    text-align: center;
}

.figure img {
    margin-bottom: 0.5em;
}

.caption {
    font-style: italic;
    text-align: center;
    margin-top: 0.5em;
}

.footnote {
    font-size: 0.8em;
    margin-top: 2em;
    border-top: 1px solid #ddd;
    padding-top: 1em;
}

.footnote a {
    font-size:1.4em;
    vertical-align: middle;
    font-family:monospace;
}

sup {
    line-height: 0;
    color:#852429;
}

a {
    color:#852429;
    text-decoration: none;
}

a:hover {
    color:#806f71;
}

.notes {
    border-top: 1px solid #ddd;
    margin-top: 2em;
    padding-top: 1em;
}

.notes ul {
    padding-left: 1.5em;
}

.notes li {
    margin-bottom: 1em;
}

/* Mobile styles */
@media screen and (max-width: 900px) {
    body {
        flex-direction: column;
    }
    
    .nav-menu {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        box-sizing: border-box;
    }
    
    .content-wrapper {
        width: 100%;
        margin-left: 0;
    }
    
    .content {
        padding:0 15px 0 15px;
        width: 100%;
    }

    .nav-menu img{
        margin: 0 auto 0 auto;
        max-width: 100%;
    }

    .preorder{
        display:none;
    }
}

/* Additional styling to ensure content is centered */
@media screen and (min-width: 901px) {
    body {
        overflow-x: hidden;
    }
}