 /* 
 Handmade Kris Merckx
 */

 html {
  scroll-behavior: smooth;
}

img{ 
  max-width: 100%;
}

 * {
    margin: 0;
    padding: 0;
    transition: all 0.2s;
    font-family:"komet";
}

:root {
    --duurzaam: rgb(160,176,32);
    --magaziniers: rgb(214,130,17);
    --duurzaam-fade: rgba(160,176,32, 0.5);
    --magaziniers-fade: rgba(214,130,17, 0.5);
    --stories: rgb(0,112,105);
    --studio: rgb(224,181,0);
    --campagnes: rgb(0,175,199);
    --studio-fade: rgba(224,181,0,0.5);
    --campagnes-fade: rgba(0,175,199,0.5);
}

nav{
  padding-top:13px;
  padding-bottom:13px;
  display:flex; 
  justify-content: center;
  margin-bottom:13px;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999999;
  background-color:rgba(255,255,255,0.8);
}

nav a{
  text-transform: uppercase;
  font-weight:bold;
  padding:6.5px;
  padding-left:13px;
  padding-right:13px;
  color:black;
  text-decoration:none;
}

body {
    font-family: Arial, sans-serif; 
}

header {
  display:flex;
  justify-content: center;
  flex-direction: column;
  align-items:center;
  text-align:center;
  margin-top:6.5vh;
}
header article{
  padding:39px;
}

header article p{
  font-size: 1.3rem;
}

header img{
  width: 13vw;
  padding-top:13px;
}

/* Stijl voor de geknipte achtergrond en de achtergrond van de boomsectie */
.clipped-background-lb,
.clipped-background-rb,
#content {
    background-size: 100vw 100vh; /* Beide secties krijgen dezelfde achtergrondgrootte */
    background-position: 50% 0%; /* Positie aanpassingen om de afbeelding op dezelfde plek te laten beginnen */
    background-repeat: no-repeat;
}


.clipped-background-lb,
.clipped-background-rb {
    cursor: pointer;
}

.studio{
  background-image: url('../../links/studio.jpg');
}

.campagnes{
  background-image: url('../../links/campagnes.jpg');
}


.duurzaambg{
    background-image: url('../../links/boom.jpg'); /* Zelfde afbeelding voor beide */
}

.duurzaam{
  background-image: url('../../links/boom.jpg'); /* Zelfde afbeelding voor beide */
}

.magaziniers,
.magaziniersbg{
  background-image: url('../../links/magaziniers.jpg'); /* Zelfde afbeelding voor beide */
}

.mag,
.dz{
  width:100vw;
  display:flex; 
  flex-direction: column;
  align-items:center;
  text-align:center;
  justify-content: center;
}

.dz{
  min-height:300px;
  background-color:var(--duurzaam);
}

.mag{
  min-height:300px;
}

.dz h2{
  font-size:1.6rem;
  padding:13px !important;
  border: 0px !important;
  color:white;
}

.dz p{
  color:black;
  font-weight:bold;
}

.mag{
  background-color:var(--magaziniers); 
  color:white;
  height:200px;
}



.clipped-background-lb,
.clipped-background-rb{
    width: 554px;
    height: 350px;
}

.studio,
.campagnes{
  margin-top:26px;
}

.studiofigs,
.campagnesfigs{
  display:flex;
  justify-content: center;
  width:100%;
}

.studiofigs figure,
.campagnesfigs figure{
  display:flex;
  justify-content:center;
  overflow:hidden;
}

.ourstudio,
.ourstudio article{
  width:100%;
  margin:0 !important;
  padding: 0 !important;
}

.ourstudio article section{
  width:80%;
  margin:auto;
  padding:39px;
}

.ourstudio article section h3{
  text-transform: uppercase;
  padding:6.5px;
  display:inline-block;
}

.ourstudio article:nth-child(odd) {
  background-color: white; /* Stijl voor oneven artikelen */
}

.ourstudio article:nth-child(odd) p{
  color:black !important;
}

.ourstudio article:nth-child(odd) h3{
  background-color:var(--studio);
}

.ourstudio article:nth-child(even) h3{
  border: 2px solid white;
}

.ourstudio article:nth-child(even) {
  background-color: var(--studio); /* Stijl voor even artikelen */
}

.sidebyside{
  display:flex;
}
.sidebyside div{
  text-align:right;
  padding-right:13px;
  flex: 0 0 55%;
}

