*{
	margin:0;
	padding:0;
	border:none;
	}


/* Absatz */


p {
  font-family: sans-serif;
  font-size: 1.1em; 
  text-align: left; 
  line-height: 1.4; 
  color: #422918;
  margin-left: 25%;
  margin-right: 10%;
  padding-bottom: 25px;
}

/* Überschrift h1 */

h1 {
  font-family: sans-serif;
  font-size: 2.2em; 
  text-align: justify; 
  font-weight: bold;
  line-height: 25px;
  background: url('../bilder/blau.gif');
  background-repeat: repeat-x;
  display: inline-block;
  padding: 0px 5px 0px 5px;
  margin-left: 50px;
  margin-bottom: 25px;
  margin-top: 30px;
  color: #422918;
}

/* Überschrift h2 */

h2{
	font-family: sans-serif;
	font-weight: bold;
	color: #8dcfdc;
	font-size: 1.4em;
	margin-left: 25%;
    margin-right: 10%;
	margin-top: 20px;
	margin-bottom: 25px;
	}

/* Body */
body {
  background-color: lightgrey;
}

/* gesamtlayout umschließt navigation und body, steuert Seitenbreite*/
#gesamtlayout   {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/*Bilder im Header, Katze und Maus*/

#kopf{
	position: relative;
}

#cat {
	width: 100%;
	position: relative;
	z-index: 1;
}

#mouse{
	width: 25%;
	position:absolute;
	top: -20%;
	z-index: 2;
	left: 60%;
}

/*Navigation*/

nav{
	background-color: white;
}

nav ul{
	list-style-type:none;
	margin-left: 50px;
	}
	
nav li{
	display:inline-block;
	width:90px;
	text-align: center;
	font-family: sans-serif;
	font-size: 16px;
	margin-bottom: 20px;
	margin-top: 20px;
	}
	
nav a{
	text-decoration:none;
	color:#422918;
	display:block;
	padding: 3px;
	}
	
nav a:hover{
	color:white;
	background-color:#8dcfdc;
    }

main{
	background-color: white;
}

#gallery {
  margin-left: 50px;
}

#gallery figure{
	float: left;
	width: 30%;
	margin: 1%;
}

#gallery img{
	width: 100%;
}

footer{
	font-family: sans-serif;
	height: 30px;
    padding-left: 50px;
	padding-top: 10px;
    background-color:#8dcfdc;
    color: white;
	clear: both;
}

.clearfix::after{
	content: "";
	display: block;
	clear: both;
}

/* Das Kontaktformular */
form {
  font-family: sans-serif;
  font-size: 1.1em; 
  text-align: left; 
  line-height: 1.4; 
  color: #422918;
  margin-left: 200px;
  margin-right: 50px;
  background-color: #8dcfdc;
  width: 370px; /* Breite des Formulars */
  padding: 20px;
}


label {display: block; padding: 1ex; }
.flex label { cursor: pointer }

input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}

input[type=email] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}

input:focus {
    outline: none;  
	border: 2px solid #422918;
}

textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  background-color: white;
  resize: none;
  margin-top: 15px;
}

textarea:focus {
    outline: none;  
	border: 2px solid #422918;
}

input[type=button], input[type=submit], input[type=reset] {
  background-color: #47A5B2;
  border: none;
  color: white;
  padding: 16px 32px;
  font-weight: bold;
  margin: 4px 2px;
  cursor: pointer;
  margin-top: 20px;
margin-bottom: 20px;
}

/*Radfahrer-Maus am Ende der Kontakt-Seite*/

#radfahrer img{
	width: 100%;
}

#radfahrer{
	width: 25%;	
	position:relative;
	left: 10%;
}


/*gallery on page about*/

.container {
  position: relative;
  width: 31%;
  float: left;
  margin-left: 1.2%;
  margin-right: 1%;
 margin-bottom: 5%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #8dcfdc;
}

.container:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 1.8em;
  font-family: sans-serif;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

/*Listen im Textblock*/

list ul{
	margin-left: 250px;
	margin-right: 100px;
	margin-bottom: 15px;
	margin-top: 15px;
	}

list li{
	width:100%;
	font-family: sans-serif;
    font-size: 1.1em; 
    text-align: left; 
    line-height: 1.4; 
    color: #422918;
  	}
