html {
	box-sizing: border-box;
	font-family: sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	overflow: hidden;
}

*, *:before, *:after {
	box-sizing: inherit;
}

* {
	max-height: 1000000px;
}

body {
	margin: 0;
	color: #333;
	background: #fff;
	font: 16px/1.2 "Fjalla One", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	background-color: transparent;
}

a:active, a:hover {
	outline: 0;
	color: #39f;
	text-decoration: none;
}

b, strong {
	font-weight: bold;
}

sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -.5em;
}

sub {
	bottom: -.25em;
}

button {
	margin: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	overflow: visible;
	text-transform: none;
	-webkit-appearance: button;
	-webkit-border-radius: 0;
}

button::-moz-focus-inner {
	border: 0;
	padding: 0;
}

img {
	border: 0;
	height: auto;
	max-width: 100%;
}

#wrapper {
	width: 300px;
	height: 250px;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	background: #2462bb;
	vertical-align: top;
	display: inline-block;
}

#ad {
	width: 100%;
	height: 100%;
	position: absolute;
	text-decoration: none;
	pointer-events: none;
}

.bg-animate,
.text-animate {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bg-animate {
	width: 100%;
	height: 100%;
	position: absolute;
}

.bg-animate li {
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	overflow: hidden;
	position: absolute;
}

.bg-animate li img {
	top: 16%;
	left: 19%;
	height: 168px;
	min-width: 204px;
	position: absolute;
}

.bg-animate li:nth-child(even) {
	left: 50%;
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.bg-animate li:first-child img,
.bg-animate li:nth-child(2) img {
	-webkit-animation: animate-pos-bg 11.23s cubic-bezier(.18, .4, 0, 1.02) infinite;
	animation: animate-pos-bg 11.23s cubic-bezier(.18, .4, 0, 1.02) infinite;
}

.bg-animate li:last-child img,
.bg-animate li:nth-last-child(2) img {
	opacity: 0;
	-webkit-animation: animate-swing-bg 11.23s ease-in-out infinite;
	animation: animate-swing-bg 11.23s ease-in-out infinite;
}

.text-animate {
	z-index: 1;
	color: #fff;
	font-size: 50px;
	line-height: 50px;
	padding-top: 26px;
	position: relative;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.text-animate li {
	height: 50px;
	overflow: hidden;
	text-align: center;
}

.text-animate li div {
	position: relative;
}

.text-animate li div span {
	display: block;
}

.text-animate li:first-child div {
	top: -50px;
	-webkit-animation: text-pos-bounce1 11.23s cubic-bezier(.03, .24, .23, .82) infinite;
	animation: text-pos-bounce1 11.23s cubic-bezier(.03, .24, .23, .82) infinite;
}

.text-animate li:nth-child(2) div {
	-webkit-animation: text-pos2 11.23s cubic-bezier(.03, .24, .23, .82) infinite;
	animation: text-pos2 11.23s cubic-bezier(.03, .24, .23, .82) infinite;
}

.text-animate li:nth-child(3) div {
	-webkit-animation: text-pos3 11.23s cubic-bezier(.03, .24, .23, .82) infinite;
	animation: text-pos3 11.23s cubic-bezier(.03, .24, .23, .82) infinite;
}

.text-animate li:last-child div {
	-webkit-animation: text-pos-bounce2 11.23s cubic-bezier(.03, .24, .23, .82) infinite;
	animation: text-pos-bounce2 11.23s cubic-bezier(.03, .24, .23, .82) infinite;
}

.text-animate li:last-child .disable {
	-webkit-animation: text-fade-in 11.23s linear infinite;
	animation: text-fade-in 11.23s linear infinite;
}

@-webkit-keyframes animate-pos-bg {
	0% {
		opacity: 1;
		-webkit-transform: scale(1.1) rotate(24deg) translate(87px, -61px);
		transform: scale(1.1) rotate(24deg) translate(87px, -61px);
	}

	17.7094%,
	100% {
		opacity: 1;
		-webkit-transform: scale(1.1) rotate(0deg) translate(-4px, -5px);
		transform: scale(1.1) rotate(0deg) translate(-4px, -5px);
	}

	17.8094%,
	100% {
		opacity: 0;
	}
}

@keyframes animate-pos-bg {
	0% {
		opacity: 1;
		-webkit-transform: scale(1.1) rotate(24deg) translate(87px, -61px);
		transform: scale(1.1) rotate(24deg) translate(87px, -61px);
	}

	17.7094%,
	100% {
		opacity: 1;
		-webkit-transform: scale(1.1) rotate(0deg) translate(-4px, -5px);
		transform: scale(1.1) rotate(0deg) translate(-4px, -5px);
	}

	17.8094%,
	100% {
		opacity: 0;
	}
}

@-webkit-keyframes animate-swing-bg {
	0%,
	17.6094% {
		opacity: 0;
	}

	17.7094%,
	32.7515%,
	47.6936%,
	62.6357%,
	77.5779%,
	92.52% {
		opacity: 1;
		-webkit-transform: scale(1.1) rotate(0deg) translate(-4px, -5px);
		transform: scale(1.1) rotate(0deg) translate(-4px, -5px);
	}

	25.2804%,
	40.2226%,
	55.1647%,
	70.1068%,
	85.0489%,
	100% {
		opacity: 1;
		-webkit-transform: scale(1) rotate(0deg) translate(0, 0);
		transform: scale(1) rotate(0deg) translate(0, 0);
	}
}

@keyframes animate-swing-bg {
	0%,
	17.6094% {
		opacity: 0;
	}

	17.7094%,
	32.7515%,
	47.6936%,
	62.6357%,
	77.5779%,
	92.52% {
		opacity: 1;
		-webkit-transform: scale(1.1) rotate(0deg) translate(-4px, -5px);
		transform: scale(1.1) rotate(0deg) translate(-4px, -5px);
	}

	25.2804%,
	40.2226%,
	55.1647%,
	70.1068%,
	85.0489%,
	100% {
		opacity: 1;
		-webkit-transform: scale(1) rotate(0deg) translate(0, 0);
		transform: scale(1) rotate(0deg) translate(0, 0);
	}
}

@-webkit-keyframes text-pos-bounce1 {
	0%,
	3.829% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	9.7951%,
	34.9955%,
	78.9848%,
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	39.1807% {
		-webkit-transform: translateY(52px);
		transform: translateY(52px);
	}

	40.6945% {
		-webkit-transform: translateY(49px);
		transform: translateY(49px);
	}

	42.7426%,
	71.2377% {
		-webkit-transform: translateY(50px);
		transform: translateY(50px);
	}

	75.4229% {
		-webkit-transform: translateY(-2px);
		transform: translateY(-2px);
	}

	76.8477% {
		-webkit-transform: translateY(1px);
		transform: translateY(1px);
	}
}

@keyframes text-pos-bounce1 {
	0%,
	3.829% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	9.7951%,
	34.9955%,
	78.9848%,
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	39.1807% {
		-webkit-transform: translateY(52px);
		transform: translateY(52px);
	}

	40.6945% {
		-webkit-transform: translateY(49px);
		transform: translateY(49px);
	}

	42.7426%,
	71.2377% {
		-webkit-transform: translateY(50px);
		transform: translateY(50px);
	}

	75.4229% {
		-webkit-transform: translateY(-2px);
		transform: translateY(-2px);
	}

	76.8477% {
		-webkit-transform: translateY(1px);
		transform: translateY(1px);
	}
}

@-webkit-keyframes text-pos2 {
	0%,
	5.6099% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	11.5761% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

@keyframes text-pos2 {
	0%,
	5.6099% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	11.5761% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

@-webkit-keyframes text-pos3 {
	0%,
	7.3909% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	13.357% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

@keyframes text-pos3 {
	0%,
	7.3909% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	13.357% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}

@-webkit-keyframes text-pos-bounce2 {
	0%,
	9.1718% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	15.138%,
	34.9955%,
	78.9848%,
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	39.1807% {
		-webkit-transform: translateY(-52px);
		transform: translateY(-52px);
	}

	40.6945% {
		-webkit-transform: translateY(-49px);
		transform: translateY(-49px);
	}

	42.7426%,
	71.2377% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	75.4229% {
		-webkit-transform: translateY(2px);
		transform: translateY(2px);
	}

	76.8477% {
		-webkit-transform: translateY(-1px);
		transform: translateY(-1px);
	}
}

@keyframes text-pos-bounce2 {
	0%,
	9.1718% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	15.138%,
	34.9955%,
	78.9848%,
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	39.1807% {
		-webkit-transform: translateY(-52px);
		transform: translateY(-52px);
	}

	40.6945% {
		-webkit-transform: translateY(-49px);
		transform: translateY(-49px);
	}

	42.7426%,
	71.2377% {
		-webkit-transform: translateY(-50px);
		transform: translateY(-50px);
	}

	75.4229% {
		-webkit-transform: translateY(2px);
		transform: translateY(2px);
	}

	76.8477% {
		-webkit-transform: translateY(-1px);
		transform: translateY(-1px);
	}
}

@-webkit-keyframes text-fade-in {
	0%,
	14.9% {
		opacity: 0;
	}

	16%,
	100% {
		opacity: 1;
	}
}

@keyframes text-fade-in {
	0%,
	14.9% {
		opacity: 0;
	}

	16%,
	100% {
		opacity: 1;
	}
}