* {
	margin:0; padding: 0;
	list-style: none;
}

html, body {
	background: #333;
	font: 15px "Gill Sans", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	width: 800px;
	margin: 0 auto;
}

a {
	color: #555;
}

p a:focus,
p a:hover,
p a:active {
	background-color: #555;
	color: #fff;
}

body {
	background: #fff url(bg.png) 0 0 no-repeat;
	border: 5px solid #fff;
	width: 800px;
	height: 565px;
	margin: 50px auto;
	position: relative;
	-webkit-box-shadow: 0 0 30px rgba(255,255,255,.2);
	-moz-box-shadow: 0 0 30px rgba(255,255,255,.2);
	box-shadow: 0 0 30px rgba(255,255,255,.2);
}

h1 {
	text-align: center;
	margin: 20px;
	color: #333;
	text-shadow: 0 0 10px #fff;
	font-weight: normal;
}

ul {
	width: 80%;
	margin: 0 auto;
}

ul li {
	float: left;
	width: 33%;
	text-align: center;
}

ul li a.l {
	margin-top: 50px;
}

ul li a {
	display: block;
	width: 180px;
	text-align: center;
	background-color: #fff;
	border: 1px solid #999;
	padding: 10px;
	text-decoration: none;
	
	/* Webkit */
	-webkit-box-shadow: 0 0 15px #444;
	-webkit-transform: rotate(-3deg) scale(1);
	-webkit-transition: -webkit-transform 1.5s ease-in-out;
	
	/* Mozilla */
	-moz-box-shadow: 0 0 15px #444;
	-moz-transform: rotate(-3deg) scale(1);
	-moz-transition: -moz-transform 1.5s ease-in-out;

	/* Presto */
	-o-transform: rotate(-3deg) scale (1);
	-o-transition: -o-transform 1.5s ease-in-out;
	/* Opera wird box-shadow ohne Vendor-Prefix benutzen */
	
	/* Standard */
	box-shadow:  0 0 15px #444;
	transform: rotate(-3deg) scale(1);
	transition: transform 1.5s ease-in-out;
}

ul li a:hover,
ul li a:focus {
	-webkit-transform: rotate(363deg) scale(1.5);
	-moz-transform: rotate(363deg) scale(1.5);
	-o-transform: rotate(363deg) scale(1.5);
	transform: rotate(363deg) scale(1.5);
	position:relative;
	z-index: 500;
}

ul li a img{
	display: block;
	width: 180px;
	margin-bottom: 10px;
	border: none;
}

p {
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: #fff;
	background-color: rgba(255,255,255,.5);
	padding: 5px;
	font-size: 12px;
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
}

div.snowflakes b {
	position: absolute;
	top: 0;
	color: #fff;
	font-size: 30px;
	text-shadow: 0 0 2px #000;
	z-index: 1000;
	opacity: 1;
}

div.snowflakes b:nth-child(1) {
	left: 25px;
}

div.snowflakes b:nth-child(2) {
	left: 50px;
}

div.snowflakes b:nth-child(3) {
	left: 100px;
}

div.snowflakes b:nth-child(4) {
	left: 150px;
}

div.snowflakes b:nth-child(5) {
	left: 200px;
}

div.snowflakes b:nth-child(6) {
	left: 250px;
}

div.snowflakes b:nth-child(7) {
	left: 300px;
}

div.snowflakes b:nth-child(8) {
	left: 350px;
}

div.snowflakes b:nth-child(9) {
	left: 400px;
}

div.snowflakes b:nth-child(10) {
	left: 450px;
}

div.snowflakes b:nth-child(11) {
	left: 500px;
}

div.snowflakes b:nth-child(12) {
	left: 550px;
}

div.snowflakes b:nth-child(13) {
	left: 600px;
}

div.snowflakes b:nth-child(14) {
	left: 650px;
}

div.snowflakes b:nth-child(15) {
	left: 700px;
}

div.snowflakes b:nth-child(16) {
	left: 750px;
}

div.snowflakes b:nth-child(5n+1) {
	/* Webkit */
	-webkit-animation-delay: .3s;
	-webkit-animation-name: variant2;
	-webkit-animation-duration: 7s;
	-webkit-animation-iteration-count: infinite;

	/* Mozilla */
	-moz-animation-delay: .3s;
	-moz-animation-name: variant2;
	-moz-animation-duration: 7s;
	-moz-animation-iteration-count: infinite;

	/* Presto */
	-o-animation-delay: .3s;
	-o-animation-name: variant2;
	-o-animation-duration: 7s;
	-o-animation-iteration-count: infinite;
	
	/* Standard */
	animation-delay: .3s;
	animation-name: variant2;
	animation-duration: 7s;
	animation-iteration-count: infinite;
}

