@font-face {
    font-family: Walter;
    src: url('/assets/fonts/ABCWalterAlte-Normalgrotesk.woff2');
  }

html, body {
  margin: 0;
  padding: 0;
}

html {
    color: #222;
    font-size: 2em;
    line-height: 1.4;
    font-family: "Walter", sans-serif;
    font-size: 18px;
}

img {
  max-width: 100%;
}

a {
    text-decoration: none;
    color: #000;
}
p a {
  text-decoration: underline;
}
a:hover {
  color: #979797;
}
  
button {
  all: unset;
}

h1 {
  font-size: 35px;
  line-height: 1.1;
  font-weight: normal;
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: normal;
}
  
.header {
  background-color: #fff;
  width: 100vw;
  border-bottom: 1px solid black;
  transition: height 0.15s ease-in;
  position: fixed;
  font-size: 35px;
  line-height: 1.1;
  height: 152px;
  z-index: 100000;
}
 
.menu {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  float: none;
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 1;

}
.hamburger {
  margin-top: 3px;
  display: none;
  cursor: pointer;
}

.burger1, .burger2, .burger3 {
  width: 28px;
  height: 4px; 
  background-color: black;
  margin: 4px 0;
  transition: 0.4s;
}

.burgerOpen  .burger1 {
  transform: translate(0, 8px) rotate(-45deg);
}

.burgerOpen .burger2 {
  opacity: 0;
}

.burgerOpen .burger3 {
  transform: translate(0, -8px) rotate(45deg);
}

.logo {
  grid-column-start: 1;
  grid-column-end: 3;
  width: 176px;
  max-height: 200px;
}

.logoSVG {
  pointer-events: none;
}

.headerMenu {
  list-style: none;
  margin-top: 0;
  line-height: 1.05;
  grid-column: 3 / 7;
}

.headerMenu li {
  transition: all .2s ease-in-out;
}
.open ul li {
  transition-delay: .15s;
}

.header :nth-child(1) {
  grid-column-start: 1; 
}

.languageSelector {
  grid-column-start: 7;
  justify-self: end;
  transition: all .2s ease-in-out;
  transition-delay: .15s;

}

.languageSelector a {
  display: inline-block;
}

.closed .languageSelector  {
  opacity: 0;
}

.closed {
  height: 80px;
  transition-delay: .3s;
}

.closed  ul li + li {
  visibility: hidden;
  opacity: 0;

}

.open nav ul li + li {
  display: block;
  opacity: 100;
  visibility: visible;
}

.content {
    padding-top: 200px;
    max-width: 48rem;
    min-height: 60vh;
    margin-left: auto;
    margin-right:auto;

}

.footer {
    width: 100vw;
    border-top: 1px solid black;
    height: 152px;
    margin-top: 80px;
}

.footerContent {
    padding-top: 20px;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;    
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 1;
}

.footerContent ul {
    list-style: none;
}

 
.address {
    grid-column-start: 3;
    grid-column-end: 7;
}

.address li:nth-child(n+3) {
  text-indent: 3.8em;
}

.expoBlock {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding-top: 20px;
  border-top: 1px solid black;
  transition: all .3s ease-in-out;
  opacity: 1;
}

.expoBlock:last-child {
  border-bottom: 1px solid black;
}

.expoNumber {
  font-size: 35px;
  line-height: 1.1;
}

.expoTitle {
  list-style: none;
  font-size: 35px;
  line-height: 1.1;
  grid-column-start: 3;
  grid-column-end: 8;
}

.expoDate {
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 20px;
}

.expoExtended {
  grid-column-start: 1;
  grid-column-end: 8;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  max-height: 1200vh;  
}

.expoPicture {
  grid-column-start: 3;
  grid-column-end: 8;
  max-height: 600px;
  margin-bottom: 20px;
}

.expoPictureHorizontal {
  grid-column-start: 1;
}

.expoPicture img {
  /* max-height: 100%; */
}

.expoText{
  grid-row-start: 3;
  grid-column-start: 3;
  grid-column-end: 8;
  margin-bottom: 20px;
}

.expoClosed {
  transition: height .3s;
  overflow: hidden;
}

.expoClosed .expoExtended {
  max-height: 0;
}

.expoBlock div:nth-child(n+3) {
  opacity: 1;
  transition: all .2s ease-in-out;
  animation-delay: .3s;
}
.expoClosed div:nth-child(n+3) {
  /* display: none; */
  opacity: 0;
  transition: all .2s ease-in-out;
  animation-delay: .3s;
}

.expoClosed:hover {
  background-color: #D9D9D9;
  cursor: pointer;
}

.galleryContainer {
  grid-column-start: 3;
  grid-column-end: 8;
  grid-row-start: 4;
  padding-bottom: 20px;
}

.expoGallery {
  max-height: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: hidden;
  transition: all .15s ease-in-out;
}

