/* CSS Document for kasselcollection #04 2018 */
/* Written by Max Eschenbach for kasselcollection.de during October 2018 */

/* SITE & CLEARFIX -----------------------------------------------------------*/

*, *:before, *:after {
  	margin: 0;
  	padding: 0;
  	border: 0;
  	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
  	-webkit-text-size-adjust: 100%;
  	-ms-text-size-adjust: 100%;
}

body {
	display: block;
	overflow-y: hidden;
}

/* FONTS -------------------------------------------------------------------- */


/* monda-regular - latin_latin-ext */
@font-face {
  font-family: 'Monda';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/monda-v7-latin_latin-ext-regular.eot'); /* IE9 Compat Modes */
  src: local('Monda Regular'), local('Monda-Regular'),
       url('../fonts/monda-v7-latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/monda-v7-latin_latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/monda-v7-latin_latin-ext-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/monda-v7-latin_latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/monda-v7-latin_latin-ext-regular.svg#Monda') format('svg'); /* Legacy iOS */
}
/* monda-700 - latin_latin-ext */
@font-face {
  font-family: 'Monda';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/monda-v7-latin_latin-ext-700.eot'); /* IE9 Compat Modes */
  src: local('Monda Bold'), local('Monda-Bold'),
       url('../fonts/monda-v7-latin_latin-ext-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/monda-v7-latin_latin-ext-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/monda-v7-latin_latin-ext-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/monda-v7-latin_latin-ext-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/monda-v7-latin_latin-ext-700.svg#Monda') format('svg'); /* Legacy iOS */
}



h2 {
	font-family: "Monda", sans-serif;
  	font-weight: 700;
  	font-size: 2.1vh;
	color: #00386a;
}

p {
	font-family: "Monda", sans-serif;
	font-size: 1.6vh;
	font-weight: 400;
	color: #00386a;
}

a {
	text-decoration: none;
	transition: color .3s;
}

@media screen and (max-height: 600px) {
	h2 {
		font-size: 3vh;
	}

	p {
		font-size: 2vh;
	}
}

/* PAGE WRAP -----------------------------------------------------------------*/

#page-wrap {
	display: block;
  	width: 1120vh;
  	height: 87vh;
	background-image: url("/images/background/background_stripe.jpg");
	background-repeat: repeat-x;
	background-position: left top;
	background-attachment: scroll;
	background-size: auto 100%;
	overflow-y: hidden;
	z-index: -4;
}

/* NAVIGATION --------------------------------------------------------------- */

/* NAVIGATION DIV CONTAINER */
.nav {
	text-decoration: none;
	display: block;
	position: fixed;
	float: left;
	width: 50vh;
	height: 5vh;
	text-align: left;
	margin-left: 9.5vh;
	margin-top: 1.5vh;
}

/* NAVIGATION BASE LIST */
.nav ul {
	list-style: none;
	position: fixed;
	float: left;
	
}

/* NAVIGATION BASE LIST ITEM */
.nav ul li {
	display: inline-block;
	float: left;
	color: #cb4f37;
}

/* LINKS OF MAIN NAVIGATION */
.nav ul li > h2 a {
	display: block;
	font-size: 2vh;
	line-height: 2vh;
	color: #cb4f37;
	text-decoration: none;
	padding-top: 0.5vh;
	padding-left: 1vh;
	padding-bottom: 0.5vh;
	padding-right: 1vh;
}

/* FIXED WIDTH FOR ARCHIVE */
.archive {
	width: 13vh;
}

/* CHANGE COLORS FOR LINK ITEMS WHEN HOVERING OVER BASE LIST ITEM */
.nav ul li:hover > h2 a {
	color: #ffffff;
	text-decoration: none;
	background-color: #41669a;
	background-image: url("/images/background/bg_pixel.jpg");
	background-repeat: repeat;
	background-size: auto;
}

/* CHANGE COLORS WHEN HOVERING OVER NAVIGATIOIN BASE LIST LINK */
.nav ul li > h2 a:hover {
	color: #ffffff;
	text-decoration: none;
	background-color: #41669a;
	background-image: url("/images/background/bg_pixel.jpg");
	background-repeat: repeat;
	background-size: auto;
}

/* SUBLIST OF NAVIGATION LIST (INVISIBLE) */
.nav ul li > ul {
	display: none;
	list-style: none;
	position: absolute;
	background-color: #ffffff;
}

/* SWITCH SUBLIST TO VISIBLE WHEN HOVERING OVER BASE LIST ITEM */
.nav ul li:hover > ul {
	display: block;
}

/* NAVIGATION SUBLIST ITEM */
.nav ul li > ul li {
	display: block;
	float: none;
	margin-top: 1vh;
}

