﻿/* GLOBAL */

body {
   background:  url("bg1.png") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: #cccccc;
}


 a {
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
}

 a:hover {
  background-color: #f71792 ;
  color: white;
}

 a:active {
  background-color: #f9f823 ;
  color: #f71792;
 }
 
/* HEADER */

.header {
  background-color: #f71792;
  background: rgb(247, 23, 164); /* Fallback for older browsers without RGBA-support */
  background: rgba(247, 23, 164, 1);
  padding: 10px;
  text-align: center;4
  border: 5px solid #f9f823;
}
.header p.main {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 60px;
	letter-spacing: 20px;
}

/* BLOCKS */

.spacer {
	  background-color: #333;
	  opacity: 0;  
	  width: 25%;
	  height: 150px;
	
}
/*Willkommen*/
.block1 {
  background-color: #f71792 ;
  margin-left: 25%;
  margin-right: 25%;
  opacity: 1;
  padding: 2px;
  width: *%;
 
}
.block1 p.main {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 50px;
	letter-spacing: 10px;
	text-align: center;
}
.block1 p.sub1 {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 25px;
	letter-spacing: 10px;
	text-align: center;
	padding-left: 5%;
	padding-right: 5%;
}

/*Konzept*/
.block2 {
  background-color: #333;
  margin-left: 25%;
  margin-right: 25%;
  opacity: 0.9;
  padding: 2px;
  width: *%;
}
.block2 p.main {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 60px;
	letter-spacing: 20px;
	text-align: center;
}
.block2 p.sub1 {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 25px;
	letter-spacing: 10px;
	text-align: left;
	padding-left: 5%;
	padding-right: 5%;
}
/*Kontakt*/
.block3 {
  background-color: #333;
  margin-left: 25%;
  margin-right: 25%;
  opacity: 0.9;
  padding: 2px;
  width: *%;
}
.block3 p.main {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 60px;
	letter-spacing: 20px;
	text-align: center;
}
.block3 p.sub1 {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 25px;
	letter-spacing: 10px;
	text-align: left;
	padding-left: 5%;
	padding-right: 5%;
}
/*Über Uns*/
.block4 {
  background-color: #333;
  margin-left: 25%;
  margin-right: 25%;
  opacity: 0.9;
  padding: 2px;
  width: *%;
}
.block4 p.main {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 60px;
	letter-spacing: 20px;
	text-align: center;
}
.block4 p.sub1 {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 25px;
	letter-spacing: 10px;
	text-align: left;
	padding-left: 5%;
	padding-right: 5%;
}
.block4 p.sub2 {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 25px;
	letter-spacing: 10px;
	text-align: left;
	padding-left: 5%;
	padding-right: 5%;
}
/*Impressum*/
.block5 {
  background-color: #f71792;
  margin-left: 25%;
  margin-right: 25%;
  opacity: 0.9;
  padding: 2px;
  width: *%;
}
.block5 p.main {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 60px;
	letter-spacing: 20px;
	text-align: center;
}
.block5 p.sub1 {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 25px;
	letter-spacing: 10px;
	text-align: left;
	padding-left: 5%;
	padding-right: 5%;
}
.block5 p.sub2 {
	color: #FFFFFF;
	font-family: "Times New Roman", Times, serif;
	font-size: 15px;
	letter-spacing: 5px;
	text-align: left;
	padding-left: 5%;
	padding-right: 5%;
}



/*SLIDE SHOW*/
/* Mobile first - für schmale Viewports */

ul,li {
	margin: 0.1em;
	padding: 0.1em;
}
li {
	display: inline-block;
	list-style-type: none;
	width: 45%;
}

#pic_gal1  {
	padding: 0;
	margin: 0;
	width: 100%;
	/* Bild passt sich an verfügbaren Raum im li ann */
}

button {
	padding: 0.1em;
}
/* Large screens */

@media all and (min-width: 35em) {
	li {
		width: 10em;
	}
	button {
		padding: 0.1em;
		width: 10em;
		height: 7.5em;
		position: relative;
	}
	button #pic_gal1 {
		border: 0;
		position: absolute;
		left: 0%;
		top: 0%;
		z-index: 1;
		box-shadow: 0;
		width: 10em;
		transition: all 1s;
	}
	button:focus  #pic_gal1 ,
	button:hover #pic_gal1 {
		border: 2em solid #eee;
		border-radius: 1em;
		position: absolute;
		left: -4%;
		top: -4%;
		width: 400%;
		z-index: 5;
		box-shadow: 1px 1px 5px #333;
		transition: all 1s;
	}
}
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
/* MENUE */


#navbar {
  /*margin-left: 25%;
  margin-right: 25%;*/
  overflow: hidden;
  background-color: #333;
  opacity: 0.9;
  z-index: 2;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 5px;
  
}

#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 16px 14px;
  text-decoration: none;
  font-size: 17px;
}

#navbar a:hover {
  background-color: #f71792 ;
  color: white;
}

#navbar a:active {
  background-color: #f9f823 ;
  color: #f71792;
}


/* Page content */
.content {
  padding: 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width:100%;

}

.pic1_off {
	display:none;
}
.pic1_on {
	display:active;
	-webkit-animation-name: fade;
	-webkit-animation-duration: 2s;
	animation-name: fade;
	animation-duration: 2s;
}



.sticky + .content {
  padding-top: 60px;
}


/* PICS */


#pic1 {
	  z-index: -1;
	  opacity: 1;
	    position: fixed;
		left:8px;
		top: 50px;
		
}


#top_pic1l {
	  z-index: -1;
	  opacity: 0.7;
	    position: fixed;
		left:8px;
		top: 50px;
}
#top_pic1r {
	  z-index: -1;
	  opacity: 0.7;
	    position: fixed;
		left:8px;
		top: 50px;
}

#pic2-1 {
	float: center;
	padding: 5%;
}
#pic2-2 {
	float: center;
		padding: 5%;
}

