@charset "utf-8";

@font-face {
    font-family: "Press Start 2P";
	src: url("./fonts/PressStart2P-Regular.ttf") format('embedded-opentype'), /* Internet Explorer */
         url("./fonts/PressStart2P-Regular.ttf") format('woff2'),             /* Super Modern Browsers */
         url("./fonts/PressStart2P-Regular.ttf") format('woff'),              /* Pretty Modern Browsers */
         url("./fonts/PressStart2P-Regular.ttf") format('truetype'),          /* Safari, Android, iOS */
         url("./fonts/PressStart2P-Regular.ttf") format('svg');               /* Legacy iOS */
}

@font-face {
	font-family: "Montserrat";
	src: url("./fonts/Montserrat-Regular.ttf") format('embedded-opentype'), /* Internet Explorer */
		 url("./fonts/Montserrat-Regular.ttf") format('woff2'),             /* Super Modern Browsers */
		 url("./fonts/Montserrat-Regular.ttf") format('woff'),              /* Pretty Modern Browsers */
		 url("./fonts/Montserrat-Regular.ttf") format('truetype'),          /* Safari, Android, iOS */
		 url("./fonts/Montserrat-Regular.ttf") format('svg');               /* Legacy iOS */
}

button:focus {outline:0;};
a:focus {outline:0;}

a:active, a:focus { 
    outline: none; 
}

*{
	box-sizing:border-box;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

body {
    margin: 0;
    padding: 0;
	background-color: black;
	width: 100%;
	height: 100%;
	overflow-y: hidden;
	overscroll-behavior: none;
	overscroll-behavior-y: none;
}

.section.pageContent.p03 {
	overscroll-behavior: none;
	touch-action: none;
}

/*________Loading animation________*/

.no-js #loader {
	display: none;
}

.js #loader { 
	display: block; 
	position: absolute; 
	left: 100px; 
	top: 0; 
}

.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: #000;
}

.gooey {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 142px;
	height: 40px;
	margin: -20px 0 0 -71px;
	background: #000;
	filter: contrast(20);
  }
  .gooey .dot {
	position: absolute;
	width: 16px;
	height: 16px;
	top: 12px;
	left: 15px;
	filter: blur(4px);
	background: #ffffff;
	border-radius: 50%;
	transform: translateX(0);
	animation: dot 2.8s infinite;
  }
  .gooey .dots {
	transform: translateX(0);
	margin-top: 12px;
	margin-left: 31px;
	animation: dots 2.8s infinite;
  }
  .gooey .dots span {
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	margin-left: 16px;
	filter: blur(4px);
	background: #ffffff;
	border-radius: 50%;
  }
  @-moz-keyframes dot {
	50% {
	  transform: translateX(96px);
	}
  }
  @-webkit-keyframes dot {
	50% {
	  transform: translateX(96px);
	}
  }
  @-o-keyframes dot {
	50% {
	  transform: translateX(96px);
	}
  }
  @keyframes dot {
	50% {
	  transform: translateX(96px);
	}
  }
  @-moz-keyframes dots {
	50% {
	  transform: translateX(-31px);
	}
  }
  @-webkit-keyframes dots {
	50% {
	  transform: translateX(-31px);
	}
  }
  @-o-keyframes dots {
	50% {
	  transform: translateX(-31px);
	}
  }
  @keyframes dots {
	50% {
	  transform: translateX(-31px);
	}
  }

/*---------- LOGO NAME ---------*/

.logoName {
	position: fixed;
	color: white;
	top: 9%;
	left: 50%;
	transform: translateX(-50%);
	z-index: +1;
	cursor: pointer;
	touch-action: none;
}

.logoName p {
	margin: 0;
	font-size: 100%;
	padding-bottom: 5px;
	font-family: 'Press Start 2P', sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-align: center;
}

.logoLinebreak {
	width: 25px;
	height: 2.5px;
	background-color: white;
	position: fixed;
	top: 105%;
	left: 50%;
	transform: translateX(-50%);
}

.logoName span {
	-webkit-transition: -webkit-transform 0.3s;
	-webkit-transition: all 300ms ease-in-out;
	transition: all 500ms ease-in-out;
}

@media screen and (max-width: 1000px) {

	.logoLinebreak {
		height: 1.25px;
	}

	.logoName p {
		font-weight: 600;
	}

	.logoName:active {
		opacity: 0.35;
	}

}

@media screen and (min-width: 1001px) {
	.logoName:hover > .logoLinebreak {
		width: 100%;
	}
}

/* -------- NAV ---------------- */

