/* Font Includes: START */
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	font-stretch: 100%;
  font-display: swap;
	src: url(fonts/open-sans-400.woff2) format('woff2');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 600;
	font-stretch: 100%;
  font-display: swap;
	src: url(fonts/open-sans-600.woff2) format('woff2');
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;s
	font-stretch: 100%;
  font-display: swap;
	src: url(fonts/open-sans-700.woff2) format('woff2');
}
@font-face {
	font-family: 'RifficFree-Bold';
	src: url('fonts/RifficFree-Bold.eot');
	src: url('fonts/RifficFree-Bold.woff') format('woff'), url('fonts/RifficFree-Bold.ttf') format('truetype'), url('fonts/RifficFree-Bold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}
/* Font Includes: END */


/* General Styles: START */
* {
	box-sizing: border-box;
}

html {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

body {
	--header-bg: #224657;
	--header-bg-gradient: linear-gradient(#295368 0%, #224657 100%);

	--nav-bg: #ffffff;
	--nav-bg-darkened: #ffffff;
	--nav-mobile-bg: #ffffff;
	--nav-text: #287b8e;
	--nav-highlight-bg: #c1bf65;
	--nav-highlight-text: #efa841;
	--nav-shadow: rgba(41,83,104,0.4);

	--footer-bg: #193341;
	--footer-link: #e5e277;
	--footer-link-hover: #ffffff;

	--downloadbar-bg: #000;

	--section-bg: #ffffff;
	--section-bg-dim: #e2f6ff;
	--section-bg-dimmer: #d0e4ea;
	--section-bg-dark: #367087;
	--section-bg-banner: #efa841;
	--section-border-color: #e2e2e2;

	--heading-font: "RifficFree-Bold", Tahoma, Helvetica, Sans-serif;;
	--nav-font: "RifficFree-Bold", Tahoma, Helvetica, Sans-serif;;
	--body-font: "RifficFree-Bold", Verdana, Helvetica, Sans-serif;;

	--heading-text-transform: uppercase;

	--heading-color: #367087;
	--header-heading-color: #ffffff;
	--header-text-color: #ffffff;

	--card-bg: #ffffff;
	--card-bg-hover: #e2f6ff;
	--button-bg: #295368;
	--button-bg-hover: #18333d;
	--button-text: #e5e277;
	--text-color: #000000;
	--text-color-alt: #666666;

	--tick-color: #e5e277;
	--page-bg: #a0d3ec;
	--text: #fff;
	--text-alt: #1c3b4a;
	--header: #fff;	
	--image-bg: #afbdc4;
	--link: #367087;
	--link-hover: #b7b362;

	--footer-link: #e5e277;
	--footer-link-hover: #ffffff;
	--footer-bg: #193341;

	--icon: #e5e277;
	--icon-fill: #e5e277;
	--icon-fill-light: #fff;
	--icon-fill-dark: #afbdc4;

	--logo-fill: #287b8e;
	--logo-hover-fill: #efa841;

	--error-bg: #e45858;
	--input-bg: #efefef;
	--input-text: #1c3b4a;

	--content-width: 1600px;

	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: var(--body-font);
	background: var(--page-bg);
	color: var(--text-color);
}

.inner {
	margin: 0 auto;
	width: 95%;
	max-width: var(--content-width);
	position: relative;
}

h1, h2, h3 {
	font-family: var(--heading-font);
	font-weight: bold;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	text-transform: var(--heading-text-transform);
}

p {
	margin: 0;
	padding: 0;
	font-size: 1.1em;
	line-height: 1.7em;
	letter-spacing: 0.05em;
}

a {
	color: var(--link);
	text-decoration: none;
	transition: background 0.25s, color 0.25s, border 0.25s;
}

a:hover,
a:focus {
	color: var(--link-hover);
	text-decoration: none;
}

ul,
ol {
	letter-spacing: 0.05em;
}

.downloadBar {
	display: none;
}
/* General Styles: END */


/* Buttons: START */
.buttons {
	text-align: center;
}

a.cta {
	padding: 1em 1.5em;
	background: var(--button-bg);
	border: 1px solid var(--button-bg);
	color: var(--button-text);
	border-radius: 1em;
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	margin: 0 0.75em;
	font-size: 1.75em;
	letter-spacing: 0.02em;
}

a.cta:hover,
a.cta:active {
	background: var(--button-bg-hover);
	border: 1px solid var(--button-bg-hover);
	cursor: pointer;
}

.gameDownloadBadges {
	margin-top: 2em;
	padding-bottom: 2em;
	display: flex;
	justify-content: left;
	gap: 25px;
	flex-wrap: wrap;
}

.gameDownloadBadges.centered {
	justify-content: center;
}


.caseStudyCol .gameDownloadBadges {
	justify-content: flex-start;
}

.gameDownloadBadge {
	display: block;
	max-width: 250px;
}

.gameDownloadBadge img {
	height: 106px;
	display: block;
	padding-bottom: 25px;
}

.gameDownloadBadge.androidGameDownloadBadge img {
	width: 250px;
}

.gameDownloadBadge.appleGameDownloadBadge img {
	width: 220px;
}
/* Buttons: END */


/* Nav Menu: START */
nav {
	--nav-height: 100px;
	--logo-height: 65px;
	--logo-top: 15px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--nav-height);
	z-index: 100;
	background: var(--nav-bg);
	color: var(--nav-text);
	transition: height 0.25s, background 0.25s;
	font-family: var(--nav-font);
	letter-spacing: 0.05em;
}

nav.darkened {
	background: var(--nav-bg-darkened);
}

nav #menuToggle {
	display: none;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	float: right;
}

nav ul li {
	display: inline-block;
	padding: 0;
	margin: 0;
}

nav a {
	display: inline-block;
	padding: 0;
	margin-left: 2em;
	line-height: var(--nav-height);
	background: var(--nav-bg);
	color: var(--nav-text);
	text-decoration: none;
	transition: line-height 0.25s, color 0.25s;
	font-size: 1.2em;
	font-weight: normal;
}

nav a.selected,
nav a:hover {
	color: var(--nav-highlight-text);
	text-decoration: none;
}

nav a:focus {
	color: var(--nav-text);
	text-decoration: none;
}

nav .navIcons a {
	position: relative;
}

nav .logo {
	position: absolute;
	top: 0;
	left: 0;
	width: 130px;
	transition: height 0.25s, background 0.25s;
}

nav .logo a {
	height: var(--nav-height);
	margin-left: 0;
	overflow-y: hidden;
	transition: height 0.25s, background 0.25s;
}

nav .logo svg {
	display: inline-block;
	position: relative;
	top: var(--logo-top);
	height: var(--logo-height);
	transition: top 0.25s, height 0.25s, background 0.25s;
}

nav .logo svg .logoSVGLetter{
	fill: var(--logo-fill);
	transition: fill 0.25s;
}

nav .logo a:hover svg .logoSVGLetter {
	fill: var(--logo-hover-fill);
}

/* Nav Menu: END */


/* Sections: START */
main {
	min-height: calc(100svh - 70px);
}

header {
	background: var(--header-bg);
	padding: calc(6em + 70px) 0 6em 0;
	text-align: center;
	color: var(--header-text-color);
	background: var(--header-bg-gradient);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	border-top-left-radius: 1em;
	border-top-right-radius: 1em;
	position: relative;
}

header .fader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--header-bg-gradient); 
	opacity: 0.9;
	z-index: 1;
}

