﻿html {
	font-size: 10px;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	background-color: #202028;
	color: #c4c2c2;
	scroll-behavior: smooth;
}

body {
	padding: 0;
	margin: 0;
}

body > * {
	width: 100%;
}

body * {
	transition-timing-function: ease-in-out;
}

a {
	transition: 0.2s;
}

a:link, a:visited {
	color: #fff;
	text-decoration: none;
}

a:hover {
	color: #c4c4c4;
	scale: 1.075;
}

a.press-kit:link, a.press-kit:visited {
	color: #f6b414;
}

a.press-kit:hover {
	color: #c4c4c4;
}

header {
	position: fixed;
	height: 17rem;
	font-size: 2.6rem;
	transition: all 0.2s, backdrop-filter 0.2s 0.25s;
	z-index: 9;
	transform: translateZ(0);
}

ul {
	height: 10rem;
	list-style-type: none;
	display: flex !important;
	flex-direction: row;
	flex-grow: 1;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
	font-weight: 600;
}

ul.container {
	padding: 3.5rem 0;
	width: 120rem;
	transition: 0.2s;
	max-width: 100%;
}

li {
	height: 10rem;
	padding: 0 5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1;
}

li.logo {
	flex-grow: 0;
	transition: 0.2s;
	padding: 0;
}

li.logo img {
	height: 10rem;
	opacity: 0;
	width: 0;
	transition: 0.2s;
}

header.scrolled li.logo img {
	opacity: 1;
	width: auto;
}

header.scrolled li.logo {
	flex-grow: 1;
	padding: 0 5rem;
}

header.blurred {
	background-color: rgba(0, 0, 0, .1);
	backdrop-filter: blur(5px);
}

header.hide {
	opacity: 0;
}

header.scrolled {
	font-size: 2.2rem;
	height: 11rem;
	background-color: rgba(0, 0, 0, .25);
}

header.scrolled ul.container {
	padding: 0.5rem 0;
}


li > a {
	flex-grow: 1;
	text-align: center;
	line-height: 10rem;
	height: 10rem;
}

.container {
	margin: 0 auto;
	display: block;
	padding: 12.5rem 0;
	width: 150rem;
}

#HeroVideo {
	display: block;
	width: 100%;
}

#Hero {
	position: relative;
	display: flex;
	justify-content: center;
	color: #fff;
}

#Hero:before {
	width: 100%;
	height: 100%;
	display: block;
	background: rgba(0, 0, 0, .5) url("../images/Pattern.png");
	background-size: 1.7rem;
	content: '';
	position: absolute;
}

#Hero > .container {
	position: absolute;
	height: 100%;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.we-are {
	height: 350px;
	font-size: 13rem;
	line-height: 35rem;
	font-weight: 700;
	display: flex;
}

.we-are > img {
	height: 35rem;
	margin-left: 4rem;
}

#Hero .socials {
	position: absolute;
	bottom: 17rem;
}

.socials a {
	margin: 0 1rem;
}

.socials img {
	width: 6rem;
	transition: 0.2s;
	border-radius: 1.6rem;
}

.socials a:hover img {
	background: rgba(246, 180, 20, 0.5);
	box-shadow: #f6b414 0 0 0.5rem;
	scale: 1.07;
}

#About {
	font-weight: 600;
	font-size: 2.7rem;
}

#About > .container > p {
	padding: 0 6.5%;
	text-align: center;
}

p > span, #About h1 > span {
	display: block;
	color: #f6b414;
}

h1 {
	font-weight: 400;
	font-size: 6.7rem;
	line-height: 6.8rem;
	margin-top: 2rem;
}

.pictured {
	display: flex;
	padding: 0 3rem;
}

.pictured > *:first-child {
	margin: 0 2rem 0 0;
}

.pictured > *:last-child {
	margin: 0 0 0 2rem;
}

.pictured:first-child {
	margin-top: 0 !important;
}

.pictured:last-child {
	margin-bottom: 0 !important;
}

.pictured img {
	width: 65rem;
}

#About .pictured {
	margin-top: 12.5rem;
}

#Games {
	height: 110rem;
	position: relative;
}

#GamesBackground {
	width: 100%;
	height: 110rem;
	position: absolute;
	z-index: -1;
}

#GamesBackground > div {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: 0.35s 0.15s;
	opacity: 0;
	position: absolute;
}

