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

/* =======MY CSS STARTS HERE========== */

body {
    font-family: "Space Grotesk", "Inter", "DM Sans", sans-serif; /*font for all my parapraphs*/
    font-size: 18px;
    line-height: 1.6;
    background: #F7F7F7;
    color: #111216;
    margin: 0;
}

p {
    margin-top: 1.2em;
    line-height: 2em;
}

p em {
    font-family: "IBM Plex Mono", "IBM Plex Sans", monospace, sans-serif;
    color: #6F7377;
    padding-bottom: 4em;
    font-weight: 600;
}


/* Header */
header {
    background: #3C4A63;
    color: #F7F7F7;
    padding: 2em;
    border-bottom: 4px solid #111216;
}


/* Navigation */
nav {
    display: flex; /*making my nav inline*/
    gap: 2em; /*space between each navigation*/
}

nav a {
    text-decoration: none;
    color: #F7F7F7;
    padding-bottom: 0.2em;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    border-bottom-color: #D1495B;
}

/* Main content */
main {
    max-width: 50%;
    margin: auto; /*to make it centered*/
    margin-top: 3em;
    padding-bottom: 4em;
}

/* Main content */

h1 {
    margin-bottom: 1em;
    font-size: 2.3em;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "IBM Plex Mono", "IBM Plex Sans", monospace, sans-serif;
}

h2 {
    font-size: 1.8em; 
    color: #111216;
    font-family: "IBM Plex Mono", "IBM Plex Sans", monospace, sans-serif; /*A unique clear font which is still easy to read. Font chosen based on design decision*/
}

h3 {
    color: #D1495B;
    font-weight: bold; /*To create clear headings*/
    padding-top: 3em;
    font-size: 1.3em;
    text-transform:uppercase; /*To grab the users attention*/
    letter-spacing: 0.11em;
}




/* Body text links only */
main a {
    color: #D1495B;
    text-decoration: underline; /*underlining the only the links so the user doesnt get confused */
}

main a:hover, a:focus-visible{
    color: #3C4A63;

}

/* Footer */
footer {
    background: #6F7377;
    color: #F7F7F7;
    text-align: right;
    padding: 2em;
    margin-top: 4em;
    border-top: 4px solid #111216;
    font-size: 1em;
}
