@import url(http://fonts.googleapis.com/css?family=Open+Sans);
@import url(http://fonts.googleapis.com/css?family=Lora);

body {
	margin:0;
	background: #BBB;
	position: absolute;
	box-shadow: 0 0 100px rgba(0,0,0,.5) inset;
	width: 100%;
	height: 100%;
	top: 0;
	-webkit-perspective:5000px;
	perspective:5000px;
	overflow: hidden;
}
.card-nav {
	margin:auto;
	margin-top:100px;	
	width: 200px;
	background: rgba(50,50,50,.8);
	height: 60px;
	padding: 5px;
	border-radius: 10px;
	font-family: Arial;
	font-size: 53px;
	color: white;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	-webkit-transition: margin .5s;
	transition: margin .5s;
}
.arrow {
	cursor: pointer;
	-webkit-transition: margin .5s;
	transition: transform .2s;
}
.arrow:hover {
	transform: scale(1.1);
}
.arrow:active {
	transform:scale(1);
}
.arrow-left {
	float:left;
}
.arrow-right {
	float: right;
}
.container {
	width: 580px;
	height:500px;
	position: relative;
	-webkit-perspective:1500px;
	perspective:1500px;
	margin:auto;
	margin-top:140px;
	-webkit-transform-style:preserve-3d;
	transform-style:preserve-3d;
}
.cards {
	display: block;
	-webkit-transform-style:preserve-3d;
	transform-style:preserve-3d;
	-webkit-transition: margin .5s;
	transition:all .5s;
	transform:translateZ(900px);
}
.cards li {
	display: block;
	position: absolute;
	width: 480px;
	height: 300px;
	border-radius: 3px;
	box-shadow: 0px 2px 5px rgba(0,0,0,.3), 0 0 50px rgba(0,0,0,.1);
	font-family: "Open Sans", sans-serif;
	text-align: center;
	padding: 20px 10px 0 10px;
	background: white;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.cards .corner {
	font-size:25px;
	position: absolute;
	left:12px;
	top:8px;
	font-family: Lora, serif;
}
.cards h2 {
	font-family: Lora, serif;
}
.cards h2::before {
	content:"";
	margin:auto;
	display: block;
	width: 350px;
	height: 1px;
	background: black;
}
.cards h2::after {
	content:"";
	margin:auto;
	display: block;
	width: 300px;
	height: 1px;
	background: black;
	backface
}

@media (max-height: 800px)  {
	.card-nav {
		margin-top:50px;
	}
	.container {
		margin-top:80px;
	}
}
@media (max-width: 580px) {
	.zoom {
		-webkit-transform: scale(0.5);
		transform:scale(.5);
	}
	.container {
		margin-top:-100px;
	}
	.zoom {
		width: calc(190% - 540px);
	}
}