.expoGalleryOpen {
  max-height: 1200vh;
}

.galleryImage {
  max-height: 220px;
}

.projects {
  border-bottom: 1px solid black;
}

.projectsFilter  {
  border-top: 1px solid black;
  padding-top: 14px;
  padding-bottom: 14px;
}

.buttonElement {
  padding: 4px;
  border: 1px solid black;
  margin-right: 6px;
}

.buttonElement:hover {
  cursor: pointer;
  color: #979797;
  border-color: #979797;
}

.cross {
  display: inline-block;
  width: 10px;
  fill: currentColor;
}

.active svg {
  transform: rotate(45deg);
}

svg {
  transition: transform .15s;
}
.active {
  color: #979797;
  border-color: #979797;
}

.activeFilter {
  color: #979797;
  border: 1px solid #979797;
}

.project {
  border-top: 1px solid black;
  padding-top: 10px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 2;
}

.project:hover {
  background-color:  #D9D9D9;
  color: black;
  cursor: pointer;
}

.projectImage {
  padding-top: 5px;
  grid-column-start: 1;
  grid-column-end: 3;
  overflow: hidden;
  padding-right: 10px;
  height: 180px;
}

.projectImage img { 
    width: 96vw;
    height: 100%;
    object-fit: cover;
}

.projectInfo {
  grid-column-start: 3;
  grid-column-end: 8;
  max-height: 200px;
  display:flex; 
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
  margin-bottom: 15px;
}

.backNav {
  margin-top: 40px;
}

.projectMain {
  padding-top: 20px;
  padding-bottom: 40px;
}

.projectImages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 10px;

}
.projectGalleryLink {
  margin-bottom: 5px;

}


.projectGalleryImage {
  object-fit: cover;

}

.projectHorizontal {
  grid-column: span 2;
}

.projectMain h1 {
  margin-bottom: 40px;
}

.projectHead {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 2;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding-top: 20px;
  padding-bottom: 20px;
}

.projectHead h1 {
  grid-column-start: 1;
  grid-column-end: 2;
}

.projectHead .infoList {
  grid-column-start: 1;
  margin-left: 5px;
  grid-auto-flow: column;
}

.infoList {
  margin-top: 20px;
  grid-column-start: 4;
  grid-column-end: 8;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  grid-auto-flow: column;
}

.about {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: top;
  grid-template-rows: 1;
  padding-bottom: 20px;
  padding-top: 40px;
}

.description {
  margin-bottom: 60px;
}

.aboutText {
  grid-column-start: 3;
  grid-column-end: 8;
  margin: 0;
}

.contactInfo {
  grid-column-start: 1;
  grid-column-end: 3;
  margin-right: 20px;
  
}
.contactName {
  margin-bottom: 20px;
}
.contactAddress {
  margin-bottom: 20px;
}
.contactKvK {
  margin-bottom: 20px;
}


@media only screen and (max-width: 58rem) {
  .menu {
    max-width: 40rem;
  }
  .content {
    max-width: 40rem;
  }
  .footerContent {
    max-width: 40rem;
  }
  .infoList {
    display: block;
  }
  .projectInfo {
    max-height: 1000px;
  }
}

@media only screen and (max-width: 48rem) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 30px;
  }

  .hamburger {
    display: block;
  }

  .header {
    font-size: 30px;
    height: 120px;
  }

  .footer {
    height: 160px;
  }

  .menu {
    padding-top: 18px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

  }
  .open {
    height: 192px;
  }

  .logo {
    width: 157px;
    padding-bottom: 22px;
    margin-right: 30%;
  }

  .headerMenu {
    flex-basis: 50%;
  }
  .closed {
    height: 70px;
  }
  .closed  ul li {
    visibility: hidden;
    opacity: 0;
  }

  .content {
    padding-top: 120px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .footerContent {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
  }

  .expoPicture {
    max-height: 300px;
  }

  .expoText {
    grid-column-start: 1;
  }
 
  .project {
    display: flex;
    flex-direction: column;
  }

  .projectImage {
    grid-column-end: 4;
    padding-right: 0;
    margin-bottom: 10px;
    height: 250px;
  }

  .projectInfo {
    grid-column-start: 4;
  }
  .projectHead .infoList {
    display: grid;
  }
  .infoList {
    display: block;
  }
  .projectHead {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }
  .projectHead .infoList {
    display: block;
  }
  .projectTitle {
    margin-bottom: 10px;
  }

  .projectImages {
    flex-basis: 400px;
  }

  .projectGalleryLink {
    grid-column: span 2;
  }

  .galleryContainer {
    grid-column-start: 1;
  }

  .contactInfo {
    grid-column-end: 8;
    padding-top: 20px;
  }
  
  .aboutText {
    grid-column-start: 1;
    order: -1;
    padding-bottom: 20px;
  }

  .expoPicture {
    grid-column-start: 1;
  }
}