body {
  margin: 0;
  padding: 0;
  font-size: 100%;
  background-color: #1FD994;
  overflow-x: hidden;
}
section {
  position: relative;
  height: 100vh;
  top: 0;
  left: 0;
}
.waveBottom{
  position: absolute;
  width: 100%;
  height: 10%;
  bottom: 0px;
  max-height: 15vh;
}
.waveTop{
  position: absolute;
  width: 100%;
  height: 12%;
  top: 0px;
  transform: scaleX(-1);
  max-height: 15vh;
}
.tag {
  z-index: 5;
  position: fixed;
  text-align: left;
  text-decoration: none;
  font-family: 'Baloo 2', cursive;
  line-height: 1em;
  font-size: 30px;
  text-transform: uppercase;
  color: #EDE3C8;
  margin-left: 20px;
  margin-top: 20px;
}
/* CSS voor section een */
#section1{
  padding: 0;
}
header {
  left: 0;
  width: 100%;
  height: 50%;
  display: flex;
  padding-top: 17vh;
  justify-content: center;
}
.headerText {
  position: relative;
  text-align: right;
  font-family: 'Baloo 2', cursive;
  color: #0f0f10;
  text-transform: uppercase;
  display: inline-block;
  height: 400px;
  margin: 10px;
}
.headerImg {
  position: relative;
  display: inline-block;
  height: 400px;
}
header img {
  padding-top: 53px;
  width: 370px;
  height: auto;
  /*  filter: drop-shadow(0 0 0.30rem black);*/
}
header h1 {
  line-height: 1em;
  font-size: 80px;
  margin-bottom: 0px;
}
header p {
  line-height: 1em;
  font-size: 20px;
  color: #0f0f10;
}

#section1 a:hover {
  text-decoration: none;
}

/* CSS voor section twee */
#section2 {
  background-color: #0F0F10;
  height: auto;
  padding-bottom: 10%;
  padding-top: 10%;
}
@media screen and (min-width: 801px){
.card-s2{
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  gap: 50px;
  order: 3;

}
.box1 {
  width: 25%;
	max-width: 500px;
  height: 500px;
  background-image: url("../img/niels_foto.avif");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 10% 22%;
  order: 1;
  border: solid #EDE3C8 5px;
  border-radius: 30px;
}
.box1:hover{
	  width: 25%;
	max-width: 500px;
  height: 500px;
  background-image: url("../img/niels_foto2.avif");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 10% 22%;
  order: 1;
  border: solid #EDE3C8 5px;
    border-radius: 30px;
}
.abouttext {
  padding: 10px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  color: #EDE3C8;
  order: 2;
}
}

#section3{
  padding-bottom: 20%;
  padding-top: 10%;
  display: flex;
  justify-content: center;
  height: auto;
}
.portfolio{
  position: absolute;
  font-family: 'Baloo 2', cursive;
  text-align: center;
  font-size: 50px;
  margin-bottom: 50px;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 200px;
  width: 100%;
  max-width: 1400px;
}

.box {
  width: 400px;
  height: 250px;
  margin: 20px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0px 0px 44px 7px rgba(0,0,0,0.4);
  transition-timing-function: ease-in-out;
  transition-duration: 0.1s;
}

.box:hover {
  transform:scale(1.1);
  overflow: hidden;
  position: relative;
  box-shadow: 0px 0px 44px 7px rgba(0,0,0,0.6);
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.box .text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;

}
.box .background-box {
  position: absolute;
  bottom: 0;
  height: 60px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  box-sizing: border-box;
}
#section4{
  padding-bottom: 5%;
  padding-top: 5%;
  background-color: #0F0F10;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  font-family: 'DM Sans', sans-serif;
}

h2, p, a{
  color: #EDE3C8;
  text-decoration: none;
}
.contact-block {
   width: 300px;
   height: 100px;
   background-color: #0F0F10;
   text-align: center;
   margin: 10px;
   padding: 20px;
   border-radius: 15px;
   border: solid #EDE3C8 5px;
 }

a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 800px){
  .waveTop, .waveBottom{
    height: 4%;
    max-height: 5vh;
  }
  .tag {
    font-size: 20px;
    margin-left: 20px;
    margin-top: 20px;
  }
  #section1{
  header {
    flex-direction: column;
    align-items: center;
  }
  header h1 {
    line-height: 1em;
    font-size: 50px;
    margin-bottom: 0px;
  }
  header p {
    line-height: 1em;
    font-size: 18px;
  }
  .headerImg {
    position: relative;
    height: 400px;
    order: 1;
  }
  .img1 {
    padding-top: 50px;
    width: 250px;
    height: auto;
    /*  filter: drop-shadow(0 0 0.30rem black);*/
  }
  .headerText {
    position: relative;
    text-align: center;
    height: 400px;
    margin: 10px;
    order: 2;
  }
}


  #section2{
    padding-bottom: 20%;
    padding-top: 20%;
  }
  .card-s2{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-flow: column wrap;
    font-family: 'DM Sans', sans-serif;
    order: 3;
  }
  .box1{
    display: flex;
	  margin: 5%;
  width: auto;
  height: 40vh;
  background-image: url("../img/niels_foto.avif");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 10% 22%;
  order: 1;
  border: solid #EDE3C8 5px;
  border-radius: 30px;
  }

  #section2 p br {
    display: none;
}

  .abouttext {
	  width: 100%;

    text-align: center;
    font-family: 'DM Sans', sans-serif;
    color: #EDE3C8;
    order: 2;
  }
  #section3{
    padding-bottom: 30%;
    padding-top: 10%;
  }
  .box:hover {
    transform:scale(1);
    overflow: hidden;
    position: relative;
    transition-duration: 0.3s;
    box-shadow: 0px 0px 44px 7px rgba(0,0,0,0.4);
  }

  #section4{
    flex-direction: column;
    padding-bottom: 5%;
    padding-top: 5%;
  }
  .contact-block {
  width: 70%;
}
a:hover {
  text-decoration: none;
}

