/* ################ PC Anpassung ################# */
* {
    margin: 0;
    padding: 0;
}

body {
    text-align: center;
    font-family: Arial, sans-serif;
    background-repeat: no-repeat;
    background-attachment: fixed;
    line-height: 1.5;
    font-size: 100%;
    max-width: 1024px;
    margin: 0 auto;
    border: 2px solid #E7F4F1;
    border-radius: 10px;
    margin-top: 1em;

 }

#seite {
    max-width: 1024px;
    margin: 0 auto;
    text-align: left;
    background-color: #FFFFFF;
    }



#steuerung  {
    background-color: #E7F4F1;
    font-size: 1.2em;
    padding-bottom: 0.3em;
    padding-top: 0.3em;
    margin-bottom: 1em;
    text-align: center;
}

.logo {
     margin-right: 6em;
}

#steuerung li {
    display: inline;
    border-right: 1px solid black;
    padding-right: 0.5em;
    margin-left: 0.5em;
}

#steuerung a:link {
    color: #000000;
    text-decoration: none;
}

#steuerung a:hover {
     background-color: #7B9393;
}

.menue-button  {
      display: none;
   }

.active {
	background-color: white;
	text-decoration: none;
		}


#inhalt {
	margin-left: 4em;
	margin-right: 4em;
	margin-top: 2em;
	margin-bottom: 2em;
	     }

.a1 {
		text-align: center;
		margin-bottom: 1em;
		}

    hr {
    	margin-bottom: 2em;
    	margin-top: 2em;
      color: #E7F4F1;
    	}

      a {
         color: #768185;
         text-decoration: underline;
      }

    h2 { color: #768185;
     }

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

     
main {
	background: transparent;
	border-color: transparent;
	}

#gallery {
	position: relative;
	margin: 0;
	background: none;
	border: none;
	}


#gallery figure {
	position: absolute;
	display: inline-block;
	top: 0;
	left: 0;
	z-index: 1;
	animation: wechseln 37s infinite;
}

#gallery figure:last-of-type {
	position: relative;
}

#gallery  figure figcaption {
	position: absolute;
	left: 1em;
	font-size: 2em;
	font-weight: bold;
	bottom: 0.5em;
	z-index: 2;
	color: white;
}

@keyframes wechseln {
	0% {
		opacity: 0;
	}
	20% {
		opacity: 1;
	}
	40% {
		opacity: 1;
	}
	60% {
		opacity: 0;
	}
	100% {
		opacity: 0;
	}
}


#gallery figure:nth-of-type(1) {
	animation-delay: 0s;
	opacity: 0;
}


#gallery figure:nth-of-type(2) {
	animation-delay: 9s;
	opacity: 0;
}

#gallery figure:nth-of-type(3) {
	animation-delay: 15s;
	opacity: 0;
}

#gallery figure:nth-of-type(4) {
	animation-delay: 21s;
	opacity: 0;
}

#gallery figure:nth-of-type(5) {
	animation-delay: 27s;
	opacity: 0;
}

#fuss {
    text-align: center;
    font-size: 0.8em;
    color: #000000;
    }

/* ############ Mobile Anpassung ############## */
/* mobile Geräte */
@media only screen and (max-width: 440px) {

#kopf {
    background-repeat:no-repeat;
    background-position: top center;
    background-size: 100%;
   }

   #inhalt {
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
  }

}



/* ################## Tablets und mittlere Bildschirme ######################## */
@media only screen and (min-width: 440px) and (max-width: 1024px) {

#kopf {
    background-repeat:no-repeat;
    background-position: top center;
    background-size: 100%;
  }

  #inhalt {
   margin-left: 2em;
   margin-right: 2em;
   margin-top: 1em;
   margin-bottom: 1em;
  }

}

/*	Menü-Button oben rechts einblenden bei kleiner als 600px */

@media only screen and (max-width:600px) {
	.menue-button {
		display: block;
		margin-bottom: 2em;
	}
	
	.menue-button {
		background-color: #5F9EA0;
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		padding: 0.5em;
		color: white;
		cursor: pointer;
		text-decoration: none;
	}	
	
	#steuerung {
		float: left;
		width: 100%;
		display: none;
	}	
	
#steuerung li {
		list-style: none;
                float: left;
		width: 100%;
		border-bottom: 2px solid silver;
	}
	
	.menue-button:hover {
		color: black;
		background: #E7F4F1;
	}

.logo {
     display: none;
}

#header {
     margin-top: 2em;
}


#nav-menue:target #steuerung {
    display: block;
}


#nav-menue:target .menue-button-open {
    display: none ; 
}    

}


