html {
}

body {
	margin: 0px;
	background-color: #0a1d33;
	color: #FFF;
}

.main {
	position: relative;
	overflow-x: hidden;
}

@font-face {
	font-family: 'UnitedItalicCond-Heavy';
	src: url('../fonts/UnitedItalicCond-Heavy.otf') format('opentype');
}

@font-face {
	font-family: 'UnitedItalicCond-Medium';
	src: url('../fonts/UnitedItalicCond-Medium.otf') format('opentype');
}

/* LOADING SCREEN */

	#loading {
		display: flex;
	    align-items: center;
	    justify-content: center;

		position: absolute;
		top: 0;
		left: 0;
		width: 100vw;
		height: calc(100vh - 52px);

		background: url('../img/loading/background.png') top center/cover;

		background-color: #06182d;
		z-index: 100;
	}

	#loading-bug {
		display: flex;
    	align-items: flex-end;

		position: absolute;
		margin: auto;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;

		width: 145px;
		height: 152px;
	}

	#loading-bug img {
		position: absolute;
		bottom: 0;
		left: 0;
	}

	#bug-empty {

	}

	#bug-full {

	}

	#bug-full-container {
		max-height: 0%;
		animation: bugAnimation 5s linear forwards;
	    overflow: hidden;
	    position: absolute;
	    bottom: 0;
	    left: 0;
	    width: 100%;
	    height: 100%;
	}

.divider:after {
	content:' ';
	position: relative;
	display: block;
    margin: 30px auto 0 auto;

	background: url('../img/divider.png');
	width: 165px;
	height: 16px;
}

.fistbump {
	align-items: center;
    display: flex;
}

.fistbump:before {
	content:' ';
	position: relative;
	display:inline-block;
    margin-right: 5px;

	background: url('../img/sales/fistbump.png');
	width: 20px;
	height: 18px;

}

/* PARALLAX TEST */

	.parallax {
		height: calc(100vh - 52px);
	    overflow-x: hidden;
	    overflow-y: auto;
	    -webkit-perspective: 1px;
	    perspective: 1px;

	    perspective-origin-x: 100%;
	}

	.parallax__layer {
		position: absolute;
	    top: 0;
	    left: 0;
	    right: 0;
	    bottom: 0;

	    transform-origin-x: 100%;
	}

	.parallax__layer--back {
		-webkit-transform: translateZ(-2px) scale(3);
    	transform: translateZ(-2px) scale(3);
    	z-index: 0;
	}

	@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
		.parallax__layer--back {
			-webkit-transform: translateZ(0px) scale(1, 2);
	    	transform: translateZ(0px) scale(1, 2);
	    	z-index: 0;
		}

	}

	@supports (-ms-accelerator:true) {
		.parallax__layer--back {
			-webkit-transform: translateZ(0px) scale(1, 2);
	    	transform: translateZ(0px) scale(1, 2);
	    	z-index: 0;
		}
	}

	.parallax__layer--base {
		transform: translateZ(0);
		z-index: 1;
	}

/* TEXT TREATMENT */
	
	li {
		font-family: 'Roboto', sans-serif;
	    font-weight: normal;
	    font-size: 16px;
	    -webkit-font-smoothing: antialiased;
	}

	p {
		font-family: 'Roboto', sans-serif;
		font-weight: normal;
		font-size: 16px;
		-webkit-font-smoothing: antialiased;
	}

	h1, h3, h4, h5, h6 {
		font-family: 'UnitedItalicCond-Heavy';
		text-transform: uppercase;
		-webkit-font-smoothing: antialiased;
		letter-spacing: 0.1em;
		font-weight: inherit;
	}

	h2 {
		font-family: 'UnitedItalicCond-Medium';
		text-transform: uppercase;
		-webkit-font-smoothing: antialiased;
		letter-spacing: 0.5em;

		font-weight: normal;
	}

	h6 {
		font-size: 16px;
	}

	h5 {
		font-size: 22px;
	}

	h4 {
		font-size: 26px;
	}

	h3 {
		font-size: 30px;
	}

	h2 {
		font-size: 44px;
	}

	h1 {
		font-size: 60px;
	}

	.h-nav {
		font-size: 22px;
	}

	.p-pillars {
		font-size: 24px;
	}



	.bold {
		font-weight: bold;
	}

	/* FONT COLORS */
	.dark-blue {
		color: #041324;
	}

	.dark-gold {
		color: #9b7337;
	}

	.light-gold {
		color: #bc9b6a;
	}

	.red {
		color: #e50000;
	}

