body {
	line-height:1.5em;
	color: #111;
	font-size: 15px;
	font-family: verdana;
	background-color: #909679;
	padding: 0;margin:0;
}

h2, h3 {color: #333;}

.diashow-container {
  position: relative;
  width: 550px;       /* Oder feste Breite z.B. 600px */
  height: 550px;     /* Höhe nach Wunsch */
  overflow: hidden;
}

.diashow-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Verhindert Verzerrung */
  opacity: 0;
  
  /* Name der Animation, Gesamtdauer, Endlosschleife */
  animation: endlosschleife 16s infinite ease-in-out;
}

/* Zeitliche Verzögerung für jedes Bild (Gesamtdauer / Bildanzahl) */
.diashow-container .bild-1 { animation-delay: 0s; }
.diashow-container .bild-2 { animation-delay: 4s; }
.diashow-container .bild-3 { animation-delay: 8s; }
.diashow-container .bild-4 { animation-delay: 12s; }

/* Ablauf der Animation für ein einzelnes Bild */
@keyframes endlosschleife {
  0% { opacity: 0; }
  20% { opacity: 1; }  /* Sichtbar werden */
  33% { opacity: 1; }  /* Bleibt voll sichtbar */
  43% { opacity: 0; }  /* Blendet aus */
  100% { opacity: 0; } /* Bleibt unsichtbar bis zum Neustart */
}



/* test */

	
.box {
 overflow: hidden;  /*scrollbalken ausschalten */
 position: absolute; /* Absolute Positionierung */
 width: 0;   /*Breite auf 0 */
 height: 0;   /*Höhe auf 0 */
 left: 0;   /*Position von Links 0 */
 top: 0;   /*Position von Oben: 0 */
 opacity: 0; /*Transparenz ausgeschaltet */ 
}


.box:target {
  width: 100%;
  height: 100%;
  opacity: 1;                     /* Transparenz 100% */
  background: rgba(0, 0, 0, 0.8); /* Hintergrundfarbe und Transp. 80% */
   -moz-transition: opacity 1.5s; /* Zeitdauer für firefox*/
  -o-transition: opacity 1.5s;    /*... für Opera */
  -webkit-transition: opacity 1.5s; /*... für Smartphone, tablet, google*/
}

.box:target img {
position: absolute;
  top: 50%; /*zentriert das Bild von oben */
  left: 50%; /*zentriert das Bild von links */
  margin: -400px 0 0 -400px; /* nach oben und links um 300px */
  border: 15px solid #fff; /Weißer Rand von 15px Breite um das Bild */
  -moz-box-shadow:0 1px 8px #000000; /* Schattenbox Mozilla */
  -o-box-shadow:0 1px 8px #000000; /* Opera... */
  -webkit-box-shadow:0 1px 8px #000000; /*google etc. */
  }
  
  

.schliessen {
  padding: 500px;
  position: absolute;
  
}.schliessen2 {
	font-size:30px;
	color: #fff;
	text-decoration: none ;
top: 0px;right: 0px;
	position: absolute;
  
}

#nav2  {
  position: absolute;
  top: 115px;
  right: 70px;
}

	

#nav  {
	position: absolute;bottom: 15px;left:65px;}
	
.linkunten {
	text-decoration: none;
	border-radius: 3px;
	color:#000;
	padding:5px 10px;
	background-color: #909679;}
	
a:hover {color: #fff;}	

#content {
  padding: 0 25px 30px 25px;
  border-radius: 10px;
  background-color: #585D4E;
  width:1000px;
  height: auto;
  margin-top: 60px;
  margin-bottom: 50px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

#kontakt  {
	width:670px;
	background-color: #909679;
	margin: 50px 0 50px 30px;
   border: solid 10px #909679;	
	border-radius: 10px;}	
	
	

	
#slider{
	width: 550px;
	background-color: #909679;
	margin: 50px 0 50px 40px;
   border: solid 10px #909679;	
	border-radius: 10px;}
	
#galerie  {
	padding:0 10px;
	width: 670px;
	background-color: #909679;
	margin: 50px 0 50px 0;
   border: solid 10px #909679;	
	border-radius: 10px;}
	


#galerietext {
	width:670px;
	border: solid 10px #909679;	
	border-radius: 10px;
	background-color: #909679;
	margin: 50px 0 50px 0;
		}

#adresse {
	margin-top:50px;
	margin-right: 50px;
	float:right;}

#offen {
	top:200px;
	right: 70px;
	position: absolute;
	border-radius: 10px;
	padding:15px;
	background-color: #909679;
	text-align: center;}	
	
.breit {
    width: 48.4%;
    height: auto;
  }	
	
.hoch {
    width: 32%;
    height: auto;
  }	
	
.alex{
	width:300px;
	height:450px;
	}		
		
	
@media (max-width: 1000px){
	

	
.logo {
	margin: 0 auto;
	width:70%;
	height: auto;}
	
#slider{
	width: 550px;
	background-color: #909679;
	margin: 50px auto 50px auto;
   border: solid 10px #909679;	
	border-radius: 10px;}
	
.diashow-container {
  position: relative;
  width: auto;       /* Oder feste Breite z.B. 600px */
  height: 550px;     /* Höhe nach Wunsch */
  overflow: hidden;
}
	
#kontakt  {
	width:auto;
	background-color: #909679;
	margin: 50px 0 50px 0px;
   border: solid 10px #909679;	
	border-radius: 10px;}
	
#content {
  padding: 0 25px 30px 25px;
  border-radius: 10px;
  background-color: #585D4E;
  width:auto;
  height: auto;
  margin-top: 60px;
  margin-bottom: 50px;
  margin-right: 15px;
  margin-left: 15px;
  position: relative;
}

#galerie  {
	width: auto;
	}

#nav2  {
  position: relative;
    top: auto;
    right: auto;
    text-align: center;
    margin-top: 25px;
  }
  
 

	
#offen {
	width: auto;
	top:auto;
	right: auto;
	position: relative;
	border-radius: 10px;
	padding:15px;
	background-color: #909679;
	text-align: center;
	bottom: 20px;}	
	
.alex {width:220px;
	height:330px;}
	


}
	@media (max-width:800px){
		

.logo {
	width:90%;
	height: auto;}

#slider{
	width: 96%;
	background-color: #909679;
	margin: 50px 0% 50px 0%;
   border: solid 10px #909679;	
	border-radius: 10px;}	
	}
	
@media (max-width:600px){
	
#galerie img {
	padding:1%;
	width: 100%;
	height: 100%;}	
	
	.alex{
	width:100%;
	height: auto;
	}	}
	
	




	


