@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Hedvig+Letters+Serif:opsz@12..24&display=swap');

:root {
    --width: 720px;
    --font-main: "Cormorant Garamond", serif;
    --font-secondary: "Hedvig Letters Serif", serif;
    --font-scale: 1em;
    --background-color: #ffffff;
    --heading-color: #222;
    --text-color: #444;
    --link-color: #222;
    --visited-color: #444;
    --code-background-color: #f2f2f2;
    --code-color: #222;
    --blockquote-color: #222;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-scale);
    margin: auto;
    padding: 20px;
    max-width: var(--width);
    text-align: left;
    background-color: var(--background-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    color: var(--text-color);
}

.header-image {
    width: 100%;
    max-width: var(--width);
    height: auto;
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.header-image img {
    width: auto;
    height: 300px;
    max-width: 100%;
    object-fit: contain;
    object-position: left;
}

h1 {
    font-family: var(--font-main);
    color: var(--heading-color);
    font-size: 2em;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 0px;
}

.nav {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 800;
}

.nav a:hover {
    text-decoration: underline;
}

a {
    color: var(--link-color);
}

#blog-list {
    width: 100%;
    border-collapse: collapse;
    font-weight: 300;
}

#blog-list td {
    padding: 5px 0px;
    text-align: left;
    vertical-align: top;
    width: auto;
}
.img-credit {
    position: fixed;
    bottom: 10px;
    right: 15px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.credit-text {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 0;
    background: white;
    color: black;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 12px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    width: max-content;
}

.img-credit:hover .credit-text {
    display: block;
}

.img-credit a {
    color: inherit;
    text-decoration: none;
}

.img-credit a:hover {
    text-decoration: underline;
}