*{
	margin:0;
}

body{
	overflow: hidden;
	margin: 0 auto;
	width: 600px;
	
}

.flip-frame{
	border: 10px solid #CCC;
	border-radius: 10px;
	height: 450px;
	margin: 10px auto;
	/*overflow: hidden;*/
	width: 600px;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	-ms-perspective: 1000px;
	perspective: 1000px;
}

.flip-frame .flip{
	position: relative;	
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
}

.flip-frame .flip.animate{
	-webkit-transition: 1s;
	-moz-transition: 1s;
	-ms-transition: 1s;
	transition: 1s;
	-webkit-transform: rotateY(180deg);
     	-moz-transform: rotateY(180deg);     
      	-ms-transform: rotateY(180deg);      
        transform: rotateY(180deg);
}

.flip-frame .flip.animateL{
	-webkit-transform: rotateY(-180deg);
	-moz-transform: rotateY(-180deg);     
      	-ms-transform: rotateY(-180deg);      
        transform: rotateY(-180deg);
}

.flip-frame .slide{
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 300px;
	position: absolute;
	top: 0;
	left: -999em;
	width: 100%;
}

.flip-frame .slide.front, .flip-frame .slide.back{
	left: 0;
	-webkit-backface-visibility:hidden;
	-moz-backface-visibility:hidden;
	-ms-backface-visibility:hidden;
	backface-visibility:hidden;
}

.flip-frame .slide.front{
	z-index: 2;
}

.flip-frame .slide.back{
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);     
      	-ms-transform: rotateY(180deg);      
        transform: rotateY(180deg);
	z-index: 1;
}

.nav{
	width: 500px;
	margin: 0 auto;
	text-align: center;
}

.nav button{
	cursor: pointer;
	width: 80px;
}

.green{
	padding: 50px;
	background: rgb(67, 253, 194);
}
