/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #000;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
	color: #000;
	font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
	font-weight: 300;
	line-height: 1.5em;
	font-size: 17px;
	margin: 0;
	background-color: #ff8d5b;
}
@media only screen and (max-width: 1200px) {
	html, body {
		font-size: 16px;
	}
}
@media only screen and (max-width: 700px) {
	html, body {
		font-size: 14px;
	}
}

body::before,
body::after {
	background-color: #ff8d5b;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	right: 0;
	height: 2rem;
	content: "";
	display: block;
}
body::after {
	top: auto;
	bottom: 0;
}

figcaption {
	font-size: .8em;
}

a {
	color: #000;
	text-decoration: none;
	border-bottom: 1px solid #000;
	outline: none;
}
a:focus {
	outline: none;
}
a:link {
	text-decoration: none;
}

img {
	outline:1px solid transparent;
}
@media only screen and (min-width: 1200px) {
	img {
		-webkit-transform: translate3d(0, 0, 0);
		-moz-transform: translate3d(0, 0, 0);
		-ms-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

h1 {
	line-height: 1.1em;
}

figure {
	margin: 4em auto 5em auto;
	display: block;
}

figure img,
figure video {
	max-width: 800px;
	width: 95%;
	height: auto;
	display: block;
	margin: 0 auto 0 auto;
	padding: 0 .5em;
	box-sizing: border-box;
}

#content {
	margin-bottom: 6rem;
}

#wrap {
	position: relative;
	z-index: 2;
	padding: 5rem 2rem 6rem 2rem;
	background-color: #ff8d5b;
	box-sizing: border-box;
}
#wrap::before {
	position: fixed;
	background-color: #d4af96;
	content: "";
	display: block;
	top: 2rem;
	left: 2rem;
	right: 2rem;
	bottom: 2rem;
	z-index: -1;
}
#inner-wrap {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
    text-align: center;
	flex-wrap: wrap;
	padding: 0 1em;
}

#logo {
	width: 240px;
	position: relative;
	margin: 3em auto 0 auto;
}
#logo img {
	width: 100%;
	height: auto;
	display: block;
}
#content {
	width: 100%;
	text-align: center;
	display: inline-block;
}

section.footer {
	background-color: transparent;
	overflow: hidden;
	padding: 4em 1em;
	margin-top: 6em;
}

#impressum {
	position: fixed;
	bottom: 0px;
	text-align: center;
	font-size: 0.5em;
	width: 100%;
	box-sizing: border-box;
	padding: 0 20px;
	line-height: 1.5em;
	opacity: 0.6;
}
#impressum:hover {
	opacity: 1;
}
#impressum a {
	border: none;
}
@media only screen and (max-width: 1200px) {
	#impressum {
		font-size: 0.7em;
	}
}
@media only screen and (max-width: 700px) {
	#impressum {
		font-size: 0.7em;
	}
}






/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
	position: absolute;
	overflow: hidden;
	clip: rect(1px 1px 1px 1px);
	height: 1px;
	width: 1px;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
