/*
-----------------------------------------------
		www.petraober.de
	 by www.lichtsignale.de
----------------------------------------------- */


/*		R E S E T
----------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	font-feature-settings: "liga" 0, "clig" 0;
	-moz-font-feature-settings: "liga" 0, "clig" 0;
	-ms-font-feature-settings: "liga" 0, "clig" 0;
	-o-font-feature-settings: "liga" 0, "clig" 0;
	-webkit-font-feature-settings: "liga" 0, "clig" 0;
}

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

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
	display: block;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	outline: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input, select {
	vertical-align: middle;
}


/*		W E B F O N T S
----------------------------------------------- */

@font-face {
	font-family: "Marr Sans PO";
	src: url("fonts/MarrSans-Regular-Web.woff2") format("woff2"),
		 url("fonts/MarrSans-Regular-Web.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}


/*		B A S I C S
----------------------------------------------- */

body {
	color: #111;
	background: #fff;
	font-family: "Marr Sans PO", "Helvetica Neue", Helvetica, "Roboto", Arial, sans-serif;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0.025em;
	text-align: left;
}

*:focus {
	outline: none;
}

img {
	max-width: 100%;
	height: auto;
}

a:link, a:visited {
	color: #111;
	text-decoration: none;
}

a:hover, a:active {
	color: #e71e31;
}

.wrapper {
	margin: 10px 15px 0 15px;
}

#splash {
	overflow: hidden;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: #fff;
	background-size: cover;
	background-position: center center;
	cursor: pointer;
}


/*		H E A D E R
----------------------------------------------- */

header {
	padding: 0 0 10px 0;
	position: fixed;
	z-index: 50;
	left: 0;
	top: 0;
	width: 100%;
	background: #fff;
}

#h1 {
	width: 50%;
	width: calc(50% - 4.5px);
	display: inline-block;
	vertical-align: top;
}

#h2 {
	display: inline-block;
	vertical-align: top;
}

#hextra {
	color: #fff;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

#mobilenav {
	position: absolute;
	right: 15px;
	top: 10px;
	cursor: pointer;
}

#mobilenav svg {
	width: auto;
	height: 12px;
	fill: #111;
}

#mobilenav:hover svg {
	fill: #e71e31;
}

nav {
	clear: both;
	margin: 22px 10px 0 0;
	position: relative;
	display: none;
	padding-top: 6px;
	padding-bottom: 0;
	background: #fff;
}

nav li {
	list-style: none;
	margin: 0 5px 22px 0;
}

nav li a {
	display: block;
}

#navabout {
	float: left;
	width: 50%;
	position: relative;
	top: -6px;
}

#navwork {
	margin-left: 50%;
	left: 5px;
	top: -6px;
	position: relative;
}


/*		M A I N
----------------------------------------------- */

main {
	padding-top: 110px;
	padding-bottom: 22px;
}

#overview a {
	display: inline-block;
	margin-bottom: 44px;
	overflow-x: hidden;
}

#overview img {
	display: block;
	margin-bottom: 11px;
	max-height: 275px;
	width: auto;
}

#text {
	padding-bottom: 44px;
}

#text p {
	margin-bottom: 22px;
}

#werk div {
	margin-bottom: 44px;
}

#werk img {
	display: block;
	margin-bottom: 11px;
}


/*		R E S P O N S I V E
----------------------------------------------- */

@media screen and (min-width: 400px) {

.narrow {
	width: 75%;
}

#overview a {
	margin-right: 11px;
}

#overview .small img {
	width: auto;
	height: 125px;
}

#overview .medium img {
	width: auto;
	height: 150px;
}

#overview .large img {
	width: auto;
	height: 175px;
}

}


@media screen and (min-width: 600px) {

header {
	font-size: 32px;
	line-height: 33px;
	letter-spacing: -0.01em;
}

#h1 {
	position: relative;
	left: -1px;
	width: calc(50% - 11px);
}

#hextra {
	position: relative;
	left: -1px;
	font-size: 32px;
	line-height: 33px;
	letter-spacing: -0.01em;
}

#navabout {
	position: relative;
	left: -1px;
}

.wrapper {
	margin: 10px 22px 0 22px;
}

#mobilenav {
	right: 22px;
	top: 9px;
}

#mobilenav svg {
	height: 16px;
}

#navwork li {
	position: relative;
	left: -4px;
}

nav li {
	margin: 0 5px 22px 0;
	padding-top: 11px;
}

#overview a {
	margin-right: 18px;
}

}


@media screen and (min-width: 750px) {

.wrapper {
	margin: 10px 44px 0 44px;
}

nav li {
	margin: 0 5px 6px 0;
	padding-top: 6px;
}

#mobilenav {
	right: 44px;
}

#overview a {
	margin-right: 40px;
	margin-bottom: 88px;
}

#text {
	max-width: 700px;
}

.narrow {
	width: 61%;
}

}


@media screen and (min-width: 1000px) {

header {
	font-size: 48px;
	line-height: 44px;
	letter-spacing: -0.02em;
}

header:hover nav {
	display: block;
}

#mobilenav {
	display: none;
}

#h1 {
	left: -3px;
}

#hextra {
	left: -3px;
	line-height: 55px;
	font-size: 48px;
	line-height: 44px;
	letter-spacing: -0.02em;
}

#h1, #h2 {
	line-height: 55px;
}

#navabout {
	left: -3px;
	padding-bottom: 44px;
}

nav {
	margin-top: 44px;
}

nav li {
	margin: 0 5px 6px 0;
	padding-top: 8px;
}

#navwork li {
	left: 0;
}

main {
	padding-top: 176px;
}

#werk div {
	max-width: 1500px;
}

#werk img {
	max-height: 60vh;
	width: auto;
}
	
#werk .zeichnungen_klein img {
	max-height: 45vh;
}

#overview a span, #werk .wrapper div span {
	opacity: 0;
}

#overview a:hover span, #werk .wrapper div:hover span {
	opacity: 1;
}

}


@media screen and (min-width: 1400px) {

body {
	font-size: 18px;
	line-height: 25px;
	letter-spacing: 0.03em;
}

#overview .small img {
	height: 125px;
}

#overview .medium img {
	height: 200px;
}

#overview .large img {
	height: 250px;
}

#overview a {
	margin-bottom: 110px;
}

#text p {
	margin-bottom: 25px;
}

}


@media screen and (min-width: 1700px) {

header {
	font-size: 64px;
	line-height: 60px;
	letter-spacing: -0.03em;
}

#hextra {
	line-height: 60px;
	font-size: 64px;
	line-height: 60px;
	letter-spacing: -0.03em;
}

#h1, #h2 {
	line-height: 60px;
}

#navabout {
	left: -3px;
	padding-bottom: 44px;
}

nav {
	margin-top: 55px;
}

nav li {
	margin: 0 5px 6px 0;
	padding-top: 8px;
}

main {
	padding-top: 220px;
}

#werk div {
	max-width: 1500px;
}

}