@font-face {
    font-family: 'ImpactRegular';
    src: url('../fonts/impact.eot');
    src: url('../fonts/impact.eot') format('embedded-opentype'),
         url('../fonts/impact.woff') format('woff'),
         url('../fonts/impact.ttf') format('truetype'),
         url('../fonts/impact.svg#ImpactRegular') format('svg');
}

.os-phrases h2 {
	font-family: 'ImpactRegular', Arial;
    font-size: 44px;
    color:#95918b !important;
	font-weight: 200;
	z-index: 100;
	width: 100%;
	overflow: hidden;
	text-transform: uppercase;
	padding: 0;
	padding-top:100px;
	margin: 0;
	position: absolute;
	top: 0;
	left: -15px;
	letter-spacing: 1px;
	text-align: center;
}

.os-phrases h2,
.os-phrases h2 > span {
	height: 100%;
	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;
}

.os-phrases h2 > span {
	margin: 0 15px;
}

.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 10s linear forwards;
	-moz-animation: OpeningSequence 10s linear forwards;
	animation: OpeningSequence 10s linear forwards;
}

.os-phrases h2:nth-child(2) > span > span > span {
	-webkit-animation-delay: 7s;
	-moz-animation-delay: 7s;
	animation-delay: 7s;
	
	-webkit-animation-duration: 7s;
	-moz-animation-duration: 7s;
	animation-duration: 7s;
}


@-webkit-keyframes OpeningSequence {
	0% {
		text-shadow: 0 0 50px #fff;
		letter-spacing: 14px;
		opacity: 0;
		-webkit-transform: rotateY(-90deg);
	}
	50% {
		text-shadow: 0 0 1px #95918b;
		letter-spacing: 1px;
		opacity: 0.9;
		-webkit-transform: rotateY(0deg);
	}
	85% {
		text-shadow: 0 0 1px #95918b;
		opacity: 0.9;
		-webkit-transform: rotateY(0deg) translateZ(50px);
	}
	100% {
		text-shadow: 0 0 5px #95918b;
		opacity: 0;
		-webkit-transform: translateZ(130px);
		pointer-events: none;
	}
}

@-moz-keyframes OpeningSequence {
	0% {
		text-shadow: 0 0 50px #95918b;
		letter-spacing: 14px;
		opacity: 0.2;
		-moz-transform: rotateY(-90deg);
	}
	50% {
		text-shadow: 0 0 1px #95918b;
		letter-spacing: 1px;
		opacity: 0.9;
		-moz-transform: rotateY(0deg);
	}
	85% {
		text-shadow: 0 0 1px #95918b;
		opacity: 0.9;
		-moz-transform: rotateY(0deg) translateZ(50px);
	}
	100% {
		text-shadow: 0 0 5px #95918b;
		opacity: 0;
		-moz-transform: translateZ(130px);
		pointer-events: none;
	}
}

@keyframes OpeningSequence {
	0% {
		text-shadow: 0 0 50px #95918b;
		letter-spacing: 14px;
		opacity: 0.2;
		transform: rotateY(-90deg);
	}
	50% {
		text-shadow: 0 0 1px #95918b;
		letter-spacing: 1px;
		opacity: 0.9;
		transform: rotateY(0deg);
	}
	85% {
		text-shadow: 0 0 1px #95918b;
		opacity: 0.9;
		transform: rotateY(0deg) translateZ(50px);
	}
	100% {
		text-shadow: 0 0 5px #95918b;
		opacity: 0;
		transform: translateZ(130px);
		pointer-events: none;
	}
}

.os-phrases h2:nth-child(3) > span > span > span {
	font-size: 44px;
	-webkit-animation: FadeIn 14s linear 13s forwards;
	-moz-animation: FadeIn 14s linear 13s forwards;
	animation: FadeIn 14s linear 13s forwards;
}

@-webkit-keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 0px #95918b;
	}
	10%{
		opacity: 0.8;
		text-shadow: 0 0 1px #95918b;
	}
	50% {
		opacity: 0.8;
		text-shadow: 0 0 1px #95918b;
	}
	100% {
		opacity: 0.9;
		text-shadow: 0 0 1px #95918b;
	}
}

@-moz-keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 0px #95918b;
	}
	10%{
		opacity: 0.8;
		text-shadow: 0 0 1px #95918b;
	}
	50% {
		opacity: 0.8;
		text-shadow: 0 0 1px #95918b;
	}
	100% {
		opacity: 0.9;
		text-shadow: 0 0 1px #95918b;
	}
}

@keyframes FadeIn { 
	0% {
		opacity: 0;
		text-shadow: 0 0 0px #95918b;
	}
	10%{
		opacity: 0.8;
		text-shadow: 0 0 1px #95918b;
	}
	50% {
		opacity: 0.8;
		text-shadow: 0 0 1px #95918b;
	}
	100% {
		opacity: 0.9;
		text-shadow: 0 0 1px #95918b;
	}
}

/* Bold words */
.os-phrases h2:first-child .word3,
.os-phrases h2:nth-child(2) .word2,
.os-phrases h2:nth-child(3) .word2 {
	font-weight: 600;
}