/*@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");*/

/* comfortaa-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: 'Comfortaa';
  font-style: normal;
  font-weight: 400;
  src: url('../../fonts/comfortaa-v47-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* comfortaa-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: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  src: url('../../fonts/comfortaa-v47-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

	body {
	font-family: system-ui, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;/* <---- Standard unter 800px Breite*/
}

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;
}
/*Horizontale Linkleiste*/
.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: 1.2rem;/*0.75em horizontale Linkleiste*/
}
.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;
	}
}
/*Höhe bis max. 460px*/
@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 = kompletter Text- und Trigger-Aufklappbereich (unten) */
.intro__content {
	position: absolute;
	bottom: 0;
	padding: 2rem;/* = 32px */
	width: 100%;
	font-size: 1rem;/* =16px */
}

.intro__title {
	color:#D2D2D2;
	font-weight: 600;/*900*/
	font-size: 5rem;/*4em*/
	line-height: 1;
	margin: 0 0 3px;
	margin-left:0.2rem;
}

/*Block: Untertitel und Linkleiste und Triggerbutton*/
.intro__subtitle {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
}
/*Untertitel: Fotomalerei und mehr*/
.subtitle {
	font-family: "Comfortaa", Georgia, Arial, Helvetica, serif;
	font-weight: 700;
	font-size: 1.4rem;
	color:#ddd;
}
.demos {
	margin-top:1.1rem;
}
/*Block: Untertitel und Linkleiste*/
.intro__description {
	line-height: 1.2;
	margin: 0 auto 0 2.6rem;
}

/* Trigger button with SVG (ganz rechts)*/
.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: 2rem;/*1.85em;*/
	font-weight: 700;
	letter-spacing: 2px;
	/*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 */
/*==================================================================*/

/*Breite bis 1440px*/
@media screen and (max-width: 1440px) {
	.item {
		-webkit-flex: 1 0 33.333%;
		flex: 1 0 33.333%;
		height: 30vw;
	}
}
/*Breite bis 1000px*/
@media screen and (max-width: 1000px) {
	.item {
		-webkit-flex: 1 0 50%;
		flex: 1 0 50%;
		height: 45vw;
	}
	/*.item {
		font-size: 3rem;
	}*/
	.intro__image {
		opacity: 0.8;/*0.6*/
	}
	.demos {
		margin-left:-2.4rem;/* Linkleiste nach links */
	}
	.off-lt1000 {display:none;}
}
/*Breite bis 780px*/
@media screen and (max-width: 780px) {
	.intro__title {
		font-weight: 600;/*900*/
		font-size: 3.4rem;/*4em*/
	}
	.subtitle {
		font-size: 1.3rem;
	}
	/*Block: Untertitel und Linkleiste*/
	.intro__description {
		margin: 0 auto 0 1.8rem;
		line-height: 1.2;
	}
	.demos__item {
		font-size: 1rem;
	}
	/*.demos {margin-left:-3.4em;}*/
	.off-lt1000 {display:none;}
}
@media screen and (max-width: 720px) {
	.off-lt720 {display:none;}
}
/*Breite bis 640px*/
@media screen and (max-width: 640px) {
	.item {
		-webkit-flex: 1 0 100%;
		flex: 1 0 100%;
		height: 90vw;
	}
	.intro__content {padding: 1.6rem 1rem;}/*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.8;/*0.5*/
	}
}
/*Breite bis 400px*/
@media screen and (max-width: 400px) {
	.intro__description {
		margin: 0 auto 0 1.5em;
		line-height: 1.4;
	}
	.item {
		-webkit-flex: 1 0 100%;
		flex: 1 0 100%;
		height: 90vw;/*90vw*/
	}
	.subtitle {
		font-size: 1.2rem;
		padding-left: .3rem;
	}
}
/*Breite bis 260px*/
@media screen and (max-width: 260px) {
	.intro__content {padding:0.5em 0.5em 0.5em 0.2em;}
}
