@charset "utf-8";
/* CSS Document */

/* große Viewports 
@media all and (min-width: 800px) {
  main {
    flex-direction: row;
	  justify-content: center;
	 
  }
  header, article, nav, section, aside, footer {
    flex: 1 ;
  }
}*/

/* große Viewports / für Bildschirme mit großer Auflösung (>700) */
@media all and (min-width: 800px) {
html, body{
margin: auto;
padding:0;
width: 90%;
justify-content: center;
	align-items: center;
	
/*overflow:hidden;*/
}
.flex-container {
    flex-direction: row;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	  }
.flex-container2 {
	display: flex;
	flex-basis: 100%;
    flex-direction: row;
	
	
  }	
.haupt{
	/*width:100%;*/
	height:  43em;/*656px;*/
	background:url('../img/Platz2.jpg') #fff no-repeat  ;
    background-size:cover;
	justify-content: center;
	align-items: center;
	float:left;
	border-top: 2px solid white;
	overflow:hidden;
	transition:height .2s ease-in-out;
	display: flex; 
	flex-direction: row ;
	}
	.header{
  	display: none;
  	}
	.flex-item-l2 {
	width: 15%;
		align-items: center;
		justify-content: center;
		padding:2% 2% 2% 2%;
}
	.flex-item-l1 {
	width: 15%;
		align-items: center;
		justify-content: center;
		padding:2% 2% 2% 2%;
}
	.flex-item-l1 img{
	width: 90%;
}
	.flex-item-l2 img{
	width: 100%;
}
	
	.flex-item3 {
	flex:auto;
	flex-grow: 9;
	text-align: center;
	border: 2px solid white;
	background: linear-gradient(20deg, grey, lightgrey, darkblue);
	opacity: 0.85;
	text-decoration:none;
	font-family:'HelveticaBold';
	font-size: 20px;
    color: darkblue;
}
.flex-item4 {
	flex: auto;	
	width: 70%;
	align-self: stretch;
	text-align: center;
	border: 2px solid white;
	border-radius: 4px; 
	background: linear-gradient(20deg, grey, lightgrey, darkblue);
	padding:2% 2% 2% 2%;
	margin: 2% 2% 2% 2%;
	font-family:'HelveticaBold';
	font-size: 1.5em;
    color: darkblue;
}	
	.flex-item5 {
	flex: auto;	
	width: 70%;
	text-align: center;
	justify-content: center;
	padding:0% 2% 0% 2%;
	margin: 0% 2% 0% 2%;
	font-family:'HelveticaBold';
	font-size: 1em;
    color: white;
}
}


/* Bilder immer 100% anzeigen bei Vergrößern/Verkleinern */
.img {
	width: 100%;
	
}

/* Navigation */
@media screen and (max-width: 800px) {
html, body{
margin:0;
padding:0;
width: 100%;
justify-content: center;
	align-items: center;
/*overflow:hidden;*/
}
	.header1{
  	display: flex;
  	flex-direction: column;
	justify-content: center;
	padding:2%;
	background: linear-gradient(20deg, grey, lightgrey, darkred);
	height: auto;
	border-top: 2px solid white;
	color: white;
	font-family:'HelveticaBold';
	font-size: 4vw;
	text-align: center;
}	
	.flex-container {
    flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
  }
.flex-container1 {
  display: flex;
  flex-direction: row;
	justify-content: center;
	align-items: center;
} 	
  /* Logos */
.flex-item {
	flex: auto;
	flex-grow: 1;
	text-align: center;
	padding: 6% 4% 6% 4%;
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
}
/*	.flex-item img{
	width: 80%;
}
	.flex-item-l2 {
	width: 60%;
}
	.flex-item-l1 {
	width: 50%;
}*/
	.flex-item-l1 {
	flex: auto;
	flex-grow: 1;
	text-align: center;
	padding: 6% 4% 6% 4%;
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
}
	.flex-item-l2 {
	flex: auto;
	flex-grow: 1;
	text-align: center;
	padding: 6% 4% 6% 4%;
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
}
	.flex-item-l1 img{
	width: 50%;
}
	.flex-item-l2 img{
	width: 60%;
}
	
	.flex-item4 {
	flex: auto;	
	width: 70%;
	text-align: center;
	border: 2px solid white;
	border-radius: 4px; 
	background: linear-gradient(20deg, grey, lightgrey, darkblue);
	padding:2% 2% 2% 2%;
	margin: 2% 2% 2% 2%;
	font-family:'HelveticaBold';
	font-size: 1.5em;
    color: darkblue;
}

.flex-item4 img{
	width: 20%;
	height: auto;
}
.flex-item5 {
	flex: auto;	
	width: 70%;
	text-align: center;
	align-items: center;
	justify-content: center;
	padding:2% 2% 2% 2%;
	margin: 2% 2% 2% 2%;
	font-family:'HelveticaBold';
	font-size: 1.5em;
    color: white;
}
	nav {
    display: none;
  	}
  .bar1,
  .bar2,
  .bar3 {
	align-content: center;  	 
	width: 95%;
    height: 5px;
    background-color: #333;
    margin: 5px 0;
  	}
	
	/* Überschriften */
	ub1{
		font-family:'HelveticaBold';
		font-size: 3em;
		color: white;
		}
	ub2{
		font-family:'HelveticaBold';
		font-size: 2em;
		color: white;
		text-align: center;
		}
	ub4{
		font-family:'HelveticaBold';
		font-size: 25px;
    color: white;	
		}
	/* Werbung */
	#slider-second
{
	height: 100%;
	justify-content: center;
	align-items: center;
}
#slider-second
{
	margin: auto;
	overflow: hidden;
	padding: 20px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	margin-top: 10%;
	margin-bottom: 10%;
	border-radius: 10px;
	box-shadow: 2px 2px 14px rgba(0, 0, 0, 0.25);
	position: relative;
	/*width: 600px;*/
	width: 90%;
}

@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}

/*body { margin: 0; } */
div#slider-second { overflow: hidden; }
div#slider-second figure img { 
	width: 20%; 
	float: left;
	padding: 0 2%}
div#slider-second figure { 
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 30s slidy infinite; 
}
.Kopf{
	justify-content: center;
	align-items: center;
	}