aside {
	display: none;
	width: 39%;
	height: 100%;
	position: fixed;
	background-color: white;
	z-index: +1;
}

aside .nav ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	font-size: 140%;
	font-family: 'Press Start 2P', serif;
	font-weight: 600;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

aside .nav ul li {
	padding-bottom: 6px;
}

.navbar {
	text-decoration: none;
	color: black;
}

/* ------- NAV STRIKETHROUGH HOVER --------------- */

.navHover{
  position: relative;
  display: block;
  cursor: pointer;
}

.navHover:before, .navHover:after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2.5px;
  top: 50%;
  margin-top: -1.5px;
  background: black;
}

.navHover:before {
  left: -2.5px;
}
.navHover:after {
  right: 2.5px;
  background: black;
  transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media screen and (max-width: 1000px) {

	.navHover {
		opacity: 1;
	}
	.navHover:active {
		opacity: 0.25;
	}
}

@media screen and (min-width: 1001px) {

	.navHover:hover:before {
		background: black;
		width: 100%;
	  transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
	}

	.navHover:hover:after {
		background: transparent;
		width: 100%;
		transition: 0s;
	}
}

.currentNav {
	opacity: 0.5;
	cursor: auto;
}

/* ------- PAGE COUNT ---------- */

.page_count {
	z-index: -1;
	position: fixed;
	top: 50%;
	left: 5%;
    transform: translate(0%, -50%);
}

.page_count p {
	color: white;
	font-family: 'Press Start 2P', serif;
	font-size: 100%;
	height:40px;
	width: 20px;
	margin: 0px;
	text-align: center;
	line-height: 40px;
}

.linebreak {
	height: 3px;
	width: 17.5px;
	background-color: white;
	position: fixed;
	top: 48%;
}

/*NEW PAGE ANIMATION*/

.load {
	transform: translate(0px, -40px);
	-webkit-transition: -webkit-transform 0.3s;
	-webkit-transition: all 300ms ease-in-out;
	transition: all 1000ms ease-in-out;
}

.load_01 {
	transform: translate(0px, -80px);
	-webkit-transition: -webkit-transform 0.3s;
	-webkit-transition: all 300ms ease-in-out;
	transition: all 1000ms ease-in-out;
}
.mask_pages {
	height:40px;
	width: 20px;
	margin: 0px;
	text-align: center;
	line-height: 40px;
	overflow: hidden;
	transition: all 300ms ease-in-out;
}


/* ------- MENU BUTTON -------- */

.icon { 
	position: fixed;
	top: 9%;
	left: 5%;
	height: 40px;
	width: 40px;
	border: none;
	background-color: transparent;
	cursor: pointer;
	z-index: +2;
}

.icon span {
	position: absolute;
	display: block;
	height: 4px;
	width: 40px;
	background-color: white;
	-webkit-transition: -webkit-transform 0.3s;
	-webkit-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}

.icon span:first-child {
 	top: 12px;
 	right: 0px;
}

.icon span:last-child {
	top: 26px;
	left: 0px;
	width: 25px;
}

@media screen and (max-width: 1000px) {
	.icon:active > span:last-child {
		width: 40px;
	}
}

@media screen and (min-width: 1001px) {
	.icon:hover > span:last-child {
		width: 40px;
	}
}

.icon--active span:first-child {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 20px;
	height: 4px;
	background-color: black;
}

.icon--active span:last-child {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	position: absolute;
	width: 40px;
	left:0px;
	top: 20px;
	background-color: black;
}
/* --------END MENU BUTTON ------------*/

/* ------- SCROLL DOWN BUTTON ----------- */

.container_01 {
	z-index: +1;
	display: block;
	position: fixed;
	left: 50%;
    transform: translate(-50%, 0);
	bottom: 5%;
	border: none;
	color: transparent;
	height: 56px;
	width: 84px;
	cursor: pointer;
	transition: all .2s ease-out;
}

.icon_01 {
	background: url(../img/Icon_01.png);
	height: 28px;
	width: 84px;
	position: absolute;
}
.icon_02 {
	background: url(../img/Icon_02.png);
	height: 28px;
	width: 84px;
	position: absolute;
	top: 0px;
	transform: translateY(0px);
}

/* Arrow & Hover Animation */ 

@media screen and (min-width: 1001px) {
	.icon_01:hover > .icon_02 {
		transform: translateY(20px);
		-webkit-transition: all 300ms ease-in-out;
	}
}
@media screen and (max-width: 1000px) {
	.icon_01:active {
		opacity: 0.7;
	}
	.icon_01:active > .icon_02 {
		transform: translateY(20px);
		-webkit-transition: all 50ms ease-in-out;
	}
}

/* ------- END SCROLL DOWN BUTTON ----------- */

/* ---------- SOCIAL MEDIA BUTTONS ------------- */

.socialMedia {
	position: fixed;
	right: 5%;
	bottom: 10%;
	color: white;
	z-index: +1;
    font-size: 25px;
}

.ernsteGamesLogo {
    display: inline-block;
    font-size: inherit;
    height: 1em;
	width: 75px;
}

.inLine {
	display: inline-block;
	color: white;
	padding: 0px 10px;
}

.Vimeo_Text {
	display: none;
	width: 100%;
	position: absolute;
	top: -150%;
}
.Vimeo_Text p {
	font-size: 10px;
	float: right;
	color: white;
	font-family: 'Press Start 2P', serif;
	text-transform: uppercase;
}

@media screen and (max-width: 1000px) {
	.inline:active {
		opacity: 0.5;
	}
}

@media screen and (min-width: 1001px) {
	.inLine:hover {
		opacity: 0.7;
	}
}

/* ---------- BACKGROUND VIDEO ------------ */ 

#myVideo {
	z-index: -2;
	position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

/*--------- CONTENT -------------------------- */

.pageContent {
	color: white;

	-webkit-transition: opacity 0.2s ease-in-out;
       -moz-transition: opacity 0.2s ease-in-out;
        -ms-transition: opacity 0.2s ease-in-out;
         -o-transition: opacity 0.2s ease-in-out;
            transition: opacity 0.2s ease-in-out;

	opacity: 0;
}

.ContentContainer {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
}

.ContentWrapper {
	height: auto;
	position: absolute;
	width: 30%;
	top: 60%;
	transform: translate(0%, -50%);
}

.LeftAlign {
	left: 20%;
}

.RightAlign {
	right: 20%;
	text-align: right;
}

.section h1 {
	position: relative;
	margin: 0;
	color: white;
	font-family: 'Press Start 2P', serif;
	font-size: 200%;
}

#fullpage div p {
	position: relative;
	color: white;
	margin: 0;
	text-align: justify;
	font-family: 'Montserrat', sans-serif;
	font-size: 80%;
	line-height: 1.75;
}

