
html {
    color: black;

    font-family: Tahoma, Verdana, Segoe, sans-serif;
    font-size: 100%;

    line-height: 1.25;
}

@media screen and (min-width: 30em) {
    html {
        font-size: 125%;
    }
}


body {
    margin: 0;
    padding: 1.5rem;

    font-size: 1.125rem;
}

main {
    max-width: 64rem;
    margin: 0 auto;

}

a,
a:visited {
    color: crimson;
}

h1, h2, h3, h4 {
    color: red;
}

h1, h2 {
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
}

h1 {
    font-size: 2rem;
    margin: 0 0 1rem;

    text-transform: uppercase;
    letter-spacing: 0.25em;
}

h1 span {
    display: inline-block;

    position: relative;

    padding-bottom: 0.375rem;
}

h1 span::after {
    position: absolute;

    display: block;
    content: '';

    left: 0; bottom: 0; right: 0.25em; /* Hack to not underline space after the last letter */

    border-top: 0.375rem solid currentColor;
}

@media screen and (min-width: 40em) {
    h1 {
        font-size: 2.5rem;

        letter-spacing: 0.5em;
    }
    h1 span::after {
        right: 0.5em;
    }
}

@media screen and (min-width: 50em) {
    h1 {
        font-size: 3rem;
    }
}

h3, h4 {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

h2 {
    font-size: 1.75rem;
    margin: 0;
}

h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

header {
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

p, ul {
    margin: 0 0 1rem;
}

section {
    margin-top: 2rem;
}


li {
    line-height: 1.5;

    color: dimgray;
}

small {
    font-size: 1em;
}

footer {
    margin-top: 3rem;
    border-top: 2px solid gray;
    padding-top: 1rem;

    font-size: 0.75rem;

    text-align: center;
}

footer a,
footer a:visited {
    color: gray;
}