.nav ul li > ul li > h2 a {
	display: block;
	width: 13vh;
	font-size: 2vh;
	line-height: 2vh;
	color: #cb4f37;
	text-decoration: none;
	text-align: left;
	padding-top: 0.5vh;
	padding-left: 1vh;
	padding-bottom: 0.5vh;
	padding-right: 1vh;
	background-color: #ffffff;
}

.nav ul li > ul li > h2 a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #41669a;
	background-image: url("/images/background/bg_pixel.jpg");
	background-repeat: repeat;
	background-size: auto;
}

/* PANEL -------------------------------------------------------------------- */

.panel {
	display: block;
  	float: left;
  	height: 87vh;
	overflow-y: hidden;
	z-index: -2;
}

.panel .upper-row {
	display: block;
	height: 18.5vh;
	margin-top: 14.5vh;
	margin-left: -10vh;
	padding: 0em;
	overflow-y: hidden;
	z-index: 1;
}

.panel .lower-row {
	display: block;
	height: 30vh;
	margin-top: 3vh;
	margin-left: -10vh;
	padding: 0em;
	overflow-y: hidden;
	z-index: 1;
}

/* PANELS ------------------------------------------------------------------- */

#panel-about {
	display: inline-block;
	width: 75vh;
	background-image: url("/images/background/background_hidden.jpg");
	background-repeat: no-repeat;
  	background-position: left top;
	background-attachment: scroll;
	background-size: cover;
  	-moz-background-size: cover;
  	-webkit-background-size: cover;
  	-o-background-size: cover;
}

#panel-start {
	display: inline-block;
	width: 75vh;
	background-image: url("/images/background/background_start.jpg");
	background-repeat: no-repeat;
  	background-position: left top;
	background-attachment: scroll;
	background-size: cover;
  	-moz-background-size: cover;
  	-webkit-background-size: cover;
  	-o-background-size: cover;
}

#panel-content {
	display: inline-block;
	background-image: url("/images/background/background_content_long.jpg");
	background-repeat: repeat-x;
  	background-position: center top;
	background-attachment: scroll;
	background-size: auto 100%;
}

#panel-end {
	display: inline-block;
	width: 350vh;
	background-image: url("/images/background/background_end.jpg");
	background-repeat: no-repeat;
  	background-position: left top;
	background-attachment: scroll;
	background-size: auto 100%;
}

/* ABOUT -------------------------------------------------------------------- */

.panel .about {
	padding-top: 14vh;
	padding-left: 5.5vh;
}

.panel .about p {
	font-weight: 700;
	text-decoration: none;
	font-size: 1.9vh;
}

/* PROJECTS ----------------------------------------------------------------- */

.panel .upper-row .project {
	display: inline-block;
	position: relative;
	height: 18.5vh;
	width: 30vh;
	overflow: hidden;
	margin-left: 10vh;
	text-align: center;
}

#arabella-upper {
	width: 34vh;
}

.panel .lower-row .project {
	display: inline-block;
	height: 30vh;
	width: 30vh;
	overflow: hidden;
	margin-left: 10vh;
}

#p-arabellastrasse-5 {
	width: 34vh;
}

.description {
	display: inline-block;
	position: absolute;
	white-space: nowrap;
	overflow-y: hidden;
	text-align: left;
	top: 50%;
	left: 50%;
  	transform: translate(-50%,-50%);
	margin: 0 auto;
}

.pimg {
	display: block;
	max-height: 30vh;
  	max-width: 30vh;
	float: left;
}

.project .description h2 {
	font-size: 2.1vh;
	line-height: 2.5vh;
}

.project .description p {
	font-size: 1.6vh;
	line-height: 2.2vh;
	padding-top: 1vh;
}

@media screen and (max-height: 600px) {
	.project .description h2 {
		font-size: 3vh;
		line-height: 3.4vh;
	}

	.project .description p {
		font-size: 2vh;
		line-height: 2.6vh;
	}
}

/* LIGHTBOX PROJECTS --------------------------------------------------------- */

.projectdetail {
	max-width: 80vw;
	max-height: 90vh;
	height: auto;
	padding: 0 1vh;
	overflow: hidden;
}

.picwrapper {
	max-width: 35vw;
	float: left;
}

.detailpic {
	display: block;
	max-height: 25vh;
	max-width: 35vw;
	width: auto;
	height: auto;
	padding-left: 1vw;
	margin-bottom: 2vh;
	overflow: hidden;
}

.dimg {
	display: block;
	max-width: 35vw;
	max-height: 25vh;
}

.detaildescription {
	display: inline-block;
	float: right;
	max-width: 35vw;
	max-height: 90vh;
	width: auto;
	height: auto;
	padding-left: 2vw;
	overflow: hidden;
}

.projectdetail p {
	padding-top: 2vh;
	line-height: 3vh;
}

.projectdetail h2 {
	font-size: 2.1vh;
	line-height: 2.5vh;
}