.sidebyside div h3{
  padding-right:13px;
}



.sidebyside figure{
  border-radius:50%;
  width:300px;
  height:300px;
  object-fit:cover;
  object-position:center;
  overflow:hidden;
}

.sidebyside figure img{
  border-radius:50%;
  /*border:1px solid black;*/
}

/* Div met clip-path voor polygon3 */
.clipped-background-lb {
    margin-right:12px;
    background-position-x: calc(50% + 283px);
    clip-path: url('#lb'); /* Clip-path wordt toegepast */
}

.clipped-background-rb {
    background-position-x: calc(50% + 283px);
    clip-path: url('#rb'); /* Clip-path wordt toegepast */
}

#duurzaam{
  background-color:var(--duurzaam);
}

#magaziniers{
  background-color:var(--magaziniers);
}


#studio{
  background-color:var(--studio);
  transform: scaleY(-1);
}

#campagnes{
  background-color:var(--campagnes);
  transform: scaleY(-1);
}

.studio-fade{
  background-color:var(--studio-fade) !important;
}

.campagnes-fade{
  background-color:var(--campagnes-fade) !important;
}


.duurzaam-fade{
  background-color:var(--duurzaam-fade) !important;
}

.magaziniers-fade{
  background-color:var(--magaziniers-fade) !important;
}

.clipped-background-rb {
    clip-path: url('#rb'); /* Clip-path wordt toegepast */
    background-position-x: calc(50% - 283px);
    /*transform: scaleX(-1);*/
}

/* Boomsectie */
#content {
    min-height: 300px;
    overflow: auto;
    background-position-y: -350px;
}

#content > article:first-of-type{
  min-height: 370px;
}

#content .scrollingtext:first-of-type{
  display:none;
}



.scrollingtext{
  font-size:3.4rem;
  text-transform:uppercase;
}


#uppernav {
    margin-top: -39px;
    display: flex;
    justify-content: center;
    width:100%;
    gap: 0;
    cursor:pointer;
}

#bottomnav {
  display: flex;
  justify-content: center;
  width:100%;
  gap: 0;
  cursor:pointer;
}

.svgnav{
  position:relative;
}

.svgnav section{
  cursor:pointer;
}

#toplayer{
  margin-top:6vh;
  position:absolute;
  z-index:10;
  width:100%;
  height:300px;
  display:flex;
  justify-content: center;
  pointer-events: none;
}

#bottomlayer{
  position:absolute;
  z-index:10;
  width:100%;
  height:300px;
  display:flex;
  justify-content: center;
  pointer-events: none;
}

#toplayer article,
#bottomlayer article{
  width:550px;
  display:flex;
  justify-content: center;
  align-items:center;
  text-align:center;
  pointer-events: none;
  color:white;
}

#toplayer article{
  padding-top:50px;
}

#bottomlayer article{
  padding-bottom:50px;
}

#uppernav section:hover{
  /*transform:scale(1.03); */
  transform-origin:bottom;
  cursor:pointer;
}

#toplayer article h1,
#bottomlayer article h1{
  font-size:2rem;
  font-weight:200;
}

#content{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  text-align:center;
}

#content article{
  padding:39px;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  color:white;
  text-align:center;
}

.xtitle{
  padding-top:13px !important;
  padding-bottom:13px !important;
  min-height:20 !important;
  max-height:120px !important;
}

#content h1{
  font-size:2rem;
  padding:26px;
  border:3px solid white;
}

#content p{
  padding:26px;
  font-size:1.3rem;
  font-weight:300;
}

.stories{
  color:var(--stories);
  font-size:3rem !important;
  font-weight:bolder !important;
} 




.testimonials,
.examples,
.restaurants{
  display:flex; 
  justify-content: space-between;
  flex-wrap:wrap;
  width:80vw;
  margin:auto;
  align-items:start;
}

.testimonials article{
  flex: 1 1 40%;
}

.restaurants article{
  flex: 1 1 40%;
}

.examples article{
  flex: 0 0 19%;
}

.examples h3,
.restaurants h3{
  color:black;
  font-size:0.8rem;
  padding-top:6.5px;
  padding-bottom:6.5px;
}



.testimonials article figure,
.testimonials article img,
.restaurants article figure,
.restaurants article img,
.examples article figure,
.examples article img{
  width:100%;
  object-fit:cover;
  object-position: center;
  height:350px;
}




