/*
@import url("https://use.typekit.net/gmf2xaj.css");
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans|Quicksand');
*/

@font-face {
	font-family:"niveau-grotesk";
	font-style:normal;
	font-weight:400;
	src: url('fonts/niveau-grotesk.woff2') format("woff2"),
	     url('fonts/niveau-grotesk.woff') format("woff"),
	     url('fonts/niveau-grotesk.otf') format("opentype");
}

@font-face {
	font-family:"niveau-grotesk";
	font-style:normal;
	font-weight:700;
	src: url('fonts/niveau-grotesk2.woff2') format("woff2"),
	     url('fonts/niveau-grotesk2.woff') format("woff"),
	     url('fonts/niveau-grotesk2.otf') format("opentype");
}

@font-face {
	font-family: 'Josefin Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Josefin Sans Regular'),
	     local('JosefinSans-Regular'),
	     url('fonts/JosefinSans-Regular-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Josefin Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Josefin Sans Regular'),
	     local('JosefinSans-Regular'),
		 url('fonts/JosefinSans-Regular-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
	font-size: 62.5%; /* makes 1em = 10px */
	background-color: black;
	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-flow: column nowrap;
	padding: 0;
	margin: 0;
	text-align: center;
	font-size: 1.6em;
	font-family: 'Josefin Sans', sans-serif;
	line-height: 1.1em;
	color:red;
}

a {
	color: inherit;
	text-decoration: inherit;
}

#games {
	display: flex;
	flex-flow: column nowrap;
	height: 80rem;
	background-color: black;
	background-image: url("Images/Cover.jpg");
	background-repeat: no-repeat;
	background-position-x: center;
	background-attachment: local;
	background-size: cover;
}

.fitter {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.banner {
	padding: 0.5em 0 0 0;
	margin: 0;
	width: 100%;
	max-width: 102.4rem;
	text-transform: uppercase;
	font-weight: 600; /* hmmmm */
}

.banner > h1 {
	font-size: 4em;
	margin-top: 0.5em;
	font-family: "niveau-grotesk";
	font-weight: 300;
	color: #32292D;
}

.banner strong {
    background-color: rgba(211,32,0,1.00);
    border-radius: 2em;
    border-width: 20em;
    font-size: 0.7em;
    width: 1em;
    height: 1em;
    display: inline-table;
    font-weight: bolder;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1em;
}

nav {
	height: 4.4rem;
}

nav > ul {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	list-style: none;
	background-color: rgba(0, 0, 0, 0.6);
	font-size: 1.5em;
	color: white;
	margin-left: 2em;
}

nav > ul > a {
	margin: 0 auto;
	display: inherit;
}

nav > ul > a:hover > li {
	border-bottom: #FFFFFF solid;
}

nav > ul > a > .selected {
	border-bottom: #0071b9 solid;
}

#logo {
	display: block;
	position: absolute;
	margin-top: 1em;
}

.fill {
	flex: 1;
}

#buy {
	margin-bottom: 3rem;
}

.input {
	border-color: white;
	border-style: solid;
	border-width: 0.2rem;
	border-radius: 0.3rem 0rem 0rem 0.3rem;
	width: 36.4rem;
	height: 3rem;
	padding: 0;
	text-indent: .5rem;
	font-family: inherit;
	font-size: 1em;
	font-weight: 700;
	color: rgba(0,0,0, 0.8);
}

.submit {
	border-color: #A1FFCE;
	border-style: solid;
	border-width: 0.2rem;
	border-radius: 0rem 0.3rem 0.3rem 0rem;
	width: 17rem;
	height: 3rem;
	background-color: #A1FFCE;
	padding: 0;
	box-sizing: content-box;
	font-family: inherit;
	font-size: 1em;
}

#newsletter {
	height: 6.4rem;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	background-color: #4BB5FE;
}

.contentbox {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	padding: 4rem 0 4rem;
}

.contentbox:nth-child(even) {
	background-color: #1d1d54;
}

.contentbox:nth-child(odd) {
	background-color: #0a0a35;
}

.contentbox > h1 {
	text-align: right;
	color: #8f8f8f;
	margin: 0;
	text-transform: uppercase;
}

.content {
	width: 100%;
	text-align: left;
	max-width: 102.4rem;
	color: #D2D0D5;
	margin: 0 1em 0 1em;
	/*
	padding: 0 2em 0 2em;
	*/
}

.button {
	background-color: #A1FFCE;
	color: black;
	border-radius: 0.5rem;
	padding: 1rem;
	text-transform: uppercase;
	font-family: sans-serif;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
}

