/* Stylesheet für Selfhtml Design 08 
  responsives Layout mit Grid Layout ab Z. 249   */

/* ====================================================   GLOBAL DEFINITION   ==================================================== */

/* alternatives Boxmodell */
html { 
  	box-sizing: border-box; 
	padding: 0;
	margin: 0;	
} 

*, ::before, ::after { 
	box-sizing: inherit; 
}

body {
    margin: 0 auto; 
    font: normal 1em Arial, sans-serif;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
	color: white;
	background:
		radial-gradient(black 15%, transparent 16%) 0 0,
		radial-gradient(black 15%, transparent 16%) 8px 8px,
		radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
		radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
	background-color:#282828;
	background-size:16px 16px;
}

/* ====================================================   Inhalt   ==================================================== */
th{
	color: black;
	border: 2px solid black;
	
	
	
}

a {
  color: skyblue;
}

{
	background:#e6f2f7 ;
}

header {
  max-width: 80em;
  color:white;
  background: #eee;
  margin: 0 auto 1.6em;
  position: relative;
}

header::after {
  position: absolute;
  content: "";
  background: linear-gradient(to top, #feb040 25%, #282523 25%, #282523 50%, #34a2da 50%, #34a2da 75%, #0e76bc 75%);
  height: 1.6em;
  left: 0;
  right: 0;
  bottom: -1.6em;
}

ul{
  color: #CCEEFF;
}
header  {
  padding: 0;
  background-color: #CCEEFF;
}


img {
	
	
	/* hier bild bearbeiten*/
}

h4 {
	font-size: 45px;
	background-color: none;
	color:black;
	
	padding-left: 10px;
	border-left: solid black 10px;
	border-right: solid black 10px;
	
}
h3 {
	font-size: 20px;
	background-color: none;
	color:black;
	
	padding-left: 10px;

	
}
header #logo { /*Text von "a" bearbeiten und logo*/
  display: inline-block;
  background: url('Website/bilder/bus.jpg') no-repeat left center; 
  background-size: 140px;
  color: black;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10em;
  text-decoration: none;
  
  
}

main {
  display: block;   
  max-width: 70em;
  position:relative;
  padding:0 20px 0;
  margin: 0 auto;
  background: #CCEEEF;
 
}

/*Bildergallerie*/
/*-------------------------------------------------------------------------*/


figure {
	position: relative;
	margin: 0;
	padding: 20px 0px 10px 20px; /*top,right,bottom,left*/
	
	
}

figcaption {
	padding: 10px;
	text-align: center;
}


figcaption {
	margin: 10;
	padding: 10px;
}

figure.einzel {
	overflow: hidden;
	position: relative;
	display: inline-block;
	width: auto;	
}
figure.einzel2 {
	overflow: hidden;
	position: relative;
	display: inline-block;
	width: auto;
}
figure.einzel3 {
	overflow: hidden;
	position: relative;
	display: inline-block;
	width: auto;
}figure.einzel4 {
	overflow: hidden;
	position: relative;
	display: inline-block;
	width: auto;
}figure.einzel5 {
	overflow: hidden;
	position: relative;
	display: inline-block;
	width: auto;
}figure.einzel6 {
	overflow: hidden;
	position: relative;
	display: inline-block;
	width: auto;
}


figcaption {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	line-height: 3em;
	color: white;
	background: rgba(0, 0, 0, 0.5);
}

figcaption {
	position: absolute;
	bottom: -3em;

	
	text-align: center;
	line-height: 3em;
	white-space: nowrap;
	color: white;
	background: rgba(0, 0, 0, 0);
	-webkit-transition: all 1s ease;
	transition: all 1s ease;
}




figure:focus figcaption,
figure:hover figcaption {
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(0, 0, 0, 0.5);
}



/*--------------------------------------------------------------------------------------------*/

h3{
  margin: right;
  
	
}




  /* Navigation */

nav {
	margin: 0;	
	width: 100%;
	background: black;
}

nav ul {
	margin: 0;
	padding: 0;
 	font: 1.3em  Arial, Helvetica, sans-serif;
 	list-style-type: none;
}

nav li {
	display: inline;
	margin: 0;
}

nav a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	color: white;
	padding: .5em;
	padding-right: 2em;
	text-align: right;
}



nav a::after{
	content:" ▶";
	color: #feb040;
	display: inline-block;
	width: 2em;
}

nav a:hover::after, nav a:focus::after{
	content:" ▼";
}  

nav a:hover, nav a:focus {
	background: transparent;
	color: #feb040;

}

footer {
  max-width: 70em;
  padding: 1em;
  margin: 1em auto;
  color: #ccc;
}
