@font-face {
    font-family:'GST_Aero';
    src: url('../fonts/GST_Aero.ttf') format('truetype');
}


body {
  margin: 0;
  overflow: hidden;
  background: black; /* Hintergrund schwarz */
}


.top-nav {
  position: absolute;
  top: 10px;
  right: 10px;

  display: flex;
  gap: 30px;

  font-family: 'GST_Aero';
  font-size: 25px;
  color: white;
  -webkit-text-stroke: 2px black; /* Dicke und Farbe des Umrisses */
  paint-order: stroke fill; /* Macht den Umriss "außen" */
  z-index: 10;

}

.top-navleft {
  position: absolute;
  top: 10px;
  left: 10px;

  display: flex;

  font-family: 'GST_Aero';
  font-size: 25px;
  color: white;
  -webkit-text-stroke: 2px black; /* Dicke und Farbe des Umrisses */
  paint-order: stroke fill; /* Macht den Umriss "außen" */
  z-index: 10;



}




.gallery {
  position: relative;
  height: 100vh;
}

/* Hauptbild */
.main-view img {
  width: 100%;
  height: 100vh; /* IMMER volle Höhe */
  object-fit: contain; /* wichtig: zeigt ggf. schwarzen Hintergrund */
  background: black; /* falls Bild kleiner ist */
}

/* Thumbnail-Leiste */

.thumbnail-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  gap: 0; /* ❗ keine Lücken mehr */
  padding: 0; /* optional: komplett clean */
  overflow-x: auto;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */

  background: none; /* ❗ kein grauer Hintergrund */
  z-index: 10;
}

.thumbnail-bar::-webkit-scrollbar {
  display: none;
}

/* Thumbnails */
.thumb {
  height: 80px; /* ❗ etwas größer */
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0; /* verhindert Zusammendrücken */
  filter: blur(0);
  -webkit-user-drag: none;
 user-select: none;
}

/* Overlay Text oben links */
.overlay-text {
  position: absolute;
  top: 40px;
  left: 0px;

  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  color: white;
  -webkit-text-stroke: 2px black; /* Dicke und Farbe des Umrisses */
paint-order: stroke fill; /* Macht den Umriss "außen" */
;



  max-width: 55vw;      /* max 65% vom Bildschirm */
    margin: 0 auto;       /* zentrieren */
    padding: 0 10px;      /* kleiner Abstand für mobile */

    font-weight: 100;     /* dünnere Schrift */
    line-height: 1.2;
    letter-spacing: 0.03em;



  z-index: 20; /* über allem */
  pointer-events: none; /* verhindert Klick-Blockierung */
}

.gst {
  font-family: 'GST_Aero'
}

/* Thumbnail-Leiste mit minimalem Rand */
.thumbnail-bar {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;

  display: flex;
  gap: 0;
  padding: 0;
  overflow-x: auto;

  background: none;
  z-index: 10;

  cursor: grab;
  user-select: none;
}

.thumb:hover {
  filter: blur(2px);
}

.overlay-text {
  transition: all 0.4s ease;
}



.half-break{
  display:block;
  height:0.5em;   /* halbe Zeile */
}

.year{font-size:17px;}

.overlay-text .meta{
  display:block;
  font-size:17px;
  line-height:1.15 !important;
}

.overlay-text{
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 180ms ease, transform 180ms ease;
  will-change: opacity, transform;
}

.overlay-text.is-switching{
  opacity: 0;
  transform: translateY(4px);
}


a {
  color: inherit;          /* übernimmt die Textfarbe des Eltern-Elements */
  text-decoration: none;   /* entfernt Unterstreichung */
}

a:visited {
  color: inherit;          /* verhindert lila besuchte Links */
}

a:hover {
  color: #D1E9EB;
         /* optional: keine Farbänderung beim Hover */
}

a:active {
  color: inherit;          /* optional: keine Farbänderung beim Klicken */
}

.about-text {
  position: absolute;
  top: 40px;
  left: 0px;

  font-family: "Times New Roman", Times, serif;
  font-size: 22px;
  color: white;
  -webkit-text-stroke: 2px black; /* Dicke und Farbe des Umrisses */
  paint-order: stroke fill; /* Macht den Umriss "außen" */
  ;



  max-width: 55vw;      /* max 65% vom Bildschirm */
    margin: 0 auto;       /* zentrieren */
    padding: 0 10px;      /* kleiner Abstand für mobile */

    font-weight: 100;     /* dünnere Schrift */
    line-height: 1.2;
    letter-spacing: 0.03em;



  z-index: 20; /* über allem */
}

.italic {font-style:italic}