/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
	box-sizing: border-box;
}

/* ========== END OF RESET ==========  */

/* EXTENDS GRADIENT WHEN ZOOMED OUT */

html {
    height: auto;
    min-height: 100%;
}

body {
    background-color: #190007da;
    background-image: linear-gradient(#341a1e, #1a090c);
    padding-bottom: 1em;
    position: relative;
    color: #e1dede;
    font-family: 'M PLUS Rounded 1c', 'Segoe UI Variable', 'Verdana', sans-serif;
}

header {
    width: 100%;
    padding-bottom: 1em;
    justify-content: center;
}

main {
    padding: 2em;
    border-radius: 1em;
    border-style: groove;
    border-color: #181515;
    width: 65%;
    max-width: 1080px;
    background-color: #3c0418;
    margin: 2em auto;
}

footer {
    padding: 1em;
    margin: 1em auto;
    text-align: center;
}

/* ========== TYPOGRAPHY ========== */

h1, h2, h3, h4 {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
}

h1 {
    /* TYPOGRAPHY */
    font-family: 'Rubik Glitch', 'Chiller Regular', 'Times New Roman', Times, serif;
    font-size: 5em;
    word-spacing: .3em;
    /* LAYOUT */
    padding-top: .5em;
}

h1+h2 {
    padding-top: 1em;
}

/* PADDING BETWEEN HEADINGS AND TOP OF PARAGRAPHS */

h2+p, h3+p {
    padding-top: 1em;
}

h2 {
    font-size: 3em;
    font-weight: 900;
    padding-top: 1em;
}

main[aria-label] h2 {
    font-size: 2.3em;
}

h3 {
    font-size: 1.5em;
    font-weight: 900;
    font-style: italic;
    padding-top: 1.5em;
}

main[aria-label] h3 {
    font-size: 2em;
    font-weight: 900;
    font-style: normal;
    padding-top: 1.5em;
}

h4 {
    font-size: 1.5em;
    font-weight: 900;
    font-style: italic;
    padding-top: 1.5em;
}

p {
    font-size: 1.3em;
    margin-top: .5em;
    line-height: 1.5;
    justify-content: center;
    padding-top: 1em;
    margin: 0 auto;
    width: 90%;
}

/* PADDING UNDER LAST PARAGRAPH ONLY */

P:last-of-type {
    padding-bottom: 1em;
}

cite {
    font-style: italic;
}

cite a {
    font-style: italic;
    width: 30%;
}

/* ========== LINE TO BREAK UP PARAGRAPHS ========== */

hr {
    border-top: 0.5px dotted #FFFFFF;
    margin-top: 2em;
    width: 90%;
}

/* ========== FOOTER COURSEWORK HYPERLINK ========== */

footer a {
    /* TYPOGRAPHY */
    font-size: 1em;
    color: #e1dede;
    /* DESIGN */
    display: flex;
    align-items: center;
    margin: 1em auto;
    width: 9.5em;
    justify-content: center;
    list-style-type: none;
}

/* ========== WRAPPER ========== */

#hamburger-icon {
    width: 100%;
    background: #22040f;
}

/* ========== DESKTOP NAV BAR ========== */

#navpages { 
    display: flex; 
}

#navpages a {
    font-size: 1.2em;
    flex-grow: 1;
    flex-basis: 0;
    padding: 20px;
    color: #e1dede;
    text-decoration: none;
    text-align: center;
}

/* ========== HIDE HAMBURGER ========== */

#hamburger-icon label, #hamburger { 
    display: none; 
}

/* ========== HYPERLINK STATUS ========== */

#navpages a:link, a:visited {
    color: #e1dede;
}

#navpages a:hover { 
    background-color: #64333b; 
}

#navpages a:active {
    color: #812d33;
}

#navpages a:focus {
    color: #726b7b;
}

/* COURSEWORK HYPERLINK STATUS */

footer a:hover {
    background-color: #64333b;
    width: 9.5em;
}

/* ========== SCALING TYPOGRAPHY ========== */

@media screen and (max-width: 540px) and (min-width: 260px) {
    h1 {
        font-size: 14vw;
    }

    h2 {
        font-size: 6vw;
    }

    .excerpt h2 {
        font-size: 1vw;
    }

    h3 {
        font-size: 5vw;
    }

    h4 {
        font-size: 4vw;
    }

    p {
        font-size: 3.8vw;
    }
}

@media screen and (min-width:300px) {
    main {
        width: 75%;
    }
}

@media screen and (max-width:1080px) {
    body {
        background-color: #190007da;
    }
}

/* ========== RESPONSIVE HAMBURGER MENU ========== */

@media screen and (max-width: 620px){
    #navpages a {
    font-size: 1em;
    padding: 15px;
    background-color: #130309;
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-top: 1px solid #333;
    }

/* SHOW HAMBURGER ICON */

#hamburger-icon label { 
    display: inline-block;
    color: #e1dede;
    background: #000000;
    font-style: normal;
    font-size: 1.2em;
    padding: 10px;
    }

/* TOGGLE SHOW/HIDE MENU */

#navpages { 
    display: none;
    }

#hamburger-icon input:checked ~ #navpages { 
    display: block;
    }
}