@charset "UTF-8";
/* CSS Document */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* ========================
   RESET PLUS 
=========================== */

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

button, button:focus {
	border: 0;
	outline: 0;
}

html {
	scroll-behavior: smooth;
}

div {
	box-sizing: border-box;
}


/* ========================
   TYPO 
=========================== */

html {
	font-size: calc(30px + (300 - 30) * (100vw - 320px) / (5120 - 320));
}

p, a, h1, h2, h3, h4, ul, li {
	font-weight: 600;
	color: #020202;
	font-family: Helvetica, Arial, "sans-serif";
}

h2 {
	font-size: 0.25rem;
	margin: 2em 0 0.5em;
}

.modal p, .small, .modal ul {
	font-size: 0.25rem;
}

.modal h3, .modal h4 {
	font-size: 0.25rem;
	margin: 2em 0 0.5em;
}

.modal h3 {
	font-weight: 600;
}

.modal h4 {
	margin-top: 1em;
}

.modal ul {
	margin: 1em 0;
}


/* ========================
   LAYOUT 
=========================== */

html {
	background-color: white;
}

.container {
	box-sizing: border-box;
}

.padding {
	padding: 0.25rem;
}

.flex {
	display: flex;
}

#hero {
	width: 100%;
	height: 100vh;
}

#hero-image {
	width: 100%;
	height: 100%;
	background-image: url("../_images/foreststudio-offenburg-hoch.jpg");
	background-size: cover;
	background-position: center;
}

#logo {
	position: absolute;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
}

#logo img {
	max-width: 66.666%;
	align-self: center;
}

#footer {
	margin-top: 2rem;
	justify-content: space-between;
	align-items: baseline;
}



/* MODAL */

.modal {
  display: none; /* none by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(250,250,250); /* Fallback color */
  background-color: rgba(250,250,250,0.75); /* Black w/ opacity */
}

.modal-content {
	background-color: #F5F5F5;
	margin: 0.25rem auto;
	padding: 0.25rem;
	width: calc(100% - 3rem);
	max-width: 2000px;
	overflow-wrap: break-word;
}

#footer .modal-btn {
	background: none;
	cursor: pointer;
	margin: 0 0 0 15px;
	padding: 0;
}

body.modal-open {
	height: 100vh;
	overflow-y: hidden;
}


/* ========================
   INTERACTIVE 
=========================== */

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.close {
	font-size: 1.5rem;
	text-align: right;
	line-height: 0.5em;
}

.close:hover, .close:focus {
  text-decoration: none;
  cursor: pointer;
	opacity: 0.5;
}



/* ========================
   RESPONSIVE 
=========================== */

@media (orientation: landscape){
	#hero-image {
		background-image: url("../_images/foreststudio-offenburg-quer.jpg");
	}
}

@media(min-width:499px){
	#logo img {
		max-width: 50%;
	}
}

@media(min-width:999px){
	#logo img {
		max-width: 33.33%;
	}
}