/* ARTICLE FRAME */

	#frame-parent {
	    position: absolute;
	    height: calc(100% - 160px);
	    width: calc(100% - 60px);
	    margin: 80px 30px 0px 30px;
	    z-index: 10;

	    pointer-events: none;
	}

	.frame-top {
		table-layout: fixed;
		position: relative;
		display: table;
		width: 100%;
		height: 28px;
	}

	.frame-top > div {
		display:table-cell
	}

	#frame-top-left {
		position: absolute;
	    width: calc(50% - 28px);
	    transform-origin: right;
	    transform: rotateY(90deg);
	    transition: transform 1s ease-in;
	}

	#frame-top-left.animated { 
		transform: rotateY(0deg);
	}

	#frame-top-left .border-thin {
		border-top: 1px solid #5b4807;
		margin-left: 5px;
	}

	#frame-top-left .border-thick {
		border-top: 2px solid #5b4807;
		margin-top: 3px;
	}

	#frame-top-right {
		width: calc(50% - 28px);
   		position: absolute;
   		transform-origin: left;
   		transform: rotateY(-90deg);
   		transition: transform 1s ease-in;
	}

	#frame-top-right.animated {
		transform: rotateY(0deg);
	}

	#frame-top-right .border-thin {
		border-top: 1px solid #5b4807;
		margin-right: 5px;
	}

	#frame-top-right .border-thick {
		border-top: 2px solid #5b4807;
		margin-top: 3px;
	}

	.frame-top-spacer {
		width: 56px;
	}

	#frame-top-accent {
		display: table-cell;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -115%) rotateX(90deg);
		width: 56px;
		height: 28px;

		transition: transform 0.5s ease-out;
	}

	#frame-top-accent.animated {
		transform: translate(-50%, -50%) rotateX(0deg);
	}

	#frame-thin {
		top: 0;
		margin-left: 4px;

		position: absolute;
	    width: calc(100% - 10px);
		height: 0%;
		border-style: none solid none solid;
		border-width: 1px;
		border-color: #5b4807;
		transition: height 1.5s ease-in;
	}

	#frame-thin.animated {
		height: calc(100% + 10px);
	}

	#frame-thick {
		top: 4px;
	    margin-left: -2px;

		position: absolute;
		width: 100%;
		height: 0%;
		border-style: none solid none solid;
		border-width: 2px;
		border-color: #5b4807;
		transition: height 1.5s ease-in;
	}

	#frame-thick.animated {
		height: 100%;
	}

	#frame-parent .add-bottom-border {
		border-style: none solid solid solid;
	}

