nav, nav ul, nav li {
	margin:0;
	padding:0;	
}
nav ul {
	list-style:none;
	float:left;
	width:100%;
	height: auto;
}
nav ul li {
	float:left;
	position:relative;
}
nav ul a {
	display:block;
	padding:10px 57px;
	color:rgb(235,162,173);
	background:darkgreen;
	text-decoration:none;
	border-bottom:3px solid black;
	border-top:3px solid black;
	font-size: large;
}
nav ul ul {
	background:#fff;
	position:absolute;
	left:-9999px;
}
nav ul ul li {
	float:none;
}
nav ul li:hover ul {
	left:0;
}
nav ul li:hover a {
	color: rgb(232,13,177);
	background:rgba(152,251,152,.6);
	transition: background-color 0.9s, color 0.9s;
}
nav ul li:hover ul li a:hover {
	color:#fff;
	background:rgba(152,251,152,.6);
}
body {
	font-size: 20px;
	background: url(bg.jpg);
}
header h1 {
	background: url(bannerYo.png) no-repeat center;
	background-size: 500px 75px;
	text-indent: -9999px;
	padding: 10px 0 0;
}
h1, h2 {
	font-family: Verdana, sans-serif;
	color: darkgreen;
}
h3 {
	font-family: Verdana, sans-serif;
	color: hotpink;
}
p {
	text-align: left;
}
header {
	text-align: center;
}
footer {
	font-size: small;
}
th {
	text-transform: uppercase;
}
caption {
	text-decoration: underline;
	font-size: 2em;
}
td, th { 
	border: 1px solid #CCC; 
	padding: 5px; 
	text-align: center;
}
table {
	border: 1px solid black; 
}
dt {
	margin-left: 16px;
}
article {
	width: 900px;
	box-shadow: 10px 10px 15px black;
	border: solid 5px;
	padding: 15px;
	margin: auto;
	background-color: rgba(149,250,131,.85);
}
div {
	float: right;
	margin: 10px;
	padding: 10px;
	border: groove 15px pink ;
}

#pics {
	text-align: center;
}
#pics img {
	width: 200px;
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,.4);
	-webkit-transition: -webkit-transform .3s ease-in-out; 
}
#pics a:hover img {
	-webkit-box-shadow: 6px 6px 6px rgba(0,0,0,.3);
}
#pics a:hover #patriots, #pics a:focus #patriots  {
	-webkit-transform: scale(1.5) rotate(-5deg);
}
#pics a:hover #lighthouse, #pics a:focus #lighthouse  {
	-webkit-transform: scale(1.5) rotate(5deg);
}
#pics a:hover #horsemen, #pics a:focus #horsemen{
	-webkit-transform: scale(1.5) rotate(-5deg);
}
#transition { 
	color: white;
	background-color: darkorchid;
	text-align: center;
	padding: 1em 2em;
	width: 7em;
	border-radius: 1em;
	transition-property: background-color, color, letter-spacing;
	transition-duration: 1.5s, 1.5s, 1.5s;
	transition-timing-function: ease-in, ease-out, ease-in;
}
#transition:hover, #transition:focus {
	background-color: plum;
	color: black;
	letter-spacing: 5px;
}
#subject {
	float: right;
	width: 400px;
	margin: 10px 15px;
	padding: 5px;
	border: dotted 5px darkgreen;
}
#semester {
	float: left;
	width: 400px;
	margin: 10px 15px;
	padding: 5px;
	border: dotted 5px darkgreen;
}
footer {
	clear: left;
}
#subject:hover, #semester:hover {
	border: solid 5px hotpink;
	transition: border 1s ease-in;
}
#starpic:hover img, #starpic:focus img {
	-webkit-transform: rotate(-10deg) scale(1.5) translate(200px,50px);
}
