* {
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: Myriad;
	src: url('./Myriad-Pro-Semibold.woff') format('woff');
}

html,
body {
	width: 100%;
	height: 100%;
	font-family: Lato, sans-serif;
}

canvas {
	display: block;
}

.stroke {
	-webkit-text-stroke: 0.005rem #ff8b00;
	text-shadow: 0.005rem 0.005rem 0 #ff8b00, -0.005rem -0.005rem 0 #ff8b00,
		0.005rem -0.005rem 0 #ff8b00, -0.005rem 0.005rem 0 #ff8b00,
		0.005rem 0.005rem 0 #ff8b00;
}

.background-loading-left {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 100%;
	max-height: 1080px;
}

.background-loading-right {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 100%;
	max-height: 1080px;
}

.game-content-bg {
	top: calc(50% + 50px);
	height: 80%;
}

.background-loading-splash {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50%;
	transform: translate(-50%, -50%);
}

.character {
	box-sizing: border-box;
	width: 15rem;
	z-index: 10;
}

.character img {
	width: 100%;
}

.char-circle {
	border-radius: 50%;
	height: 100%;
	width: 100%;
	background: #9b59b6;
	border: 0.2rem solid #8e44ad;
	box-sizing: border-box;
}

#iogames-link img:active {
	filter: drop-shadow(0 0 0 #8300c1);
	transform: translateY(0.25rem);
}

#iogames-link img {
	cursor: pointer;
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	max-width: 15rem;
	filter: drop-shadow(0 0.25rem 0 #8300c1);
	transition: all 0.1s ease-in-out;
}

#google-link {
	position: absolute;
	bottom: 1rem;
	left: 1rem;
	max-width: 15rem;
	cursor: pointer;
}

#ios-link {
	position: absolute;
	bottom: 6rem;
	left: 1rem;
	max-width: 15rem;
	cursor: pointer;
}

#ios-link img,
#google-link img,
#facebook-link img,
#instagram-link img,
#youtube-link img,
#twitter-link img {
	width: 100%;
}

#facebook-link:active {
	filter: drop-shadow(0 0 0 #074f81);
	transform: translateY(0.25rem);
}

#facebook-link {
	position: absolute;
	top: 1rem;
	left: 1rem;
	max-width: 10rem;
	cursor: pointer;
	filter: drop-shadow(0 0.25rem 0 #074f81);
	transition: all 0.1s ease-in-out;
}

#twitter-link:active {
	filter: drop-shadow(0 0 0 #0577c9);
	transform: translateY(0.25rem);
}

#twitter-link {
	position: absolute;
	top: 1rem;
	right: 1rem;
	max-width: 10rem;
	cursor: pointer;
	filter: drop-shadow(0 0.25rem 0 #0577c9);
	transition: all 0.1s ease-in-out;
}

#youtube-link:active {
	filter: drop-shadow(0 0 0 #b40000);
	transform: translateY(0.25rem);
}

#youtube-link {
	position: absolute;
	top: 4.5rem;
	right: 1rem;
	max-width: 10rem;
	cursor: pointer;
	filter: drop-shadow(0 0.25rem 0 #b40000);
	transition: all 0.1s ease-in-out;
}

#instagram-link:active {
	filter: drop-shadow(0 0 0 #5b335a);
	transform: translateY(0.25rem);
}

#instagram-link {
	position: absolute;
	top: 4.5rem;
	left: 1rem;
	max-width: 10rem;
	cursor: pointer;
	filter: drop-shadow(0 0.25rem 0 #5b335a);
	transition: all 0.1s ease-in-out;
}

.hide {
	display: none !important;
}

.show {
	display: block !important;
}

#ads-container,
#revive-container,
#playwire-container {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
}

.ads {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 938px;
	height: 528px;
	border-radius: 0.5rem;
	z-index: 100000;
}

.cross-promo {
	cursor: pointer;
	position: fixed;
	left: 2%;
	top: 50%;
	transform: translateY(-50%);
	max-width: 300px;
	max-height: 320px;
	background-image: url(./img/promo/mobg_winter.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 25vw;
	height: 22vw;
	border-radius: 0.5rem;
}

.reference {
	position: fixed;
	right: 2%;
	top: 50%;
	transform: translateY(-50%);
	max-width: 300px;
	max-height: 320px;
	width: 23%;
	height: 45%;
	/* background: #FF0DFF; */
	background: #383838;
	border-radius: 0.5rem;
	overflow-y: scroll;
	z-index: 100;
}

#loading {
	position: fixed;
	background-image: url(./img/sample.png);
	background-position: 0 100%;
	background-color: #fefefe;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 10;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #fefefe;
}

#loading .character {
	-webkit-animation: loading-anim 0.75s linear infinite alternate;
	-moz-animation: loading-anim 0.75s linear infinite alternate;
	-ms-animation: loading-anim 0.75s linear infinite alternate;
	-o-animation: loading-anim 0.75s linear infinite alternate;
	animation: loading-anim 0.75s linear infinite alternate;
}

.loading-img {
	object-fit: cover;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 0;
}