/* ARTICLE */
	
	#article-parent {
		position: relative;
		overflow-y: hidden;
		overflow-x: hidden;
	}

	#article-background {
		width: 100%;
		height: 4500px;
		pointer-events: none;
		background: url('../img/background/white-repeatable.png') top center repeat;
	}

	/* NAV */

		#nav {
			display: flex;
			align-items: center;
			justify-content: center;
			text-align: center;

			position: absolute;
			width: calc(100% - 86px);
			height: 100px;

			margin: auto;
			left: -17px;
			right: 0;
			top: 125px;

			z-index: 2;

			transition: top 0.5s ease-out, background-color 0.75s ease-out, border 0.75s ease-out;
		}

		.nav-item {
			text-decoration: none;
			color: #FFF;
			width: 20%;
			height: 100%;

			display: none;
			position: relative;
		}

		.nav-item h5 {
			display: inline-block;
		    position: absolute;
		    left: 0;
		    right: 0;
		    top: 50%;
		    transform: translateY(-50%);
		    margin: 0;
			color: #FFF;
			transition: all 0.25s ease-out;
		}

		.nav-item:hover h5 {
			transition: all 0.15s ease-out;
			color: #426c92;
		}

		#nav-worlds-bug {

		}

		#nav-worlds-bug img {
			margin: auto;
		    left: 0;
		    right: 0;
		    bottom: 0;
		    top: 0;
		    position: absolute;
		}

		#nav.sticky {
			top: 0;
			background-color: #06182d;
		    border: 1px solid #55450a;
		    border-top: none;
		}

	/* INTRO */

		#intro {
			display: flex;
			align-items: center;
			text-align: center;
			flex-direction: column;

			background: url('../img/background/blue-1.png') top center/cover;
			background-repeat: no-repeat;
			height: 925px;
		}

		#intro h5 {
			font-family: 'UnitedItalicCond-Medium';
			font-weight: normal;
			font-size: 24px;
			line-height: 1.5em;

			width: 580px;
			margin-top: 0;
			opacity: 0;
		}

		#intro h2 {
			margin-top: 300px;
			opacity: 0;
			max-width: 80%;
		}

	/* PILLARS & MISSIONS */

		#pillars-missions {
			margin-top: -450px;
		}

		#pillars {
			display: flex;
			align-items: center;
			justify-content: center;
			text-align: center;
			flex-direction: row;

			opacity: 0;
		}

		.pillar {
			display: flex;
			align-items: center;
			justify-content: center;
			text-align: center;
			flex-direction: column;

			width: 246px;
			height: 736px;

			background: url('../img/pillars/brush-stroke.png') center no-repeat;

			margin: 0 10px 0 10px;

			opacity: 0;

			transform: translateY(10vh);
			cursor: pointer;

			position: relative;

			bottom:0;
			transition: bottom 0.5s ease-out;
		}

		.pillar:hover {
			bottom:30px;
		}

		.pillar h5 {

		  -webkit-transform: rotateZ(-20deg) skewX(-15deg);  -webkit-transform-style: preserve-3d;
		      -ms-transform: rotateZ(-20deg) skewX(-15deg);      -ms-transform-style: preserve-3d;
		          transform: rotateZ(-20deg) skewX(-15deg);          transform-style: preserve-3d;

    		letter-spacing: 0.3em;
			margin-left: 5px;
    		max-width: 80%;
		}

		.pillar img {
			margin-top: -90px;
		}

		#pillar-skill img {
			margin-left: -15px;
		}

		#pillar-resilience {

		}

		#pillar-teamwork img {

		}

		#pillar-courage {

		}

		#campaign-title {
			position: relative;

			display: flex;
			align-items: center;
			justify-content: center;
			text-align: center;

			margin-bottom: 40px;
		}

		#campaign-title img {
			position: absolute;
			left: -15px;
			right: 0;
			margin: auto;
			top: 52px;
		}

		#campaign-title h1 {
			font-size: 52px;
			letter-spacing: 0.25em;
			color: #1d3f5b;
			z-index: 1;
		}

		#missions {
			position: relative;
			display: flex;
			align-items: center;
			text-align: center;
			flex-direction: column;

			color: #000;
		}

		#missions-icons {
			display: flex;
			flex-direction: row;
		}

		.missions-icon {
			margin: 0 10px 0 10px;
		}

		.missions-icon p {
			font-size: 12px;
			line-height: 30px;
		}

		#missions-text {
			width: 660px;
		}

		#missions-text p {
			width: 100%;
			font-size: 14px;
			line-height: 30px;
			text-align: left;
		}

		#missions-href {
			position: absolute;
			top: -130px;
		}


	/* LOOT */

		#loot {
			display: flex;
			justify-content: center;
			align-items: center;
			text-align: center;
			flex-direction: column;

			background: url('../img/background/blue-2.png') top center/cover;
			position: relative;
			margin-top: -100px;
    		height: 2220px;
		}

		.gem-divider {
			position: absolute;
			top: 90px;
		    margin: auto;
		    left: 25px;
			right: 0;
		}

		.loot-text {
			margin-top: -50px;
			margin-bottom: 95px;
		}

		.loot-text h1 {
			margin-bottom: 0px;
		}

		.loot-text h4 {
			margin-top: 0px;
		}

		.loot-text h4:after {
			background: url(../img/divider.png);
			content: ' ';
		    width: 165px;
		    height: 16px;
		    position: relative;
		    margin: 30px auto 0px auto;
		    display: block;
		}

		.loot-text p {
			max-width: 700px;
		    text-align: left;
		    line-height: 2em;
		}

		.loot-table {
			align-items: center;
			justify-content: center;
			flex-direction: column;
			margin-bottom: 50px;
		}

		.loot-row {
			display: flex;
			align-items: flex-start;
			flex-direction: row;
		}

		.loot-row.extra-margin {
			margin-top: 75px;
		}

		.loot-item {
			display: flex;
			align-items: center;
			justify-content: center;
			flex-direction: column;
			margin: 0px 50px 0 50px;
			width: 200px;
		}

		.loot-item-image {
			width: 150px;
			height: 150px;
			text-align: center;
			vertical-align: middle;
		}

		.loot-item-image img {
			max-width: 100%;
			max-height: 100%;
		}

		.loot-item p {
			width: 100%;
			margin-bottom: 5px;
		}

		.loot-item p:last-child {
			margin-top: 0px;
		}

		.emote-pass-parent {
			display: flex;
			align-items: center;
    		justify-content: center;
			flex-direction: row;

			width: 850px;
		}

		.emote-pass-parent img {
			width: 240px;
		}

		.pass-parent {
			display: flex;
			align-items: flex-start;
    		justify-content: flex-start;
			flex-direction: column;

			width: 450px;
			margin: 50px 100px 50px 0px;
		}

		.pass-parent p {
			width: 100%;
			text-align: left;
			line-height: 2.5em;
		}




	/* ASHE */
		#ashe {
			display: flex;
			justify-content: center;
			align-items: center;
			text-align: center;
			flex-direction: column;

			background: url('../img/ashe/splash.png') top center/cover;
			position: relative;

			height: 2050px;
    		margin-top: -550px;
		}

		#ashe-text {
			margin: 150px 0 30px 0;
			width: 800px;
		}

		#ashe-text h3 {
			font-size: 36px;
		}

		#ashe-text p {
			text-align: left;
			line-height: 32px;
		}

		#ashe-text a {
			color: #FFF;
		}

		#ashe-vid {
			margin-top: 70px;
		}

		.vid-container {
			padding-top: 56.25%;
		    overflow: hidden;
		    width: 100%;
		    position: relative;
		}

		.vid-container iframe {
			margin: 0;
		    width: 100%;
		    height: 100%;
		    position: absolute;
		    top: 0;
		    left: 0;
		}

	/* EMOTES */

		#emotes {
			display: flex;
			justify-content: center;
			align-items: center;
			text-align: center;
			flex-direction: column;

			width: 650px;
    		margin: -100px auto 0 auto;
		}
		
		.emotes-text {
			width: 100%;
			margin-bottom: 30px;
			color: #000;
		}

		.emotes-text h3 {
			
		}

		.emotes-text p {
			width: 100%;
			text-align: left;
			line-height: 2.5em;
		}

		.emotes-text img {
			position: relative;
    		left: -15px;
    		margin-bottom: 10px;
		}

	/* SALES */

		#sales {
			display: flex;
			justify-content: center;
			align-items: center;
			text-align: center;
			flex-direction: column;

			background: url('../img/background/blue-2.png') top center/cover;
			position: relative;
			margin-top: -450px;
			height: 4200px;
		}
		
		#sales-text {
			margin-bottom: 30px;
		}

		#sales-text h3 {
			font-size: 36px;
		}

		#mystery-parent {
			display: flex;
			justify-content: center;
			align-items: flex-start;
			text-align: center;
			flex-direction: row;

			position: relative;
   			margin: 0 0 50px 40px;
		}

		#mystery-text {
			width: 320px;
			margin-left: 60px;
		}

		#mystery-text h3 {
			text-align: left;
		}

		#mystery-text p {
			line-height: 1.5em;
			text-align: left;
		}

		#mystery-text > div > p {
			margin: 0;
		}

		#mystery-text a {
			color: #FFF;
		}

		#baron-parent {
			display: flex;
			justify-content: center;
			align-items: flex-start;
			text-align: center;
			flex-direction: row;

			position: relative;
   			left: 80px;
   			margin-bottom: 50px;
		}

		#baron-text {
			width: 345px;
		    margin-right: 50px;
		}

		#baron-text h3 {
			text-align: left;
		    line-height: 1.2em;
		    margin-bottom: 10px;
		}

		#baron-text p {
			line-height: 2.5em;
			text-align: left;
		}

		#worlds-orbs-parent {
			display: flex;
			justify-content: center;
			align-items: flex-start;
			text-align: center;
			flex-direction: row;

			position: relative;
   			left: 10px;
   			margin-bottom: 60px;
		}

		#worlds-orbs-text {
			width: 345px;
		    margin-left: 30px;
		}

		#worlds-orbs-text h3 {
			text-align: left;
		    line-height: 1.2em;
		    margin-bottom: 10px;
		}

		#worlds-orbs-text p {
			line-height: 1.5em;
			text-align: left;
		}

		#worlds-orbs-text ul {
			margin-top: 0;
			padding-left: 18px;
		}

		#worlds-orbs-text li {
			line-height: 1.5em;
			text-align: left;
		}

		.remove-margin-top {
			margin-top: 0;
		}

		.remove-margin-bottom {
			margin-bottom: 0;
		}



		#sales-table {
			display: flex;
			justify-content: center;
			align-items: center;
			text-align: center;
			flex-direction: column;

			width: 800px;
		}

		#sales-table > h3 {
			margin-bottom: 0;
		}

		#sales-table > p {
			line-height: 2.5em;
		}

		.sales-table-row {
			display: flex;
			flex-direction: row;
		}
		
		.sales-table-item {
			position: relative;
			display: flex;
		    flex-direction: column;
		    align-items: center;
		    justify-content: center;

			margin: 15px;
			z-index: 1;
		}

		.sales-table-item img {
			position: absolute;
			top: 0;
			left: 0;

			width: 100%;
			height: 100%;

			z-index: -1;
		}

		.sales-table-item h4 {
			font-size: 24px;
			margin: 0;
		}

		.sales-table-item p {
			width: 75%;
			margin: 5px 0 5px 0;
		}

		.sales-table-item p:nth-child(3){
			line-height: 2.5em;
		}
		.sales-table-item p:last-child {
			margin-bottom: 0;
		}


		.block-small {
			width: 381px;
			height: 214px;
		}

		.block-large {
			width: 787px;
			height: 441px;
		}

		#role-bundles {
			position: relative;
			display: flex;
		    flex-direction: column;
		    align-items: center;
		    justify-content: center;

		    width: 475px;
		}

		#role-bundles > h4 {
			margin-bottom: 0;
		}

		#role-bundles > p {
			line-height: 2.5em;
		}

		.role-bundle-section p:first-child {
			margin-bottom: 5px;
		}

	/* RIFT */

		#rift {
			display: flex;
		    justify-content: center;
		    align-items: center;
		    text-align: center;
		    flex-direction: column;
		    background: url(../img/map-background.png) top center/cover;
		    position: relative;
		    height: 620px;
    		margin-top: -700px;
		}

		#rift h3 {
			margin-bottom: 0;
		}

		#rift h4 {
			max-width: 80%;
		    font-size: 24px;
		    line-height: 1.25em;
		}

	/* PICKEM */

		#pickem {
			display: flex;
		    justify-content: center;
		    align-items: center;
		    text-align: center;
		    flex-direction: column;
		    background: url(../img/pickem-background-tall.png) top center/cover;
		    position: relative;
		    height: 700px;
    		margin-top: -270px;
		}

		#pickem h3 {
			margin-bottom: 0;
		}

		#pickem h4 {
		    font-size: 24px;
		    width: 870px;
		    margin-bottom: 0;
		    line-height: 1.25em;
		}

	/* PILLAR VIDEO SLIDES */

		#video-brush-stroke {
			position: fixed;

			z-index: 100;
			left: 50%;
		    top: 50%;
		    transform: scale(10) translate(100vw, -50%);
		    transform-origin: top center;
		}

		.pillar-frame {
			display: flex;
		    justify-content: center;
		    align-items: center;
		    text-align: center;
		    flex-direction: column;

			position: fixed;
			left: 0;
			top: 0;
			z-index: 100;

			height: 100vh ;
			width: 100vw;

			margin-top: 0px;

			background: rgba(0, 0, 0, 0.7);
		}

		.pillar-frame > div {
			-webkit-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.75);
			-moz-box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.75);
			box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.75);
		}

		.pillar-frame .show-for-large-up {
			position: relative;
		}

		.pillar-frame .show-for-large-up:before {
			display: block;
			top: -50px;
			position: absolute;
			right: -50px;
			content: url('../img/exit.png');
			cursor: pointer;
			width: 30px;
			height: 30px;
		}



