/* General Demo Style */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700|Dosis:200,600);

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html { font-size: 100%; padding: 0; margin: 0; height: 100%;}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

 

/* Header Style */
header h2{
opacity:0;
	-webkit-animation: FadeInH 2s linear forwards;
	-moz-animation: FadeInH 2s linear forwards;
	animation: FadeInH 2s linear forwards;
	animation-delay:5s;

-webkit-animation-delay:5s;
}
.codrops-top {
	text-transform: uppercase;
	position: relative;
	font-size: 0.68em;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	line-height: 2.2;
}

.codrops-top a {
	padding: 0 1em;
	letter-spacing: 0.1em;
	color: rgba(255,255,255,0.2);
	display: inline-block;
}

.codrops-top a:hover {
	color: rgba(255,255,255,0.9);
}

.codrops-top span.right {
	float: right;
}

.codrops-top span.right a {
	float: left;
	display: block;
}


.os-phrases h2 {
	 
	width: 100%;
	overflow: hidden;
	text-transform: uppercase;
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
	letter-spacing: 14px;
	text-align: center;
}

.os-phrases h2, .os-phrases .maindescription,
.os-phrases h2 > span {
	height: 100%;
	/* Centering with flexbox */
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	z-index:101
}
@media only screen and (min-width: 760px) and (min-device-width: 760px) {
.os-phrases h2 {font-size: 50px;
	font-weight: 400;
}
}
@media only screen and (min-width: 1200px) and (min-device-width: 1200px) {
	.os-phrases h2 {font-size: 70px;
	font-weight: 400;
}
}
.os-phrases h2 > span {
	margin: 0 0px;
}

.os-phrases h2 > span > span {
	display: inline-block;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
	-webkit-transform-origin: 50% 50%;
	-moz-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
}

.os-phrases h2 > span > span > span {
	display: inline-block;
	color: hsla(0,0%,0%,0);
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translate3d(0,0,0);
	-moz-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	-webkit-animation: OpeningSequence 4s linear forwards;
	-moz-animation: OpeningSequence 4s linear forwards;
	animation: OpeningSequence 4s linear forwards;
}
 



.fadeoutanim {
	font-size: 30px;
	-webkit-animation: FadeOut 1s linear 0s forwards;
	-moz-animation: FadeOut 1s linear 0s forwards;
	animation: FadeOut 1s linear 0s forwards;
}
 
.fadeinanim {
	font-size: 30px;
	-webkit-animation: FadeIn 1s linear 0s forwards;
	-moz-animation: FadeIn 1s linear 0s forwards;
	animation: FadeIn 1s linear 0s forwards;
}
@-webkit-keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 100px #fff;
	}
	100% {
		opacity: 1;
		text-shadow: 0 0 0px #fff;
	}
}

@-moz-keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 100px #fff;
	}
	100% {
		opacity: 1;
		text-shadow: 0 0 0px #fff;
	}
}

@keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 100px #fff;
	}
	100% {
		opacity: 1;
		text-shadow: 0 0 0px #fff;
	}
}

@-webkit-keyframes FadeInH { 
	0% {
		opacity: 0;
		 
		 
	}
	100% {
		opacity: 1;
		 
	}
}

@-moz-keyframes FadeInH { 
	0% {
		opacity: 0;
	 
	}
	100% {
		opacity: 1;
		 	}
}

@keyframes FadeInH { 
	0% {
		opacity: 0;
		 
	}
	100% {
		opacity: 1;
	 
	}
}


@-webkit-keyframes FadeOut { 
	0% {
		opacity: 1;
		text-shadow: 0 0 1px #fff;
	}
	100% {
		opacity: 0;
		text-shadow: 0 0 50px #fff;
	}
}

@-moz-keyframes FadeOut { 
	0% {
		opacity: 1;
		text-shadow: 0 0 1px #fff;
	}
	100% {
		opacity: 0;
		text-shadow: 0 0 50px #fff;
	}
}

@keyframes FadeOut { 
	0% {
		opacity: 1;
		text-shadow: 0 0 1px #fff;
		
	}
	100% {
		opacity: 0;
		text-shadow: 0 0 50px #fff;
	}
}
/* Bold words */
.os-phrases h2:first-child .word3,
.os-phrases h2:nth-child(2) .word2,
.os-phrases h2:nth-child(4) .word2 {
	/*font-weight: 600;*/
}
 .transp{
	opacity:0;
	 
 }
#BackgroundLoading{
	display:block;
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	background-color:#000;
	z-index:1001
}