div.snowflakes b:nth-child(5n+2) {
	/* Webkit */
	-webkit-animation-name: variant1;
	-webkit-animation-duration: 10s;
	-webkit-animation-iteration-count: infinite;
	
	/* Mozilla */
	-moz-animation-name: variant1;
	-moz-animation-duration: 10s;
	-moz-animation-iteration-count: infinite;
	
	/* Presto */
	-o-animation-name: variant1;
	-o-animation-duration: 10s;
	-o-animation-iteration-count: infinite;
	
	/* Standard */
	animation-name: variant1;
	animation-duration: 10s;
	animation-iteration-count: infinite;
}

div.snowflakes b:nth-child(5n+3),
div.snowflakes b:nth-child(5n+5) {
	/* Webkit */
	-webkit-animation-name: variant1;
	-webkit-animation-duration: 20s;
	-webkit-animation-iteration-count: infinite;
	
	/* Mozilla */
	-moz-animation-name: variant1;
	-moz-animation-duration: 20s;
	-moz-animation-iteration-count: infinite;
	
	/* Presto */
	-o-animation-name: variant1;
	-o-animation-duration: 20s;
	-o-animation-iteration-count: infinite;
	
	/* Standard */
	animation-name: variant1;
	animation-duration: 20s;
	animation-iteration-count: infinite;
}

div.snowflakes b:nth-child(5n+5) {
	/* Webkit */
	-webkit-animation-delay: .45s;
	-webkit-animation-duration: 15s;
	
	/* Mozilla */
	-moz-animation-delay: .45s;
	-moz-animation-duration: 15s;
	
	/* Presto */
	-o-animation-delay: .45s;
	-o-animation-duration: 15s;
	
	/* Standard */
	animation-delay: .45s;
	animation-duration: 15s;
}

div.snowflakes b:nth-child(5n+4) {
	/* Webkit */
	-webkit-animation-name: variant2;
	-webkit-animation-duration: 20s;
	-webkit-animation-iteration-count: infinite;
	
	/* Mozilla */
	-moz-animation-name: variant2;
	-moz-animation-duration: 20s;
	-moz-animation-iteration-count: infinite;

	/* Presto */
	-o-animation-name: variant2;
	-o-animation-duration: 20s;
	-o-animation-iteration-count: infinite;
	
	/* Standard */
	animation-name: variant2;
	animation-duration: 20s;
	animation-iteration-count: infinite;
}

/* Keyframes Webkit */

@-webkit-keyframes variant1 {
from { top:0; }
10% { top: 5%; margin-left: -50px; -webkit-transform: rotate(-360deg);}
20% { top: 15%; margin-left: 30px;}
30% { top: 25%; margin-left: -20px; -webkit-transform: rotate(-360deg);}
40% { top: 35%; margin-left: 50px;}
50% { top: 45%; margin-left: -10px;-webkit-transform: rotate(-360deg);}
60% { top: 55%; margin-left: 50px;}
70% { top: 65%; margin-left: -20px; -webkit-transform: rotate(-360deg);}
80% { top: 75%; margin-left: 30px;}
90% { top: 85%; margin-left: -50px; opacity: .5; -webkit-transform: rotate(-360deg);}
to { top: 95%; margin-left: 20px; opacity: 0; }
}

@-webkit-keyframes variant2 {
from { top:0; }
10% { top: 10%; margin-left: -10px; -webkit-transform: rotate(360deg);}
20% { top: 14%; margin-left: 20px;}
25% { top: 20%; margin-left: -20px; -webkit-transform: rotate(360deg);}
30% { top: 35%; margin-left: 10px;}
40% { top: 45%; margin-left: -10px; -webkit-transform: rotate(360deg);}
55% { top: 55%; margin-left: 20px;}
60% { top: 65%; margin-left: -20px; -webkit-transform: rotate(360deg);}
70% { top: 75%; margin-left: 12px;}
86% { top: 85%; margin-left: -11px; opacity: .5; -webkit-transform: rotate(360deg);}
to { top: 95%; margin-left: 10px; opacity: 0;}
}

/* Keyframes Mozilla */

