@charset "UTF-8";

#container{
	position:relative;
	padding-top:40px;
	height:inherit;
	width:auto;
	margin:40px 10px 0 10px;
	z-index:1;
	text-align:center;
	display:block;

}

#VKS {
	text-align:center;
	display:block;
	height:1200px;
	width:884px;
    position: relative;
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    -o-perspective: 800px;
    perspective: 1000px;
		margin: 40px 0 0 -389px;
	left:50%;
	cursor:pointer;
}
#handOut {
   height:1100px;
	width:778px;
    position: absolute;
    -webkit-transition: -webkit-transform 1s;
    -moz-transition: -moz-transform 1s;
    -o-transition: -o-transform 1s;
    transition: transform 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 51% 54%;
}

#handOut img {
height:1100px;
	width:778px;
}
#handOut div {
    display: block;
    height: 100%;
    width: 100%;
    text-align: center;
    position: absolute;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}
#handOut .front {
  background: #FFF;
}
#handOut .back {
    background: #FFF;
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}
#handOut.flipped {
    -webkit-transform: rotateY( 180deg );
    -moz-transform: rotateY( 180deg );
    -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}

.after{
	width:100%;
	height:auto;
	overflow:hidden;
}

.story {
	position:relative;
	margin:20px 0 140px  15%;
	width:400px;
	max-width:800px;
	font-family: 'Sarala', sans-serif;
	font-size:1em;
	color:#444;
	text-align:justify;
		line-height:1.8;
	display:inline-block;
	float:left;
		z-index: 2;
		
}

#strooi {
	overflow:hidden;
	margin-top:-400px;
}

#strooi img {
	position:relative;
	left:80%;
	margin-left:-200px;
	bottom:-115px;

}

/* next, previous buttons */


.button {
	width:175px;
	height:50px;
	margin:-200px 0 30px 0;
	background-color:#FFF;
	border:none;
	color:#444;
	z-index:50;
	
	-webkit-box-shadow: 0px 1px 4px 1px rgba(0,0,0,0.22);
	-moz-box-shadow: 0px 1px 4px 1px rgba(0,0,0,0.22);
	box-shadow: 0px 1px 4px 1x rgba(0,0,0,0.22);
	bottom:30px;
}

.button:hover {
    background-color: #f2f2f2;
    color: #d5d5d5;
}

#left{
		position:absolute;
	border-bottom-right-radius:50px;
	border-top-right-radius:50px;
	left:0px;}
	
#left:active {
	     	color: #FFF;
		background-color: #d5d5d5;
		}
	
#right{
	position:absolute;
	border-bottom-left-radius:50px;
	border-top-left-radius:50px;
	
	right:0px;}
	
#right:active {
	     	color: #FFF;
		background-color: #d5d5d5;
		}
		
			
		@media only screen and (orientation: portrait) and (max-width: 900px){
	
.story{
	margin:20px 0 200px 15%;
}}