/* ANIMATIONS */

	.brush-stroke-video {
		animation: brushStrokeVideo 0.25s ease-in forwards;
	}

	.brush-stroke-in {
		animation: brushStrokeIn 2s ease-in-out forwards;
	}

	.brush-stroke-out {
		animation: brushStrokeOut 2s ease-in-out forwards;
	}

	.title-fade-in {
		animation: titleFadeIn 0.75s linear forwards;
	}

	.info-fade-in {
		animation: infoFadeIn 1s linear forwards;
	}

	.pillar-animate {
		animation: pillarFadeIn 1.25s cubic-bezier(0, 0, 0, 1) forwards;
	}

	@-webkit-keyframes bugAnimation {
		0% {
			max-height: 0%;
		}

		100% {
			max-height: 100%;
		}
	}
	
	@-webkit-keyframes brushStrokeVideo {
		0% {
			transform: scale(1) translate(-50%, -50%);
			z-index: 0;
		}

		99% {
			transform: scale(1) translate(200vw, -50%);
		}

		100% {
			transform: scale(30, 10) translate(100vw, -50%);
			z-index: 100;
		}
	}

	@-webkit-keyframes brushStrokeIn {
		0% {
			transform: scale(30, 10) translate(100vw, -50%);
			z-index: 100;
		}

		50% {
			transform: scale(30, 10) translate(-100vw, -50%);
			z-index: 100;
		}

		51% {
			transform: scale(1) translate(-200vw, -50%);
			z-index: 0;
		}

		100% {
			transform: scale(1) translate(-50%, -50%);
			z-index: 0;
		}
	}

	@-webkit-keyframes brushStrokeOut {
		0% {
			transform: scale(1) translate(-50%, -50%);
			z-index: 0;
		}

		50% {
			transform: scale(1) translate(-200vw, -50%);
			z-index: 0;
		}

		51% {
			transform: scale(30, 10) translate(-100vw, -50%);
			z-index: 100;
		}

		100% {
			transform: scale(30, 10) translate(100vw, -50%);
			z-index: 100;
		}
	}

	@-webkit-keyframes titleFadeIn {
		0% {
			opacity: 0;
			color: #90753a;
		}

		50% {
			opacity: 1;
			color: #bc9b6a;
			font-size: 105%;
		}

		100% {
			color: #FFF;
			opacity: 1;
			font-size: 100%;
		}
	}

	@-webkit-keyframes infoFadeIn {
		0% {
			opacity: 0;
			color: #90753a;
		}

		50% {
			opacity: 1;
			color: #bc9b6a;
		}

		100% {
			color: #FFF;
			opacity: 1;
		}
	}

	@-webkit-keyframes pillarFadeIn {
		0% {
			opacity: 0;
			transform: translateY(10vh);
		}

		100% {
			opacity: 1;
			transform: translateY(0vh);
		}
	}


	@keyframes bugAnimation {
		0% {
			max-height: 0%;
		}

		100% {
			max-height: 100%;
		}
	}

	@keyframes brushStrokeVideo {
		0% {
			transform: scale(1) translate(-50%, -50%);
			z-index: 0;
		}

		99% {
			transform: scale(1) translate(200vw, -50%);
		}

		100% {
			transform: scale(30, 10) translate(100vw, -50%);
			z-index: 100;
		}
	}

	@keyframes brushStrokeIn {
		0% {
			transform: scale(30, 10) translate(100vw, -50%);
			z-index: 100;
		}

		50% {
			transform: scale(30, 10) translate(-100vw, -50%);
			z-index: 100;
		}

		51% {
			transform: scale(1) translate(-200vw, -50%);
			z-index: 0;
		}

		100% {
			transform: scale(1) translate(-50%, -50%);
			z-index: 0;
		}
	}

	@keyframes brushStrokeOut {
		0% {
			transform: scale(1) translate(-50%, -50%);
			z-index: 0;
		}

		50% {
			transform: scale(1) translate(-200vw, -50%);
			z-index: 0;
		}

		51% {
			transform: scale(30, 10) translate(-100vw, -50%);
			z-index: 100;
		}

		100% {
			transform: scale(30, 10) translate(100vw, -50%);
			z-index: 100;
		}
	}

	@keyframes titleFadeIn {
		0% {
			opacity: 0;
			color: #90753a;
		}

		50% {
			opacity: 1;
			color: #bc9b6a;
			font-size: 105%;
		}

		100% {
			color: #FFF;
			opacity: 1;
			font-size: 100%;
		}
	}

	@keyframes infoFadeIn {
		0% {
			opacity: 0;
			color: #90753a;
		}

		50% {
			opacity: 1;
			color: #bc9b6a;
		}

		100% {
			color: #FFF;
			opacity: 1;
		}
	}

	@keyframes pillarFadeIn {
		0% {
			opacity: 0;
			transform: translateY(10vh);
		}

		100% {
			opacity: 1;
			transform: translateY(0vh);
		}

	}

