html {
  width: 100%;
  height: 100%;
  
  font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  font-size: 18px;
  font-size: 2.1vm !important; /* IE 9 */
  font-size: 2.1vmin !important;
  color: #48504F;
  
  overflow-x: hidden;
}

address {
  font-style: normal;
}

a {
  text-decoration: inherit;
  color: inherit;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
}

em {
  font-style: normal;
  text-transform: uppercase;
}

body {
  width: 100%;
  height: 100%;
  
  margin: 0;
}

#sidebar {
  position: fixed;
  box-sizing: border-box;
  
  top: 0;
  left: 0;
  
  height: 100%;
  width: 16%;
  width: 16vw;
  
  padding-top: 1em;
  
  background-color: #ede9dc;
  
  -webkit-box-shadow: 0.4em 0 0.6em rgba(0,0,0,0.6);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow: 0.4em 0 0.6em rgba(0,0,0,0.6);  /* Firefox 3.5 - 3.6 */
  box-shadow: 0.4em 0 0.6em rgba(0,0,0,0.6);
  
  text-align: center;
  
  z-index: 1;
}

#sidebar .bottom {
  position: absolute;
  
  width: 100%;
  
  bottom: 0;
  margin-bottom: 5em;
  
  overflow: hidden;
}

#sidebar #impressum-link  {
  display: block;
  margin-top: -0.3em;
}


#sidebar #datenschutz-link  {
  display: block;
  margin-bottom: 0.6em;
}


#impressum-link.active  {
  text-transform: uppercase;
}

#sidebar h1 {
  position: relative;
  
  left: 16%;
  
  font-size: 0;
  
  width: 103%;
  height: 27%;
  
  background-image: url('../img/logo.png');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

#sidebar h1 a {
  display: block;
  width: 100%;
  height: 100%;
}

#sidebar .mail {
  display: block;
  margin-bottom: 4em;
}

#sidebar ul.claim {
  text-transform: uppercase;
}

#sidebar ul {
  list-style-type: none;
  padding: 0;
}

#sidebar-address  {
  opacity: 0;
  margin-bottom: 1em;
  
  white-space: nowrap;
  
  transition: opacity 0.5s;
}

#sidebar nav a {
  display: block;
  text-decoration: none;
}

#sidebar nav a:hover {
  text-decoration: underline;
}

#sidebar nav a.active {
  text-transform: uppercase;
}

body > section {
  position: relative;
  box-sizing: border-box;
  
  left: 16%;
  left: 16vw;
  
  width: 84%;
  width: calc(100vw - 16vw);
  height: 100%;
  
  border-top: 1px solid transparent;
}

body > section > content {
  display: block;
  box-sizing: border-box;
  
  position: relative;
  width: 100%;
  width: calc(100vw - 16vw - 17px);
  height: calc((100vw - 16vw - 17px) / (2144 / 1440));
  margin-top: calc((100vh - ((100vw - 16vw - 17px) / (2144 / 1440))) / 2);
  margin-left: inherit;
  
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  
  text-align: center;
}

body.reduced > section > content {
  min-height: 100%;
}

@media (min-aspect-ratio: 2244 / 1200) {
  body > section > content {
    width: calc(100vh * (2144 / 1440));
    height: 100vh;
    margin-top: inherit;
    margin-left: calc(((100vw - 16vw - 17px) - (100vh * (2144 / 1440))) / 2);
  }
}

body > section h1 {
  font-size: 600%;
  font-weight: normal;
  text-transform: uppercase;
  line-height: 1em;
  text-align: left;
  
  margin: 0;
  
  color: #ede9dc;
  text-shadow: 0.05em 0.05em 0.05em rgba(0,0,0,0.5);
}

body > section .profile {  
  border: 0.1em solid #ede9dc;
  border-radius: 0.33em;
}

body > section:nth-child(odd) > content {
  //border: 1px solid red;
}

body > section:nth-child(even) > content {
  //border: 1px solid blue;
}

.scroller-down, .scroller-up {
  position: fixed;
  
  height: 2.6em;
  width: 4em;
  
  left: 5.5%;
  left: calc(8% - 2em);
  left: calc(8vw - 2em);
  bottom: 5%;
  
  background-size: contain;
  background-repeat: no-repeat;
  
  cursor: pointer;
  
  opacity: 0;
  pointer-events: none;
  
  z-index: 1;
}

body > section.active .scroller-down, body > section.active .scroller-up {
  opacity: 1;
  pointer-events: inherit;
}

.scroller-down {
  background-image: url('../img/scroll-down.png');
}

.scroller-up {
  background-image: url('../img/scroll-up.png');
}

@media screen and (max-height: 768px) {
  html {
	font-size: 14px;
  }
}

@media screen and (max-height: 512px) {
  html {
	font-size: 13px;
  }
  
  #sidebar {
    padding-top: 0.75em;
  }
  
  #sidebar .claim {
    margin: 0.5em;
  }
  
  #sidebar .bottom {
    margin-bottom: 0.75em;
  }
  
  .scroller-down, .scroller-up {
    bottom: 3%;
  }
}

@media screen and (max-height: 386px) {
  html {
	font-size: 9px;
  }
}

@media screen and (max-height: 288px) {
  html {
	font-size: 7px;
  }
}

#warning {
  position: fixed;
  box-sizing: border-box;
  
  top: 0;
  left: 16%;
  left: 16vw;
  
  width: 84%;
  width: calc(100vw - 16vw);
  
  padding: 0.3em;
  
  background-color: #B61E3F;
    
  -webkit-box-shadow: 0.4em 0 0.6em rgba(0,0,0,0.6);  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow: 0.4em 0 0.6em rgba(0,0,0,0.6);  /* Firefox 3.5 - 3.6 */
  box-shadow: 0.4em 0 0.6em rgba(0,0,0,0.6);
  
  font-size: 85%;
  text-align: center;
  color: white;
  
  z-index: 9;
}