.restaurants article div{
  margin:0;
  padding:0;
}

.restaurants article div p{
  color: black;
  padding:0px;
  font-size:0.9rem;
}
.restaurants article h3{
  padding:0px;
  margin-top:3.5px;
  font-size:1.2rem;
}

.campagnesExample section{
  display:block;
  width:100%;
  border-bottom:4px solid var(--campagnes);
}

.duurzaamArticle img{
  border-bottom:26px solid var(--duurzaam);
}

.magaziniersArticle img{
  border-bottom:26px solid var(--magaziniers);
}

.campagnesArticle img{
  border-bottom:26px solid var(--campagnes);
}



.magaziniersExample figure,
.magaziniersExample img{
  object-fit:contain !important;
  height:200px;
}


.campagnesExample figure,
.campagnesExample img{
  height:200px;
}




.campagnesExample figure{
  background-color:black;
}

.magaziniersExample figure img{
  border: 1px solid black;
  padding:0px;
  margin:0px;
  width:auto !important;
}

.magaziniers .examples{
  justify-content: center;
  text-align:center;
}

.testimonials article div,
.examples article div{
  color:black;
  margin-top:26px;
  padding-top:26px;
  padding-bottom:13px;
  font-size:1.3rem;
  font-weight:bold;
  font-style:italic;
}

.testimonials h3,
.examples h3{
  text-transform: uppercase;
}

.duurzaamArticle h3,
.duurzaamArticle p{
  color:var(--duurzaam);
  padding:3.5px !important;
  margin:0 !important;
}

.magaziniersArticle h3,
.magaziniersArticle p{
  color:var(--magaziniers);
  padding:3.5px !important;
  margin:0 !important;
}

.campagnesArticle h3,
.campagnesArticle p{
  color:var(--campagnes);
  padding:3.5px !important;
  margin:0 !important;
}

.referencesArticle section{
  display:none;
}

.logos, 
.faces{
  width:80%;
  margin:auto;
  display:flex;
  flex-wrap:wrap;
}

.logos article:first-of-type,
.xpairs article:first-of-type,
.punch article:first-of-type,
.contact article:first-of-type{
  min-height: 50px !important;
}

.xpairs article:first-of-type *{
  color:black;
}

.magaziniersExample{
  flex: 0 0 30%;
  padding:0px !important;
  margin:13px;
}

.magaziniersExample figure,
.magaziniersExample figure img{
  height:250px !important;
}

.punch h1{
  color:var(--campagnes);
}

.contact h1{
  color:var(--campagnes);
}

.rowthird,
.rowhalf{
  display:flex;
  justify-content: space-between;
  width:70%;
  max-width:1200px;
  margin:auto;
  flex-wrap:wrap;
}

.contact .rowthird article{
  flex: 0 0 30%;
  padding:6.5px !important;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  align-items:center;
  text-align:center;
  min-height:300px;
}

.contact .rowhalf article{
  flex: 0 0 44%;
  padding:6.5px !important;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  align-items:center;
  text-align:center;
  min-height:300px;
}

.contact .rowthird article p,
.contact .rowthird article a{
  font-size:1.1rem;
}

.contact .rowhalf article{
  background-color:var(--studio);
}

.contact .rowthird article p{
  flex: 0 0 40%;
  margin-top:auto;
}

.contact article a {
  font-size:1.3rem !important;
}

.contact .rowthird article i{
  font-size:2.7rem; 
  display:block;
  flex: 0 0 20%;
  padding-top:26px;
}

.contact .rowthird,
.contact .rowhalf{
  margin-bottom:39px;
}

.contact .rowhalf article{
  padding-top:13px;
  padding-bottom:13px;
}

.contact .rowhalf article p{
  color:black;
}

.contact .rowthird article:nth-child(1){
  background-color:var(--studio);
}

.contact .rowthird article:nth-child(2){
  background-color:var(--duurzaam);
}

.contact .rowthird article:nth-child(3){
  background-color:var(--magaziniers);
}



.rowthird article a{
  text-decoration:none;
  color:white;
}

.logos,
.faces,
.magaziniers{
  justify-content: center;
}

.logos .referencesArticle{
  flex: 0 0 15%;
  height: auto;
  max-height:175px;
}

.logos .referencesArticle figure,
.logos .referencesArticle img{
  object-fit:contain !important;
  height:175px;
}


