body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a:link, a:visited{
  text-decoration: none;
}

a:hover, a:active{
  text-decoration: underline;
}

h3{
font-family: 'Nunito', sans-serif;
}

/* h3:after { */
  /* border-bottom: 0.3em solid red; */
  /* content: ''; */
  /* display: block; */
  /* height: 100%; */
  /* width: 4em; */
  /* padding-top: 0.5em; */
/* } */

h4 {
  margin-bottom: 0em;
  margin-top: 2em;
}

.flex-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.main {
    flex: 1;
	padding-right: 2em;
	padding-left: 2em;
}

header {
  background-color: white;
  padding-left: 2em;
  padding-top: 2em;
  height: 8em;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header .text {
  display: inline-block;
  font-family: 'Titillium Web', sans-serif;
  padding-left: 2em;
}
.titelhome {
  padding-top: 0em;
  font-family: 'Titillium Web', sans-serif;
}	
.titelhome h1 {
  margin: 0;
  color: black;
  text-transform: uppercase;
  font-size: 2.9em;
 }
.titelhome h2 {
  margin-top: 0.1em;
  color: black;
  text-transform: uppercase;
font-size: 0.8em;
 }
 
header h1 {
  margin: 0;
  color: black;
  text-transform: uppercase;
  font-size: 2.9em;
 }
header h2 {
  margin-top: 0.1em;
  color: black;
  text-transform: uppercase;
font-size: 0.8em;
 }
header .image, .header .text {
  display: inline-block;
  vertical-align: top;
}

nav {
  font-family: 'Nunito', sans-serif;
}
nav ul{
  list-style-type: none;
  padding-left: 2em;
  padding-right: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #111433;
  
}
nav li a{
  display: inline-block;
  text-transform: uppercase;
  font-size: 1em;
  flex: 1;
  line-height: 4em;
  margin-left: 2em;
  color: white;
}

main {
  margin-top: 2em;
  margin-bottom: 2em;
  align-items: center;
  justify-content: center;
  text-align: left;
  font-family: 'PT Sans', sans-serif;
  font-size: 1em;
}

#inhoud {
	width: 50%;
margin: 0 auto;
overflow: visible;
max-width: 60em;
line-height: 1.3;
}

footer{
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  width: 100%;
  background-color:#111433;
  text-align: center;
  height:5em;
  width:100%;
  color:white;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8em;
}
footer a {
  font-family: 'Nunito', sans-serif;
  color: white;
}

#dienstencontainer {
   display: flex;
   flex-direction: row;
   align-items: center;
   justify-content: flex-start;
}

.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  justify-content: flex-start;
}

.home{
  text-align:center;
}

  

@media screen and (max-width:1600px) and (max-height:900px) {
  .flex-item {
    max-width: 490px;
    padding-right: 5em;
  }
  img.diensten {
    width:100%;
    max-width:490px;
  }
}

@media screen and (max-width:1440px) and (max-height:900px) {
  .flex-item {
    max-width: 460px;
    padding-right: 4em;
  }
  img.diensten {
    width:100%;
    max-width:460px;
  }

}
@media screen and (max-width:1280px) and (max-height:1024px) {
  .flex-item {
    max-width: 425px;
    padding-right: 3em;
  }
  img.diensten {
    width:100%;
    max-width:425px;
  }
}


/* @media (any-hover: none) and (pointer: coarse) {
  .flex-body {
    flex-direction: column;
    flex: 1;
  }
  .menu {
  order: -1;
  }

.flex-container {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

nav {
  text-align: center;
  font-size: 2em;
}
h3{
font-size: 2em;
}
main {
font-size: 1.5em;
}
li {
  line-height: 1.5;
}


} */

@media screen and (max-width:1100px) {
  .flex-body {
    flex-direction: column;
    flex: 2;
  }
  .menu {
	  display: flex;
  order: -1;
	flex-direction: column;
  }
  .flex-container {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
  }


  .flex-item {
    max-width: 600px;
    padding-right: 3em;
  }
    .flex-item2 {
    max-width: 600px;
    padding-right: 3em;
  }
img.medewerkers {
  width:100%;
  max-width:600px;
}
  nav {
    text-align: center;
    font-size: 2em;
  }
  h3{
  font-size: 2em;
  }
  main {
  font-size: 1.5em;
  }
  #homecon {
    padding-left: 0em;
  }
  #contactcon {
    padding-left: 4em;
  }

  li {
    line-height: 1.5;
  }
  
  nav ul{
	 flex-direction: column;
	  
  }
	nav li{
    color: white;
	display: block;
	margin-left: 0em;
	}
  .titelhome {
  padding-top: 4em;
  font-family: 'Titillium Web', sans-serif;
  }
  main { 
  font-size: 1.3em;
}
}

