
h2 {width: 250px;
	background-color: #57ba98;
	color: #f2f2f2;
	padding: 10px;
	transition: width 2s;}
h2:hover {width: 300px;}	
	
video {width: 300px;
		height: 300px;}	
		
img {width: 200px;
		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;
        margin: 0;}    
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;}        
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: black;
        background-color: yellow;
        text-align: center;
        font-size: 1.5em;
        border: 5px solid black;
        box-shadow: 5px 5px 5px blue, 10px 10px 5px red, 15px 15px 5px green;
        transition: color 2s, background-color 2s, border 2s;}
#div1:hover {color: yellow;
            background-color: black;
            border: 5px dashed yellow;
            box-shadow: -5px -5px 5px blue, -10px -10px 5px red, -15px -15px 5px green;}
            
#div2 {width: 100px;
        height: 100px;
        background-image: url(../images/multimedia/flower.jpg);
        background-size: 100%;
        transition: border-radius 2s;}
#div2:hover {border-radius: 50px;}      

#div3 {width: 100px;
        height: 100px;
        background-image: url(../images/multimedia/basketball.png);
        background-size: 100%;
        transition: margin-left 2s, margin-top 2s;}
#div3:hover {margin-left: 200px;
            margin-top: 200px;}
            
#div4 {width: 100px;
        height: 100px;
        background-image: url(../images/multimedia/pig.jpg);
        background-size: 100%;
        transition: transform 2s;}
#div4:hover {transform: rotate(360deg);}

#div5 {width: 100px;
		height: 100px;
		background-image: url(../images/multimedia/house.png);
		background-size: 100%;
		transition: transform 2s;}
#div5:hover {transform: rotateZ(90deg);}

#div6 {transition: color 2s, font-size 2s, font-weight 2s;}
#div6:hover {color: red;
			font-size: 2em;
			font-weight: bold;}
			
#div7 {width: 100px;
		height: 100px;
		background-color: red;
		position: relative;
		animation-name: move1;
		animation-duration: 5s;
		animation-iteration-count: infinite;}	
@keyframes move1 { 
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;}
}	
	
#div8 {width: 100px;
		height: 100px;
		background-image: url(../images/multimedia/basketball.png);
		background-size: 100%;
		border-radius: 50%;
		position: fixed;
		animation: move2 2s infinite;
		animation-timing-function: linear;}	
@keyframes move2 {
	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(0deg);}
}

#div9 {width: 100px;
		height: 100px;
		background-color: red;
		position: fixed;
		animation-name: move3;
		animation-duration: 5s;
		animation-iteration-count: infinite;}
@keyframes move3 { 
0% {top: 45%; left: 0%; background-color: red; transform: rotateZ(0deg);}
25% {top: 0%; left: 45%; background-color: blue; transform: rotateZ(90deg);}
50% {top: 45%; left: 90%; background-color: yellow; transform: rotateZ(180deg);}
75% {top: 90%; left: 45%; background-color: green; transform: rotateZ(270deg);}
100% {top: 45%; left: 0%; background-color: red; transform: rotateZ(0deg);}		
}