/* bloking */
section{
    margin-top: 10px;
    margin-bottom: 87px; 
}
.grid {
    grid-gap: 2em;   
}
.spacing-project-img {
    padding-top: 60px;
    padding-bottom: 60px;
    width: calc(55% - 3em);
}
.spacing-project-img3 {
    padding-top: 0px;
    padding-bottom: 0px;
}
.tab-content{
    display: none;
    padding: 2em 0em;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 0.5em;
    row-gap: 0.5em;
}

.tab-content.active{
   display: grid;
}
.image-wrapper {
    position: relative;
    display: inline-block;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}
.image-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;

    width: 60px;
    height: 60px;
    border-radius: 50%;

    background: white;
    color: black;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

/* tab */
.filter{
  align-items: center;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: grid;
  place-items: right;
}

.tabs {
  display: flex;   
}

.tab {
  padding: 6px 16px;
  color: #484848;
  margin: 16px 4px;
  cursor: pointer;
  font-size: 14px;
  background-color: #f0f4f3;;
  background-position: left;
  display: inline-block; /* belangrijk voor padding en animatie */
  transition: background-position 2s ease;
  border-radius:3.35544e+07px;
}
.tab.active {
  background-color: #484848;
  color: #f0f4f3;
}

.tabs .tab{
  font-size: 16px;
  text-align: center;
}

.tabs .tab:hover{
  background-size: 100% .1em;
  background-position: right;
  background-color: #d5dfdd;
  color: #000000;
  /*font-weight: 600;*/
}

.tab.active:hover {
  background-color: #000000;
  color: #f0f4f3;
}
   

/* tekst */
p{
  font-family: "Poppins-Light", sans-serif;

    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    letter-spacing: normal;
    text-align: left;
  font-weight: normal;
  font-size: 20px;
  line-height: 30px;
}
h1{
  font-family: "Gilroy-SemiBold", sans-serif;
  font-weight: bold;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.30;
  margin-bottom: 1px;
}
h2{ 
  font-size: 20px;
  font-weight: 100;
  line-height: 1.7em;
}
h3{
  font-family: "Gilroy-SemiBold", sans-serif;
  font-weight: bold;
  font-size: 40px;
  line-height: 50px;
  margin-bottom: 0px;
  margin-top: 10px;
}
a{
  text-decoration: none;
  color: #000000;
}

/* video */
#video-elem{
  display: block;
  width: 100%;
  height: auto;
  top: 0;
}

/* tablet */
@media screen and (max-width:1068px){
  section{
    padding: 0em 2em 0em 2em;
  }
  .grid {
    grid-gap: 0em;    
  }
  .col-8 {
    grid-column-start: span 10;
  }
  .col-6 {
    grid-column-start: span 10;
    margin-top: 70px;
  }
  .col-4 {
    grid-column-start: span 10;
  }

  .spacing-project-img {
    padding-top: 40px;
    padding-bottom: 30px;
    width: 100%;
  }

  .spacing-project-img3 {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .tab-content{
    grid-template-columns: repeat(1, 1fr);
  }
  .tabs{
      /*flex-direction: column;*/
      padding-top: 10px;
 }
 .tab{
    padding: 6px 16px;
    margin: 16px 4px
 }
  /* text */
  p{ 
    font-size: 18px;
  }
  h1{ 
    margin-left: 0px;
    font-size: 36px;
    line-height: 1.26;
  }
  h2{
    font-size: 22px;
    margin-bottom: 70px;
  } 
  #video-elem{
    padding-top: 10px;
  }
}