body {
	font: 20px "Corbel Light", sans-serif;
	background-color: #eee;
	background-image: url("img/background.jpg");
	background-position: top center;
	background-attachment: local;
	background-repeat: no-repeat;
}

/*Überschrift*/
h1 {
	color:#000; /*dark brown*/
	text-align: center;
}

/*Überschrift*/
h2 { 
   color:#000  ;
   text-align: center;
} 

/*Text*/
p {
    color: #000;
	text-align: center; 
}

#about {
  display: flex;
  justify-content: center;
}

#contact {
	background-color: #FFF ;
    text-align: center;
    margin: 30rem 30rem 0;
	margin-bottom: 20em;

}

/* Footer */
footer {
  display: flex;
  justify-content: center;
  position: relative;
  background-color: #ddd; 
  margin: 1rem 1rem 0;
  padding: 1rem;
}
.details {
  display: block;
  z-index: -10;
  position: absolute;
  left: auto;
  right: auto;
  bottom: 1em;
  background-color: #ddd;
  border: 0em solid black;
  border-radius: 0em;
  padding: 1em 1em .2em;
  width: 26em;
  max-height: 20em;
  overflow: auto;
  opacity: 0;
}
.details h2, 
.details h3, 
.details h4, 
.details h5, 
.details p, 
.details ol li, 
.details ul li {
  color: black;
}
.details h2 {
  box-shadow: initial;
  padding: initial;
  margin: initial;
}
.details h3 {
  padding: initial;
}
.details h3::before {
  content: none;
}
.details:target {
  opacity: 1;
  z-index: 10;
}
.close {
  width: 0;
  heigh: 0;
  border: 0;
  text-shadow: none;
  color: transparent;
}
.close:after {
  position: absolute;
  top: .5em;
  right: .5em;
  content: "×";
  color: red;
  background: transparent;
  display: block;
  text-align: center;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
}
summary {
  padding-left: 2em;
  color: #000;
  font-weight: bold;
  position: relative;  
}
summary::marker {
   color: transparent;
}
summary::after {
   content:  "+"; 
   position: absolute;
   color: black;
   font-size: 1.5em;
   font-weight: bold; 
   left: 1em;
   top: -.1em;
   transition: all 0.5s;
} 
details[open] summary::after {
 color: black;
 transform: translate(5px,0) rotate(45deg);
}

/*Menu*/
/*Smartphone*/
nav {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  align-items: center;
  margin-bottom: 5em;
}
li.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0em;	
  margin: 0em;
}
a.nav {
  display: inline-block;
  flex: 1;
  border: 0em solid #f009;
  border-right: 0em solid #f005;
  border-bottom: 0em solid #f005;
  border-radius: 0em;
  background: #000; /*DarkSlateBlue;*/
  color: gray;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  padding: .5em;	
  margin: .5em 0;		
}
a:active {
  color: dark blue;
  text-shadow:
     .1em  .1em .2em #333,
     .1em -.1em .2em #333,
    -.1em  .1em .2em #333,
    -.1em -.1em .2em #333;
  background: #666;
}
a:visited {
  color: white;
}
/*Computer*/
@media (min-width: 51em) {
  nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 2em;
  }
 li.nav {
    display: inline;
    padding: 0em;	
    margin: 0em;
    list-style-type: none;
  }
  a.nav {
    display: inline-block;	
    border: 0;
    border-radius: 0em;
    background: #000; /*DarkSlateBlue;*/
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: .5em;	
    margin: .5em 2.5em;		
  }
  a:hover {
    background: #282828;
  }
  a:active {
    color: black;
    background: #666;
  }
  a:visited {
    color:  white;
	/*background:  #ffd500;*/
  }
}

/*Fotoserie*/
#fotoserie {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  /*border: 1em solid #000;
  border-right: 5em;
  border-radius: 0em;*/
  margin-left: -.8em;
  margin-right: .8em;
  margin-bottom: 1em;
}
#fotoserie figure {
  flex: 1 1 0%;
  margin: 0;
  padding: 0;
}
#fotoserie img {
  width: 100%;
  margin-left: 0.8em;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0em;
  padding: 0;
  border-radius: 0;
}
/*
#gallery {
  display: inline-block;
  flex: 1;
  border: 0em solid #f009;
  border-right: 0em solid #f005;
  border-bottom: 0em solid #f005;
  border-radius: 0em;
  background: #000; /*DarkSlateBlue;
  color: white;
}*/

/*Galerie*/
#gallery {
  width: 20em;
  height: 15em;
  margin: 0 auto;
  overflow: hidden;
  border: 1em;
  border-color: #000;
}

@media (min-width: 40em)  { 
#gallery {
  width: 40em;
  height: 30em;
}
}

@media (max-width: 60em)  { 
#gallery {
  width: 60em;
  height: 45em;
}
}
  
#gallery figure {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

#gallery figcaption {
  position: absolute;
  left: 1em;
  bottom: 1em;
  color: white;
}

#gallery img {
  width: 100%;
  margin: 0;
  padding: 0;  
}
	/*Gallerie Animation*/
#gallery figure {
  height: 100%;
  animation: slide 40s infinite ease-in-out;
}

#gallery:hover figure {
  animation-play-state: paused;
  
}
@keyframes slide {
    0%   {top: 0}
    8%  {top: 0}
    10%  {top: -100%}
    18%  {top: -100%}
    20%  {top: -200%}
    28%  {top: -200%}
    30%  {top: -300%}
    38%  {top: -300%}
    40%  {top: -400%}
    48%  {top: -400%}
    50%  {top: -500%}
    58%  {top: -500%}
	60%  {top: -600%}
    68%  {top: -600%}
	70%  {top: -700%}
    78%  {top: -700%}
	80%  {top: -800%}
    88%  {top: -800%}
    90% {top: -900%}
	98%  {top: -900%}
    100%  {top: 0}
}