/* poppins-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/poppins-v20-latin-200.eot'); /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v20-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v20-latin-200.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v20-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v20-latin-200.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins-v20-latin-300.eot'); /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v20-latin-300.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v20-latin-300.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v20-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v20-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v20-latin-500.eot'); /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v20-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v20-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v20-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v20-latin-500.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v20-latin-600.eot'); /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v20-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v20-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v20-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v20-latin-600.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v20-latin-700.eot'); /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v20-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v20-latin-700.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/poppins-v20-latin-800.eot'); /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v20-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v20-latin-800.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v20-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v20-latin-800.svg#Poppins') format('svg'); /* Legacy iOS */
}
/* poppins-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/poppins-v20-latin-900.eot'); /* IE9 Compat Modes */
  src: url('../fonts/poppins-v20-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/poppins-v20-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/poppins-v20-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/poppins-v20-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/poppins-v20-latin-900.svg#Poppins') format('svg'); /* Legacy iOS */
}

* {
	margin: 0;
	padding: 0;
}

html{
	box-sizing: border-box;
	width: 100vw;
	overflow-x: hidden;
	font-family: 'Poppins', sans-serif;
	color: white;
}

a:active, a:focus, a:hover, a:link, a:visited {
    text-decoration: none;
    color: inherit;
}

h1 {
  letter-spacing: 0.1em;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 3rem;
  margin-top: 30px;
  margin-bottom: 50px;
}

.soon {
	letter-spacing: 0.4em;
	font-weight: 200;
	text-transform: uppercase;
	font-size: 3rem;
	margin-top: 30px;
	margin-bottom: 50px;
}

h2 {
	margin-top: 30px;
	margin-bottom: 10px;
}

p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
}

section {
  display: grid;
  grid-template-columns: 18vw 1fr 18vw;
}

#opener{
	overflow: hidden;
	position: relative;
	height: 100vh;
}

#game {
	background-color: #5059a2;
	background: linear-gradient(180deg, rgba(80,89,162,1) 0%, rgba(44,49,89,1) 45%, rgba(9,10,19,1) 100%);
	padding-top: 150px;
	padding-bottom: 150px;
}

#media {
	background-color: #090a13;
	padding-top: 50px;
	padding-bottom: 150px;
}

#links{
	background-color: #cfcfcf;
	padding-top: 200px;
	padding-bottom: 150px;
	color: #2f2f2f;
}

.buttonflexcon{
	display: flex;
	flex-direction: row;
	margin-bottom: 75px;
}

.buttoncon{
	margin-left: 2vw;
	margin-right: 2vw;
	border-radius: 5px;
	padding: 15px;
	width: 100%;
	min-height: 50px;
	background-color: #2f2f2f;
	
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.buttoncon.itch {
	background-image: url(../img/itchio.png);
}

.buttoncon.steam {
	background-image: url(../img/steam.png);
}

.buttoncon.discord {
	background-image: url(../img/discord.png);
}



.center {
	text-align: center;
}



#team{
	min-height: 70vh;
	background-color: #130d0a;
	padding-top: 150px;
	padding-bottom: 50px;
}

.persons {
	margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.personallinks {
	height: 2rem;
	width: 100%;
	display: flex;
}

.personallink{
	height: 2rem;
    width: 2rem;
    margin-right: 5px;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
	transform: translate3d(0,0,0);
	transition-duration: .4s;
	transition-property: box-shadow,transform,-webkit-box-shadow,-webkit-transform;
	transition-timing-function: cubic-bezier(.16,1,.29,.99);
}

.personallink:hover {
	box-shadow: 0 2px 15px 0 rgba(255, 255, 255, 0.2);
	transition-timing-function: cubic-bezier(.16,1,.29,.99);
	transition-duration: .6s;
	transition-property: box-shadow,transform,-webkit-box-shadow,-webkit-transform;
	transform: translate3d(0,-2px,0);
}

.personallink.linkedin {
	background-image: url(../img/linkedin-brands.svg);
}

.personallink.instagram {
	background-image: url(../img/instagram-square-brands.svg);
}

.personallink.website {
	background-image: url(../img/website-brands.svg);
}

#footer {
	background-color: #130d0a;
	color: #333;
    padding-bottom: 20px;
}

.footercon {
	grid-column: 2 / 3;
	text-align: right;
}


.layer {
	grid-column: 1 / -1;
	background-position: bottom center;
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	height: 100vh;
	position: fixed;
	z-index: -1;
}


.layer-1 {
	background-image: url(../img/layer3.png);
}

.layer-bg {
	background-image: url(../img/layerbg.png);
}

.layer-2 {
	background-image: url(../img/layer2.png);
}

.layer-4 {
	background-image: url(../img/layer1.png);
	position: relative;
}

.layer-overlay {
	background-image: url(../img/fireflies.png);
}

.flexcon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 90%;
}


h2#subtitle {
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.4em;
    font-size: 1.7rem;
	text-align: center;
}

.imgcon {
	max-width: 1200px;
	width: 60vw;
	min-width: 300px;
	height: fit-content;
}

.inner{
	grid-column: 2 / 3;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 50px;
}

.inner .left{
	grid-column: 1 / 2;
}

.inner .right{
	grid-column: 2 / 3;
}

.inner .full {
	grid-column: 1 / 3;
}

.shortdesc {
	letter-spacing: 0.1em;
	font-weight: 500;
	text-transform: uppercase;
	font-size: 1.8rem;
	margin-top: 30px;
	margin-bottom: 50px;
}

