h2 {
	width: 250px;
	background-color: #87cefa;
	padding: 10px;
	transition: width 2s;
}
h2:hover {
	width: 300px;
}
video {
	width: 300px;
	height: 300px;
}
img {
	width: 200px;
	transition: width 2s;
}
img:hover {
	width: 400px;
}
nav {
	background-color: #00005d;
	font-weight: bold;
	text-align: center;
	display: block;
	font-size: 1.5em;
	color: #ffffff;
}
nav ul {
	list-style-type: none;
	margin: 0;
}
nav li {
	padding: 0.5em;
	display: inline-block;
}
nav a {
	text-decoration: none;
	display: block;
}
nav ul ul {
	position: absolute;
	background-color: #5564a0;
	padding: 0;
	text-align: left;
	display: none;
}
nav ul ul li {
	border: 1px solid #00005d;
	display: block;
	width: 8em;
	padding-left: 1em;
	margin-left: 0;
}
nav li:hover ul {
	display: block;
}
nav a:link {color: #ffffff;}
nav a:visited {color: #eaeaea;}
nav a:hover {color: #87cefa;}

#div1 {
	width: 100px;
	height: 100px;
	color: black;
	text-align: center;
	font-size: 1.5em;
	background-color: yellow;
	border: 5px solid black;
	box-shadow: 5px 5px blue, 10px 10px red, 15px 15px green;
	transition: color 4s, background-color 4s, border 4s, box-shadow 4s; 
}
#div1:hover {
	color: yellow;
	background-color: black;
	border: 5px dashed yellow;
	box-shadow: -5px 5px blue, -10px 10px red, -15px 15px green;
}
#div2 {
	width: 100px;
	height: 100px;
	background-color: red;
	transition: border-radius 2s;
}
#div2:hover {
	border-radius: 50px;
}
#div3 {
	width: 100px;
	height: 100px;
	background-color: blue;
	transition: margin-left 2s;
}
#div3:hover {
	margin-left: 200px;
}
#div4 {
	width: 100px;
	height: 100px;
	background-color: pink;
	transition: width 2s, height 2s;
}
#div4:hover {
	width: 200px;
	height: 200px;
}
#div5 {
	width: 100px;
	height: 100px;
	background-color: green;
	transition: width 2s, height 2s, transform 2s;
}
#div5:hover {
	width: 200px;
	height: 200px;
	transform: rotate(360deg);
}
#div6 {
	width: 100px;
	height: 100px;
	background-image: url(house.png);
	background-size: 100%;
	transition: transform 2s;
}
#div6:hover {
	transform: rotate(180deg);
}
#div7 {
	transform: color 2s, font-size 2s, font-weight 2s;
}
#div7:hover {
	color: red;
	font-size: 2em;
	font-weight: bold;
}
#div8 {
	width: 100px;
	height: 100px;
	background-color: red;
	position: relative;
	animation: mymove 5s 2;
}
@keyframes mymove {
	0% {top: 0px; left: 0px; background-color:red;}
	25% {top: 0px; left: 100px; background-color: blue;}
	50% {top: 100px; left: 100px; background-color:yellow;}
	75% {top: 100px; left: 0px; background-color:green;}
	100% {top: 0px; left: 0px; background-color:red;}
}
#div9 {
	width: 100px;
	height: 100px;
	background-image: url(basketball.png);
	background-size: 100%;
	border-radius: 50%;
	position: fixed;
	animation: mymove2 2s 3;
	animation-timing-function: linear;
}
@keyframes mymove2 {
	0% {top: 300px; left: 0%; transform: rotatez(0deg);}
	25% {top: 0px; left: 46%; transform: rotatez(90deg);}
	50% {top: 300px; left: 92%; transform: rotatez(180deg);;}
	75% {top: 600px; left: 46%; transform: rotatez(270deg);}
	100% {top: 300px; left: 0%; transform: rotatez(360deg);}
}