
body, html {
    margin: 0;
    font: 400 0.95em "Lato", sans-serif;
    color: black;
    line-height: 1.6;
    
    
}

body { background: #F8E0F1;  
}
	   
.header {
	background-color: #F5A9E1;
	width:100%;
	height:auto;
	padding:0;
	margin:0;
}



.logo{
	width:80%;
	height:6em;
	margin: 0;
    padding: 0;
	padding-top:1em;
	margin-left: auto;
	margin-right:auto;
	background-color:#F5A9E1;
	border-bottom-style: solid;
	border-bottom-color:#b13131;
	border-bottom-width: 1px;
}
.main{
	width:80%;
	margin-left: auto;
	margin-right:auto;
	height: auto;
	display: flex; 
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: stretch;
}

.hauptteil{
	width:75%;
	height: auto;
	margin: 0;
    padding: 0;
	margin:3em;
	
}
.hauptteil2{
	width:100%;
	height: auto;
	margin: 0;
    padding: 0;
	margin:3em;

	
}

@media only screen and (max-device-width: 640px) {
    .hauptteil2{
    width:100%-4em;
	margin: 0.5em;
    }
}
.hauptteil1{
	width:100%;
	height: auto;
	margin: 0;
    padding: 0;
	display:flex;
	justify-content: space-between; 
	padding:0.6em;
	padding-top: 2em;
	
}
@media only screen and (max-device-width: 640px) {
    .hauptteil1{
    flex-direction:column;
    }
}

.news{
	width:25%;
	height: auto;
	margin: 0;
    padding: 0;
	margin:3em;
	border-left-style: solid;
	border-left-width:1px;
	padding:0.6em;
}

h3 {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font: 1em "Lato", sans-serif;
    color:  black;
}

h4 {
	letter-spacing: 0.1em;
    text-transform: uppercase;
    font: 1.5em "Lato", sans-serif;
    color:  #b13131;
}
@media only screen and (max-device-width: 640px) {
    h4{
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font: 0.95em "Lato", sans-serif;
    color:  #b13131;
    }
}

@media only screen and (max-device-width: 640px) {
    .haupteil{
    width:100%;
	margin-left: auto;
	margin-right:auto;
    }
}
@media only screen and (max-device-width: 640px) {
    .news{
    width:100%;
	margin-left: auto;
	margin-right:auto;
	border: none;
    }
}
@media only screen and (max-device-width: 640px) {
    .main{
    width:100%;
	flex-direction: column;
	margin:0;
    }
}

img {
  width: auto; 
  height: 6em;
  float:left;
  padding-right:2em;
}
@media only screen and (max-device-width: 640px) {
    img{
    padding-right:0.1em;
    }
}

@media only screen and (max-device-width: 640px) {
 img{
    height:4em;
    }
}
	   
nav ul {
	display: flex; 
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: stretch;
	list-style: none;
	list-style-type: none;
	width: 80%;
	height:4em;
	margin: 0;
    padding: 0;
	background-color:#F5A9E1;
	margin-left: auto;
	margin-right: auto;
}

nav li {
	width:100%;
}

nav a {
	display: block;
	padding: 0.4em;
	color: #b13131;
	text-decoration: none;
  	letter-spacing: 0.1em;
    text-transform: uppercase;
    font: 1em "Lato", sans-serif;
	background-color: #D0F5A9;
	transition: all .15s ease-in;
	text-align: center;
	margin-left: 0;
	margin-right:0;
	
}
@media only screen and (max-device-width: 640px) {
    nav ul{
    flex-direction: column;
	align-content: stretch;
	width:100%;
	height:auto;
	margin-left: 0;
	margin-right:0;
    }
}
@media only screen and (max-device-width: 640px) {
    .logo{
    width:100%;
	height:4em;
	margin-left: 0;
	margin-right:0;
    }
}



nav a:focus,
nav a:hover{
	background-color: #F8E0F1;
	color:black;
}
nav a:active {
	text-decoration: underline;
}


nav .submenu { 
	flex-direction: column;
	width:100%;
	top: -9999px;
	visibility: hidden;
	height:0;
	
}
nav .submenu li { 
     z-index:100;
}
 
 
nav ul li:hover ul {
    visibility: visible;
	height: auto;
	z-index:100;
	
}

@media only screen and (max-device-width: 640px) {
    nav .submenu a{
    background-color:#F8E0F1;
    }
}


.active {
  background-color: #F8E0F1;
}

}








