.main {
  min-width: 98vw;
  min-height: 98vh;
  display: flex;
  align-items: center;
  justify-content: end;
}
.home-grid {
  height: 80vh;
  display: grid;
  gap: 1rem;
  margin: auto 2.5vw auto auto;
}
article {
  display: flex;
}
@media (orientation: landscape) {
  .home-grid {
    width: 80vw;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    grid-template-rows: 1fr;
  }
}
@media (orientation: portrait) {
  .home-grid {
    width: 90vw;
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(40%, 1fr));
  }
  .b-galerie:nth-of-type(1) figure {
    align-items: flex-end;
    justify-content: flex-end;
  }
  .b-galerie:nth-of-type(1) figure img {
    align-items: flex-end;
    justify-content: flex-end;
  }
  .b-galerie:nth-of-type(2) figure {
    align-items: flex-end;
    justify-content: flex-start;
  }
  .b-galerie:nth-of-type(3) figure {
    align-items: flex-start!important;
    justify-content: flex-end;
  }
  .b-galerie:nth-of-type(4) figure {
    align-items: flex-start!important;
    justify-content: flex-start;
  }
}
@media (orientation: portrait) {
  .b-galerie:nth-of-type(2) {
    display: flex;
  justify-content: flex-end;
  }
  .b-galerie:nth-of-type(3) {
    display: flex;
  justify-content: flex-end;
  }
  .b-galerie:nth-of-type(4) {
    display: flex;
    justify-content: flex-start;
  }
}
figure {
  width: 100%;
  height: 100%!important;
  display: flex;
  /* background-color: lime; */
  padding: 0;
}
img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
svg {
  position: absolute;
}
.galerie a:hover figcaption {
  display: none;
}
.menu {
  height: fit-content;
}
