html, body {
  margin: 0;
  padding: 0;
  background-color: rgb(0 0 255);
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

body {
    /* padding: 7px 7px; */
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
}

#exhibition-poster {
    display: flex;
    height: auto;
    width: 100%; /* Changed from 98.8vw to avoid weird gaps */
    position: relative;
    z-index: 0;
}

.space-bottom {
    height: 20vh;
}

/* Fixed elements should usually have unique 'top' or 'bottom' values */
/* #info-text {
    display: flex;
    position: fixed;
    background-color: rgb(0 0 255);
    z-index: 1000;
    top: 26vh; 
    padding: 0.6vh 0 0.6vh 0.7vw;
    font-size: 2vh;
    width: 100vw;
    align-items: center;
} */

.more-info-button {
    height: 30vh;
    width: auto;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.2s ease-out;
}
.more-info-button img {
    height: 100%;
    width: auto;
    display: block;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Zentriert Inhalte vertikal statt sie unten auszurichten */
    
    position: fixed;
    bottom: 0;
    width: 100vw;
    z-index: 1000;
    
    /* FIX: Feste Höhe definieren */
    height: 60px; /* Oder ein vh-Wert wie 8vh */
    padding: 0 2vw; /* Padding oben/unten auf 0, da die Höhe fix ist */
    
    background-color: rgb(0 0 255);
    border-top: solid rgb(198 202 206) 1px;
    box-sizing: border-box; /* Wichtig, damit Padding nicht zur Höhe addiert wird */
}

.logo {
    display: block;    /* Verhindert den "Inline-Versatz" */
    height: 5vh;      /* Eine feste Höhe passend zur Footer-Höhe */
    width: auto;       /* Behält das Seitenverhältnis bei */
    padding: 0;        /* Padding entfernen, das durch andere Klassen kommen könnte */
    margin: 0;         /* Margin sicherheitshalber auf 0 */
}
a {
    text-decoration: none;
    color: white;
}

a:hover {
    color: rgb(198 202 206);
}

a:hover .logo {
    /* This makes the white logo slightly darker/grey */
    filter: brightness(0.8); 
}

#impressum {
    margin-left: 2vw;
}

.impressum-link {
  color: blue;
}

.Instagram-link {
  padding-left: 2vw;
}




@media (max-width: 768px) {
  body {
    display: block; /* Flex-Layout aufheben für natürlichen Scroll-Fluss */
  }

   #exhibition-poster {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Der Kreis schwebt nun im unteren Drittel über dem Poster */
  .more-info-button {
    position: fixed; /* Behält den "Hover"-Effekt bei */
    top: auto;       /* Hebt die 40% Zentrierung auf */
    bottom: 8vh;    /* Positioniert den Button im unteren Bereich */
    left: 50%;
    transform: translateX(-50%); /* Nur noch horizontal zentrieren */
    height: 30vh;    /* Größe für Mobile optimiert */
    z-index: 9999;
  }

  .more-info-button img {
    height: 100%;
    width: auto;
  }

  .space-bottom {
    height: 10vh; /* Platzhalter verringern */
  }

  .footer-grid {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box; /* Verhindert, dass Padding die Breite sprengt */
    background-color: rgb(198, 202, 206);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: solid blue 1px;
    z-index: 10000; /* Höher als der Button, falls sie sich überlagern */
  }

  /* Platzhalter im Body, damit man den Content hinter dem Footer ganz sehen kann */
  body {
    padding-bottom: 100px; 
  }

  .logo {
    width: 10vw; /* Logo auf Mobile vergrößern */
    padding-right: 0;
  }
}
