@charset "UTF-8";
/* CSS Document */
html, body{
	margin: 0;
	padding: 0;
}
body{
	background-color: #333;
}
#allBoxes{
	height: 300px;
	width: 630px;
	margin: 200px auto;
	-webkit-perspective: 600;
	-webkit-perspective-origin: 50% 50%;
	-moz-perspective: 600;
	-moz-perspective-origin: 50% 50%;
	perspective: 600;
	perspective-origin: 50% 50%;
}
.hoverCol{
	padding: 0 50px;
	float: left;
	width: 100px;
	height: 300px;
}
.hoverBox{
	position: absolute;
	top: 0;
	z-index: 2;
	width: 100px;
	height: 100px;
	background-color: #C60;
	border: solid 5px #F90;
	text-align: center;
	color: #fff;
	line-height: 100px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 50pt;
	-webkit-transform: rotateX(-75deg);
	-webkit-transition: all .75s ease-out;
	-moz-transform: rotateX(-75deg);
	-moz-transition: all .75s ease-out;
	transform: rotateX(-75deg);
	transition: all .75s ease-out;
}
.hoverCol:hover .hoverBox{
	top: 150px;
	-webkit-transform: rotateX(-100deg);
	-moz-transform: rotateX(-100deg);
	transform: rotateX(-100deg);
}
.shadow{
	position: absolute;
	top: 150px;
	z-index: 1;
	width: 110px;
	height: 110px;
	background-color: rgba(0,0,0,0.2);
	-webkit-transform: rotateX(-100deg);
	-webkit-transition: all .75s ease-out;
	-webkit-box-shadow: 0 0 40px rgba(0,0,0,0.2);
	-moz-transform: rotateX(-100deg);
	-moz-transition: all .75s ease-out;
	-moz-box-shadow: 0 0 40px rgba(0,0,0,0.2);
	transform: rotateX(-100deg);
	transition: all .75s ease-out;
	box-shadow: 0 0 40px rgba(0,0,0,0.2);
}
.hoverCol:hover .shadow{
	background-color: rgba(0,0,0,0.8);
	-webkit-box-shadow: 0 0 0 rgba(0,0,0,0.8);
	-moz-box-shadow: 0 0 0 rgba(0,0,0,0.8);
	box-shadow: 0 0 0 rgba(0,0,0,0.8);
}

footer{
	display: block;
	position: fixed;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 80%;
	text-align: center;
	bottom: 0;
	width: 100%;
	background-color: #000;
	padding: 5px 0;
	color: #fff;
}
a{
	color: #C30;
	text-decoration: none;
}
a:hover{
	color: #F90;
	text-decoration: underline;
}
