@import url(https://fonts.googleapis.com/css?family=Anaheim);

.kayma {
	margin: 1% auto;
	width: 210px;
	height: 240px;
	position: relative;
	perspective: 700px;
}

#kayanresimler {
	width: 100%;
	height: 100%;
	position: absolute;
	transform-style: preserve-3d;
	animation: rotation 50s infinite linear;
}

#kayanresimler:hover {
	animation-play-state: paused;
}

#kayanresimler figure {
	display: block;
	position: absolute;
	width: 120px;
	height: 216px;
	left: 10px;
	top: 10px;
	background: #353b43;
	overflow: hidden;
	border: solid 0px black;
}

#kayanresimler figure:nth-child(1) { transform: rotateY(0deg) translateZ(288px); }
#kayanresimler figure:nth-child(2) { transform: rotateY(24deg) translateZ(288px); }
#kayanresimler figure:nth-child(3) { transform: rotateY(48deg) translateZ(288px); }
#kayanresimler figure:nth-child(4) { transform: rotateY(72deg) translateZ(288px); }
#kayanresimler figure:nth-child(5) { transform: rotateY(96deg) translateZ(288px); }
#kayanresimler figure:nth-child(6) { transform: rotateY(120deg) translateZ(288px); }
#kayanresimler figure:nth-child(7) { transform: rotateY(144deg) translateZ(288px); }
#kayanresimler figure:nth-child(8) { transform: rotateY(168deg) translateZ(288px); }
#kayanresimler figure:nth-child(9) { transform: rotateY(192deg) translateZ(288px); }
#kayanresimler figure:nth-child(10) { transform: rotateY(216deg) translateZ(288px); }
#kayanresimler figure:nth-child(11) { transform: rotateY(240deg) translateZ(288px); }
#kayanresimler figure:nth-child(12) { transform: rotateY(264deg) translateZ(288px); }
#kayanresimler figure:nth-child(13) { transform: rotateY(288deg) translateZ(288px); }
#kayanresimler figure:nth-child(14) { transform: rotateY(312deg) translateZ(288px); }
#kayanresimler figure:nth-child(15) { transform: rotateY(336deg) translateZ(288px); }

img {
	-webkit-filter: grayscale(0);
	cursor: pointer;
	transition: all .5s ease;
}

img:hover {
	-webkit-filter: grayscale(0);
	transform: scale(1.2, 1.2);
}

@keyframes rotation {
	from {
		transform: rotateY(0deg);
	}
	to {
		transform: rotateY(360deg);
	}
}


