root{
  --fwhite: #f7f7f7;
}

html{
  overflow-x: hidden;
}

body {
	padding: 0;
	margin: 0;
  color: #1f1f1f;
	background-color: #f7f7f7;
	line-height: 1.6;
}

@font-face {
  font-family: "Aharoni";
  src: url("aharoni.ttf");
}

header {
  z-index: 1;
  position: sticky;
  top: 0;
  display: flex;
  height: 110px;
  background: linear-gradient(90deg, #1d5b3a, #5a8ca8);
  color: white;
  text-align: center;
}

main, footer {
  font-family: "Roboto", sans-serif;
}

.logo-text {
  font-size: 1.3em;
  margin: 0;
  padding-right: 20px;
  color: #000;
  font-family: "Aharoni";
  background-color: #fff;
  padding-top: 40px;
}

.logo{
  height: 100%;
	display: flex;
  width: auto;
}

.logo img{
  height: 100%;
}

nav{
  float: right;
  padding: 0 0;
  margin: auto 0;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 3vw;
  list-style: none;
}

nav a {
  font-family: "Aharoni";
  font-size: 1.4em;
  color: white;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

nav a:after {    
  background: none repeat scroll 0 0 transparent;
  bottom: 4px;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  background: #fff;
  transition: width 0.2s ease-in-out 0s;
  width: 0;
}

nav a:hover:after { 
  width: 100%; 
}

.fa{
  font-size: 32px;
  margin-right: 20px;
}

.anchor{
  padding-top: 150px;
  margin-top: -150px;
  display: inline-block;
  height: 0;
}

#home-part{
  display: flex;
  margin: 0 16%;
}

#over-part, #werkwijze-part{
  padding: 20px 16%;
  background: linear-gradient(60deg, #f7f7f7, #5a8ca8);
}

#diensten-part, #contact-part{
  padding: 20px 16%;
  background-color: #f7f7f7;
}

.intro {
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 500px;
}

.intro-text{
  font-size: 16px;
  top: auto;
  left:0;
  width: 55%;
  position: absolute;
  flex: 1;
}

.intro img {
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  z-index: -1;
  object-fit: cover;
  top: 0;
  right:0;
  position: absolute;
  width: 60%;
  height: 100%;
}

.content {
  margin-top: 20px;
}

.content ul {
  list-style: square;
  padding-left: 20px;
}

.contact a {
  color: #1d5b82;
  font-weight: bold;
}

footer {
  background: linear-gradient(90deg, #1d5b3a, #5a8ca8);
  color: white;
  text-align: center;
  padding: 20px;
}

@media (max-width: 788px){
  .logo-text {
    font-size: 0.9em;
    position: absolute;
    bottom:0;
    left:0;
    padding:0;
    width: 110px;
  }

  .logo{
    position: relative;
  }

  .logo img{
    position: absolute;
    top:0;
    left:0;
  }

  nav a {
    font-size: 1.2em;
  }

  nav{
    margin-left: 100px;
  }
}

@media (max-width: 546px){
  #home-part{
    margin: 0 4%;
  }

  nav{
    margin-left: 80px;
  }

  #diensten-part, #contact-part, #over-part, #werkwijze-part{
    padding: 10px 4%;
  }

  header, footer{
    height: 80px;
  }

  nav a {
    font-size: 1.0em;
  }

  .content, .intro-text{
    font-size: 13px;
  }

  .logo-text {
    font-size: 0.7em;
    width: 80px;
  }
}