header .inner {
	position: relative;
	z-index: 2;
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

header img {
	width: 400px; 
	height: auto;
	margin-bottom: 2em;
}

header .logo {
	max-width: 500px;
	margin: 1em auto;
}

header .logo svg {
	display: inline-block;
}

header .logo svg .logoSVGLetter{
	fill: #fff;
}

header h1 {
	color: var(--header-heading-color);
	text-align: center;
	font-size: 6em;
	line-height: 1.2em;
	letter-spacing: 0.02em;
}

header p {
	padding: 2em 0;
	max-width: 600px;
	margin: 0 auto;
	font-size: 1.75em;
	letter-spacing: 0.02em;
	padding: 0;
	padding: 1em 0 3em 0;
}

header p.breadcrumbs {
	font-size: 1.3em;
	margin-top: 1.1em;
	padding: 0 0 0 0;
}

header a {
	color: var(--footer-link);
}

header a:hover,
header a:focus {
	color: var(--footer-link-hover);
}

header {
	text-align: left;
	padding-bottom: 0;
}

header .inner {
	max-width: var(--content-width);
}

header .headerContent {
	max-width: calc(100% - 500px);
}

section {
	padding: 5em 0;
	background: var(--page-bg);
	color: var(--heading-color);
	border-bottom: 1px solid var(--section-border-color);
	border-bottom: none;
}

section:first-child {
	padding-top: calc(5em + 70px);
}

section h1 {
	color: var(--heading-color);
	font-size: 5em;
	line-height: 1.3em;
}

section h2 {
	color: var(--heading-color);
	font-size: 5em;
	line-height: 1.3em;
	margin: 0 auto;
	padding: 0;
	max-width: 640px;
}

section .inner p,
section .inner ul {
	font-size: 1.5em;
}

section.dark {
	background: var(--section-bg-dark);
	color: #fff;
}

section.dark h2, 
section.dark h3 {
	color: var(--header-heading-color);
}

section.dim {
	background: var(--section-bg-dim);
}

section.dimmer {
	background: var(--section-bg-dimmer);
	color: #fff;
}

section.dimmer h2, 
section.dimmer h3 {
	color: #fff;
}

section.banner {
	background-color: var(--section-bg-banner);
	color: #fff;
}

section .inner > p {
	font-size: 1.3em;
	text-align: center;
	margin: 1.5em auto;
	max-width: 700px;
}

section .inner > p.review {
	font-family: var(--heading-font);
	font-size: 3em;
	line-height: 1em;
	margin: 0 auto;
	padding-bottom: 0.25em;
	letter-spacing: 0;
}

section .inner > p.reviewer {
	font-family: var(--heading-font);
	font-size: 1.75em;
	margin: 0 auto;
	letter-spacing: 0;
}
/* Sections: END */


/* Cards: START */
.cards {
	--card-size: 345px;
	--card-gap: 60px;
	gap: var(--card-gap);
	display: flex;
	padding: 2em 0 0 0;
	flex-wrap: wrap;
	justify-content: center;
}

a.card {
	width: var(--card-size);
	display: block;
	background: var(--card-bg);
	padding: 0;
	border-radius: 1em;
	margin-bottom: var(--card-gap);
  box-shadow: 0 5px 10px #00000040;  
  transition: background 0.25s, box-shadow 0.25s;
}

a.card:hover,
a.card:active {
	background: var(--card-bg-hover);
	cursor: pointer;
	text-decoration: none;
}

a.card .cardImage {
	width: 100%;
	height: var(--card-size);
	overflow: hidden;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	border-top-left-radius: 0.5em;
	border-top-right-radius: 0.5em;
}

a.card h3 {
	color: var(--heading-color);
	font-size: 2em;
	padding: 0;
	margin: 1.5rem;
}

a.card p {
	color: var(--text-color-alt);
	font-size: 1.3em;
	padding: 0;
	margin: 1.5rem;
}
/* Cards: START */


/* Contact Form: START */
.contactCols {
	display: flex;
	align-items: center;
	gap: 10%;
	padding: 5em 0 3em 0;
}

.contactCols > div {
	width: 45%;
}

.contact form {
	margin: 4em 0 0 0;
	text-align: center;
}

form input[type="text"],
form input[type="email"],
form textarea {
	width: 100%;
	padding: 1em;
	box-sizing: border-box;
	margin-bottom: 2em;
	font-size: 1.25em;
	border-radius: 0.5em;
	border: 0;
	font-family: "Open Sans", sans-serif;
	background: var(--input-bg);
	color: var(--input-text);
}

form input[type="submit"] {
	padding: 1em 1.5em;
	background: var(--button-bg);
	border: 1px solid var(--button-bg);
	color: var(--button-text);
	border-radius: 1em;
	display: inline-block;
	text-decoration: none;
	margin: 1em 0 0 0;
	font-family: var(--body-font);
	font-size: 1.75em;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: background 0.25s, color 0.25s, border 0.25s;
}

form input[type="submit"]:hover,
form input[type="submit"]:focus {
	background: var(--button-bg-hover);
	border: 1px solid var(--button-bg-hover);
	cursor: pointer;
}

form textarea {
	font-family: "Open Sans", sans-serif;
	height: 200px;
}

.formMessage {
	border: 1px solid var(--icon-fill-dark);
	background: var(--icon-fill-dark);
	color: var(--text);
	border-radius: 1em;
	margin-bottom: 1.5em;
}

.formMessage.error {
	border-color: var(--error-bg);
	background: var(--error-bg);
}

.formMessage p {
	padding: 0.5em 0.75em;
}
/* Contact Form: END */


/* Case Studies: START */
.caseStudyCol {
	display: flex;
	gap: 5%;
	padding: 0;
	align-items: flex-start;
}

.caseStudyCol > div {
	width: 32.5%;
	width: 400px;
}

.caseStudyCol > div + div{
	width: 63.5%;
	width: calc(100% - 400px);
}

.caseStudyCol img {
	max-width: 100%;
	height: auto;
	border-radius: 0.5em;
}

.caseStudyCol h2 {
	text-align: left;
	margin: 0 0 2rem 0;
}

.caseStudyCol p {
	margin-bottom: 1.5em;
}

.caseStudyCol a {
	font-weight: bold;
}

.caseStudyCol ul {
	margin: 0 0 2em 0;
	padding: 0;
	list-style: none;
}

.caseStudyCol li {
	margin: 0 0 0.5em 0;
	padding: 0 0 0 1.5em;
	font-size: 1.1em;
	line-height: 1.7em;
	position: relative;
}

.caseStudyCol li:before {
  font-weight: bold;
  content: '✓';
  left: 0;
  font-size: 1.2em;
  color: var(--tick-color);
  position: absolute;
}

.caseStudyCol .buttons {
	text-align: left;
}

.caseStudyCol .buttons a.cta {
	margin: 0;
}

.caseStudyCol.flipped > div {
	order: 2;
}

.caseStudyCol.flipped > div + div {
	order: 1;
}
/* Case Studies: END */


/* Footer: START */
footer {
	background: var(--footer-bg);
	padding: 3em 0;
	color: var(--header-text-color);
	text-align: center;
}

footer p + p {
	margin-top: 1em;
}

footer a {
	color: var(--footer-link);
	font-weight: 600;
}

footer a:hover,
footer a:focus {
	color: var(--footer-link-hover);
}
/* Footer: END */


/* Screenshots: START */
.screenshots {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin: 3em 0;
}

.screenshots > div {
	width: 250px;
}

.screenshots > div img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}
/* Screenshots: END */