#fullpage div p.ContactText {
	text-align: right;
}

#fullpage div p.impressumLink {
	text-align: right;
	cursor: pointer;
    text-decoration: underline;
}

#fullpage a.emailLink {
	text-decoration: underline;
	color: white;
}

@media screen and (max-height: 800px) {
	.ContentWrapper {
		top: 50%;
	}
}

@media screen and (max-width: 900px) {
	.ContentWrapper {
		width: 45%;
	}
}
@media screen and (max-width: 600px) {

	.ContentWrapper {
		top: 50%;
		width: 60%;
	}

	#fullpage div p {
		font-size: 75%;
		line-height: 2;
	}
}

/*----------- ABOUT PIC ----------------- */

/* About Font */
.p02 h1 {
	font-family: 'Press Start 2P', serif;
	font-size: 200%;
	text-shadow: rgb(0, 0, 0) 0px 0 12px;
}

.AboutPic {
	position: absolute;
	transform: translate(-50%,-70%);
	z-index: -1;
	height: 100%;
	width: auto;
}

@media screen and (max-width: 800px) {
	.AboutPic {
		height: 75%;
		width: auto;
	}
}

@media screen and (max-height: 800px) {
	.AboutPic {
		height: 75%;
		width: auto;
	}
}

@media screen and (max-height: 650px) {
	.AboutPic {
		height: 55%;
		width: auto;
	}
}

@media screen and (max-width: 600px) {
	.AboutPic {
		height: 50%;
		width: auto;
	}
}

@media screen and (max-height: 500px) {
	.AboutPic {
		height: 35%;
		width: auto;
	}
}

@media screen and (max-width: 400px) {
	.AboutPic {
		transform: translate(-50%,-50%);
		height: 25%;
		width: auto;
	}
}

@media screen and (max-height: 400px) {
	.AboutPic {
		transform: translate(-50%,-50%);
		height: 25%;
		width: auto;
	}
}

/* ----------- FADE IN // OUT CONTENT ON SCROLL ------- */

.pageLoad {
	opacity: 1;
}

/* ------------ GALLERY LINK --------------------- */

.linkGallery {
	position: relative;
	display: flex;
	cursor: pointer;
    margin: 0;
}

