@import url("https://fonts.googleapis.com/css?family=Droid+Serif");
@import url("https://fonts.googleapis.com/css?family=Droid+Sans:700");
/*@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic");*/
@import url("https://fonts.googleapis.com/css?family=Comfortaa");

body {background-color:#2a2e39;}
*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
/*----------------------------------------------------------------------------*/

a {
	color: #36b6dd;
	/*text-shadow: 0 0px 0px rgba(228, 228, 228, 0.8);*/
	text-decoration: none;
}
a:hover,
a:focus {
	outline: none;
	color: #fff !important;
}
.demos {
	margin-top: 0.5em;
	padding:0.2em 0.2em 0.4em 0.1em;
	background-color:#2A2E39;
	background-color: rgba(42, 46, 57, 0.4);
}
.demos__item {
	display: inline-block;
	margin: 0 1em 0 0;
	padding: 0.2em 0;
	text-transform: uppercase;
	white-space: nowrap;
	letter-spacing: 2px;
	font-size: 0.75em;
}
.demos__item--current {
	border-bottom: 1px solid #000;
	border-color: initial;
}
.demos__item.demos__item--current.last {
	margin:0;
}
/*--------------------- NUR SLICKNAV -------------------------------------------*/
.slicknav_menu {font-size:1.4em; background:rgba(52, 70, 90, 0.5);}
.slicknav_nav a{margin:0 2px 0 2px; font-size:1.2rem; line-height:1.8;}
/* #Anweisungen gelten nur unterhalb von (40em =640px)
	also im Bereich 0em bis max 40em */
@media screen and (max-width: 40em) {
	.slicknav_menu {
		position: absolute;
		right:0;
		width:100%;
	}
	.demos__item.demos__item--current.last {
		/*zurueck auf default*/
		margin:0 2px 0 2px;
	}
}
@media screen and (max-height: 460px) {
	.slicknav_nav a {font-size:1rem; line-height:1.2;}
}
/*-----------------------------------------------------------------------------*/
.intro {
	position: fixed;
	z-index: 10;
	overflow: hidden;
	width: 100%;
	height: 100%;
	background: #2a2e39;
	-webkit-transition: -webkit-transform 0.6s;
	transition: transform 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.container--open .intro {
	-webkit-transform: translate3d(0, -100%, 0) translate3d(0, 250px, 0);
	transform: translate3d(0, -100%, 0) translate3d(0, 250px, 0);
}

/* Fullscreen image */
.intro__image {
	/*position: absolute;
	bottom: 0;
	min-width: 100%;
	min-height: 120%;
	width: auto;
	height: auto;*/
	opacity: 0.8;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
	transition: transform 0.6s, opacity 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.container--open .intro__image {
	opacity: 0;
	-webkit-transform: translate3d(0, 20%, 0);
	transform: translate3d(0, 20%, 0);
}

/* Intro content */
.intro__content {
	position: absolute;
	bottom: 0;
	padding: 2em;/*1.8*/
	width: 100%;
	font-size: 1.2em;/*1.15*/
}

.intro__title {
	font-family: "Droid Sans", Georgia, Arial, Helvetica, serif;
	color:#D2D2D2;/*lila: #4c2856 -- gelb: #fbbb00 */
	margin: 0 0 1px;
	font-weight: 400;/*900*/
	font-size: 5em;/*4em*/
	line-height: 1;
	margin-left:0.2em;
}

.intro__subtitle {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}
.subtitle {
	font-family: "Comfortaa", Georgia, Arial, Helvetica, serif;
	font-size: 1.4em;
	color:#ddd;
}
.demos {
	margin-top:20px;
}
.intro__description {
	margin: 0 auto 0 3.05em;
	line-height: 1.2;
}

/* Trigger button with SVG */
.trigger {
	position: relative;
	-webkit-flex: none;
	flex: none;
	overflow: hidden;
	margin: 0 0 0 20px;
	padding: 0;
	width: 40px;
	height: 40px;
	outline: none;
	border: none;
	background:none;
}

/* Hide the text */
.trigger span {
	position: absolute;
	top: 100%;
}

.icon rect,
.icon line {
	stroke: #fff;/*Rahmenfarbe: dbdbdb*/
	fill: none;
	stroke-width: 3px;
}

.icon {
	-webkit-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
}

/* Hide grid and show cross when opening */
.icon--cross,
.trigger--active .icon--grid {
	opacity: 0;
	-webkit-transform: scale3d(0.5, 0.5, 1);
	transform: scale3d(0.5, 0.5, 1);
}

.trigger--active .icon--cross {
	opacity: 1;
	-webkit-transform: scale3d(1, 1, 1);
	transform: scale3d(1, 1, 1);
}

/* Main content */
.items-wrap {
	position: relative;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	padding: 250px 5px 0;
}

.items-wrap::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #2a2e39;
	content: '';
	opacity: 1;
	-webkit-transition: opacity 0.6s;
	transition: opacity 0.6s;
	-webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	pointer-events: none;
}

.container--open .items-wrap::after {
	opacity: 0;
}

.item {
	position: relative;
	-webkit-flex: 1 0 25%;
	flex: 1 0 25%;
	overflow: hidden;
	height: 22vw;
	outline: none;
	border: 5px solid #2a2e39;
	border-width: 0 5px 10px;
	background: #2a2e39;
}

.item__image {
	position: absolute;
	top: 50%;
	min-height: 100%;
	width: 100%;
	opacity: 0.7;
	-webkit-transform: translate3d(0, -50%, 0) scale3d(1.2, 1.2, 1);
	transform: translate3d(0, -50%, 0) scale3d(1.2, 1.2, 1);
	-webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.item:hover .item__image {
	opacity: 1;
	-webkit-transform: translate3d(0, -50%, 0);
	transform: translate3d(0, -50%, 0);
}

.item__title {
	position: absolute;
	bottom: 0;
	margin: 0;
	padding: 1em;
	color: #dbdbdb;
	font-size: 1.85em;
	font-family: "Droid Sans", Georgia, Arial, Helvetica, serif;
	text-shadow: 0 2px 2px rgba(0, 0, 0, 1.0);
	line-height: 1;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.item:hover .item__title {
	opacity: 0;
	-webkit-transform: translate3d(0, 20px, 0);
	transform: translate3d(0, 20px, 0);
}


/* Media Queries */

@media screen and (max-width: 1440px) {
	.item {
		-webkit-flex: 1 0 33.333%;
		flex: 1 0 33.333%;
		height: 30vw;
	}
}

@media screen and (max-width: 1000px) {
	.item {
		-webkit-flex: 1 0 50%;
		flex: 1 0 50%;
		height: 45vw;
	}
	.item {
		/*font-size: 1em;*/
	}
	.intro__image {
		opacity: 0.6;
	}
	.demos {margin-left:-2.4em;}
	.off-lt1000 {display:none;}
}
@media screen and (max-width: 780px) {
	.intro__title {
		font-weight: 300;/*900*/
		font-size: 3.2em;/*4em*/
	}
	.subtitle {
		font-size: 1em;
	}
	.intro__description {
		margin: 0 auto 0 2em;
		line-height: 1.2;
	}
	.demos {margin-left:-3.4em;}
	.off-lt1000 {display:none;}
}
@media screen and (max-width: 720px) {
	.off-lt720 {display:none;}
}
@media screen and (max-width: 640px) {
	.item {
		-webkit-flex: 1 0 100%;
		flex: 1 0 100%;
		height: 90vw;
	}
	.intro__content {padding:0.5em 1em;}
	.container--open .intro {
		-webkit-transform: translate3d(0, -100%, 0) translate3d(0, 190px, 0);
		transform: translate3d(0, -100%, 0) translate3d(0, 190px, 0);
	}
	.items-wrap {padding: 190px 5px 0;}
}


@media screen and (max-width: 600px) {
	.intro__image {
		opacity: 0.5;
	}
}

@media screen and (max-width: 400px) {
	.intro__description {
		margin: 0 auto 0 1.5em;
		line-height: 1.4;
	}
	/*.demos {margin-left:-2em;}*/
	.item {
		-webkit-flex: 1 0 100%;
		flex: 1 0 100%;
		height: 90vw;
	}

	.intro__title {
		font-weight: 200;/*900*/
		font-size: 2.4em;/*4em*/
	}
	/*.subtitle {
		font-size: 1.2em;*/
}
@media screen and (max-width: 260px) {
	.intro__content {padding:0.5em 0.5em 0.5em 0.2em;}
}
