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

/* GLOBAL */

body {
	font-family: Arial, sans-serif;
	color: #666;
}
header {
	padding: 2em 0;
}
main {
	width: 1630px;
	margin: 30px auto;
}
h1, h2, h3, h4, p {
	text-align: center;
}
h1 {
	color: #ccc;
	font-family: Arial, sans-serif;
	font-size: 8em;
	letter-spacing: -6px;
}
h1 img {
	width: 300px;
	height: auto;
}
h2 {
	padding: 0 1em 0.75em;
	margin-bottom: 1em;
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: 3em;
	font-weight: normal;
	color: #aaa;
	letter-spacing: -2px;
	display: block;
	border-bottom: solid 1px #ddd;
}
h3 {
	font-size: 1.2em;
	font-weight: normal;
	margin-top: 0.5em;
}
h4 {
	font-size: 1.5em;
	font-weight: bold;
	margin: 1em auto 0.5em;
	letter-spacing: -1px;
}
p {
	margin: 0 auto;
}
p.tagline {
	font-size: 1.5em;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-top: 2em;
	padding: 0 2em;
	line-height: 1.2;
}
a {
	color: #666;
	text-decoration: none;
}
ul {
	display: grid;
	grid-template-columns: 300px 300px 300px 300px 300px;
	column-gap: 30px;
	row-gap: 30px;
}
li {
	list-style-type: none;
	width: 300px;
	height: 300px;
	background: #eee;
	border: solid 1px #ccc;
	padding-top: 2em;
}
li img {
	display: block;
	width: 150px;
	height: 150px;
	margin: 0 auto;
	border-radius: 12px;
}
li a {
	display: block;
	width: 100%;
	height: 100%;
}
li a h4 {
	color: #369;
}
li:hover {
	border-color: #03c;
}
li:hover a h4 {
	color: #03c;
}

/* LARGE */

@media screen and (min-width: 1025px) and (max-width: 1700px) {
	main {
		width: 960px;
	}
	ul {
		grid-template-columns: 300px 300px 300px;
	}
}

/* MEDIUM */

@media screen and (min-width: 721px) and (max-width: 1024px) {
	main {
		width: 630px;
	}
	ul {
		grid-template-columns: 300px 300px;
	}
}

/* SMALL */

@media screen and (max-width: 720px) {
	main {
		width: 300px;
	}
	h2 {
		font-size: 2em;
	}
	ul {
		grid-template-columns: 300px;
	}
}