/*Farbdefinitionen*/
farben {
  color: #33332f;
  color: #e5e5e5;
  color: #a6465f;
  color: #8c3545;
  color: #591b26;
}

/*Schriften Monserrat und Bebas Neue*/
@font-face {
  font-family: "Montserrat";
  src: url(/fonts/Montserrat-Light.ttf);
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Montserrat";
  src: url(/fonts/Montserrat-Regular.ttf);
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Montserrat";
  src: url(/fonts/Montserrat-Medium.ttf);
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Montserrat";
  src: url(/fonts/Montserrat-Bold.ttf);
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Bebas Neue";
  src: url(/fonts/BebasNeue-Regular.ttf);
  font-style: normal;
  font-weight: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/*Content*/
.grid-container {
  margin-top: 50px;
  height: calc(100vh - 50px);
  background: #33332f;
  display: grid;
  grid-template-areas:
    "item-1 item-1 item-2 item-7"
    "item-4 item-6 item-5 item-7"
    "item-4 item-6 item-3 item-7";
  grid-gap: 10px;
}

.grid-item {
  background: #591b26;
  color: #33332f;
  overflow: hidden;
}

.item-1 {
  grid-area: item-1;
}
.item-2 {
  grid-area: item-2;
}
.item-3 {
  grid-area: item-3;
}
.item-4 {
  grid-area: item-4;
}
.item-5 {
  grid-area: item-5;
  position: relative;
}
.item-6 {
  grid-area: item-6;
}
.item-7 {
  grid-area: item-7;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.grid-item:hover img {
  transform: scale(1.2);
}

h3 {
  position: absolute;
  margin-top: 25px;
  background: #fff;
  padding: 6px;
  padding-left: 25px;
  padding-right: 15px;
  font-weight: 500;
  font-size: 1em;
  z-index: 1;
}

/*Titel*/
h1 {
  font-family: "Bebas Neue", cursive;
  font-weight: normal;
  font-size: 3.5em;
}

/*Seitenzahl*/
h2 {
  display: inline-block;
  position: absolute;
  font-family: "Bebas Neue", cursive;
  font-weight: 900;
  font-size: 9.8em;
  line-height: 132px;
  right: -6px;
  top: 0;
  opacity: 0.2;
  pointer-events: none;
}

p {
  font-size: 0.8em;
}

.item-5 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  padding: 11px 25px 25px 25px;
}

/*Ligthbox*/

.lightbox {
  z-index: 998;
  position: absolute;
  background-color: #20201d95;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  transform: scale(0);
}

.lightbox:target {
  opacity: 1;
  transform: scale(1);
}

.lightbox .bild {
  z-index: 999;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #33332f;
  padding: 10px;
  transition: all 300ms ease-in-out;
}

.lightbox .quer {
  width: 62%;
}

.lightbox .vektor06 {
  width: 55%;
}

.lightbox .hoch {
  width: 30%;
}

.lightbox .vektor07 {
  width: 22%;
}

.lightbox .bild nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.lightbox .bild nav a {
  padding: 4px 6px;
  font-size: 0.9em;
  text-decoration: none;
  text-transform: uppercase;
  color: #ffffff90;
  margin-bottom: 5px;
}

.lightbox .bild nav a:hover {
  color: #33332f;
  background: #fff;
}

@media (max-width: 1300px) {
  h1 {
    font-size: 2.9em;
  }
  h2 {
    font-size: 9em;
    line-height: 118px;
    right: -14px;
  }
  h3 {
    font-size: 0.8em;
  }
}

@media (max-width: 1023px) {
  .grid-container {
    height: 100%;
    grid-template-columns: 50%;
    grid-template-areas:
      "item-5 item-4"
      "item-7 item-4"
      "item-2 item-2"
      "item-6 item-3"
      "item-1 item-1";
    grid-gap: 6px;
  }
  .grid-item:hover img {
    pointer-events: none;
  }
}

@media (max-width: 799px) {
  .grid-container {
    grid-template-columns: 100%;
    grid-template-areas:
      "item-5"
      "item-1"
      "item-4"
      "item-6"
      "item-2"
      "item-3"
      "item-7";
    grid-gap: 2px;
  }

  .grid-item:hover img {
    transform: none;
    pointer-events: none;
  }
}

/*Diverses*/
::selection {
  background-color: #a6465f;
  color: #33332f;
}
