/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
}
/* 2. Remove default margin */
* {
    margin: 0;
}
body {
    /* 3. Add accessible line-height */
    font-size: 100%;
    line-height: 1.5;
    /* 4. Improve text rendering */
    -webkit-font-smoothing: antialiased;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
/* 5. Improve media defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
/* 6. Inherit fonts for form controls */
input, button, textarea, select {
    font: inherit;
}
/* 7. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
/* 8. Improve line wrapping */
p {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
/*
  9. Create a root stacking context
*/
#root, #__next {
    isolation: isolate;
}

/*
Page Styles
*/

#site-title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-weight: 900;
    font-optical-sizing: auto;
    font-style: normal;
    color: black;
    text-transform: uppercase;
    font-size: 12vw;
    max-width: 95vw;
    margin: auto;
}

header a {
    text-decoration: none;
}

footer a {
    color: black;
    margin-right: 10%;
}

footer {
    padding-top: 3em;
    border-top: 1px solid black;

    padding-bottom: 5em;
}

#content, footer {
    margin: auto;
    width: min(59ch, 80vw);
}

#article-index {
    a {
        text-decoration: none;
        color: black;
    }
}

h1 {
    margin-top: 3em;
    margin-bottom: 2em;
}

h2, h3 {
    margin-top: 1.5em;
    margin-bottom: 1em;
}

p, h4, h5, h6 {
    margin-bottom: 1em;
}

#content {
    h1 {
        font-size: 2.62em;
        font-weight: 800;
    }
    h2 {
        font-size: 2.62em;
        font-weight: 400;
    }
    h3 {
        font-weight: 400;
        font-style: italic;
    }
    p {
        font-size: 1.5em;
    }
}