#Games ul {
	position: relative;
}

#Games.game-detail li {
	position: absolute;
	top: 0;
}

#GamesBackground > div.active {
	opacity: 1;
}

#GamesBackground .oroboros {
	background-image: url("../../media/images/Oroboros_bg.png");
}

#GamesBackground .kiss-cam {
	background-image: url("../../media/images/KissCam_bg.png");
}

#GamesBackground .shishke-bob {
	background-image: url("../../media/images/ShishkeBob_bg.png");
}

#GamesBackground .arrow-slashers {
	background-image: url("../../media/images/ArrowSlashers_bg.png");
}

#GamesBackground .luno-math {
	background-image: url("../../media/images/LunoMath_bg.png");
}

#Games .container {
	height: 85rem;
	position: relative;
	overflow: hidden;
}

#Games ul {
	flex-wrap: wrap;
	width: 123rem;
	margin: -2rem auto;
	padding-inline-start: 0;
	justify-content: center;
}

#Games ul li {
	width: 30.8rem;
	height: 40.5rem;
	background-size: cover;
	padding: 0;
	flex: none;
	margin: 2rem;
	transition: 0.2s;
}

#Games:not(.game-detail) ul li:hover, #Games ul li.selected {
	box-shadow: rgba(233, 233, 233, 0.35) 0 0 2.67rem;
	scale: 1.035;
	cursor: pointer;
}

#Games.game-detail ul li {
	transition: 0.3s;
	scale: 1 !important;
}

#Games ul li.oroboros {
	background-image: url("../../media/images/Oroboros_Poster.jpg");
}

#Games ul li.kiss-cam {
	background-image: url("../../media/images/KissCam_Poster.jpg");
}

#Games ul li.shishke-bob {
	background-image: url("../../media/images/ShishkeBob_Poster.jpg");
}

#Games ul li.arrow-slashers {
	background-image: url("../../media/images/ArrowSlashers_Poster.jpg");
}

#Games ul li.luno-math {
	background-image: url("../../media/images/LunoMath_Poster.jpg");
}

#Games.game-detail ul li.oroboros {
	left: 9.3rem;
	top: 0;
}

#Games.game-detail ul li.kiss-cam {
	left: 26.7rem;
	top: 44.5rem;
}

#Games.game-detail ul li.shishke-bob {
	left: 44.1rem;
	top: 0;
}

#Games.game-detail ul li.arrow-slashers {
	left: 61.5rem;
	top: 44.5rem;
}

#Games.game-detail ul li.luno-math {
	left: 78.9rem;
	top: 0;
}

.oroboros li.oroboros,
.kiss-cam li.kiss-cam,
.shishke-bob li.shishke-bob,
.arrow-slashers li.arrow-slashers,
.luno-math li.luno-math {
	z-index: 1;
	opacity: 1 !important;
}

#Games.game-detail.oroboros ul li {
	left: 9.3rem !important;
	top: 0 !important;
}

#Games.game-detail.kiss-cam ul li {
	left: 26.7rem !important;
	top: 44.5rem !important;
}

#Games.game-detail.shishke-bob ul li {
	left: 44.1rem !important;
	top: 0 !important;
}

#Games.game-detail.arrow-slashers ul li {
	left: 61.5rem !important;
	top: 44.5rem !important;
}

#Games.game-detail.luno-math ul li {
	left: 78.9rem !important;
	top: 0 !important;
}

#Games.game-detail.transitionend ul li {
	width: 45.6rem;
	height: 60rem;
	opacity: 0;
	left: -15rem !important;
	top: 0 !important;
	scale: 1;
	box-shadow: none;
}

#GameDetails {
	position: absolute;
	width: auto;
	height: 60rem;
	left: 50rem;
	right: 0;
	transform: translateX(20rem);
	z-index: -1;
	font-size: 2.5rem;
	color: #fff;
	padding: 5rem;
	transition: 0.33s;
	pointer-events: none;
}

#Games.ok #GameDetails {
	z-index: 0;
	transform: translateX(0);
}

#GameDetails > div {
	position: absolute;
	opacity: 0;
	transition: 0.2s;
}