.projectdetail h3 {
	font-family: "Monda", sans-serif;
	padding-top: 1vh;
	font-size: 1.6vh;
	line-height: 2.1vh;
	font-weight: 400;
	color: #00386a;
}

.projectdetail h4 {
	font-family: "Monda", sans-serif;
	padding-top: 0.5vh;
	font-size: 1.4vh;
	line-height: 2.1vh;
	font-weight: 400;
	color: #00386a;
}

.projectdetail a, a:visited, a:active {
	text-decoration: none;
	color: #00386a;
}

.projectdetail a:hover {
	text-decoration: none;
	color: #cb4e37;
}

@media screen and (max-width: 600px) {
	.projectdetail {
		max-width: 95vw;
		max-height: 95vh;
		width: 85vw;
		overflow: hidden;
	}

	.picwrapper {
		max-width: 95vw;
	}

	.detailpic {
		display: inline-block;
		overflow: hidden;
		vertical-align: top;
	}

	.detaildescription {
		max-width: 80vw;
		display: block;
		overflow: hidden;
	}
}

/* IMPRINT ------------------------------------------------------------------ */

#imprint-nav {
	margin-left: 55vh;
}

.panel .imprintwrapper {
	display: inline-block;
	float: left;
	margin-top: 6vh;
	margin-left: 61vh;
	width: 49vh;
}

.panel .imprint-row {
	display: block;
	margin-top: 5vh;
	overflow: hidden;
}

.panel .imprint-headline {
	display: inline-block;
	margin: 0;
	width: 22vh;
	text-align: right;
	padding-right: 1vh;
	vertical-align: top;
}

.panel .imprint-content {
	display: inline-block;
	margin: 0;
	width: 26vh;
	text-align: left;
	padding-left: 1vh;
	vertical-align: bottom;
}

.panel .imprint-content a, a:active, a:visited {
	text-decoration: none;
	color: #00386a;
}

.panel .imprint-content a:hover {
	text-decoration: none;
	color: #cb4e37;
}

.panel .imprint-headline h2 {
	font-size: 1.6vh;
	line-height: 2.8vh;
	color: #cb4e37;
}

.panel .imprint-content p {
	font-weight: 700;
	font-size: 1.5vh;
	line-height: 2.8vh;
}

.panel .imprintwrapper-additional {
	display: inline-block;
	float: left;
	margin-top: 25.8vh;
	margin-left: 5.8vh;
	width: 30vh;
	height: 53.2vh;
}

.panel .imprintwrapper-additional p {
	font-weight: 400;
	font-size: 1.5vh;
}

.panel .imprint-additional {
	margin: 0;
	vertical-align: top;
}

.panel .copyright {
	margin-top: 27.5vh;
	vertical-align: bottom;
}

.panel .disclaimer {
	display: inline-block;
	float: left;
	margin-top: 4vh;
	margin-left: 10vh;
	width: 55vh;
	height: 80vh;
	overflow: hidden;
}

.panel .disclaimer h1 {
	font-family: "Monda", sans-serif;
	font-weight: 700;
	font-size: 1vh;
	line-height: 1.1vh;
	padding-top: 0.5vh;
	color: #00386a;
}

.panel .disclaimer h2 {
	font-family: "Monda", sans-serif;
	font-weight: 700;
	font-size: 1vh;
	line-height: 1.1vh;
	padding-top: 0.5vh;
	color: #00386a;
}

.panel .disclaimer h3 {
	font-family: "Monda", sans-serif;
	font-weight: 700;
	font-size: 1vh;
	line-height: 1.1vh;
	padding-top: 0.5vh;
	color: #00386a;
}



.panel .disclaimer p, ul, li {
	font-weight: 400;
	font-size: 1vh;
	line-height: 1.1vh;
	color: #00386a;
}

/* SPECIAL SNOWFLAKE IPHONE X FIX. FUCK YOU APPLE! -------------------------- */

@media screen and (max-device-aspect-ratio: 9/18) {
	.panel {
		height: 70vh;
	}

	.nav {
		margin-left: 3vh;
	}

	.panel .upper-row {
		margin-top: 9.5vh;
	}

	.panel .lower-row {
		margin-top: 1vh;
	}

	.panel .about {
		padding-top: 13vh;
		padding-left: 4.5vh;
	}

	.panel .about p {
		font-size: 1.5vh;
	}
	
	.panel .imprintwrapper {
		margin-left: 42vh;
		margin-top: 1vh;
	}
	
	.panel .imprint-row {
		margin-top: 4vh;
	}
	
	.panel .imprint-headline h2 {
		font-size: 1.4vh;
		line-height: 2.8vh;
	}

	.panel .imprint-content p {
		font-size: 1.4vh;
		line-height: 2.8vh;
	}
	
	.panel .imprintwrapper-additional{
		margin-left: 2.2vh;
		margin-top: 17.2vh;
	}
	
	.panel .copyright {
		margin-top: 22vh;
	}
	
}