.subtext {
	color: #DD8E6F;
	font-size: .7em;
	font-family: sans-serif;
}

main {
	text-align: left;
}

main p {
	margin: 0em 1em 1em 1em;
}

#about {
	display: flex;
	flex-flow: row nowrap;
}

#about .logo {
	width: 28rem;
}

#aboutspecs {
	display: flex;
	flex-flow: row wrap;
	padding-left: 3.2em;
	font-size: larg;
}

.aboutcolumn {
	display: flex;
	flex-flow: row wrap;
}

.aboutcolumn > ul {
	display: flex;
	flex-flow: column wrap;
	max-height: 50em;
	list-style: none;
	/*! flex: 1; */
	margin: 0;
}

.aboutcolumn > ul > li{
	margin-top: .5em;
	font-size: 1.2em;
	margin-bottom: 0.5em;
	max-width: 18em;
	width: 100%;
}

.aboutcolumn > ul > li > img {
	display: inline-block;
	vertical-align: middle;
	margin-right: 1em;
	width: 30px;
}

#clients {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
}

#clients > div {
	flex: 1 1 50%;
	min-width: 10em;
	display: flex;
	flex-flow: row wrap;
	padding: 0.5em 0;
}

#team {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
}

#team > div {
	flex: 1 1 25%;
	text-align: center;
}

#team h1 {
	padding: 0;
}

#team h2 {
	font-weight: 300; /* hmmmm */
	font-size: 1.2em;
	color: rgba(255, 255, 255, 0.9);
	padding: 0;
	margin: 0;		
}

#presskit {
	display: flex;
	flex-flow: row wrap;
}

#presskit img {
	max-width: 100%;
}

.right-floater {
	text-align: right;
	position: relative;
	width: 100%;
	margin-bottom: -1em;
}

.toggle-helper, .toggle-state2 {
	display: none;
	visibility: hidden;
}

.toggle-helper[type=checkbox]:checked + .toggle-state1 + .toggle-state2 {
	display: block;
	visibility: visible;
}

.toggle-helper[type=checkbox]:checked + .toggle-state1 {
	display: none;
	visibility: hidden;
}

#jobs {
	display: flex;
	flex-flow: row wrap;
}

#jobs a {
	color: white;
	font-family: sans-serif;
	font-weight: bold;
}

#jobs strong{
	color: white;
}

#jobpostings {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}

.jobposting {
	background: #3c284e;
	width: 48rem;
	padding-left: 1rem;
	padding-right: 1rem;
	margin-bottom: 2rem;
	border-radius: 1rem;
	line-height: 1.5em;
}

#contact {
	display: flex;
	flex-flow: row wrap;
}

#contact > ul {
	list-style: none;
	margin-top: 0;
}

#contact > ul > li {
	margin-bottom: 1em;
}

#contact h6 {
	color: #DD8E6F;
	margin: 0;
	display: contents;
	font-size: 1em;
	font-family: sans-serif;
}

#partners {
	display: flex;
	flex-flow: row wrap;
}

.partner {
	padding: 0 2em 2em 2em;
}

.partner > img {
	max-width: 100%;
}

@media (max-width: 950px) {
	/*
		Change #logo and <h1>Anamorphine</h1>
	*/
}

@media (max-width: 645px) {
	/*
		Stack menus and article headers
	*/
	html {
		width: 100%;
		height: 100%;
		margin: 0px;
		padding: 0px;
		overflow-x: hidden; 
	}

	body {
		overflow-x: hidden; 
	}

	#games {
		background-position-x: right -10em;
	}

	nav {
		height: auto;
	}

	nav > ul {
		flex-flow: column nowrap;
		font-size: 3em;
	}

	nav > ul > a {
		margin: 0.3em auto;
	}

	.banner > h1 {
		font-size: 3em;
	}

	#buy {
		transform: scale(0.5);
		position: relative;
		/*left: -25%;*/
	}

	.input {
		width: 20rem;
	}

	.submit {
		width: 12rem;
		font-size: 0.5em;
		position: relative;
		top: -0.25em;
	}

	.content {
		margin: 0;
	}

	.contentbox {
		flex-flow: column nowrap;
		padding: 4rem 0 4rem;
	}

	.contentbox > h1 {
		text-align: center;
	}

	.contentbox:last-child {
		padding: 4rem 0 0;
	}

	#about .logo {
		width: 14rem;
		padding-left: .5em;
	}

	#pulltab {
		width: 4rem;
		right: 0;
		bottom: 0;
		position: relative;
		float: right;
	}

	.right-floater {
		margin-bottom: 1em;
	}
}
