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

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 Styles */

html {
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
    color: #1A1A1A;
    scroll-behavior: smooth;
}

body {
    display: flex;
    align-items: center;
    min-height: 100vh;
    background-color: #F2F2F2;
    flex-direction: column;
}

nav {
    margin: 4em 0 2em 0;
    padding: 1em 1em;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.5em;
    width: 80%;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

main {
    padding: 1em 1em;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 0.5em;
    width: 80%;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

#nav-logo {
    width: 1.5em;
    height: 1.5em;
    margin-right: 1em;
}

.nav {
    display: flex;
    justify-content: space-evenly;
    flex-grow: 1;
}

.nav-item {
    font-weight: 600;
    font-size: 1.125em;
}

a {
    text-decoration: none;
    transition: color 200ms ease-in-out;
}

a, a:visited {
    color: inherit;
}

a:hover, a:focus {
    color: #FFD700;
}

.section {
    font-weight: 600;
    font-size: 1.125em;
    margin: 0.75em 0;
}

.section:first-child {
    margin: none;
}

.content {
    padding-bottom: 0.75em;
    border-bottom: 2px solid #F2F2F2;
}

.content:last-child {
    margin-bottom: none;
    border-bottom: none;
}

footer {
    margin: 2em 0 4em 0;
    padding: 1em 1em;
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 0.5em;
    width: 80%;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

i {
    font-size: 1.125em;
}

.project {
    background-color: #F2F2F2;
    padding: 0 0.25em;
    border-radius: 0.375em;
    font-family: 'DM Mono', monospace;
}

p {
    line-height: 1.25;
}

@media (min-width: 1024px) {
    footer, main, nav {
        width: 50%;
    }
}