.faces .xpairsArticle section *{
  color:black;
  font-size:0.8rem !important; 
  font-weight: 100 !important;
  margin:0px !important;
  padding:0px !important;
}



.faces section {
  width: 100%;
  display:block,;
  border: none; /* Eventueel als je de standaard rand niet wilt */
  padding-bottom:26px;
  border-bottom: 1px solid var(--campagnes); /* Stel een rand in zoals gewenst */
}

.faces div{
  margin-top:-13px;
}

.faces div a{
  background-color:var(--campagnes);
  color:white;
  padding:6.5px;
  display:inline-flex;
  justify-content: center;
  align-items:center;
  border-radius:50%;
  text-decoration:none;
 
}

.faces .xpairsArticle figure img{
  /*filter: url(#kleurfilter);*/
  
}



.faces .xpairsArticle section{
  width:100%;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
}

.faces .xpairsArticle{
  flex: 0 0 15%;
}

.faces i{
  color:white !important;
}



/*CSS PUNCH*/
.punchballoons {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Twee kolommen */
  gap: 2rem; /* Zorgt voor ruimte tussen de cirkels */
  padding: 2rem;
  justify-items: center; /* Centreert de items in hun gridcel */
}

.punchballoons article {
  background-color: #B0CC5A; /* Pas de kleur aan zoals nodig */
  color: #fff;
  border-radius: 50%;
  padding: 1.5rem;
  text-align: center;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  max-width: 250px; /* Beperk de grootte van de cirkels */
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  margin-bottom: 40px;

  /*fadein*/
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/*fadein*/
.punchballoons article.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Specifieke negatieve marges per element, subtiel toegepast */


#authentiek {
  margin-top:100px;
}

#creatief {
  margin-left:-130px !important;
  margin-top:-150px !important;
}

#jouwcollega {
  margin-left:-100px;
}

#betrouwbaar {
  margin-top:-180px;
  min-width:300px;
}

#volgoesting {
  min-width:300px;
  margin-left:100px;
}

.punchballoons article h3{
  color:white !important;
  text-transform: uppercase;
}

.punchballoons article p{
  color:black;
  font-weight:300;
  font-size:1.1rem;
  line-height:1.3rem;
}

.invislink{
  display:none;
}


#authentiek,
#volgoesting{
  background-color:var(--magaziniers);
}

#betrouwbaar,
#curieus{
  background-color:var(--studio);
}

#jouwcollega{
  background-color:var(--duurzaam);
}

#creatief{
  background-color:var(--campagnes);
}

#curieus,
#authentiek{
  min-width:400px;
}

#creatief{
  min-width:350px;
}

#jouwcollega{
  min-width:350px;
}

/*EINDE CSS PUNNCH*/

@-webkit-keyframes fadeOut {
  from {
      opacity: 1;
  }

  to {
      opacity: 0;
  }
}

@keyframes fadeOut {
  from {
      opacity: 1;
      height:120px;
  }

  to {
      opacity: 0;
      height:20px;
      overflow:hidden;
  }
}

.showmiddle{
  content:'';
}

.fadeOut,
.fadeOutOnMouseOver:hover,
.fadeOutOnClick:active{
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
  -webkit-animation-duration: 1s; /* Duur van de animatie */
  animation-duration: 1s;
  -webkit-animation-fill-mode: forwards; /* Zorgt ervoor dat de stijl blijft na de animatie */
  animation-fill-mode: forwards;
}

.scrollingbanner{
  color:black;
  background-color:white;
  height:150px;
  width:100%;
  display:flex;
  justify-content: center;
  align-items:center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}


.scrollingtext {
  position: absolute;
  white-space: nowrap;
  color:black !important;
  display:inline-block;
}

.clickpicture{
}

.clickpicture figure{
  width:80%;
  margin:auto;
  position:relative;
}

.clickpicture figure figcaption{
  position:absolute;
  width:100%;
  height:100%;
  display:flex;
  justify-content: center;
  align-items:center;
  top:0;
  left:0;
  right:0;
  bottom:0;
}

.clickpicture figure figcaption a{
  color:white;
  text-decoration:none;
  display:inline-block;
  padding:6.5px;
  text-transform: uppercase;
  font-weight:600;
  border:3px solid white;
}

.studio iframe{
  width:80%;
  border:0;
  aspect-ratio: 4 / 3;
}

