@import url("ericmeyerreset.css");
/* @import url("html5reset.css"); */
/* @import url("amoderncssreset.css"); */
/* @import url("thenewcssreset.css"); */
@import url("flexbox.css");

/* Colors */
/* Toasted Peach
    Orange  #fbaa60
    Peach   #fbc490
    Coral   #f67b50
    Scarlet #a82810
*/

body {
    background-color: gray;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
}

/* === HEADER === */

header {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: flex-end;
    background-color: #a82810;
}

header > h1 {
    /* flex: 2; */
    text-transform: uppercase;
    font-weight: bold;
    font-style: italic;
    font-size: 2rem;
    padding-left: 1rem;
    padding-top: 1.25rem;
    height: 3.5rem;
}

h1 > small {
    font-size: 1rem;
}

nav {
    /* flex: 1; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-flow: row wrap;
    background-color: #f67b50;
    height:auto;
}

nav a {
    display: block;
    padding: 0.5rem;
}

/* === MAIN CONTENT === */

main {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 5px;
}

article {
    max-width: 800px;
}

article > h1:first-child {
    font-size: 2rem;
    font-weight: bold;
    color: #a82810;
}

article #author {
    font-style: italic;
    font-weight: bold;
    font-size: 0.75rem;
}

article #author::before {
    content: "Author: ";
}

article #date {
    font-style: italic;
    font-weight: bold;
    font-size: 0.75rem;
}

article #date::before {
    content: "Last updated: ";
}

a:link {
    color: #a82810;
}

a:focus {
    font-weight: 800;
    color:chartreuse;
}

a:visited {
    color: #a82810;
}

a:hover {
    color:chartreuse;
}

a:active {
    color: darkblue;
}

h1 {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 1rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: bold;
    font-style: italic;
    margin: 1rem;
}

p {
    margin: 1rem;
}

ul {
    margin-left: 1em;
}

li {
    list-style: disc;
    margin-left: 1em;
}

del {
    /* text-decoration-line: line-through; */
    /* color: red; */
}

pre {
    margin: 1rem 1rem;
    padding: 1rem;
    background-color: black;
    font-family:'Courier New', Courier, monospace;
    font-size: 0.75rem;
}

/* === FOOTER === */

footer {
    background-color: #a82810;
    margin: 10px 5px;
    text-align: center;
    color: #fbaa60;
}