@charset "utf-8";
/* CSS Document */

body, html{
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 100%;
	font-family: "Helvetica", sans-serif;
/*	background: #6A5143; */
/*	background: #FCDCAC; */
	background: #fafafa;
	}


nav ul{
	list-style: none;
	padding: 0;
	background:#FCDCAC;
	}

nav ul li a{
	colo:#291210;
	text-decoration: none;
	padding: .8rem 1rem;
	display: block;
	line-height: 1;
	}

nav ul li{
	border-bottom: 1px dotted #291210;
	/*text-align: center;*/
	}
	
	/*logo styl*/
nav div:first-child img{
	height: 60px;
	}
	
nav div:first-child{
	background: #FCDCAC;
	}

nav div:first-child h1{
	line-height: 0;
	padding: .8rem 0rem;
	text-align: center;
	} 
	
nav div:first-child h1, nav ul{
	margin: 0;
	}

.haederlink:link {
	color: #492328;
	}
	
.haederlink:visited {
	color: #6A5143;
	}
	
.image-container img {
	position: center;
    width: 100%;
    max-width: 100%;
    height: auto;
	margin-bottom: 1rem;
	}

main {
	background-color: white; 
 	color: black; 
	max-width: 1200px; 
 	margin: 0 auto;
	padding-bottom: 0;
	border-bottom: 0;
	}
	
div#wrapper { 
	display: flex;
	} 
	

	
article {
	    flex-grow: 0; 
        flex-shrink: 1; 
        flex-basis: auto; 
		padding: 1rem;
/*		border: 5px solid; 
		border-color: #6A5143; */
        margin: 1rem;
	}	

	
.text1 {
	margin: 1rem;
	padding-top: 1rem;
/* 	min-width: 80%;	
	max-width: 60%; */
    }
	
.text2 {
	margin: 1rem;
	padding-top: 1rem;
	padding-left: 1rem;
	padding-right: 1rem;
	border-left: 2px solid;
	border-color: #6A5143;
	background-color: #fafafa;
	text-align: center;
    }
	
.image-container-artikel img {
	width: 100%; 
    max-width: 100%;
    height: auto;
	margin-bottom: 1rem; 
	}

.hd-text {
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-color: #6A5143;
	padding: 1rem;
    margin: 1rem;
	}
	
footer {
	background: #6A5143;
	margin-top: 1rem;
	padding-top: 0;
	border-top: 0;
	}
	
	
.footerlink:link {
	color: #FCDCAC;
	}
	
.footerlink:visited {
	color: #8C7A35;
	}
	
.footernav {
	padding: 1rem;
	text-align: center;
	}


	
/* styl small display*/	

@media only screen and (max-width: 669px){

	nav ul li{
	text-align: center;
	}
div#wrapper { 
	display: flex;
	flex-direction: column;
	} 	
	
	
	
	}
	
	
/* styl big display*/

@media only screen and (min-width: 670px){

		
	nav{
		display: flex;
		justify-content: space-between;
		background: #FCDCAC;
		align-items: center;
		}
	nav ul{
		display: flex;
		align-items: center;
		background: none;
		flex-wrap: wrap;
		}
	nav div:first-child h1{
		padding: 0;
		margin: 0 1rem;
		}
	nav ul li{
		border-bottom: none;
		flex: 1 0 auto;
		position: relative;
		}
	nav ul li a{
		padding: 1.7rem 1rem;
		}
	nav ul li a::before, nav ul li a::after{
		content: "";
		position: absolute;
		bottom: 0;
		right: 0;
		width: 0%;
		height: 2px;
		background: #291210;
		transition: .2s width ease-in-out;
		}
	nav ul li a::before{
		left: 0;
		}
	nav ul li a:hover::after,nav ul li a:hover::before{
		width: 50%;
		}
		
	article:nth-child(1) {
		flex-grow: 2;
	 	} 
	article:nth-child(2) {
		flex-grow: 1;
	  	}	
		
	footer {
		display: flex;
		flex-flow: row;
		justify-content: center;
		}
		