@-moz-keyframes variant1 {
from { top:0; }
10% { top: 5%; margin-left: -50px; -moz-transform: rotate(-360deg);}
20% { top: 15%; margin-left: 30px;}
30% { top: 25%; margin-left: -20px; -moz-transform: rotate(-360deg);}
40% { top: 35%; margin-left: 50px;}
50% { top: 45%; margin-left: -10px;-moz-transform: rotate(-360deg);}
60% { top: 55%; margin-left: 50px;}
70% { top: 65%; margin-left: -20px; -moz-transform: rotate(-360deg);}
80% { top: 75%; margin-left: 30px;}
90% { top: 85%; margin-left: -50px; opacity: .5; -moz-transform: rotate(-360deg);}
to { top: 95%; margin-left: 20px; opacity: 0; }
}

@-moz-keyframes variant2 {
from { top:0; }
10% { top: 10%; margin-left: -10px; -moz-transform: rotate(360deg);}
20% { top: 14%; margin-left: 20px;}
25% { top: 20%; margin-left: -20px; -moz-transform: rotate(360deg);}
30% { top: 35%; margin-left: 10px;}
40% { top: 45%; margin-left: -10px; -moz-transform: rotate(360deg);}
55% { top: 55%; margin-left: 20px;}
60% { top: 65%; margin-left: -20px; -moz-transform: rotate(360deg);}
70% { top: 75%; margin-left: 12px;}
86% { top: 85%; margin-left: -11px; opacity: .5; -moz-transform: rotate(360deg);}
to { top: 95%; margin-left: 10px; opacity: 0;}
}

/* Keyframes Presto */

@-o-keyframes variant1 {
from { top:0; }
10% { top: 5%; margin-left: -50px; -o-transform: rotate(-360deg);}
20% { top: 15%; margin-left: 30px;}
30% { top: 25%; margin-left: -20px; -o-transform: rotate(-360deg);}
40% { top: 35%; margin-left: 50px;}
50% { top: 45%; margin-left: -10px;-o-transform: rotate(-360deg);}
60% { top: 55%; margin-left: 50px;}
70% { top: 65%; margin-left: -20px; -o-transform: rotate(-360deg);}
80% { top: 75%; margin-left: 30px;}
90% { top: 85%; margin-left: -50px; opacity: .5; -o-transform: rotate(-360deg);}
to { top: 95%; margin-left: 20px; opacity: 0; }
}

@-o-keyframes variant2 {
from { top:0; }
10% { top: 10%; margin-left: -10px; -o-transform: rotate(360deg);}
20% { top: 14%; margin-left: 20px;}
25% { top: 20%; margin-left: -20px; -o-transform: rotate(360deg);}
30% { top: 35%; margin-left: 10px;}
40% { top: 45%; margin-left: -10px; -o-transform: rotate(360deg);}
55% { top: 55%; margin-left: 20px;}
60% { top: 65%; margin-left: -20px; -o-transform: rotate(360deg);}
70% { top: 75%; margin-left: 12px;}
86% { top: 85%; margin-left: -11px; opacity: .5; -o-transform: rotate(360deg);}
to { top: 95%; margin-left: 10px; opacity: 0;}
}

/* Keyframes Standard */

@keyframes variant1 {
from { top:0; }
10% { top: 5%; margin-left: -50px; transform: rotate(-360deg);}
20% { top: 15%; margin-left: 30px;}
30% { top: 25%; margin-left: -20px; transform: rotate(-360deg);}
40% { top: 35%; margin-left: 50px;}
50% { top: 45%; margin-left: -10px;transform: rotate(-360deg);}
60% { top: 55%; margin-left: 50px;}
70% { top: 65%; margin-left: -20px; transform: rotate(-360deg);}
80% { top: 75%; margin-left: 30px;}
90% { top: 85%; margin-left: -50px; opacity: .5; transform: rotate(-360deg);}
to { top: 95%; margin-left: 20px; opacity: 0; }
}

@keyframes variant2 {
from { top:0; }
10% { top: 10%; margin-left: -10px; transform: rotate(360deg);}
20% { top: 14%; margin-left: 20px;}
25% { top: 20%; margin-left: -20px; transform: rotate(360deg);}
30% { top: 35%; margin-left: 10px;}
40% { top: 45%; margin-left: -10px; transform: rotate(360deg);}
55% { top: 55%; margin-left: 20px;}
60% { top: 65%; margin-left: -20px; transform: rotate(360deg);}
70% { top: 75%; margin-left: 12px;}
86% { top: 85%; margin-left: -11px; opacity: .5; transform: rotate(360deg);}
to { top: 95%; margin-left: 10px; opacity: 0;}
}