
/* <----------------Base style----------------> */
/* Import Merriweather font*/
@import url('https://fonts.googleapis.com/css?family=Merriweather');

body {	
  font-size: 1,125em !important; /* 18/16 px */
  font-family: "Merriweather", serif;
}

ul{ list-style: none; }

/* <----------------Header style----------------> */
header{
	background: url(../../img/headerbild2.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
  height: 400px;
	border-bottom:10px solid;
	border-top: 20px solid;
}

header > img{
	position: relative;
	display: block;
	margin: auto;
	width: 400px;
}

header > img + img{
	width:20px;
	position: absolute;
	top:40px;
	right: 5px;
	background: black;
}

header > img + img{
	width:20px;
	position: absolute;
	top:40px;
	right: 5px;
	background: black;
}

/* <----------------Nav styling----------------> */
.container{
	display:flex;
	flex-direction: column;
}

.navContainer{
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: auto;
	border-radius: 20px 0;
	box-shadow: 0 1px 20px gray;
}

.navContainer a{
	text-decoration: none;
	padding: 5px;
	display:block;
	height: 100%;
	width: 100%;
}

.navContainer a:link{
	color: black;
	text-decoration: none;
}

.navContainer a:visited{
	color:black;
}

.navContainer div:hover{
	background:#CFD8CA !important;
	border-radius: inherit;
}

.navLink{
	flex: 1 1 auto;
	text-align: center;
	padding: 5px;
}

.currentPage{
	background:#CFD8CA;
	border-radius: 20px 0px;
}

/* <----------------Main-content styling----------------> */
main {
  width: 90%;
  margin: auto;
  padding: 10px;
  margin-top: 50px;
}

main > h3 {
  text-align: left;
}

main img {
  width: 100%;
  box-shadow: 0px 2px 5px black;
}

.mainFlexContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: no-wrap;
  justify-content: space-around;
}

.flexItem {
  flex: 300px 1 1;
  margin: 0 30px;
}

/* <----------------Footer styling----------------> */					
footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 0px;
  background: #C4D0BF;
  height:100px;
  box-shadow:  0 -2px 10px rgba(0,0,0,0.7);
  clear: both;   
}

footer > div img{
  width: 30px;
  height: 30px;
  transition-property: transform;
  transition-duration: 0.5s;        
}

footer > div img:last-child{
  margin-left: 20px;
}

footer > div img:hover{
	transform:rotate(20deg);
	cursor: pointer;
}

/* <----------------Media Queries----------------> */
@media all and (min-width: 801px){
	.navContainer{flex-direction: row;
		width: 400px;
	}
}

@media (max-width: 800px ){
	header img{
		width:250px;
		margin-top: 50px;
	}
	.navContainer{
		box-shadow: 0;	
	}
	.navLink {
		box-shadow: 0 1px 10px  black;
	}
}

@media all and (max-width: 900px){
  .mainFlexContainer {
    flex-direction: column;
  }
  .flexItem {
    margin: 0;
  }
}