#Games.ok.oroboros #GameDetails .oroboros,
#Games.ok.kiss-cam #GameDetails .kiss-cam,
#Games.ok.shishke-bob #GameDetails .shishke-bob,
#Games.ok.arrow-slashers #GameDetails .arrow-slashers,
#Games.ok.luno-math #GameDetails .luno-math {
	z-index: 1;
	opacity: 1;
	pointer-events: all;
}

#GameDetails h1 {
	margin-bottom: 1.5rem;
}

a.android, a.ios {
	display: inline-block;
	width: 29rem;
	height: 8.6rem;
	margin-right: 1.5rem;
	background-repeat: no-repeat;
	background-size: cover;
}

a:hover.android, a:hover.ios {
	scale: 1.03;
}

a.android {
	background-image: url("../../src/images/GooglePlayStore_Lgo.png");
}

a.ios {
	background-image: url("../../src/images/AppStore_Logo.png");
}

#Icons {
	width: inherit;
	position: absolute;
	bottom: -4rem;
	display: flex;
	justify-content: center;
	transition: 0.5s;
}

#Icons > div {
	width: 12.5rem;
	height: 12.5rem;
	background-size: 100%;
	cursor: pointer;
	margin: 0 2rem;
	transition: 0.2s;
	scale: 0;
	z-index: 0;
	position: relative;
}

#Icons > div:nth-child(2) {
	transition-delay: 0.06s;
}

#Icons > div:nth-child(3) {
	transition-delay: 0.12s;
}

#Icons > div:nth-child(4) {
	transition-delay: 0.18s;
}

#Icons > div:nth-child(5) {
	transition-delay: 0.24s;
}

#Icons > div:nth-child(6) {
	transition-delay: 0.3s;
}

#Icons > div:nth-child(7) {
	transition-delay: 0.36s;
}

#Games.transitionend #Icons {
	bottom: 12.5rem;
}

#Games.ok #Icons > div {
	transition-delay: 0s;
}

#Games.transitionend #Icons > div {
	scale: 1;
}

#Icons > div:before {
	content: '';
	width: 100%;
	height: 100%;
	display: block;
	z-index: -1;
	position: absolute;
	background-size: 100%;
	scale: 1.2;
	transition: 0.2s;
}

#Icons > div:after {
	width: 100%;
	height: 100%;
	content: '';
	display: block;
	background-size: 100%;
	z-index: 1;
	transition: 0.2s;
}

#Icons > div:hover:after {
	scale: 1.05;
}

#Icons .oroboros:after {
	background-image: url("../../media/images/Oroboros.png");
}

#Icons .oroboros:before {
	background-image: url("../../media/images/OroborosBlur.png");
}

#Icons .kiss-cam:after {
	background-image: url("../../media/images/KissCam.png");
}

#Icons .kiss-cam:before {
	background-image: url("../../media/images/KissCamBlur.png");
}

#Icons .shishke-bob:after {
	background-image: url("../../media/images/ShishkeBob.png");
}

#Icons .shishke-bob:before {
	background-image: url("../../media/images/ShishkeBobBlur.png");
}

#Icons .arrow-slashers:after {
	background-image: url("../../media/images/ArrowSlashers.png");
}

#Icons .arrow-slashers:before {
	background-image: url("../../media/images/ArrowSlashersBlur.png");
}

#Icons .luno-math:after {
	background-image: url("../../media/images/LunoMath.png");
}

#Icons .luno-math:before {
	background-image: url("../../media/images/LunoMathBlur.png");
}

#Games.oroboros #Icons .oroboros:before,
#Games.kiss-cam #Icons .kiss-cam:before,
#Games.shishke-bob #Icons .shishke-bob:before,
#Games.arrow-slashers #Icons .arrow-slashers:before,
#Games.luno-math #Icons .luno-math:before {
	scale: 1.33;
}

#Games.oroboros.transitionend #Icons .oroboros,
#Games.kiss-cam.transitionend #Icons .kiss-cam,
#Games.shishke-bob.transitionend #Icons .shishke-bob,
#Games.arrow-slashers.transitionend #Icons .arrow-slashers,
#Games.luno-math.transitionend #Icons .luno-math {
	scale: 1.45;
	margin: 0 5rem 0;
	cursor: default !important;
}

#Games.oroboros #Icons .oroboros:after,
#Games.kiss-cam #Icons .kiss-cam:after,
#Games.shishke-bob #Icons .shishke-bob:after,
#Games.arrow-slashers #Icons .arrow-slashers:after,
#Games.luno-math #Icons .luno-math:after {
	scale: 1 !important;
}

