h2{
width: 250px;
background-color: #57ba98;
color:#f2f2f2;
padding: 10px;
transition: width 2s;
}
h2:hover{
width: 300px;
}
video{
	width: 300px;
	height: 300px;
}
img{
	width: 200 px;
	transition: width 2s
}
img:hover{
	width: 300px;
}	
nav{
	background-color: #57ba98;
	letter-spacing: 0.1em;
	font-weight:bold;
	text-align: center;
	display: block;
	font-size: 1.5em;
	color:#f2f2f2;
}
nav ul{
	list-style-type: none;
}
nav li{
	padding: 0.5em;
	display: inline-block;
}
nav a {
	text-decoration: none;
	display: block;
}
nav ul ul{
	position: absolute;
	background-color: #65ccb8;
	padding: 0;
	text-align: left;
	display: none;
}
nav ul ul li {
	border-bottom: 1px solid #f2f2f2;
	display: block;
	width: 8em;
	padding-left: 1em;
	margin-left: 0;
}
nav li:hover ul{
display: block;
}
nav a:link { color: #f2f2f2;}
nav a:visited {color: #cd853f;}
nav a:hover {color: #ffe4b5;}	

#div1{
	width: 100px;
	height:100px;
	color: #000000;
	text-align: center;
	font-size: 1.5em;
	background-color: #f5d742;
	border: 5px solid #000000;
	box-shadow: 5px 5px 5px blue, 10px 10px 10px red, 15px 15px 15px green;
	transition: color 2s, background-color 2s, border 2s, box-shadow 2s;
}
#div1:hover {
	color: #f5d742;
	background-color: #000000;
	border: 5px dashed #f5d742;
	box-shadow: -5px 5px 5px blue, -10px -10px 5px red, -15px -15px 5px green;
}
#div2 {
	width: 100px;
	height:100px;
	background-image: url(../Images/flower.jpg);
	background-size: 100%;
	transition: border-radius 5s;
}
#div2:hover{
	border-radius: 50px;
}
#div3{
	width: 100px;
	height:100px;
	background-image: url(../Images/basketball.png);
	background-size: 100%;
	transition: margin-left 3s, margin-top 3s;
}
#div3:hover{
	margin-left: 200px;
	margin-top: 200px;
}
#div4{
	width: 100px;
	height:100px;
	background-image: url(../Images/pig.jpg);
	background-size: 100%;
	transition: width 2s, height 2s, transform 2s;
}
#div4:hover{
	width: 200px;
	height: 200px;
	transform: rotate(-360deg);
}
#div5{
	width: 100px;
	height:100px;
	background-image: url(../Images/house.png);
	background-size: 100%;
	transition: transform 4s;
}
#div5:hover{
	transform: rotateY(180deg);
}
#div6{
	transition: color 2s, font-size 2s, font-weight 2s;
}
#div6:hover{
	color: #ff0000;
    font-size: 2em;
	font-weight: bold;
	
}
#div7{
	width: 100px;
	height:100px;
	background: #ff0000;
	position: relative;
	-webkit-animation: mymove 5s 1;
}
@keyframes mymove {
	0% {top: 0px; left: 0px; background-color: #ff0000;}
	25% {top: 0px; left: 100px; background-color: #0000ff;}
	50% {top: 100px; left: 100px; background-color: yellow;}
	75% {top: 100px; left: 0px; background-color: #00ff00;}
	100% {top: 0px; left: 0px; background-color: #ff0000;}
}
#div8{
	width: 100px;
	height:100px;
	background-image: url(../Images/basketball.png);
	background-size: 100%;
	border-radius: 50%;
	position: fixed;
	-webkit-animation: mymove2 5s infinite;
	animation-timing-function: linear;
}
@keyframes mymove2 {
	0% {top: 45%; left: 0%; transform: rotateZ(0deg);}
	25% {top: 0%; left: 45%; transform: rotateZ(90deg)}
	50% {top: 45%; left: 90%; transform: rotateZ(180deg);}
	75% {top: 90%; left: 45%; transform: rotateZ(270deg);}
	100% {top: 45%; left: 0%; transform: rotateZ(360deg);}
}