#main {
    background: transparent;
}

#content {
    border: none;
    background: none;
    z-index: 50;
}

#impressum-click {
    font-family: sans-serif;
    font-size: 15px;
    border: none;
    background-image: url(../images/bg-impressum.png);
    background-size: 100%;
    background-repeat: no-repeat;
    width: 85px;
    height: 27px;
    margin: 0px;
    padding: 10px;
    top: 0px;
    left: 0px;
    position: absolute;
    opacity: 0.85;
    z-index: 150;
    visibility: visible;
}

#impressum {
    font-family: serif;
    font-size: 14px;
    line-height: 20px;
    color: white;
    border-width: 1px;  
    border-style: solid;
    border-color: white;
    background: #E34083;
    width: 60%;
    max-height: 76%;
    margin-left: 16%;
    margin-right: 16%;
    padding: 4%;
    top: 10%;
    overflow-y: auto;
    overflow-x: hidden;
    position: absolute;
    opacity: 0.85;
    z-index: 100;
    visibility: hidden;
}
#close {
    font-family: sans-serif;
    font-size: 16px;
    color: white;
    text-align: right !important;
    display: block;
    opacity: 1;
}

a:link {
    text-decoration: none;
    color: white;
}
a:visited {
    text-decoration: none;
    color: white;
}

a:hover {
    text-decoration: underline;
    color: white;
}

a:active {
    text-decoration: none;
    color: white;
}

.bildzoom {/* Bilder an div anpassen */
    float: left;
    width: 100%;
    border: none;
    max-width: 3000px; /* maximale Bildgröße festlegen */
}

img.scaled {
    position: absolute;
    width: 100%;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#content figure {
    position: absolute;
    width: 100%;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    z-index: 50;
}

#content figure:nth-of-type(1) {
  -webkit-animation: fade 90s ease-in-out infinite;
  animation: fade 90s ease-in-out infinite;
}
#content figure:nth-of-type(2) {
  -webkit-animation: fade 90s 6s ease-in-out infinite;
  animation: fade 90s 6s ease-in-out infinite;
}
#content figure:nth-of-type(3) {
  -webkit-animation: fade 90s 12s ease-in-out infinite;
  animation: fade 90s 12s ease-in-out infinite;
}
#content figure:nth-of-type(4) {
  -webkit-animation: fade 90s 18s ease-in-out infinite;
  animation: fade 90s 18s ease-in-out infinite;
}
#content figure:nth-of-type(5) {
  -webkit-animation: fade 90s 24s ease-in-out infinite;
  animation: fade 90s 24s ease-in-out infinite;
}
#content figure:nth-of-type(6) {
  -webkit-animation: fade 90s 30s ease-in-out infinite;
  animation: fade 90s 30s ease-in-out infinite;
}
#content figure:nth-of-type(7) {
  -webkit-animation: fade 90s 36s ease-in-out infinite;
  animation: fade 90s 36s ease-in-out infinite;
}
#content figure:nth-of-type(8) {
  -webkit-animation: fade 90s 42s ease-in-out infinite;
  animation: fade 90s 42s ease-in-out infinite;
}
#content figure:nth-of-type(9) {
  -webkit-animation: fade 90s 48s ease-in-out infinite;
  animation: fade 90s 48s ease-in-out infinite;
}
#content figure:nth-of-type(10) {
  -webkit-animation: fade 90s 54s ease-in-out infinite;
  animation: fade 90s 54s ease-in-out infinite;
}
#content figure:nth-of-type(11) {
  -webkit-animation: fade 90s 60s ease-in-out infinite;
  animation: fade 90s 60s ease-in-out infinite;
}
#content figure:nth-of-type(12) {
  -webkit-animation: fade 90s 66s ease-in-out infinite;
  animation: fade 90s 66s ease-in-out infinite;
}
#content figure:nth-of-type(13) {
  -webkit-animation: fade 90s 72s ease-in-out infinite;
  animation: fade 90s 72s ease-in-out infinite;
}
#content figure:nth-of-type(14) {
  -webkit-animation: fade 90s 78s ease-in-out infinite;
  animation: fade 90s 78s ease-in-out infinite;
}
#content figure:nth-of-type(15) {
  -webkit-animation: fade 90s 84s ease-in-out infinite;
  animation: fade 90s 84s ease-in-out infinite;
}

-webkit-@keyframes fade {
    2.222222222222222%, 6.666666666666667%          {opacity:1;}
       0%, 8.888888888888889%, 100% {opacity:0;}
}
@keyframes fade {
    2.222222222222222%, 6.666666666666667%          {opacity:1;}
       0%, 8.888888888888889%, 100% {opacity:0;}
}
/*
A:                 Anzahl der Bilder (15 Bilder)
Z:                 Zeit die ein Bild komplett sichtbar ist (4 Sekunden)
D:                 Dauer einer Überblendung (2 Sekunden)
G = ( Z + D ) * A: Gesamtdauer der Animation (90 Sekunden)
S = G / A:         Staffelung der Startzeiten (6 Sekunden)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{opacity:0;} -                                  = 0%
{opacity:1;} - [ 100% * D / G  ]                = 2.222222222222222%
{opacity:1;} - [ 100% / A ]                     = 6.666666666666667%
{opacity:0;} - [ 100% * ( Z + ( 2 * D ) ) / G ] = 8.888888888888889%
{opacity:0;} -                                  = 100%
*/