.contact iframe{
  width:100%;
  border:0;
  height:350px;
}


.clickpicture img{
  width:100%;
}

.clickpicture figure{
  margin-top:39px;
}

#privacy{
  flex-direction: column;
}


#privacy p,
#privacy h3{
  margin-bottom:6.5px;
}

#privacy li{
  margin-left:20px;
}

#privacy *{
  color:black;
}

.minus200{
  margin-top:-200px;
}

#privacy h2,
#privacy h3{
  padding-top:26px;
  margin-bottom:13px;
  padding-bottom:6.5px;
  border-bottom: 1px solid var(--studio);
  color:var(--studio);
}



.center,
footer{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items:center;
  text-align:center;
  padding-left:26px;
  padding-right:26px;
}

footer section{
  margin-top:100px;
  color:var(--studio);
  padding-bottom:26px;
  padding-top:26px; 
  border-top:1px solid var(--studio);
}

footer section a{
  text-decoration: none;
  color:var(--studio);
}

footer{
  margin-top:-200px;
}

footer img{
  width:180px;
}

footer a{
  z-index:99999;
  text-decoration: none;
  color:black;
}

#albums{
  margin-top:120px !important;
  width:90%;
  display:flex;
  justify-content: center;
  margin:auto;
}

.ourstudio article:nth-child(odd) p.author{
  color:var(--studio) !important;
}

form {
  display: flex;
  flex-direction: column;
  width: 80%;
  max-width:1200px;
  margin:auto;
  margin-top:13vh;
  padding: 20px;
  background-color: var(--studio);
  border: 1px solid var(--studio);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input, textarea, label {
  margin-bottom: 15px;
  font-size: 1rem;
  color: black;
}

input, textarea {
  padding: 10px;
  border: 1px solid var(--magaziniers);
  border-radius: 4px;
  background-color: white;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input[type="checkbox"] {
  margin-right: 10px;
}

input[name="csrf_token"] {
  display: none; /* Verberg het CSRF-token veld */
}

.error {
  color: red;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

form button {
  padding: 12px;
  background-color: var(--duurzaam);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: var(--duurzaam-fade);
}

@media screen and (min-width: 1600px) {
  .dz,
  .mag{
    min-height:400px;
  }
  .scrollingbanner{
    height:200px;
  }
}

@media screen and (min-width: 1800px) {
  .dz,
  .mag{
    min-height:500px;
  }
  .scrollingbanner{
    height:270px;
  }
}

@media (orientation: portrait) {

  .faces .xpairsArticle{
    flex: 1 1 26%;
  }

  .showmiddle{
    content:calc((100vh * 16 / 9) / 2) ;
  }

  .clipped-background-lb,
  .clipped-background-rb,
  #content {
    background-size: auto 100vh; /* Past zich aan de hoogte aan voor portret modus */
  }

  
}

@media (orientation: landscape) {
  .clipped-background-lb,
  .clipped-background-rb,
  #content {
    background-size: 100vw auto; /* Past zich aan de hoogte aan voor portret modus */
  }
  
}

@media only screen and (max-width: 1100px) {

  .logos .referencesArticle{
    flex: 1 1 30%;
    height: auto;
    max-height:175px;
  }
  

    .clipped-background-lb {
      margin-right:12px;
      background-position-x: calc(50% + 162px) !important;
      clip-path: url('#lbsmall'); /* Clip-path wordt toegepast */
    } 
    
    header img{
      width: 33vw;
      padding-top:13px;
    }
    .clipped-background-lb,
    .clipped-background-rb{
        width: 300px;
        height: 200px;
        background-position: center top; /* Positie aanpassingen om de afbeelding op dezelfde plek te laten beginnen */
    }
    
    .clipped-background-rb {
        margin-left:12px;
        background-position-x: calc(50% - 162px) !important;
        clip-path: url('#rbsmall'); /* Clip-path wordt toegepast */
    }

    #content{
      background-position: center; /* Positie aanpassingen om de afbeelding op dezelfde plek te laten beginnen */
      background-position-y: -200px;
    }
    #uppernav,
    #bottomnav,
    #toplayer,
    #bottomlayer,
    .studiofigs,
    .campagnesfigs{
      height:200px;
    }
    #toplayer{
      margin-top:3vh;
      height:200px;
    }
    
    #bottomlayer{
      height:175px;
    }
    
    #toplayer article,
    #bottomlayer article{
      width:277px;
      margin-left:10px;
      margin-right:10px;
    }

    #toplayer article h1,
    #bottomlayer article h1{
      font-size:1.2rem !important;
    }
    
    #toplayer article{
      padding-top:20px;
    }
    
    #bottomlayer article{
      padding-bottom:20px;
    }

    footer{
      margin-top:-20px;
    }

    #content h1{
      font-size:1.6rem;
      padding:6.5px;
    }
}