#Close {
	position: absolute;
	right: 9rem;
	top: 12rem;
	background-image: url("../../src/images/Close_Button.png");
	background-size: 5.5rem;
	background-repeat: no-repeat;
	background-position: center;
	width: 6.5rem;
	height: 6.5rem;
	cursor: pointer;
	transition: 0.2s;
	opacity: 0;
	display: none;
	z-index: 10;
}

#Close:hover {
	scale: 1.05;
}

#Games.transitionend #Close {
	display: block;
	opacity: 1;
}

#Jobs {
	font-weight: 400;
	font-size: 2.8rem;
}

#Jobs h1 {
	font-size: 8.5rem;
}


#Jobs p > span, #Jobs h1 > span {
	display: inline;
	color: #f6b414;
}

#Jobs h1 {
	margin-top: 3rem;
}

#Jobs .pictured {
	margin: 10rem 0;
	padding: 0;
	justify-content: space-between;
	flex: 1;
}

#Jobs .pictured > *:first-child {
	margin: 0 4rem 0 0;
}

#Jobs .pictured > *:last-child {
	margin: 0 0 0 4rem;
}

#Jobs .pictured > * {
	flex: 1;
}

#Apply {
	background-color: #f6b414;
	padding: 1.2rem 7.2rem;
	border-radius: 1rem;
	font-weight: 700;
	font-size: 2.9rem;
	margin-top: 1.8rem;
	display: inline-block;
}

#Apply:hover {
	color: #202028;
	scale: 1.025;
}

.align-right {
	text-align: right;
}

footer {
	height: 35rem;
	background-color: #f6b414;
}

footer .container {
	height: 100%;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

footer .container > a > img {
	height: 16rem;
}

footer .container > a:hover {
	scale: 1.01;
}

footer ul {
	padding: 0 20rem;
}

footer ul > li {
	padding: 0 1rem;
}

footer ul > li > a {
	font-size: 2.5rem;
	color: #202028 !important;
}

footer .socials a:hover img {
	background: rgba(255, 255, 255, 0.5);
	box-shadow: #fff 0 0 0.5rem;
}

#Copyright {
	display: block;
	position: absolute;
	width: 100%;
	font-size: 2rem;
	color: #202028 !important;
	text-align: center;
	bottom: 3.5rem;
}

#Copyright > a {
	color: #202028 !important;
	position: absolute;
	right: 2rem;
}

@media only screen and (max-width: 1600px) {
	html {
		font-size: 9px;
	}


	#Hero .socials {
		position: absolute;
		bottom: 13rem;
	}

	.container {
		width: 130rem;
	}

	#GameDetails {
		left: 40rem;
	}

	#Close {
		right: 1rem;
	}

	footer ul {
		padding: 0 17rem;
	}
}

@media only screen and (max-width: 1200px) {
	html {
		font-size: 7px;
	}

	.container {
		width: 90%;
	}

	.pictured > *:first-child {
		margin: 0 2rem 0 0;
	}

	.pictured > *:last-child {
		margin: 0 0 0 2rem;
	}

	#Jobs .pictured > *:first-child {
		margin: 0 2.5rem 0 0;
	}

	#Jobs .pictured > *:last-child {
		margin: 0 0 0 2.5rem;
	}

	#GameDetails {
		transform: translateX(8rem);
		left: 50rem;
	}

	#Games.game-detail.transitionend ul li {
		left: -10rem !important;
	}

	#Close {
		right: -3rem;
	}

	footer ul {
		padding: 0 15rem;
	}
}

@media only screen and (max-width: 980px) {
	html {
		font-size: 7px;
	}

	header li {
		padding: 0 1.5rem;
	}

	header li > a {
		font-size: 4rem;
	}

	#About > .container > p {
		padding: 0 1%;
	}

	#GameDetails {
		transform: translateX(4rem);
	}

	#Close {
		right: 6rem;
	}
	
	#GameDetails {
	    left: 45rem;
	    right: 8rem;
	}
	
	#Games .container {
	    width: 100%;
	}
}

@media only screen and (min-width: 2500px) {
	html {
		font-size: 12px;
	}
}

@media only screen and (min-width: 4000px) {
	html {
		font-size: 14px;
	}
}