html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1f1f2f;
}

a {
    outline: none;
    text-decoration: none;
    padding: 2px 1px 0;
}

a:link {
    color: #027dd8;
}

a:visited {
    color: #027dd8;
}

a:focus {
    border-bottom: 1px solid;
}

a:hover {
    border-bottom: 1px solid;
    color: #027dd8;
}

a:active {
    color: #FFD0CF;
}

#container {
    display: flex;
    justify-content: center;
}

#background {
    padding: .5em;
    margin: 0;
    max-width: 900px;
}

@media (min-width: 300px) {
    #background {
        padding: 1em;
        margin: .5em;
    }
}

@media (min-width: 380px) {
    #background {
        padding: 2em;
        margin: 1em;
    }
}

@media (min-width: 780px) {
    #background {
        margin: 2em;
        padding: 3.5em;
    }
}

#header {
    text-align: center;
}

#header>h1 {
    margin: 0;
    font-weight: 200;
    font-size: 3em;
}

#header>ul {
    padding: 0;
    list-style: none;
}

#header>ul>li {
    display: inline-block;
    padding: 0 .5em;
}

#content>section:first-of-type {
    margin-top: 0;
}

#content>section {
    margin-top: 1.34em;
}

#content>section>h2 {
    font-size: 2em;
    font-weight: lighter;
    margin-bottom: .67em;
    margin-top: 0;
}

#content>section>h2:after {
    content: '';
    display: block;
    border: 1px solid #eeeeee;
}

.item {
    margin-bottom: 1.5em;
}

.item>h3 {
    font-weight: 600;
    font-size: medium;
    margin-bottom: 0;
}

.item>p {
    margin-top: .5em;
    margin-bottom: 0;
}

#content>section:last-of-type>.item:last-of-type {
    margin-bottom: 0;
}

.italics {
    font-style: italic;
}

.subtitle {
    font-size: smaller;
    font-style: italic;
}

@media screen {
    body {
        background: linear-gradient(rgba(61, 134, 184, 0.3) 10%, rgba(188, 228, 255, 0.3) 80%, rgba(131, 148, 193, 0.3));
    }

    .background {
        margin: 1em auto;
        padding: 4em;
        border-radius: 1rem;
        background-color: rgba(250, 250, 250, 0.9);
        -webkit-box-shadow: 0 0 32px 0 rgba(31, 31, 47, .05);
        -moz-box-shadow: 0 0 32px 0 rgba(31, 31, 47, .05);
        box-shadow: 0 0 32px 0 rgba(31, 31, 47, .05);
    }

}

@media print {
    #header a::after {
        content: " ("attr(href) ")";
    }

    body {
        background-color: #ffffff;
    }

    #header>ul>li {
        display: block;
    }

    #background {
        margin: 1em auto;
        padding: 2em;
        background-color: #ffffff;
    }
}