/* 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 STYLE RULES ========= */

* {
   box-sizing: border-box;
}

body {
   color: black;
   max-width: 50%;
	margin: 4em auto;
   padding-right: 1em;
   background-color: white;
   font-family: "IBM Plex Mono", 'Courier New', Courier, monospace;
}

#content {
   display: grid;
   grid-template-columns: 30% 70%;
   grid-gap: 30px;
   grid-template-areas:
   "header header"
   "journal journal-content"
   "design-for-web design-for-web-content"
   "applied-art applied-art-content"
   "ux-design ux-design-content"
   "content-management content-management-content"
   "major-project major-project-content"
   ". footer";
}

main {
  display: block;
}

header {
   grid-area: header;
   text-align: center;
   margin-top: 1em;
   margin-bottom: 1em;
   font-size: 4em;
   font-weight: 400;
   
}

#journal {
   grid-area: journal;
}

#journal-content {
   grid-area: journal-content;
}

#design-for-web {
   grid-area: design-for-web;
}

#design-for-web-content {
   grid-area: design-for-web-content;
}

#applied-art {
   grid-area: applied-art;
}

#applied-art-content {
   grid-area: applied-art-content;
}

#major-project {
   grid-area: major-project;
}

#major-project-content {
   grid-area: major-project-content;
}

footer {
   grid-area: footer;
   padding-top: 4em;
}

aside {
   font-size: 1em;
   font-weight: 650;
   text-align: right;
}

p {
   padding-top: 1em;
   font-weight: 500;
}

p:first-of-type {
   padding-top: 0;
}

ul {
   list-style-type: '- ';
}

li {
   margin-left: 2em;
}

li:first-of-type {
   padding-top: 0.25em;
}

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

a:hover {
   color: orange;
}

a:active {
   color: #74cc00; /* green */
}

/* paper airplane sprite */

article p.sprite a:link, article p.sprite a:visited {
	display: block;
	width: 300px;
	height: 100px;
   font-size: 1em;
	
	/* png fallback */
	background: url(images/paperairplane.png);
	/* svg */
	background: url(images/paperairplane.svg), linear-gradient(transparent, transparent);
	background-repeat: no-repeat;
	background-size: 100px;
}

article p.sprite a:hover {
	background-position-y: -100px;
   color: orange;
}

article p.sprite a:active, article p.sprite a:focus {
	background-position-y: -200px;
   color: #74cc00; /* green */
}

