body {
  margin: 0;
  font-family: arial, times new roman, courier;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #0080FF;
}

H1 {
  font-size: 28pt;
  font-weight: bolder;
  font-style: normal;
  font-family: Arial, Helvetica, Sans-Serif;
}

/* HEADER & FOOTER: Volle Breite */
.header-oben {
  width: 100%;
  padding: 10px 0;
  background: #0080FF;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.footer-unten {
  width: 100%;
  padding: 20px 0px 20px 0px;
  background: darkblue;
  border-bottom: 1px solid #eee;
  text-align: center;
}

#logo {
  width: 120px;
  height: auto;
  text-align: left;
  padding: 10px 0px 0px 45px;
  float: left;
}

.main-wrapper {
  display: flex;
  flex: 1;
  /* Nimmt den restlichen Platz unter dem Header ein */
  gap: 20px;
  padding: 20px;
  overflow: hidden;
  /* Verhindert Scrollen der ganzen Seite */
}

.galerie-container {
  display: flex;
  height: 80vh;
  align-items: stretch;
  gap: 20px;
  padding: 20px;
}

/* LINKS: Logo zentriert & Nav unten */
.seitenleiste-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #0080FF;
  padding: 0px 10px 0px 10px;
  min-width: 80px;
}

.nav-links ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.nav-links a:link {
  color: aqua;
}

.nav-links a:visited {
  color: #0080FF;
}

.nav-links a:hover {
  color: #FFFFFF;
  background: #0080FF;
}

.nav-links li {
  width: 165px;
  border: double;
  border-color: #FFFFFF;
}

.nav-links li ul {
  position: absolute;
  left: 150px;
  top: 52;
  display: none;
}

.nav-links ul li a {
  display: block;
  text-decoration: none;
  color: #777;
  background: #00005F;
  border: 1px solid #ccc;
  border-bottom: 0;
}

.nav-links li:hover ul,
li.over ul {
  display: block;
  list-style: none;
}

/* Mitte: Hauptbild */
.hauptbild-bereich {
  flex: 4;
  /* Breiterer Bereich für das Fokusbild */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #0080FF;
  overflow: hidden;
}

.hauptbild-bereich img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Rechts: Auswahl (Thumbnails) */
.bild-auswahl {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding-right: 5px;
}

.thumbnail {
  cursor: pointer;
  width: 80%;
  border-radius: 4px;
  transition: opacity 0.3s;
}

.thumbnail:hover {
  opacity: 0.7;
}

.footer-unten {
  border-bottom: none;
  border-top: 1px solid #eee;
  font-size: 16px;
  color: #0080FF;
}
