/*
	Maxwell Browning
	Web Design 1
	1st Assignment: About Me - Past, Present, Future
*/

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 CSS reset */

img{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 230px;
	height: 100px;
}

body{
	padding-top: 100px;
	background-color: slategrey;
	color: white;
	font-size: 16px;
	font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

header{
	background-color: white;
}

article{
	text-align: center;
	padding-top: 30px;
}

h1{
	font-size: 30px;
}

h2{
	text-align: center;
	font-size: 24px;
	padding: 8px 0px;
}

h3{
	font-size: 20px;
	padding: 5px 15px;
	margin: 5px 0px;
}

p{
	line-height: 24px;
	padding: 5px 15px;
}

/*Fixes the white bar with my logo to the top of the screen. Called navbar even though it serves no purpose other than to look pretty.*/
#topnavbar{
	width: 100%;
	height: 200px;
	top: 0;
	position: fixed;
}

footer{
	background-color: black;
	text-align: center;
	font-size: 10px;
	line-height: 20px;
	padding: 8px 0px;
	border-top: 2px solid white;
	margin: 10px 0px 0px 0px;
}

/*Everything below this is formatting for the sub-headlines before each section.*/
#baseball{
	background-image: url(images/baseball.jfif);
}

#nascar{
	background-image: url(images/racing.jfif);
}

blockquote{
	font-style: italic;
	text-align: center;
	line-height: 20px;
	text-shadow: black 1px 1px;
}

#future{
	background-image: url(images/future.jfif);
}

.head{
	width: 80%;
	padding: 15px 20px;
	border: 2px solid skyblue;
	margin: auto;
	background-size: cover;
	border-radius: 5px;
	text-align: center;
}

.head h2{
	padding-top: 50px;
	line-height: 20px;
	text-shadow: black 1px 1px;
}