/* ---------------------------------------------- Browser CSS reset --- */
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, font, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-weight:inherit;
  font-style:inherit;
  font-size:100%;
  font-family:inherit;
  vertical-align:baseline;
}

img {
  vertical-align:bottom;
}

:focus {
  outline:0;
}

ol, ul {
  list-style:none;
}

table {
  border-collapse:collapse;
  border-spacing:0;
  font-size:1em;
}

caption, th, td {
  text-align:left;
  font-weight:normal;
}

blockquote:before, blockquote:after, q:before, q:after {
  content:"";
}
blockquote, q {
  quotes:"" "";
}

a img {
	border:none;	
}

/*-------------------------------------- Schriften und Links --*/
h1 {
	width:1px;
	height:1px;
	text-indent:-999999px;
}

h2 {
	font-size:16px;
	font-weight:bold;
}

h3 {
	color:#f3f3f3;
	font-style:italic;
	font-size:0.75em;
	letter-spacing:1px;
	line-height:15px;
	margin-bottom:15px;
}

a:visited, a:active { text-decoration:none }
a:link { color:#000; text-decoration:none;} 
a:visited { color:#000; text-decoration:none;}
a:active { color:#000; text-decoration:none;}
a:hover { text-decoration:underline !important;}


/*-------------------------------------- Layout --*/

html, body { height:100% }

body {
  font-size:1.0em;
	color:#000;
	background:#f6f6f6;
	line-height:1.5em;
	text-align:center;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}

h2 {
    text-transform: lowercase;
    font-size:2.5em;
    margin-left:10px;
}

.tagline {
  font-size:1.1em;
  margin:10px 0 0 0px;
}

h2 span {
  font-weight: bold;
  font-size: 0.4em !important;
  vertical-align: super;
  padding-left:3px;
}

#agb h2 {
	margin:20px 0 20px 0;
	font-size:20px;
}

.agb {
	margin-top:50px;
}

.main {
	text-align: center;
	font-size:25px;
	margin:80px 0 60px 0 !important;
}

.logo {
	width:300px;
	margin:60px 0 50px 0;
}

p {
	font-size:12px;
}

.outer {
	margin-top:-50px;
    display: table;
    position: absolute;
    height: 100%;
    width: 100%;
}

.middle {
    display: table-cell;
    vertical-align: middle;
}

.inner {
    margin-left: auto;
    margin-right: auto; 
    max-width:420px; /*whatever width you want*/;
}

  .links {
  font-size:0.7em;
  position: fixed;  
  bottom: 0;         
  left: 0;          
  width: 100%;       
  z-index: 1000; 
  padding:20px 0 50px 0;
  }

/*-------------------------------------------------------------- Mobile Adjustments */

@media screen and (max-width: 768px) {

	body {
		font-size:0.8em;
	}

  .logo {
  	width:60% !important;
  	margin:30px 0 30px 0;
  }

  .inner {
  	max-width:100%;
  }

  .links {
  	font-size:0.7em;
  	padding:20px 0 30px 0;
  }

  .outer {
  	margin-top:0px;
  }

}


/*-------------------------------------------------------------- Canvas */

html, body { overflow:hidden; overscroll-behavior:none; }

.viewport {
  position:fixed;
  top:0; right:0; bottom:0; left:0;
  z-index:1;
  overflow:hidden;
  touch-action:none;
  -webkit-user-select:none;
  user-select:none;
}
.viewport.is-dragging { cursor:grabbing; }

.world {
  position:absolute;
  top:0; left:0;
  width:0; height:0;
  transform-origin:0 0;
}

.flash {
  position:absolute;
  display:block;
  height:auto;
  max-width:none;
  opacity:0;
  transition:opacity .6s ease;
  pointer-events:none;
  -webkit-user-drag:none;
}
.flash.is-in { opacity:1; }

/* Logo-Ebene liegt über dem Canvas, lässt aber Drag/Zoom durch */
.outer { z-index:10; pointer-events:none; }
.outer a { pointer-events:auto; }

/* heller Hof, damit Logo und Links lesbar bleiben, wenn Grafiken darunter durchlaufen */
.inner { position:relative; }


.reset {
  position:fixed;
  right:20px; bottom:20px;
  z-index:20;
  background:none;
  border:0;
  padding:0;
  font:inherit;
  font-size:0.7em;
  color:#000;
  cursor:pointer;
}
.reset:hover { text-decoration:underline; }
.reset:focus-visible { outline:2px solid #000; outline-offset:3px; }

@media (prefers-reduced-motion: reduce) {
  .flash { transition:none; }
}
