html {
	overflow: auto;

}
html, body {
	margin: 0;
	padding: 0;
	/* Effects (clip nodes outside of viewport, perspective for 3D) */

	/* Scalable */
	width: 100%;
	height: 100%;
	min-width: 1024px;

	//background: #434343;
	//background: #1f1f1f;
	color: white;
	font-family: 'Open Sans', sans-serif;
}

body {
	// Scalable
	//width: $app-width;
	//height: $app-height;
	//transform-origin: 0 0;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00b4ff+0,aae6ff+100 */
	background: #00b4ff; /* Old browsers */
	background: -moz-linear-gradient(top,  #00b4ff 0%, #aae6ff 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #00b4ff 0%,#aae6ff 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #00b4ff 0%,#aae6ff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b4ff', endColorstr='#aae6ff',GradientType=0 ); /* IE6-9 */
}

header {
	width: 100%;
	transition: top .5s ease-in-out 0s, transform .5s ease-in-out 0s;
	position: relative;
}

nav {
	padding: 25px;
	text-align: center;
}

.anykey {
	position: relative;
	display: none;
	text-align: center;
	font-family: 'Press Start 2P', cursive;
	top: 10%;
	transform: translateY(-50%);
	text-shadow: 0px 4px 0px rgba(0, 0, 0, 0.7);
}

.projects {
	width: 100%;
	overflow-x: hidden;
	margin-top: -150px;
}

.project {
	position: relative;
	width: 100%;
	height: 400px;
	background-repeat: no-repeat;
	background-position: center;
	background-color: black;
	margin-bottom: 60px;
	//border-bottom: 15px solid #FFD300;
	//border-top: 15px solid #FFD300;/*
	-webkit-box-shadow: inset 0px 0px 12px 12px rgba(0,0,0,0.75);
	-moz-box-shadow: inset 0px 0px 12px 12px rgba(0,0,0,0.75);
	box-shadow: inset 0px 0px 12px 12px rgba(0,0,0,0.75);*/
}

.project.introduction .information{
	width: 40%;
}

h1, h2 ,h3 {
	margin:0;
}

h1 {
	color: #edd03e;
	color: white;
	text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.7);
	font-family: 'Press Start 2P', cursive;
	margin: 15px 0 10px;
	text-transform: uppercase;
}

h1.level-select {
	font-family: 'Press Start 2P', cursive;
	text-align: center;
	padding: 50px 50px 72px;
	font-size: 60px;
	margin: 0;
	text-shadow: 0px 8px 0px rgba(0, 0, 0, 0.7);
}

h2 {
	font-size: 14px;
	font-style: italic;
	color: white;
	text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.7);
}

h3 {
	font-size: 12px;
	font-style: italic;
	color: #bdbdbd;
}
p {
	color: #bdbdbd;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7);
}

.project.expand {
	cursor: pointer;
}

.project.expand .wrap {
	transform: translateX(-100px);
}
.project.expand .wrap.right {
	transform: translateX(100px);
}
.project.expand .wrap.right .back{
	display: inline-block;
}
.project.unlocked .wrap {
	transition: transform .5s  cubic-bezier(0.64, 0.57, 0.8, 1.2) 0.5s;
	transform: translateX(-100%);
}
.project.unlocked .wrap.right {
	transform: translateX(100%);
}
.project.unlocked .wrap.right .back{
	display: inline-block;
}
.project.video-expand .expand {
	display: none;
}
.project.video-expand .shrink {
	display: block;
}
.project.video-expand .information {
	transform: translateX(-80%);
}
.project.video-expand .information.right {
	transform: translateX(80%);
}

.wrap {
	background: #2b3d69;
	height: 110%;
	width: 50%;
	position: absolute;
	top: -22px;
	z-index: 2;
	transition: transform 0.2s  cubic-bezier(0.64, 0.57, 0.67, 1.5) 0s;
	transform: translateX(-59px);
	border-top: 2px solid #556898;
}

