:root {
  --hintergrundfarbe: rgb(255, 255, 255); /* Standard-Hintergrundfarbe */
}

body {
  margin: 0;
  background-color: var(--hintergrundfarbe);
}


.wrapper {
  overflow-y: auto;
  overflow-x: hidden;
  perspective: 10px;
}

header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  /* z-index: -1; */
}

.rosa {
  position: absolute;
  z-index: -3;
}

.background {
  transform: translateZ(-10px) scale(2);
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -2;
  mix-blend-mode: difference;
}

.foreground {
  transform: translateZ(-5px) scale(1.5);
  position: absolute;
  height: 100%;
  width: 90%;
  object-fit: cover;
  z-index: -1;
  mix-blend-mode: difference;
}

.middle {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  mix-blend-mode: difference;
}

@media (max-width: 768px) {
  .middle {
    content: url("Material/mobile/makromikromobile.png");
  }
}




h2 {
  font-family: inter;
  font-size: 9vw;
  font-weight: 400;
  letter-spacing: -0.02em;
  padding-left: 1vw;
  padding-right: 3vw;
  line-height: 8vw;
  
  /*mix-blend-mode: difference;*/
}


#diashow {
  position: relative;
  width: 1fr;
  height: 90vh;
  margin-bottom: 2em;
  display: grid;
  grid-template-columns: 1fr;
}

#diashow img {
  grid-column: 1;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 2s ease-in-out;
  width: 100%;
  /* damit passt sich das Bild automatisch an den
  zur Verfügung stehenden Raum an – der Ausschnitt ändert sich! */
  object-fit: cover;
}

.unsichtbar {
  opacity: 0;}
 
a:link {
  text-decoration: underline;
  color: rgb(255, 255, 255);
  mix-blend-mode: difference;
}

a:visited {
  color: rgb(255, 255, 255);
  mix-blend-mode: difference;
}

a:link {
  text-decoration: underline;
  color: rgb(255, 255, 255);
  mix-blend-mode: difference;
}


p {
  font-size: 12px;
}

div.eindruecke-container{
   padding-left: 1vw;
   padding-right: 1vw;
}



figure#raumplan{
  padding: 0;
  margin: 0;
}

figure#raumplan img{
  width: 100%; /* 100% der Viewport-Breite */
  height: auto; /* Höhe proportional zur Breite */
  display: block; /* Verhindert zusätzlichen Abstand unter dem Bild */
  padding: 0;
  margin-bottom: 20px;
}


div.header {
  margin-bottom: 80px;
}

#zurueckButton {
  font-size: 3em;
}

#weiterButton {
  font-size: 3em;
  }