/* Features: START */
.featureCols {
	display: flex;
	margin: 3em auto;
	align-items: flex-start;
	justify-content: space-between;
		justify-content: center;
		gap: 50px;
	flex-wrap: wrap;
	padding: 0em 0 0em 0;
}

.featureCols > div {
	width: 240px;
	padding: 0;
	margin: 0;
	position: relative;
	padding-bottom: 1em;
}

.featureCols > div a,
.featureCols > div span {
	display: block;
}

.featureCols > div img {
	display: block;
	width: 210px;
	height: auto;
	margin: 0 auto;
}

.featureCols > div span {
	display: block;
	text-align: center;
	padding-top: 0.5em;
}
/* Features: END */


/* RESPONSIVE */
/* Medium-Large Desktop View */
@media screen and (max-width: 1650px) {
	body {
		--content-width: 1200px;
	}
}


/* Medium Desktop View */
@media screen and (max-width: 1250px) {
	.gameDownloadBadges {
		display: block;
	}

	.gameDownloadBadges .gameDownloadBadge img {
		margin-bottom: 0;
	}
}


/* Tablet View */
@media screen and (max-width: 900px) {
	body {
		--content-width: 720px;
	}

	.hideMobile {
		display: none;
	}

	section {
		padding: 3.5em 0;
	}

	.caseStudyCol {
		display: block;
	}

	.caseStudyCol > div,
	.caseStudyCol > div + div {
		width: 100%;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	.caseStudyCol > div ul {
		text-align: left;
	}

	.caseStudyCol h2 {
		max-width: 100%;
		text-align: center;
		margin-top: 0.5em;
	}

	.caseStudyCol img {
		width: 100%;
		max-width: 450px;
		margin: 0 auto;
		display: block;
	}

	.caseStudyCol .gameDownloadBadges {
		justify-content: center;
	}

	.cards {
		gap: 5%;
		justify-content: center;
		padding-bottom: 1em;
	}

	a.card {
		width: 47.5%;
		margin-bottom: 5%;
	}

	.intro .gameDownloadBadges {
		justify-content: center;
	}

	.featureCols {
		max-width: 500px;
	}

	.featureCols > div {
		width: 200px;
	}
	
	.featureCols > div img {
		width: 170px;
	}

	.featureCols > div span {
		font-size: 2.4em;
	}

	.gameDownloadBadges .gameDownloadBadge {
		margin: 0 auto;
	}

	.gameDownloadBadges .gameDownloadBadge.appleGameDownloadBadge img {
		margin: 0 auto;
	}

	.caseStudyCol li {
		text-align: center;
		padding: 0 0 0 0;
	}

	.caseStudyCol li:before {
	  content: '';
	}
}


/* Large Mobile View */
@media screen and (max-width: 660px) {
	nav {
		--nav-height: 80px;
		--logo-height: 65px;
	  --logo-top: 10px;
	}

	.navShown nav {
		background: var(--nav-bg-darkened);
	}

	.inner {
		width: 88%
	}

	#navMenu {
		display: none;
	}

	header {
		padding: calc(4em + 70px) 0 3em 0
	}

	header h1 {
		font-size: 2.5em;
	}

	header.home .buttons {
		margin-bottom: 1em;
	}

	section h2 {
		font-size: 2.1em;
	}

	.cards {
		padding-bottom: 1em;
	}

	a.card {
		width: 100%;
		max-width: 350px;
		margin-bottom: 10%;
	}

	section .inner > p {
		font-size: 1.1em;
	}

	nav {
		min-height: 70px;
	}

	#navMenu {
		display: none;
		position: fixed;
		top: var(--nav-height);
		left: 0;
		width: 100%;
		background: var(--nav-mobile-bg);
		transition: right 0.25s;
		box-shadow: 0 10px 10px var(--nav-shadow);
	}

	.navShown #navMenu {
		display: block;
		right: 0;
		opacity: 1;
		animation-name: slideDown;
		animation-duration: 0.25s;
		transition: top 0.25s;
	}

	@keyframes slideDown {
	  0%   {top: calc(var(--nav-height) / 1.5); opacity: 0 }
	  100%   {top: var(--nav-height); }
	}

	#navMenu li {
		float: none;
		width: 100%;
		text-align: right;
	}

	#navMenu li a {
		width: 100%;
		box-sizing: border-box;
    margin-left: 0;
    padding-right: 6%;
	}

	nav #menuToggle {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		padding-top: 10px;
		height: 70px;
		overflow-y: hidden;
		box-sizing: border-box;
	}

	nav #menuToggle svg {
		width: 30px;
		height: 30px;
	}

	nav #menuToggle svg rect {
		fill: var(--nav-text);
	}

	.downloadBar {
		display: block;
		position: fixed;
		z-index: 2;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100px;
		background: var(--downloadbar-bg);
		padding-top: 10px;
		animation-name: downloadBarAppear;
		animation-duration: 0.5s;
	}

	@keyframes downloadBarAppear {
	  0%   { bottom: -100px}
	  100% { bottom: 0 }
	}

	.downloadBar .gameDownloadBadge {
		margin: 0 auto;
	}

	.downloadBar .gameDownloadBadge img {
		margin: 0 auto;
	}
}