* { margin: 0; padding: 0; }
body {
	background-image: -webkit-gradient(linear, 0 50%, 0 100%, from(#999), to(#eee));
	background-image: -moz-linear-gradient(top, #999, #eee);
	background: #eee;
}
h1 {
	font: bold italic 50px calibri, verdana, arial, sans-serif;
	margin: 10px 100px;
	text-shadow: 5px 5px 5px #999;
}
h1 a {
	color: #016AE0;
	text-decoration: none;
}
img {
	width: 120px;
	height: 90px;
}
#about {
	padding: 5px 10px;
	width: 300px;
	height: 20px;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 50%;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font: normal 14px/1.5 verdana, arial, sans-serif;
	z-index: 300;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: inset 0 0 5px #fff, 0 0 5px #666;
	box-shadow: 0 0 5px #666;
}
#about:hover {
	height: 370px;
	-moz-border-radius-bottomright: 10px; 
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	-webkit-transition: height 1s ease-in;
	-moz-transition: height 1s ease-in;
	-o-transition: height 1s ease-in;
}
#gallery{
	list-style: none;
	font: normal 14px "Lucida handwriting", calibri, verdana, arial, sans-serif;
}
#gallery li {
	width: 120px;
	text-align: center;
	background: #fff;
	padding: 5px;
	margin: 10px;
	-moz-box-shadow: 0 0 5px #999;
	-webkit-box-shadow: 0 0 5px #999;
	box-shadow: 0 0 5px #999;
	-moz-transform: rotate(-4deg);
	-o-transform: rotate(-4deg);
	-webkit-transform: rotate(-4deg);
	position: absolute;
	left: 50%;
	top: 20%;
}
#gallery li:nth-child(2n) {
	-moz-transform: rotate(-15deg);
	-o-transform: rotate(-15deg);
	-webkit-transform: rotate(-15deg);
	left: 55%;
	top: 35%;
}
#gallery li:nth-child(3n) {
	-moz-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	-webkit-transform: rotate(5deg);
	left: 60%;
	top: 40%;
}
#gallery li:nth-child(4n) {
	left: 65%;
	top: 45%;
}
#gallery li:nth-child(5n) {
	left: 70%;
	top: 50%;
}
#gallery li:nth-child(6n) {
	left: 45%;
	top: 25%;
}
#gallery li:nth-child(7n) {
	left: 40%;
	top: 45%;
}
#gallery li:nth-child(8n) {
	left: 50%;
	top: 45%;
}
#gallery li:nth-child(8n) {
	left: 50%;
	top: 50%;
}
#gallery li:hover {
	-moz-transform: rotate(0) scale(4);
	-moz-box-shadow: inset 0 0 5px #e0e0e0, 0 0 5px #999;
	
	-webkit-transform: rotate(0) scale(4);
	-webkit-transition: -webkit-transform 0.5s linear;
	-webkit-box-shadow: inset 0 0 5px #e0e0e0, 0 0 5px #999;
	
	-o-transform: rotate(0) scale(4);
	-o-transition: -o-transform 0.5s linear;
	box-shadow: inset 0 0 5px #e0e0e0, 0 0 5px #999;
	left: 50%;
	top: 30%;
	z-index: 100;
}

#anim3D {
	margin: 220px auto 0 400px;
	-webkit-transform-style: preserve-3d;
	-webkit-animation: spin 29s infinite linear;
	list-style: none; 
}

#anim3D li {
	position: absolute;
	padding: 20px 10px;
    width: 120px;
    border-radius: 12px;
	-webkit-box-shadow: 0 0 5px #000;
    text-align: center;
    font-family: verdana, arial, serif;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-transition: -webkit-transform 2s, opacity 2s;
	-webkit-backface-visibility: visible;
}
#anim3D li:hover img {
	-webkit-transform: rotate(360deg) scale(3);
	-webkit-transition: all 0.5s ease-in;
	padding: 4px;
	background: #fff;
	-webkit-box-shadow: 0 0 5px #000;
}  
   
   
#anim3D li:nth-child(n)  { -webkit-transform: translateZ(320px); }
#anim3D li:nth-child(2n) { -webkit-transform: rotateX(30deg)   translateZ(320px); }
#anim3D li:nth-child(3n) { -webkit-transform: rotateX(60deg)   translateZ(320px); }
#anim3D li:nth-child(4n) { -webkit-transform: rotateX(90deg)   translateZ(320px); }
#anim3D li:nth-child(5n) { -webkit-transform: rotateX(120deg)  translateZ(320px); }
#anim3D li:nth-child(6n) { -webkit-transform: rotateX(150deg)  translateZ(320px); }
#anim3D li:nth-child(7n) { -webkit-transform: rotateX(180deg)  translateZ(320px); }
#anim3D li:nth-child(8n) { -webkit-transform: rotateX(210deg)  translateZ(320px); }
#anim3D li:nth-child(9n) { -webkit-transform: rotateX(-120deg) translateZ(320px); }

    @-webkit-keyframes spin {
      from { -webkit-transform: rotateX(0); }
      to   { -webkit-transform: rotateX(-360deg); }
    }

p {
	background: #fff;
	box-shadow: 0 0 5px #000;
}
   