@media only screen and (max-width: 800px) {
  .faces .xpairsArticle{
    flex: 1 1 40%;
  }

  .rowthird,
  .rowhalf{
    width:90%;
    display:block;
  }

  .rowthird article,
  .rowhalf article{
    margin-bottom:13px;
  }

  .rowthird article{
    max-height:200px;
    min-height:200px;
  }

  .punchballoons {
    grid-template-columns: repeat(1, 1fr); /* Twee kolommen */
    gap: 1rem; 
  }

  #authentiek,
  #creatief,
  #jouwcollega,
  #betrouwbaar,
  #volgoesting {
    margin-left:0px !important;
    margin-top:0px !important;
  }
  
  

  .testimonials,
  .examples{
    display:flex; 
    flex-direction:column;
    justify-content: center;
  }

  .magaziniersExample{
    flex: 0 0 100%;
    width: 100% !important;
  }
}


@media only screen and (max-width: 900px) {
  .testimonials article,
  .examples article{
    flex: 1 1 100%;
  }

  .showmiddle{
    content:'';
  }
  .clipped-background-lb,
  .clipped-background-rb{
      width: 200px;
      height: 133;
  }
  .clipped-background-lb {
      margin-right:12px;
      background-position: center; /* Positie aanpassingen om de afbeelding op dezelfde plek te laten beginnen */
      clip-path: url('#lbthird'); /* Clip-path wordt toegepast */
  }
  .clipped-background-rb {
      margin-left:12px;
      background-position-x: calc(50% - 112px);
      clip-path: url('#rbthird'); /* Clip-path wordt toegepast */
  }

  #content{
    background-position-y: -133px;
  }
  #uppernav,
  #bottomnav,
  #toplayer,
  #bottomlayer,
  .studiofigs,
  .campagnesfigs{
    height:133px;
  }
  #toplayer{
    margin-top:3vh;
    height:133px;
  }
  
  #bottomlayer{
    height:133px;
  }

  #content{
    margin-top:-2px;
  }  

  #toplayer article,
  #bottomlayer article{
    width:200px;
    margin-left:10px;
    margin-right:10px;
  }

  #toplayer article h1,
  #bottomlayer article h1{
    font-size:1.2rem !important;
  }
  
  #toplayer article{
    padding-top:13px;
  }
  
  #bottomlayer article{
    padding-bottom:20px;
  }

  footer{
    margin-top:-15px;
  }
}

/* Mobiele versie */
@media (max-width: 768px) {
  .logos .referencesArticle{
    flex: 1 1 50%;
    height: auto;
    max-height:175px;
  }

  nav {
    display: block;
    padding: 0;
    background-color: rgba(255, 255, 255, 1);
  }

  nav a {
    display: none;
    text-align: center;
    padding: 12px;
    border-bottom: 1px solid #ccc;
  }


  nav::before {
    content: '☰';
    font-size: 30px;
    display: block;
    text-align: center;
    padding: 13px;
    cursor: pointer;
    color: black;
  }

  /* Open het menu bij hover of tap */
  nav:hover a,
  nav:focus-within a {
      display: block;
  }

}

@media only screen and (max-width: 600px) {
  footer{
    margin-top:100px;
  }

  .minus200{
    margin-top:-50px;
  }
  
  .sidebyside{
    flex-wrap: wrap;
  }
  .sidebyside div{
    text-align:center;
    
    flex: 0 0 100%;
  }

  #bottomlayer{
    margin-top:39px;
  }

  #bottomnav{
    margin-top:-100px;
  }

  .stories{
    margin-top:-30px;
  }

}


@media only screen and (max-width: 600px) {
  #uppernav,
  #bottomnav{
    margin-left:12px;
  }
  #duurzaam,
  #studio{
    margin-left:-30px;
  }

  #tlduurzaam h1,
  #tlstudio h1{
    margin-left:-30px !important;
  }
}