.screenshot {
	aspect-ratio: 16 / 9;
	width: 100%;
	background-color: aliceblue;
	background-repeat: no-repeat;
	background-size: cover;
	transform: translate3d(0,0,0);
	transition-duration: .4s;
	transition-property: box-shadow,transform,-webkit-box-shadow,-webkit-transform;
	transition-timing-function: cubic-bezier(.16,1,.29,.99);
	cursor: pointer;
}

.screenshot:hover {
	box-shadow: 0 12px 30px 0 rgba(0,0,0,.2);
	transition-timing-function: cubic-bezier(.16,1,.29,.99);
	transition-duration: .6s;
	transition-property: box-shadow,transform,-webkit-box-shadow,-webkit-transform;
	transform: translate3d(0,-4px,0);
}


#scs1 {
	background-image: url(../img/image_005_0000_small.png);
}

#scs2 {
	background-image: url(../img/image_048_0000_small.png);
}

#scs3 {
	background-image: url(../img/image_011_0000_small.png);
}


.scroll-menu {
    position: fixed;
    left: 10px;
    top: calc(50% - 42.2px);
    z-index: 98;
}

.nav {
    margin-left: 20px;
}

.nav-item {
    position: relative;
    list-style-type: none;
    padding-left: 13px;
	letter-spacing: 0.3em;
  	text-transform: uppercase;
    font-weight: 300;
    transition-property: color;
    transition-duration: 0.4s;
}

.is-active.nav-item {
    font-weight: 400;
}

.is-active.nav-item::before {
    position: absolute;
    top: 1px;
    left: 0px;
    bottom: 1px;
    content: "";
    border-left: 2px solid;
}

.galleryitem {
	cursor: pointer;
	display: inline-block;
	width: 220px;
	height: 220px;
	background-size: cover;
	background-position: 50% 50%;
	margin-left: 8px;
	margin-right: 8px;
}

.galleryitem.skizzen {
	background-image: url(../img/skizzen.png);
}

.galleryitem.world1 {
	background-image: url(../img/world1.png);
}

.galleryitem.world2 {
	background-image: url(../img/world2.png);
}

.galleryitem.frontart {
	background-image: url(../img/frontart.png);
}

.mediagrid {
	display: grid;
	width: 100%;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: auto auto auto auto auto;
	gap: 1rem;
	grid-template-areas: 
		"video1 video1 video1 image1"
		"video1 video1 video1 image2"
		"image4 image4 image3 image2"
		"image6 video2 video2 video2"
		"image5 video2 video2 video2"
		"image5 image7 image8 image9";
}

.mediagrid .mediaimage {
	width: 100%;
	min-width: 50px;
	height: 100%;
	transform: translate3d(0,0,0);
	transition-duration: .4s;
	transition-property: box-shadow,transform,-webkit-box-shadow,-webkit-transform;
	transition-timing-function: cubic-bezier(.16,1,.29,.99);
	cursor: pointer;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.mediagrid .mediaimage:hover {
	box-shadow: 0 12px 30px 0 rgba(74, 50, 163, 0.2);
	transition-timing-function: cubic-bezier(.16,1,.29,.99);
	transition-duration: .6s;
	transition-property: box-shadow,transform,-webkit-box-shadow,-webkit-transform;
	transform: translate3d(0,-4px,0);
}

.mediagrid .video1 {
	grid-area: video1;
	/*aspect-ratio: 16 / 9;*/
}

.mediagrid .video2 {
	grid-area: video2;
	/*aspect-ratio: 16 / 9;*/
}

.mediagrid .small {
	aspect-ratio: 1 / 1;
}

.mediagrid .image1 {
	grid-area: image1;
	background-image: url(../img/robots_squared.png); 
}

.mediagrid .image2 {
	grid-area: image2;
	background-image: url(../img/image_090_0000.png);
}

.mediagrid .image3 {
	grid-area: image3;
	background-image: url(../img/skizzen_squared.png); 
}

.mediagrid .image4 {
	grid-area: image4;
	background-image: url(../img/image_020_0000.png);
}

.mediagrid .image5 {
	grid-area: image5;
	background-image: url(../img/PanoramaTB_cut.png);
}

.mediagrid .image6 {
	grid-area: image6;
	background-image: url(../img/image_079_0000_squared.png);
}

.mediagrid .image7 {
	grid-area: image7;
	background-position: center top;
	background-image: url(../img/image_041_0000.png); 
}

.mediagrid .image8 {
	grid-area: image8;
	background-image: url(../img/world12.png);
}

.mediagrid .image9 {
	grid-area: image9;
	background-image: url(../img/allFloraPlakat_cut.png);
}

#impressum {
	padding-top: 100px;
	min-width: 100vw;
	min-height: 100vh;
	background-color: #130d0a;
	padding-bottom: 100px;
}

.mediagridvideo {
	width: 100%;
	height: 100%;
   	object-fit: cover;
  	aspect-ratio: 16 / 9;
}

@media only screen and (max-width: 786px) {

	section {
		grid-template-columns: 5vw 1fr 5vw;
	}

	.mediagrid {
		gap: 0.5rem;
	}

	.inner .left, .inner .right {
		grid-column: 1 / 3;
	}

	.scroll-menu{
		display: none;
	}

	.mobile-button-holder{
		display: flex;
	}

	.buttonflexcon{
		flex-direction: column;
	}

	.buttoncon {
		margin-top: 5px;
		margin-bottom: 5px;
		width: auto;
	}

	.soon {
		font-size: 2rem;
	}

	.persons {
		grid-template-columns: 1fr 1fr;
	}
}