@-webkit-keyframes glow {
	from { text-shadow: 0 0 0 #fff, 0 0 0 #fff, 0 0 0 #fff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff;}
	to {
		text-shadow: 0 0 3px #fff, 0 0 4px #fff, 0 0 6px #fff, 0 0 8px #00f6ff, 0 0 14px #00f6ff, 0 0 16px #00f6ff, 0 0 20px #00f6ff, 0 0 30px #00f6ff;
	}
}
@-mox-keyframes glow {
	from { text-shadow: 0 0 0 #fff, 0 0 0 #fff, 0 0 0 #fff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff;}
	to {
		text-shadow: 0 0 3px #fff, 0 0 4px #fff, 0 0 6px #fff, 0 0 8px #00f6ff, 0 0 14px #00f6ff, 0 0 16px #00f6ff, 0 0 20px #00f6ff, 0 0 30px #00f6ff;
	}
}
@-o-keyframes glow {
	from { text-shadow: 0 0 0 #fff, 0 0 0 #fff, 0 0 0 #fff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff;}
	to {
		text-shadow: 0 0 3px #fff, 0 0 4px #fff, 0 0 6px #fff, 0 0 8px #00f6ff, 0 0 14px #00f6ff, 0 0 16px #00f6ff, 0 0 20px #00f6ff, 0 0 30px #00f6ff;
	}
}
@keyframes glow {
	from { text-shadow: 0 0 0 #fff, 0 0 0 #fff, 0 0 0 #fff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff, 0 0 0 #00f6ff;}
	to {
		text-shadow: 0 0 3px #fff, 0 0 4px #fff, 0 0 6px #fff, 0 0 8px #00f6ff, 0 0 14px #00f6ff, 0 0 16px #00f6ff, 0 0 20px #00f6ff, 0 0 30px #556898;
	}
}
.wrap .project-text {
	font-family: 'Press Start 2P', cursive;
	font-size: 32px;
	background-color: LightGray;
	border: 2px solid white;
	border-right-color: DarkGray;
	border-bottom-color: DimGray;
	padding: 15px;
	position:absolute;
	top:15px;
	left: 30%;
	z-index: 5;
	text-transform: uppercase;

	color: rgba(255, 255, 255, 1);
}
.wrap .project-item {
	width: 70px;
	height: 70px;
	position: absolute;
	left: 10%;
	top: 60%;
	z-index: 6;
	cursor: pointer;
}

.project.expand .wrap .project-text {
	-webkit-animation: glow 1s infinite alternate;
	-moz-animation: glow 1s infinite alternate;
	-o-animation: glow 1s infinite alternate;
	animation: glow 1s infinite alternate;
}
.project.expand .wrap .project-item {
	-webkit-animation: glow 1s infinite alternate;
	-moz-animation: glow 1s infinite alternate;
	-o-animation: glow 1s infinite alternate;
	animation: glow 1s infinite alternate;
}

.wrap .front {
	background: #2b3d69;
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	-webkit-transform: skew(-15deg);
	-moz-transform: skew(-15deg);
	-o-transform: skew(-15deg);
	-ms-transform: skew(-15deg);
	transform: skew(-15deg) translateX(60px);
	-webkit-box-shadow: 30px -5px 10px -15px rgba(0,0,0,0.75);
	-moz-box-shadow: 30px -5px 10px -15px rgba(0,0,0,0.75);
	box-shadow: 30px -5px 10px -15px rgba(0,0,0,0.75);
	border-top: 2px solid #556898;
	top: -2px;
}
.wrap .back {
	background:black;
	position: absolute;
	z-index:0;
	transform: skew(30deg) translateX(126px);
	width: 100%;
	height: 20px;
	opacity: .5;
}
.wrap.left .back {
	top: -2px;
}
.wrap.right {
	right: 0;
	transform: translateX(60px);
	//border-bottom: 2px solid #09132B;
	top:-22px;
}
.wrap.right .front{
	transform: skew(-15deg) translateX(-60px);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.wrap.right .back{
	transform: skew(30deg) translateX(-126px);
	bottom: 0;
	display: none;
}
.wrap.back {
	z-index: 0;
	transform: skew(15deg) translateX(12%);
	width: 40%;
	background: black;
}

.project-image {
	background-repeat: no-repeat;
	background-position: center;
	background-color: black;
	position: absolute;
	right: 100px;
	top: 0;
	width: 40%;
	height: 100%;
	-webkit-box-shadow:30px 5px 10px 0px rgba(0,0,0,0.75);
	-moz-box-shadow:30px 5px 10px 0px rgba(0,0,0,0.75);
	box-shadow:30px 5px 10px 0px rgba(0,0,0,0.75);
}

.project-video {
	background-repeat: no-repeat;
	background-position: center;
	background-color: black;
	position: absolute;
	right: 100px;
	width: 40%;
	height: 100%;
	cursor: pointer;
}

.video-btn {
	position: absolute;
	left: 50%;
	top: 0;
	font-size: 16px;
	transform: translateX(-50%);
	z-index: 1;
	background: rgba(0, 0, 0, 0.7);
	padding: 5px;
	cursor: pointer;
	pointer-events: none;
}

.video-btn.expand {
	display: block;
}

.video-btn.shrink {
	display: none;
}

.information {
	height: 385px;
	width: 40%;
	padding: 15px;
	padding-left: 135px;
	background: rgba(0, 0, 0, 0.7);
	display: inline-block;
	position: absolute;
	z-index: 0;
	padding-top: 0;
	transition: transform .5s ease-in-out 0s;

	overflow-y: auto;
}

.information.right {
	padding-right: 135px;
	right: 0;
	padding-left: 15px;
}

.information:after {
	height: 370px;
	width: 30%;
	background: white;
	display: inline-block;
}

.information p {
	font-size: 14px;
}

.play-button {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -50px;
	margin-left: -70px;
	text-align: center;
	width: 140px;
}

.btn-text {
	color: white;
	font-weight: bold;
	text-shadow: black 1px 1px 1px;
}

.links {
	position: absolute;
	bottom: 0;
}

.ggj-link {
	margin-left: 15px;
}


.screenshot-click {
	width: 102px;
	height: 77px;
	margin: 5px;
	border: 2px solid white;
}
.screenshot-click:hover {
	border: 2px solid #556898;
}

.backdrop {
	display: none;
	width:100%;
	height:100%;
	position: fixed;
	z-index: 999999999999;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.6);
}

.backdrop-img {
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.backdrop .next {
	top: 50%;
	right: 10%;
	position:absolute;
	transform: translate(-50%, -50%);
	z-index: 99;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 999px;
	padding:10px;
}

.backdrop .previous {
	top: 50%;
	left: 10%;
	position:absolute;
	transform: translate(-50%, -50%);
	z-index: 99;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 999px;
	padding:10px;
}


/* Items */

.items {
	font-family: 'Press Start 2P', cursive;
	color: white;
	position: fixed;
	bottom: 15px;
	border: 2px solid white;
	height: 74px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 999;

	background: black;
	border-right-color: DarkGray;
	border-bottom-color: DimGray;
	min-width: 524px;
}

.items-header {
	color: white;
	border:2px solid white;
	background: black;
	border-bottom: none;
	display: inline-block;
	position: absolute;
	top: 0;
	left: -2px;
	padding: 2px;
	transform: translateY(-100%);
	border-right-color: DarkGray;
}
.items .item {
	border: 2px solid white;
}
.items .item:hover {
	border: 2px solid #556898;
}
.item {
	width: 64px;
	height: 64px;
	margin: 3px;
	display: inline-block;
	text-align: center;
	position: relative;
}

.item .icon {
	display: inline-block;
	top: 50%;
	position: relative;
	transform: translateY(-50%);
	color: white;
	width: 64px;
	height: 64px;
	background-size: 64px 64px;
}

.icon.key {
	background-image: url('../images/key.png');
}
.icon.square {
	background-image: url('../images/square.png');
}
.icon.demon {
	background-image: url('../images/demon.png');
}
.icon.heart {
	background-image: url('../images/heart.png');
}
.icon.twist {
	background-image: url('../images/twist.png');
}
.icon.hex {
	background-image: url('../images/hex.png');
}

.icon.key.invert {
	display:block;
	background-image: url('../images/key-invert.png');
	transform: translateY(-50%);
}
.icon.square.invert {
	display:block;
	background-image: url('../images/square-invert.png');
	transform: translateY(-50%);
}
.icon.demon.invert {
	display:block;
	background-image: url('../images/demon-invert.png');
	transform: translateY(-50%);
}
.icon.heart.invert {
	display:block;
	background-image: url('../images/heart-invert.png');
	transform: translateY(-50%);
}
.icon.twist.invert {
	display:block;
	background-image: url('../images/twist-invert.png');
	transform: translateY(-50%);
}
.icon.hex.invert {
	display:block;
	background-image: url('../images/hex-invert.png');
	transform: translateY(-50%);
}


.project .icon.invert {
	opacity: 1;
}

.project .icon {
	display: block;
	position: absolute;
	transition: opacity 0.2s ease-in-out 0s;
	opacity: 0;
}
.project.unlocked .icon {
	position: absolute;
	opacity: 1;
}
.project.expand .icon {
	position: absolute;
	opacity: 1;
}


/* Let's get this party started */
::-webkit-scrollbar {
    width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background: rgba(0,0,0,0.8);
	border: 2px solid white;
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,1);
	-webkit-box-shadow: inset 0 0 6px rgba(255,255,255,1);
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,255,255,1);
}
