:root {
    --bg: #fcfffa;
    --text-primary: #2b0000;
    --text-secondary: #363737;
    --text-tertiary: #757575;
    --accent: #d86d38;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: myFont;
    src: url(/asset/LeagueSpartan-Light.woff2);
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: myFont;
    font-size: 115%;
    line-height: 1.6;
    padding: 4rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
    font-family: cursive;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h2:hover a {
    color: var(--accent);
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.5rem;
    }

    body {
        padding: 2rem 1rem;
    }

}

img {
    max-width: 66%;
    height: auto;
    margin: 2rem auto;
    border-radius: 4px;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.5rem 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

blockquote p {
    margin-bottom: 0.5rem;
}

blockquote p:last-child {
    margin-bottom: 0;
}

figure {
    margin: 3rem 0;
    text-align: center;
}

figcaption {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    font-style: italic;
}

p {
    margin-bottom: 1.5rem;
}

h2,
h3,
h4 {
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

ul,
ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: inherit;
    font-weight: normal;
    text-underline-offset: 3px;
    text-decoration-color: var(--text-tertiary);
    text-decoration-thickness: 1px;
    text-decoration-style: dotted;
}