/* thanks, Eric :-)
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;
}

/* End of Reset */

/* Container */

body{
	margin: 0px;
	background-color: lightskyblue;
}

main{
	margin-left: 20px;
	margin-right: 20px;
	margin: 2rem;
}

section{
	margin-top: 2rem;
	margin-bottom: 2rem;
}


/*Typography*/

h1{
	text-align: left;
	margin-top: 25px;
	margin-bottom: 25px;
	margin-left: 5px;
    font-family: Arial;
    text-decoration: none;
    font-size: 100px;
    margin-top: 500px;
    color: red;

}

h2{
	text-align: left;
	margin-top: 25px;
	margin-bottom: 25px;
	margin-left: 5px;
    font-family: Arial;
    text-decoration: none;
    font-size: 100px;
    color: red;
}


h3{
	text-align: left;
	margin-top: 50px;
	margin-bottom: 50px;
	margin-left: 5px;
	font-family: Tahoma, sans-serif;
    text-decoration: none;
    font-size: 24px;
}

h4{
	text-align: left;
	margin-top: 50px;
	margin-bottom: 50px;
	margin-left: 5px;
	font-family: Tahoma, sans-serif;
    text-decoration: none;
    font-size: 24px;
}

p{
	text-align: left;
	margin-top: 30px;
	margin-left: 5px;
	font-family: Arial;
	font-size: 18px;
	margin-bottom: 30px;
}

th{
	font-size: 30px;
	padding-top: 20px;
	padding-bottom: 20px;
	font-family: Arial;
	color: red;
}

td{
	font-size: 25px;
	padding-top: 20px;
	padding-bottom: 20px;
	font-family: 'Courier New', monospace;
}

/*NavBar*/

.navbar ul{
	list-style-type: none;
	background-color: grey;
	padding: 0px;
	margin: 0px;
	overflow: hidden;
}
.navbar a{
	color: white;
	text-decoration: none;
	padding: 15px;
	display: block;
	text-align: center;
}
.navbar a:hover{
	background-color: red;
}
.navbar li{
	float: left;
}

#box1{
	margin-left: 520px;
}

#box5{
	margin-top: 20px;
	width: 100px;
	height: 50px;
	background-color: lightskyblue;
	font-size: 30px;
	text-align: left;
	animation: 35s infinite running myDumbo;
}

@keyframes myDumbo{
	from{margin-left: 50%;}
    to{margin-left: 0%;}
}

.image{
	float: left;
	width: 25%;
	padding: 50px;
}

.promo {
	background-color: lightskyblue;
}

figure {
	background-color: #ADD8E6;
	padding: 6px;
	color: #000000;
	width: 100%;
	margin: 12px;
}

figure img {
	display: block;
	width: 100%;
	height: 255px;
	margin-bottom: 12px;
}
figcaption strong {
	text-align: center;
	display: block;
}

figcaption{
	font-size: 18px;
    color: #00008B;
    font-family: 'Courier New', monospace;
}

/*media queries*/


@media (min-width: 680px) {

	.promo {
		display: flow-root;
	}

	.promo figure {
		width: 45%;
		height: auto;
		margin-right: 2%;
		float: left;
	}


}



@media (min-width: 1200px) {

	.promo {
		display: flow-root;
	}
	.promo figure {
		width: 30%;
		height: auto;
		margin-right: 2%;
		float: left;
	}


}

@media (min-width: 1400px) {

	.promo {
		display: flow-root;
	}
	.promo figure {
		width: 23%;
		height: auto;
		margin-right: 1%;
		float: left;
	}


}

#div1{
	width: 50%;
	height: 50px;
	float: left;
	font-family: 'Courier New', monospace;
}

#div2{
	width: 50%;
	height: 50px;
	float: right;
	font-family: 'Courier New', monospace;
}