/* MEDIA RULES */
	
	@media (min-width: 2200px){
        #emotes {
            margin-top: 0px;
        }
    }

	
	@media (max-width: 1200px) {
		html {
			overflow-x: hidden;
		}

		#article-background {
			height: 100%;
		}

		.parallax {
			height: initial;
			overflow-x: initial;
			overflow-y: initial;
			-webkit-perspective: initial;
			perspective: initial;
		}

		.parallax__layer {
			position: relative;
		}

		.parallax__layer--back {
			position: absolute;
		    z-index: -1;
		    pointer-events: none;
		    -webkit-transform: none;
    		transform: none;
    		height: 100%;
		}

		body.riotbar-present {
			overflow-x: initial !important;
		}

		.show-for-large-up {
			display: none;
		}

		#loading.show-for-large-up {
			display: none;
		}
		
		h5 {
			font-size: 18px;
    		letter-spacing: 0.05em;
		}

		h2 {
			letter-spacing: 0.3em;
		}

		#frame-parent {
			display: none;
		}

		#nav {
			height: 85px;
			top: 35px;
			left: 0px;
		}	

		#nav.sticky {
			position: fixed;
			top: 0px;
		}

		.nav-item {
			display: block;
		}

		#intro {
		    height: 755px;
		}

		#intro h2 {
			opacity: 1;
			margin-top: 160px;
		}

		#intro h5 {
			opacity: 1;
		}

		#pillars-missions {
			margin-top: -390px;
		}

		#pillars {
			transform: rotateZ(90deg);
			max-width: 736px;
   			margin: auto;
   			opacity: 1;
		}

		.pillar {
			background: url(../img/pillars/brush-stroke.png) center/contain no-repeat;
			margin: auto;
			transform: none;
			opacity: 1;
		}

		.pillar img {
			transform: rotateZ(-90deg);
			position: absolute;
		    top: 0;
		    left: 0;
		    right: 0;
		    bottom: 0;
		    margin: auto;
		    opacity: 0.5;
		}

		.pillar h5 {
			transform: rotateZ(-90deg);
			max-width: initial;
		}

		#pillar-teamwork img {
			margin-right: auto;
		}

		#pillar-skill img {
			margin-left: auto;
		}

		#missions-text {
			max-width: 80%;
		}

		.loot-text p {
			max-width: 80%;
    		margin: auto;
		}

		.loot-text h1 {
			margin-top: 0px;
		}

		.loot-item {
			margin: 0px 10px 0 10px;
		}

		#ashe-text {
			margin-top: 220px;
			max-width: 80%;
		}

		.sales-table-row {
			flex-direction: column;
		}

		.block-large, .block-small {
			width: 320px;
    		height: 180px;
		}

		.emote-pass-parent {
			flex-direction: column;
			width: 100%;
		}

		.pass-parent {
			width: 80%;
			margin: 0;
		}

		.pass-parent h3 {
			margin-bottom: 0;
		}

		#emotes {
			width: 100%;
		}

		.emotes-text img {
			left: 0;
		}

		.emotes-text p {
			width: 80%;
    		margin: auto;
		}

		#mystery-parent {
			margin: 0;
			flex-direction: column;
			width: 100%;
			align-items: center;
		}

		#mystery-text {
			max-width: 80%;
    		margin: auto;
		}

		#baron-parent {
			flex-direction: column;
			left: 0;
			width: 100%;
			align-items: center;
			margin-bottom: 0;
		}

		#baron-text {
			max-width: 80%;
    		margin: auto;
		}

		#worlds-orbs-parent {
			flex-direction: column;
			left: 0;
			width: 100%;
			margin: 0;
			align-items: center;
		}

		#worlds-orbs-text {
			max-width: 80%;
    		margin: auto;
		}

		#sales {
			margin-top: -580px;
    		height: 5340px;
		}

		#sales-table {
			max-width: 80%;
		}

		#sales-text h3 {
			width: 80%;
    		margin: auto;
		}

		.sales-table-item p {
			font-size: 12px;
			line-height: 1em !important;
		}

		#role-bundles {
			width: 85%;
		}

		#pickem {
			width: 100%;
		}

		#pickem h3 {
			font-size: 20px;
		}

		#pickem h4 {
			font-size: 16px;
			width: 90%;
		}

		#rift {
			margin-top: -850px;
		}
	}
	

	@media (min-width: 1200px) {
		.hide-for-large-up {
			display: none;
		}
	}

	@media (max-width: 850px) {

		#video-brush-stroke {
			transform: scale(5) translate(200vw, -50%);
		}

		.pillar-frame h1:first-child {
			margin-left: 0;
		}

		@-webkit-keyframes brushStrokeVideo {
			0% {
				transform: scale(1) translate(-50%, -50%);
				z-index: 0;
			}

			99% {
				transform: scale(1) translate(400vw, -50%);
			}

			100% {
				transform: scale(15, 5) translate(200vw, -50%);
				z-index: 100;
			}
		}

		@keyframes brushStrokeVideo {
			0% {
				transform: scale(1) translate(-50%, -50%);
				z-index: 0;
			}

			99% {
				transform: scale(1) translate(400vw, -50%);
			}

			100% {
				transform: scale(15, 5) translate(200vw, -50%);
				z-index: 100;
			}
		}

		@-webkit-keyframes brushStrokeIn {
			0% {
				transform: scale(15, 5) translate(200vw, -50%);
				z-index: 100;
			}

			50% {
				transform: scale(15, 5) translate(-200vw, -50%);
				z-index: 100;
			}

			51% {
				transform: scale(1) translate(-400vw, -50%);
				z-index: 0;
			}

			100% {
				transform: scale(1) translate(-50%, -50%);
				z-index: 0;
			}
		}

		@keyframes brushStrokeIn {
			0% {
				transform: scale(15, 5) translate(200vw, -50%);
				z-index: 100;
			}

			50% {
				transform: scale(15, 5) translate(-200vw, -50%);
				z-index: 100;
			}

			51% {
				transform: scale(1) translate(-400vw, -50%);
				z-index: 0;
			}

			100% {
				transform: scale(1) translate(-50%, -50%);
				z-index: 0;
			}
		}

		@-webkit-keyframes brushStrokeOut {
			0% {
				transform: scale(1) translate(-50%, -50%);
				z-index: 0;
			}

			50% {
				transform: scale(1) translate(-400vw, -50%);
				z-index: 0;
			}

			51% {
				transform: scale(15, 5) translate(-200vw, -50%);
				z-index: 100;
			}

			100% {
				transform: scale(15, 5) translate(200vw, -50%);
				z-index: 100;
			}
		}

		@keyframes brushStrokeOut {
			0% {
				transform: scale(1) translate(-50%, -50%);
				z-index: 0;
			}

			50% {
				transform: scale(1) translate(-400vw, -50%);
				z-index: 0;
			}

			51% {
				transform: scale(15, 5) translate(-200vw, -50%);
				z-index: 100;
			}

			100% {
				transform: scale(15, 5) translate(200vw, -50%);
				z-index: 100;
			}
		}
	}
	@media (max-width: 640px){

		body.riotbar-present {
			overflow-x: initial !important;
		}

		.pillar-frame h1 {
			font-size: 44px;
		}

		#loading-image {
			max-width: 100%;
		}

		#nav {
			top: 17px;
			height: 60px;
		}

		.nav-item h5 {
			font-size: 14px;
		}

		.nav-item img {
			max-height: 75%;
   			max-width: 75%;
		}

		#intro {
			height: 375px;
		}

		#intro h2 {
			margin-top: 110px;
			font-size: 24px;
		}

		#intro h5 {
			font-size: 17px;
			max-width: 80%;
			width: 350px;
		}

		#pillars-missions {
			margin-top: -310px;
		}

		#pillars {
			max-width: 400px;
			margin-bottom: -150px;
		}

		.pillar {
			min-width: 100px;
		}

		.pillar img {
			max-width: 75%;
		}

		#campaign-title {
			margin-bottom: 0px;
		}

		#campaign-title h1 {
			font-size: 32px;
		}

		#campaign-title img {
		    top: 0;
		    bottom: 0;
		    max-width: 100%;
		    z-index: -1;
		}

		#missions-icons {
			max-width: 100%;
		}

		.missions-icon {
			max-width: 25%;
		}

		.missions-icon img {
			max-width: 100%;
		}

		#missions-text h3 {
			font-size: 20px;
		}

		#loot {
			height: 2540px;
		}

		.loot-table {
			margin-bottom: 10px;
		}

		.loot-item {
			margin-bottom: 10px;
		}

		.loot-text {
			margin-top: -130px;
			margin-bottom: 20px;
		}

		.loot-text h1 {
			margin-top: -20px;
		}

		.loot-item-image {
			width: 60px;
			height: 60px;
		}

		.loot-item-image img {
			width: 100%;
    		height: 100%;
		}

		.loot-item p {
			font-size: 12px;
		}

		.loot-row {
			flex-direction: column;
		}

		.loot-row.extra-margin {
			margin-top: 10px;
		}

		.sales-table-row {
			flex-direction: column;
		}

		.block-large, .block-small {
			width: 320px;
    		height: 180px;
		}

		.emote-pass-parent {
			flex-direction: column;
			width: 100%;
		}

		.pass-parent {
			width: 80%;
			margin: 0;
		}

		.pass-parent h3 {
			margin-bottom: 0;
		}

		#emotes {
			width: 100%;
		}

		.emotes-text img {
			left: 0;
		}

		.emotes-text p {
			width: 80%;
    		margin: auto;
		}

		#mystery-parent {
			margin: 0;
			flex-direction: column;
			width: 100%;
			align-items: center;
		}

		#mystery-text {
			max-width: 80%;
    		margin: auto;
		}

		#baron-parent {
			flex-direction: column;
			left: 0;
			width: 100%;
			align-items: center;
		}

		#baron-text {
			max-width: 80%;
    		margin: auto;
		}

		#worlds-orbs-parent {
			flex-direction: column;
			left: 0;
			width: 100%;
			margin: 0;
			align-items: center;
		}

		#worlds-orbs-text {
			max-width: 80%;
    		margin: auto;
		}

		#sales {
			margin-top: -670px;
			height: 5620px;
		}

		#sales-table {
			width: 80%;
		}

		#sales-text h3 {
			max-width: 80%;
    		margin: auto;
		}

		.sales-table-item p {
			font-size: 12px;
			line-height: 1em !important;
		}

		#role-bundles {
			width: 85%;
		}

		#pickem {
			width: 100%;
		}

		#pickem h3 {
			font-size: 20px;
		}

		#pickem h4 {
			font-size: 16px;
			width: 90%;
		}

		#rift {
			margin-top: -920px;
		}
	}

	@media (max-width: 500px) {
		#nav {
			display: none;
		}
	}

	@media (max-width: 395px){
		#loot {
			height: 2720px;
		}

		#sales {
			height: 6000px;
		}
	}

/*	@media (max-width: 320px){
		#sales {
			height: 6000px;
		}
	}*/


