/* 
MEYER RESET
http://meyerweb.com/eric/tools/css/reset/ 
*/

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;
}

/* 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;
}

/* CUSTOM STYLING BEGINS HERE :) */

/* 
REFERENCE GUIDE :)
Font: Lora
Text Colors:
    Header - Orange - #DE4343
    Subhead - Blue - #004AAD
    Accent - Purple - #71437A
    Body - Black - #1A1A1A
Background Colors:
    Site - Light gray - #F5F5F5
    "Hook" paragraph - Soft Yellow - #FFF9E6; 
    
*/


body {
    box-sizing: border-box;
    font-family: Lora, 'Times New Roman', Times, serif;
    margin: 2em auto;
    max-width: 75%;
    background-color: #F5F5F5; 

}

header {
    font-size: 3em;
    font-weight: 600;
    color: #DE4343;
    border-bottom: 2px solid #DE4343;
    padding-bottom: 1em;
}

.content {
    display: grid;
    grid-template-areas:
    "aside main"
    ". footer";
    grid-template-columns: 150px 1fr;
    grid-column-gap: 10px;
}

aside {
    grid-area: aside;
    max-width: 150px;
    border-right: 2px solid #DE4343;

}

/* NAVIGATION COLUMN STYLING :) */

nav {
    padding-top: 2em;
}

nav li {
    font-size: 1em;
    font-weight: 600;
    padding-bottom: .75em;
}

nav a, nav a:visited {
    color: #004AAD;
    position: relative;
    text-underline-offset: 0.2em;
}

nav a.current, nav a.current:visited {
    color: #71437A;
    border-left: 3px solid #71437A;
    padding-left: 8px;
}

nav a:hover {
    color: #DE4343;
    text-decoration-thickness: 0;
    left: 3px;
    
}

nav a:active {
    top: 1.5px;
}

/* MAIN CONTENT COLUMN STYLING :) */

main {
    margin-top: 1em;
    margin-left: 0.75em;
    padding: 2em;
    font-size: 1.125em;
    grid-area: main;
    text-wrap: pretty;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
}

h1 {
    font-size: 2em;
    color: #71437A;
    padding-bottom: 1em;
}

h2 {
    font-size: 1.5em;
    font-style: italic;
    color: #71437A;
    padding-bottom: 0.75em;
    padding-top: 1.25em; 
}

p {
    padding-bottom: 1em;
    line-height: 1.6;
    color: #1a1a1a;
}

p:last-of-type {
    font-size: 0.9em;
    padding-top: 2em;
    padding-bottom: 0.5em;
    margin-top: 2em;
    border-top: 1px solid #E0E0E0;
}

main span:last-of-type {
    color: #808080;
    font-size: 0.8em;

}

.hook {
    background-color: #FFF9E6;  
    padding: 1.5em;
    margin-bottom: 1.5em;
    border-left: 4px solid #DE4343;

}

i {
    font-style: italic;
}

a, a:visited {
    color: #004AAD;
    text-decoration-color: #004AAD;
    position: relative;
}

a:hover {
    color: #DE4343;
    text-decoration: none;
}

a:active {
    top: 1.5px;
}

strong {
    font-weight: 600;
}

/* FOOTER STYLING */

footer {
    display: flex;
    gap: 2em; 
    margin-top: 3em;
    max-width: 700px;
    font-size: 0.8em;
    grid-area: footer;
    line-height: 1.2;
}

footer section {
    flex: 1; 
}

footer span {
    font-weight: 600;
}

footer ul {
    padding-top: .75em;
}

