
@menubg-color: #4F52B0;
@text-color: #4e4e4e;
@white: #fff;
@black: #000;

* {
	margin: 0;
	padding: 0;
}
*, *:after, *:before {
	box-sizing: border-box;
}
ol, ul {
	list-style: none;
}
html {
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
}
html, body {
  background: url('../images/pozadina.svg') repeat, -moz-linear-gradient(135deg, #6b7dfe 0, #db14c7 100%) fixed;
  background: url('../images/pozadina.svg') repeat, -webkit-gradient(135deg, #6b7dfe 0, #db14c7 100%) fixed;
  background: url('../images/pozadina.svg') repeat, -webkit-linear-gradient(135deg, #6b7dfe 0, #db14c7 100%) fixed;
  background: url('../images/pozadina.svg') repeat, -o-linear-gradient(135deg, #6b7dfe 0, #db14c7 100%) fixed;
  background: url('../images/pozadina.svg') repeat, -ms-linear-gradient(135deg, #6b7dfe 0, #db14c7 100%) fixed;
  background: url('../images/pozadina.svg') repeat, linear-gradient(135deg, #6b7dfe 0, #db14c7 100%) fixed;
 background-repeat:repeat, no-repeat;
	height: 100%;
}
body {
	
	color: @white;
	font-family: "proxnova-reg", arial, sans-serif;
	font-size: 16px; 

}
.iframe {
 border-radius: 15px;
 border: 15px solid #000;
 box-shadow: 0 0 5px rgba(0,0,0,.5);
 margin: 30px auto;
 height: 600px;
 width: 360px;
 position: relative;
 overflow-x: hidden;

	perspective: 1200px;
}
.mainContainer {
	position: relative;
    height: 100%;
	width:90%;
	margin:auto;
    transform-style: preserve-3d;
    transform: translateZ(-100px);

	> .mainMenu, .container {
		backface-visibility: hidden;
		min-height: 100%;
		position: absolute;
		left: 0;
		top: 0;
		z-index: 0;
		width: 100%;
	}
}
/* header */
header {
	height: 75px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}
/* menu */
.arrow {
	border: 24px solid @white;
	background-color: @white;
	border-radius: 5px;
	height: 0;
	width: 0;
	transition: all 300ms;
	
	position: absolute;
	left: 15px;
	top: 15px;
	z-index: 1;
		.menuLines {
		background-color: @black;
		display: block;
		margin: -1px 0 0 -15px;
		position: absolute;
		top: 50%;
		transform: rotate(-45deg);
		height: 2px;
		width: 30px;
		&:after, &:before {
			content: '';
			background-color: @white;
			display: block;
			position: absolute;
			height: 2px;
			width: 100%;
			transition: all 200ms;
		}
		&:after {
			bottom: -7px;
		}
		&:before {
			top: -7px;
		}
	}
	
}
.menuBtn {
	border: 24px solid @black;
	border-radius: 5px;
	height: 0;
	width: 0;
	transition: all 300ms;
	
	position: absolute;
	left: 15px;
	top: 15px;
	z-index: 2;
	.menuLines {
		background-color: @white;
		display: block;
		margin: -1px 0 0 -15px;
		position: absolute;
		top: 50%;
		
		height: 2px;
		width: 30px;
		&:after, &:before {
			content: '';
			background-color: @white;
			display: block;
			position: absolute;
			height: 2px;
			width: 100%;
			transition: all 200ms;
		}
		&:after {
			bottom: -7px;
		}
		&:before {
			top: -7px;
		}
	}
	&.clicked {
		border-color: @white;
		border-radius: 10px;
		transform: rotate(0deg);
		z-index: -1;
		.menuLines {
		
		}
	}
}
.mainMenu {
	
	transform: rotateY(-90deg) translateZ(288px);
	transition: transform 500ms;
	padding: 60px 0 0;
    &.flip {
		transform: rotateY(0deg) translateZ(100px);
	
		margin-top:2rem;
		li {
			animation: shake 300ms linear;
			transform-origin: 50% 50%;
			animation-iteration-count: 2;
			&:nth-child(1) {
				opacity: 0.8;
				animation-delay: 100ms;
			}
			&:nth-child(2) {
				opacity: 0.8;
				animation-delay: 200ms;
			}
			&:nth-child(3) {
				opacity: 0.8;
				animation-delay: 300ms;
			}
			&:nth-child(4) {
				opacity: 0.8;
				animation-delay: 400ms;
			}
			&:nth-child(5) {
				opacity: 0.8;
				animation-delay: 500ms;
			}
			&:nth-child(6) {
				opacity: 0.8;
				animation-delay: 600ms;
			}
			&:nth-child(7) {
				opacity: 0.8;
				animation-delay: 700ms;
			}
			&:nth-child(8) {
				opacity: 0.8;
				animation-delay: 800ms;
			}
			&:nth-child(9) {
				opacity: 0.8;
				animation-delay: 900ms;
			}
			&:nth-child(10) {
				opacity: 0.8;
				animation-delay: 1000ms;
			}
		}
    }
    li {
    	opacity: 0;
    	text-decoration: none;
    	&:nth-child(1) {
    		background-color: rgb(153, 0, 255);
    	}
    	&:nth-child(2) {
    		background-color: rgb(0, 0, 255);
    	}
    	&:nth-child(3) {
    		background-color: rgb(0, 102, 153);
    	}
    	&:nth-child(4) {
    		background-color: rgb(0, 153, 153);
    	}
    	&:nth-child(5) {
    		background-color: rgb(0, 204, 102);
    	}                     
    	&:nth-child(6) {      
    		background-color: rgb(102, 153, 0);
    	}                     
    	&:nth-child(7) {      
    		background-color: rgb(153, 204, 0);
    	}
    	&:nth-child(8) {
    		background-color: rgb(255, 153, 0);
    	}                     
		&:nth-child(9) {      
    		background-color: rgb(204, 0, 0);
    	}                     
		&:nth-child(10) {     
    		background-color: rgb(204, 0, 153);
    	}
    	a {
    		color: @white;
    		display: block;
    		padding: 25px 0 25px 20px;
    		text-align: left;
    		text-transform: uppercase;
    		i, span {
    			display: inline-block;
    			vertical-align: middle;
    		}
    		i {
    			font-size: 25px;
    			margin-right: 10px;
    			text-align: center;
    			width: 30px;
    		}
    		span {
    			font-weight: bold;
    			letter-spacing: 1px;
    		}
    	}
    }
}

/* container */
.container {
 transform: translateZ( 100px );
	transition: transform 500ms;
	padding: 80px 0 10px;
    &.flip {
		transform: rotateY(90deg) translateZ(288px);
    }
	.page {
		font-family: 'Ubuntu', sans-serif;
		
	  max-width: 85%;
	  margin:auto;
	  background: rgba(255, 255, 255, 0.8);
	  border-radius:8px;
	  color: black;
	  padding:20px;
	  text-align: justify;
		display: none;
		&.active {
			display: block;
		}
	}
	h2 {
		font-size: 20px;
		span {
			display: inline-block;
			vertical-align: middle;
		}
		&:before, &:after {
			
			display: inline-block;
			vertical-align: middle;
		}
		&:before {
			margin-right: 5px;
		}
		&:after {
			margin-left: 5px;
		}
	}
	p {
		font-size: 15px;
		margin: 5px 0 0;
	}
	p.italic {
		font-style: italic;
	}
	
}
/* animation */
.fade {
  animation: fade 3000ms;
}
@-webkit-keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@-moz-keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-webkit-keyframes shake {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	50% {
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}
@keyframes shake {
	0% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	50% {
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
	}
	100% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}