@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

html, body {
    height: 100%;
}

body {
    max-width: 680px;      /* Creates that focused central column */
    margin: 0 auto;        /* Centers the column */
    padding: 2rem 1rem;
    font-family: 'EB Garamond'; /*, 'Merriweather', 'Georgia', serif; /* The classic "writer" look */
    line-height: 1.6;
    color: #333;
    background-color: #fdfdfd;
    display: flex;
    flex-direction: column;
}

nav { margin-bottom: 3rem; }
nav a { margin-right: 15px; text-decoration: none; color: #555; font-weight: bold; }
nav a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: 'EB Garamond'; margin-top: 2rem; }
a { color: #0056b3; }
code { background: #eee; padding: 2px 5px; border-radius: 3px; font-size: 0.9em; }
pre { background: #f4f4f4; padding: 15px; overflow-x: auto; border-radius: 5px; }
.date { color: #888; font-size: 0.9rem; margin-left: 10px; }

main {
    flex: 1;
}

footer {
    margin-top: auto;
    padding-top: 2rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

footer a {
    color: #888;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
