* {
	box-sizing: border-box;
	font-family: Book Antiqua;
}
body {
	/**
	   *Image obtained from gettyimages.com
	   */
	background-image: url("../images/cartographer.png");
	background-color: #94cc68;
	color: #002500;
}
header {
	background-color: #0e832c;
	/**
	   *Image obtained from gettyimages.com
	   */
	background-image: url("../images/DinosaurLogo.png");
	height: 150px;
	background-repeat: no-repeat;
	text-align: center;
	border: 3px solid #663300;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}
h1 {
	padding-left: 220px;
	padding-top: 0.3em;
	margin: auto;
	font-size: 3em;
	animation-name: header;
	animation-duration: 10s;
	animation-iteration-count: infinite;
}
h2 {
	font-size: 1.8em;
	text-align: center;
}
h3 {
	font-size: 1.5em;
	text-align: center;
}
h4 {
	background-color: #4f9b62;
	font-size: 1.2em;
	padding-top: 2px;
	padding-bottom: 2px;
	border-top: 2px solid #002200;
	border-bottom: 2px solid #002200;
	clear: left;
	text-transform: uppercase;
}
main h2,
main h3,
main h4,
main p,
main div,
main dl {
	padding-left: 2em;
	padding-right: 2em;
}
main {
	padding-left: 0em;
	padding-right: 0em;
	padding-top: 0em;
	padding-bottom: 1em;
	margin-left: 200px;
	background-color: #61f144;
	background-image: url("../images/cartographer.png");
}
main p {
	text-align: center;
	padding-left: 0.5em;
	padding-right: 0.5em;
}
main ul {
	text-align: center;
	font-size: 1.4em;
	padding-left: 0em;
	text-decoration: none;
	list-style-type: none;
	padding-top: 0em;
}
main div {
	text-align: center;
	font-style: italic;
	font-size: 1em;
}
nav {
	float: left;
	width: 200px;
	font-size: 1.5em;
	text-align: center;
	font-weight: bold;
	padding-top: 10px;
	border-radius: 10px;
}
nav a {
	text-decoration: none;
}
nav a:link {
	color: #a8d29a;
}
nav a:visited {
	color: #a97d5d;
}
nav a:hover {
	color: #5d493a;
}
nav ul {
	list-style-type: none;
	padding-left: 0em;
}
footer {
	border: 3px solid #221811;
	background-color: #487722;
	font-size: 1.4em;
	font-weight: 900;
	text-align: center;
	font-style: italic;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}
header,
nav,
main,
footer {
	display: block;
}
th,
td {
	padding: 5px;
}
tr:nth-of-type(1) {
	background: #3cc380;
}
table a:link {
	color: #a87f4d;
}
table a:visited {
	color: #ded7cf;
}
table a:hover {
	color: #b1ad9b;
}
#tableStyle {
	margin-left: auto;
	margin-right: auto;
	border-spacing: 15px;
	border-radius: 20px;
	border: 4px dashed #016901;
	text-align: center;
	font-size: 1.2em;
	font-weight: 900;
	background-color: #33714f;
}
#mobile {
	display: none;
}
#desktop {
	display: inline;
}
#wrapper {
	background-color: #09551d;
	/**
	   *Image obtained from istockphoto.com
	   */
	background-image: url("../images/cartographer.png");
	min-width: 1000px;
	max-width: 1280px;
	box-shadow: 0px 0px 20px 10px rgba(14, 70, 1, 1);
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	border-radius: 20px;
}
#dinoBackground {
	/**
	*Image obtained from istockphoto.com
	*/
	background-image: url("../images/DinoBackground.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
	height: 21.15vw;
	border-radius: 0px 0px 15px 15px;
}
#dinoFacts {
	/**
	*Image obtained from istockphoto.com
	*/
	background-image: url("../images/DinoFacts.png");
	background-repeat: no-repeat;
	background-size: 100%;
	height: 21.15vw;
	border-radius: 0px 0px 15px 15px;
}
#dinoTypes {
	/**
	*Image obtained from istockphoto.com
	*/
	background-image: url("../images/DinoTypes.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
	height: 21.15vw;
	border-radius: 0px 0px 15px 15px;
}
#dinoDiet {
	/**
	*Image obtained from istockphoto.com
	*/
	background-image: url("../images/Dinosaur Diet.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
	height: 21.15vw;
	border-radius: 0px 0px 15px 15px;
}
#dinoEvo {
	/**
	*Image obtained from istockphoto.com
	*/
	background-image: url("../images/DinosaurEvolution.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
	height: 21.15vw;
	border-radius: 0px 0px 15px 15px;
}
#dinoLandscape {
	/**
	*Image obtained from istockphoto.com
	*/
	background-image: url("../images/GameLandscape.jpg");
	background-repeat: no-repeat;
	background-size: 100%;
	height: 21.15vw;
	border-radius: 0px 0px 15px 15px;
	margin-bottom: 1em;
}
#Video {
	padding: 1em;
}
.details {
	overflow: auto;
	padding-left: 12%;
	padding-right: 12%;
	font-weight: 900;
}
.floatleft {
	float: left;
	padding-right: 20px;
	padding-bottom: 20px;
}
@keyframes header {
	0% {
		color: #773300;
	}
	50% {
		color: #000000;
	}
	100% {
		color: #773300;
	}
}
@keyframes smallHeader {
	0% {
		color: #000000;
	}
	50% {
		color: #773300;
	}
	100% {
		color: #000000;
	}
}

@media only screen and (max-width: 1024px) {
	body {
		margin: 0;
	}
	header {
		border: 5px solid #663300;
	}
	h1 {
		margin: auto;
		padding-top: 3vw;
		font-size: 2.5em;
	}
	nav {
		float: none;
		width: auto;
		padding-top: 0;
		margin: 10px;
		font-size: 1.3em;
		border-radius: 10px;
	}
	nav li {
		display: inline-block;
	}
	nav a {
		padding: 1em;
		width: 8em;
		font-weight: bold;
		border-style: none;
	}
	nav ul {
		padding: 0;
		margin: 0;
	}
	main {
		margin-left: 0px;
	}
	#dinoBackground {
		height: 30vw;
	}
	#dinoFacts {
		height: 30vw;
	}
	#dinoTypes {
		height: 30vw;
	}
	#dinoDiet {
		height: 30vw;
	}
	#dinoLandscape {
		height: 33vw;
	}
	#wrapper {
		width: auto;
		min-width: 0;
		margin: 0;
		padding: 0;
		box-shadow: none;
	}
}

@media only screen and (max-width: 768px) {
	header {
		border: 8px solid #663300;
		background-image: none;
	}
	h1 {
		font-size: 2em;
		text-align: center;
		padding-left: 0;
		padding-top: 6vw;
	}
	nav {
		margin: 0;
	}
	nav a {
		display: block;
		padding: 0.2em;
		width: auto;
		border-top: 1px solid #a88d64;
		border-bottom: 1px solid #a88d64;
	}
	nav li {
		display: block;
	}
	main {
		padding-top: 1px;
	}
	h2 {
		padding-top: 0.5em;
		padding-right: 0;
		padding-bottom: 0;
		padding-left: 0.5em;
		margin-right: 0.5em;
	}
	.details {
		padding-left: 0;
		padding-right: 0;
	}
	.floatleft {
		padding-left: 0;
		padding-right: 0;
	}
	#mobile {
		display: inline;
	}
	#desktop {
		display: none;
	}
}
