@font-face {
    font-family: "Departure Mono";
    src:
        url("/font/departure-mono/DepartureMono-Regular.woff2") format("woff2"),
        url("/font/departure-mono/DepartureMono-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Iowan Old Style";
    src: url("/font/iowan-old-style/iowan-old-style_regular.woff2")
        format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Iowan Old Style";
    src: url("/font/iowan-old-style/iowan-old-style_bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Iowan Old Style";
    src: url("/font/iowan-old-style/iowan-old-style_italic.woff2")
        format("woff2");
    font-weight: normal;
    font-style: italic;
}

body {
    font-family: "Iowan Old Style", Georgia, serif;
    color: #333;
    line-height: 1.6;
}

p {
    margin-bottom: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Departure Mono", monospace;
    text-transform: uppercase;
}

h2 {
    font-size: 22px;
    line-height: 1.2;
}

h2::after {
    content: "\A======";
    white-space: pre-wrap;
    line-height: 0.8;
}

h3 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.2;
}

h3::after {
    content: "\A------";
    white-space: pre-wrap;
    line-height: 0.8;
}

a {
    color: #0000ff;
}

a:hover {
    background-color: #ffff00;
}

a:visited {
    color: #ff00ff;
}

a:active {
    color: red;
}

*::selection {
    background-color: blue;
    color: white;
}

/* Content Typography */
.content h2 {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
}

.content h2:first-child {
    margin-top: 0;
}

/* Code Blocks */
pre {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: "Departure Mono", monospace;
    font-size: 14px;
    line-height: 1.6;
}

code {
    font-family: "Departure Mono", monospace;
    font-size: 14px;
}

pre code {
    background: none;
    border: none;
    padding: 0;
}

p code,
li code {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 2px 6px;
}