@media screen and (max-height: 800px) {
	.linkGallery {
		top: 40%;
	}
}
@media screen and (max-width: 600px) {
	.linkGallery {
		top: 40%;
	}
}

#fullpage div.linkGallery p.linkText {
	margin: 0;
	top: 0;
	color: white;
	outline: none; 
	text-decoration: none;
	font-family: 'Press Start 2P', serif;
	font-size: 130%;
	opacity: 1;
}

#fullpage a {
	text-decoration: none;
}
/*
	-webkit-transition: -webkit-transform 0.3s;
	-webkit-transition: all 300ms ease-in-out;
	transition: all 500ms ease-in-out;*/

.button {
  position: relative;
  height: auto;
  width: 45px;
  background: transparent;
  margin-left: 15px;
}

.button:before {
  content: "";
  width: 35px;
  height: 2px;
  background: white;
  position: absolute;
  top: 50%;
  margin-top: -1px;
  left: 0; 
  transition: all 0.3s ease;
}

.button:after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-color: transparent transparent transparent white;
  position: absolute;
  top: 50%;
  margin-top: -5px;
  right: 14px;
  right: 10px;
  transition: all 0.3s ease;
}

@media only screen and (min-width: 1001px) {
	.linkGallery:hover > .button:before {

		left: 20px;
		width: 25px;
	}
	.linkGallery:hover > .button:after {
		right: 0px;
	}
}

@media only screen and (max-width: 600px) {
	.linkGallery:active {
		opacity: 0.5;
	}
}
/*--------------- MOBILE "FIRST" ------------ */

@media only screen and (max-width: 600px) {
    /* For mobile phones: */
    aside {
    	width: 100%;
    }
    .icon {
    	top: 4%;
    }

    .logoName {
    	top: 5%;
    }

    .container_01 {
    	display: none;
    }

    .socialMedia {
    	font-size: 17.5px;
    }

	.ernsteGamesLogo {
		width: 50px;
	}

    .logoName p {
    	font-size: 90%;
    }
}

@media only screen and (max-height: 750px) {
	.container_01 {
    	display: none;
    }
}

.hide {
	display: none;
}

.hide4 {
	display: none;
}

/* -------------- Test ------------- */

.ContentContainerSlide {
	overscroll-behavior: contain;
	touch-action: none;

	position: absolute;
    height: 100%;
    width: 50%;
    top: 0;
}

/* --------- GO BACK FROM GALLERY ------------- */

.goBack {
	z-index: 1;	
	position: absolute;
	display: flex;
	cursor: pointer;
    margin: 0;
    top: 9%;
    left: 4%;
}

@media screen and (max-width: 600px) {
	.goBack {
		top: 6%;
	}
}

#fullpage div.goBack p.linkText01 {
	margin: 0;
	top: 0;
	color: white;
	outline: none; 
	text-decoration: none;
	font-family: 'Press Start 2P', serif;
	font-size: 130%;
	opacity: 1;
}

#fullpage a {
	text-decoration: none;
}
/*
	-webkit-transition: -webkit-transform 0.3s;
	-webkit-transition: all 300ms ease-in-out;
	transition: all 500ms ease-in-out;*/

.button01 {
  position: relative;
  height: auto;
  width: 45px;
  background: transparent;
  margin-right: 15px;
}

.button01:before {
  content: "";
  width: 35px;
  height: 2px;
  background: white;
  position: absolute;
  top: 50%;
  margin-top: -1px;
  right: 0; 
  transition: all 0.3s ease;
}

.button01:after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 5px 0;
  border-color: transparent white transparent transparent ;
  position: absolute;
  top: 50%;
  margin-top: -5px;
  left: 14px;
  left: 10px;
  transition: all 0.3s ease;
}

@media only screen and (min-width: 1001px) {
	.goBack:hover > .button01:before {
		right: 20px;
		width: 25px;
	}
	.goBack:hover > .button01:after {
		left: 0px;
	}
}

@media only screen and (max-width: 600px) {
	.goBack:active {
		opacity: 0.5;
	}
}

@media screen and (max-width: 420px) {
	.goBack {
		top: 6%;
		display: inline;
	}
	.button01 {
/*		width: 100%;*/
		left: -8px;
	}
	#fullpage div.goBack p.linkText01 {
		font-size: 115%;
	}
}

/* ----------- Legal Disclosure ----------- */

.LegalNotice {
	position: absolute;
	width:90%;
	height: 80%;
	top: 22%;
	left: 5%;
	overflow: hidden;
}

.NoticeWrapper {
	width: 100%;
}

/* ------------- Overlay Video ---------- */

.overlayVideo {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 2;
}