#playButton {
	position: absolute;
	top: 5rem;
	left: 30rem;
	margin-top: 10px;
	vertical-align: top;
	width: 350px;
	height: 60px;
	padding: 0;
	font-size: 22px;
	color: white;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	background: #2c3e50;
	border: 0;
	border-bottom: 2px solid #22303f;
	cursor: pointer;
	-webkit-box-shadow: inset 0 -2px #22303f;
	box-shadow: inset 0 -2px #22303f;
}

/* Fade in tabs */

@-webkit-keyframes fadeEffect {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeEffect {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-moz-keyframes loading-anim {
	from {
		-moz-transform: scale(0.95);
	}
	to {
		-moz-transform: scale(1.1);
	}
}

@-webkit-keyframes loading-anim {
	from {
		-webkit-transform: scale(0.95);
	}
	to {
		-webkit-transform: scale(1.1);
	}
}

@keyframes loading-anim {
	from {
		transform: scale(0.95);
	}
	to {
		transform: scale(1.1);
	}
}

.clown-games {
	border-bottom-style: solid;
	border-bottom-color: #f27c09;
	border-bottom-width: 0.3em;
	width: 37em;
	margin: auto;
	margin-bottom: 2rem;
}

.clownpromo {
	cursor: pointer;
	border-radius: 1em;
	width: 7em;
	height: 7em;
	object-fit: cover;
	transition: transform 0.2s ease;
	user-select: none;
}

.clownpromo:hover {
	transform: scale(1.1);
	z-index: 10;
}

#progress-wrapper {
	width: 30%;
	max-width: 50rem;
	margin-top: 1rem;
	text-align: center;
	z-index: 10;
}

#progress {
	width: 100%;
	background-color: #ddd;
	z-index: 10;
}

#starting-game p {
	font-size: 2rem;
	color: #262626;
}

#bar {
	width: 10%;
	height: 30px;
	background-color: #22dad0;
	text-align: center;
	line-height: 30px;
	color: #fefefe;
	transition: all 0.2s ease-in-out;
}

#header-loading {
	text-align: center;
	color: #262626;
	margin-top: 0;
	margin-bottom: 2rem;
	width: 80%;
	max-width: 80rem;
	z-index: 10;
}

#header-loading h1 {
	color: #262626;
	font-family: Myriad, sans-serif;
	font-weight: 700;
	font-size: 5rem;
}

#header-loading h2 {
	font-size: 1.6rem;
	width: 70%;
	margin: 0 auto;
}

#header-loading p {
	margin: 0.25rem auto 0 auto;
	font-size: 1.2rem;
	width: 70%;
}

.header {
	background: url('./img/splash.png') center center no-repeat;
	background-size: contain;
	z-index: 1;
	position: absolute;
	top: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
	text-align: center;
	font-size: 12px;
	padding-bottom: 4rem;
}

.header-title {
	padding-top: calc(90px + 0.1em);
	font-size: 5em;
	margin: 0;
	font-family: Myriad, sans-serif;
	font-weight: 700;
	color: #262626;
	line-height: 1.1em;
}

.header h2 {
	margin: 0;
	font-size: 1.8em;
	line-height: 1.1em;
	color: #262626;
	font-family: Lato, sans-serif;
}

.header p {
	margin: 0.25em auto 0 auto;
	font-size: 1.4em;
	line-height: 1em;
	color: #262626;
	width: 80%;
	font-family: Lato, sans-serif;
}

.adsbygoogle-top {
	position: absolute;
	top: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
}

.adsbygoogle-bottom {
	position: absolute;
	bottom: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
}

.adsbygoogle-right {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	left: initial;
}

.adsbygoogle-left {
	position: absolute;
	left: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	right: initial;
}

@media (max-width: 1280px) {
	.background-loading-left {
		max-height: 720px;
	}
	.background-loading-right {
		max-height: 720px;
	}
}

@media only screen and (max-width: 900px), screen and (max-height: 600px) {
	.header {
		font-size: 7px;
	}
	.background-loading-left {
		max-height: 480px;
	}
	.background-loading-right {
		max-height: 480px;
	}
	#facebook-link,
	#youtube-link,
	#instagram-link,
	#twitter-link {
		max-width: 7rem;
	}
	#youtube-link,
	#instagram-link {
		top: 4.5rem;
	}
	#ios-link,
	#google-link {
		max-width: 10rem;
	}
	#ios-link {
		bottom: 4.5rem;
	}
	#iogames-link img {
		bottom: 0.5rem;
		max-width: 10rem;
	}
	.cross-promo {
		left: 1%;
		max-width: 200px;
		max-height: 220px;
		width: 20vw;
		height: 17vw;
		border-radius: 0.3rem;
	}
}

@media only screen and (max-height: 800px) {
	.header {
		font-size: 8.8px;
	}
}

@media only screen and (max-width: 720px) {
	.background-loading-left {
		max-height: 300px;
	}
	.background-loading-right {
		max-height: 300px;
	}
}

@media only screen and (max-height: 520px) {
	.header {
		font-size: 5px;
	}
}
