/* Change color of header on scroll (based on hero)*/
.header.revert .nav-item {
  color: #333;
}

.header.revert .chevron {
  color: #333;
}

.header.revert .nav-item.is-button {
  background: #f9f9f9;
}

.header.revert {
  background: white;
  border-bottom: 1px solid #0000000d;
}

.header.revert .logo-img {
  color: #575756;
}

.header {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Diensten pagina lay-out */
@media only screen and (min-width: 640px) {
  .diensten-item:nth-child(-n+2) {
    flex: 1 1 45%;
    min-width: 45%;
  }

  .diensten-item:nth-child(n+3) {
    flex: 1 1 30%;
    min-width: 30%;
  }
}

@media only screen and (min-width: 992px) {
  .diensten-item:nth-child(-n+3) {
    flex: 1 1 30%;
    min-width: 30%;
  }

  .diensten-item:nth-child(n+4) {
    flex: 1 1 20%;
    min-width: 20%;
  }
}

/* Set margin on project card within diensten detail */
@media only screen and (min-width: 992px) {
  .case-item:nth-child(2) .case-inner {
    margin-right: auto;
    margin-left: 0;
  }
}

/* Styling van page transition element */
.transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f56b13;
  transform: translateX(-100%);
  /* start off-screen left */
  z-index: 9999;
  pointer-events: none;
  /* let clicks pass through */
}
