@font-face {
    font-family: 'metropolis-bold';
    src: url('../fonts/metropolis-bold-webfont.woff2') format('woff2'),
         url('../fonts/metropolis-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'metropolis-regular';
    src: url('../fonts/metropolis-regular-webfont.woff2') format('woff2'),
         url('../fonts/metropolis-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Half-Page */
section {
	height: 100vh;
	position: relative;
}
.content {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -30px 0 0 -365px;
}
#leaderboard{
	height: 90px;
	width: 728px;
	margin-bottom: 20px;
	border: .5px solid rgba(0, 0, 0, .25);
}
.text-link {
	float: right;
	text-decoration: none;
	font-family: 'metropolis-regular';
	color: rgba(236, 0, 140, .6);
	transition: all ease .5s;
}
.text-link:hover {
	color: rgba(40, 193, 241, .8);
}

/* Leaderboard Ad */

#ad{
	height: 90px;
	width: 728px;
	position:relative;
	/*overflow: hidden;*/
}
.top-layer {
	background-color: #fff;
	height: 90px;
	width: 728px;
	position: absolute;
	box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
	z-index: 99;
	animation: topReveal 1.25s forwards 8s;
}
.block-out {
	height: 90px;
	width: 510px;
	border-left: 109px solid #fff;
	border-right: 109px solid #fff;
	position: absolute;
	opacity: 0;
	visibility: hidden;
	z-index: 999;
	animation: blockOut 5s forwards 2s;
}
h1 {
	font-family: 'metropolis-bold';
	text-transform: uppercase;
	font-size: 36px;
	line-height: 50px;
}
.border-box {
	padding: 10px;
	border: 12px solid #000;
	position: relative;
	z-index: 9;
	animation: shrink 2s forwards,
			   replaceLogo 2s forwards 8s;
}
.title-container {
	width: 486px;
	height: 40px;
	position: absolute;
	padding: 12px;
	top: 12px;
	left: 109px;
	z-index: 99;
	animation: titleContShrink 2s forwards 8s;
}
.title-first,
.title-second,
.title-third {
	position: absolute;
	animation-delay: 2s;
	z-index: 99;
}
.title-first {
	top: 8px;
	right: -220px;
	animation: rightMoveFirst 2s forwards 2s,
			   titleFirstShrink 2s forwards 8s;
}
.title-second {
	top: 8px;
	right: -250px;
	animation: rightMoveSecond 2s forwards 3s,
			   titleSecondShrink 2s forwards 8s;
}
.title-third {
	top: 8px;
	right: -220px;
	animation: rightMoveThird 1s forwards 4s,
			   titleThirdShrink 2s forwards 8s;
}

.arrow {
	background-image: url(../images/arrow.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	height: 190px;
	width: 112px;
	position: absolute;
	left: 303px;
	bottom: -190px;
	z-index: 9;
	animation: bottomUp 9s forwards 5s;
}

.background-color {
	background-color: #fff;
	height: 90px;
	width: 728px;
}

.logo-full {
	background-image: url(../images/leaderboard-amp-full.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	height: 140px;
	width: 165px;
	position: absolute;
	top: -33px;
	left: 745px;
	animation: logoSlideOver 1.5s forwards 10s;
}
.logo-right-side {
	background-image: url(../images/leaderboard-amp-right-side.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	height: 132px;
	width: 233px;
	position: absolute;
	top: -27px;
	left: 730px;
	z-index: 999;
	animation: logoSlideOver 1.5s forwards 10s;
}
h3 {
	font-family: 'metropolis-bold';
	font-size: 18px;
	text-transform: uppercase;
	width: 300px;
	position: absolute;
	left: 25px;
	bottom: -20px;
	z-index: 9;
	animation: textSlideUpHThree 1s forwards 12s;
}
h4 {
	font-family: 'metropolis-bold';
	font-size: 14px;
	text-transform: uppercase;
	width: 300px;
	position: absolute;
	left: 25px;
	bottom: -20px;
	z-index: 9;
	animation: textSlideUpHFour 1s forwards 12s;
}
p {
	font-family: 'metropolis-regular';
	font-size: 10px;
	line-height: 13px;
	width: 230px;
	position: absolute;
	right: 25px;
	bottom: -30px;
	z-index: 9;
	animation: textSlideUpP 1s forwards 13s;
}
.btn {
	font-family: 'metropolis-bold';
	font-size: 12px;
	position: absolute;
	right: 150px;
	bottom: -50px;
	color: #000;
	text-decoration: none;
	background-color: transparent;
	border: 3px solid #000;
	padding: 6px;
	text-align: center;
	animation: btnSlideUp 1s forwards 14s;
	transition: all ease .5s;
	z-index: 9999;
}
.btn:hover {
	color: #fff;
	background-color: #74cbf0;
	border: 3px solid #74cbf0;
}


@keyframes textSlideUpHThree {
	0% {
		bottom: -10px;
	}
	100% {
		bottom: 46px;
	}
}
@keyframes textSlideUpHFour {
	0% {
		bottom: -10px;
	}
	100% {
		bottom: 24px;
	}
}

@keyframes textSlideUpP {
	0% {
		bottom: -30px;
	}
	100% {
		bottom: 50px;
	}
}

@keyframes btnSlideUp {
	0% {
		bottom: -50px;
	}
	100% {
		bottom: 12px;
	}
}


@keyframes blockOut {
	0%, 99% {
		opacity: 1;
		visibility: visible;
	}
	100% {
		opacity: 0;
		visibility: hidden;
	}
}

@keyframes shrink {
	0% {
		width: 1000px;
		height: 100px;
		top: -27px;
		left: -150px;
	}
	100% {
		width: 466px;
		height: 20px;
		top: 12px;
		left: 109px;
	}
}

@-webkit-keyframes rightMoveFirst {
  	0% {
		right: -220px;
	}
	80% {
		z-index: 9;
	}
	100% {
		right: 340px;
		z-index: 999;
	}
}
@-webkit-keyframes rightMoveSecond {
  	0% {
		right: -220px;
	}
	80% {
		z-index: 9;
	}
	100% {
		right: 190px;
		z-index: 999;
	}
}
@-webkit-keyframes rightMoveThird {
  	0% {
		right: -220px;
	}
	80% {
		z-index: 9;
	}
	100% {
		right: 65px;
		z-index: 999;
	}
}

@-webkit-keyframes bottomUp {
  	0% {
		bottom: -190px;
	}
	30% {
		bottom: -100px;
	}
	35% {
		bottom: -120px;
	}
	43%, 100% {
		bottom: 90px;
	}
}

@-webkit-keyframes topReveal {
  	0% {
		height: 90px;
	}
	100% {
		height: 0px;
	}
}

@keyframes replaceLogo {
	0% {
		width: 466px;
		height: 20px;
		top: 12px;
		left: 109px;
		padding: 12px;
	}
	50% {
		width: 0px;
		height: 0px;
		top: 34px;
		left: 345px;
		padding: 0px;
	}
	100%  {
		width: 60px;
		height: 60px;
		top: 9px;
		left: 325px;
		padding: 0px;
		border: 5px solid #000;
	}
}

@keyframes titleContShrink {
	0% {
		width: 60px;
		height: 60px;
		top: 14px;
		left: 330px;
		padding: 0px;
		opacity: 1;
	}
	10%, 80% {
		width: 60px;
		height: 60px;
		top: 14px;
		left: 330px;
		padding: 0px;
		opacity: 0;
	}
	100% {
		width: 60px;
		height: 60px;
		top: 14px;
		left: 330px;
		padding: 0px;
		opacity: 1;
	}
}

@keyframes titleFirstShrink {
	0%, 100% {
		font-size: 10.5px;
		line-height: 15px;
		top: 3px;
		right: 23px;
	}
}
@keyframes titleSecondShrink {
	0%, 100% {
		font-size: 10.5px;
		line-height: 15px;
		top: 14px;
		right: 14px;
	}
}
@keyframes titleThirdShrink {
	0%, 100% {
		font-size: 10.5px;
		line-height: 15px;
		top: 26px;
		right: 23px;
	}
}

@-webkit-keyframes logoSlideOver {
  	0% {
		left: 730px;
	}
	100% {
		left: 298px;
	}
}

