body {
  font-family: Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f4f4f9;
  color: #333;
}

.container {
  width: 95%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
/* Container zentral ausrichten */
.center {
  display: flex;
  justify-content: center;
  margin: 1rem auto;
  width: 100%;
}



.header {
  text-align: center;
  align-items: center;
  background-color: #1c6988;
  color: black;
  padding: 15px;
  border-radius: 20px;
  font-size: 14px;
  position: relative;
  width: 95%;
  top: 10px;
  display: flex;
  flex-direction: column;
}
.header img {
  align-self: flex-start;
}
.header h1 {
  margin: 5px;
  font-family: 'Georgia', serif;                 /* schöner Serif-Font */
  font-size: 1.5rem;                             /* skaliert besser als px */
  color: #f5d76e; /* goldgelb */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;                           /* etwas mehr Luft zwischen den Buchstaben */
  //margin: 0;
}
.header p {
  margin: 0;
  color:#ffffff;
}
.dropdownFlag {
  position: absolute;
  top: 10px;
  right: 15px;
}
.dropdownFlag a {
  text-decoration: none;
  color: black;
  }
.flagSelected {
  display: inline-block; /* Notwendig, um den Rahmen korrekt darzustellen */
  border: 2px solid blue; /* Rahmenfarbe und -dicke */
  padding: 3px; /* Innenabstand zum Rahmen */
  text-decoration: none; /* Entfernt die Standard-Unterstreichung */
  color: black; /* Textfarbe */
  min-width:100px;
  border-radius:10px;
}

/*
.main {
  background-color: white;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
*/

.intro {
  padding:2px;
  font-size: 14px;

}
.intro a {
  text-decoration: none;
  font-weight: bold;
  color: #3db2e2;
}
.intro a hover {
  text-decoration: underline;
}

.sidebar {
  background-color: #2C3E50;
  font-size:14px;
  color: lightblue;
  padding: 0 15px;
  border-radius: 20px;
  max-height: 700px;
  max-width: 600px;
  position: sticky;
  top: 20px;
}
.sidebar h3 {
  color: white;
  text-align: center;
}

.sidebar-link-galerie {
    color: #FF5733;
    text-decoration: none;
    display: block;
    padding: 5px 0;

}
.sidebar-link-bericht {
    color: #FFD700;
    text-decoration: none;
    display: block;
    padding: 5px 0;

}

.sidebar-link-bericht:hover, .sidebar-link-galerie:hover {
    color: white;
}

.entry-list {
    padding: 0;
    list-style: none;
}
.entry-list li {
    margin-bottom: 2px;
}
.pagination {
    text-align: center;
    margin-top: 20px;
}
.HundJ {
  display: block;
  float:left;
  position: absolute;
  left:20px;
  top:8px;
   height:90px;
   //margin:5px 20px 0 10px;
   z-index:99;
}

.icon {
  font-size: 20px;
  vertical-align: text-center;
}

.prev, .next {
    color: #00ccff;
    font-size:14px;
    text-decoration: none;
}
.prev:hover, .next:hover {
    color: white;
}
.back-button {
  z-index:1;
  position: fixed;
  right: 10px;
  bottom: 30px;
  padding: 10px 20px;
  background-color: #6e7b8b;
  color: white;
  text-align: center;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  }
.back-button:hover {
  background-color: #0056b3;
}


.flyout {
    position: absolute;
    left: -250px;
    width: 240px;
    background-color: #333;
    color: white;
    font-size:10px;
    padding: 10px;
    border: 1px solid #444;
    border-radius:30px;
}


.footer {
    width:90%;
    display: flex;
    justify-content: space-between; /* Gleichmäßige Verteilung */
    align-items: center;           /* Vertikale Zentrierung */
    position:fixed;
    bottom: 0px;
    padding: 5px;
    background-color: #333;
    color: white;
    font-family: Arial, sans-serif;
    border-radius:10px;
}

.footer-section {
    flex: 1; /* Jeder Abschnitt nimmt den gleichen Platz ein */
    text-align: center; /* Zentriert den Text in jedem Abschnitt */
}

.footer-link {
    color: #00ccff;
    text-decoration: none;
    font-size: 14px;
}

.footer-link:hover {
    color: white;
}


.to-top {
    text-align: center;
}

hr {
  border-style: dashed; size: 1px;
}

h1 {
	font-family: Times, serif;
	font-size: 24px;
	font-weight: bold;
	margin: 0 0 20px 0;
}

h2 {
  font-family: Verdana, sans-serif;
  font-size: 22px;
  text-align: center;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 16px;
}
main h4 {
  margin: 5px 0 7px 0;
}


p {
    font-size:12px;
}

a {
    text-decoration: none;
    color: brown;
    font-weight: bold;
}

details[open] summary .toggle-label {
  display: none;
}

details {
  margin-bottom: 0.5em;
}

details summary {
  cursor: pointer;
  list-style: none; /* Bild statt Marker */
}

details summary img {
  vertical-align: middle;
  margin-right: 0.5em;
}
summary {
  background-color: #eef8ff;
  padding: 5px;
  border-radius: 10px;
}

.Gattin {
  font-style: italic;
  background-color: #f5f5f5; /* Dunkler Hintergrund */
  border: 1px solid #dcdcdc; /* Dezenter Rahmen */
  padding: 15px;
  color: red; /* Rote Schriftfarbe */
  font-family: Arial, sans-serif;
  border-radius: 8px;
}
html[lang="de"] .Gattin::before {
  content: "Die Gattin spricht";
  display: block;
  font-weight: bold;
  margin: 10px;
  font-size: 0.8em;
  text-align: center;
  padding:0px;
}
html[lang="en"] .Gattin::before {
  content: "A word from my wife";
  display: block;
  font-weight: bold;
  margin: 10px;
  font-size: 0.8em;
  text-align: center;
  padding:0px;
}
.individuell {color:blue;
  //font-weight: bold;
}

.xlarge { font-size:14px;	}
.large  { font-size:12px;	}
.regular{ font-size:11px;	}
.small  { font-size:10px; }
.tiny   { font-size:8px; }


.left   { text-align: left; }
.right  { text-align: right; }
.center { text-align: center; }

.ikonen {
  color:red;
  font-weight: bold;
}
.braun {
  color:brown;
}
.gruen {
  color:green;
}


figure {
 margin: 0px 0px 10px 0px;
 padding: 0;

 /*min-width: 150px;*/
}

figure img {
 /*width: 100%;*/
 display: block;
 border:2px solid gold;
 height: 150px;

}

figcaption {
 /*position: absolute;*/
 bottom: -20px;
 /*width: 100%;
 /*min-width: 150px;*/
 padding:5px;
 text-align: center;
 font-size: 10px;
 line-height: 1em;
 color: white;
 border-radius: 10px;
 background: rgba(0, 0, 0, 0.5);
}

figure:hover {
  border: 2px solid #333;
  border-radius: 20px;

 -moz-transform: scale(2.5);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(2.5);

    -webkit-transition: transform .25s ease-in-out;
    -moz-transition:transform .25s ease-in-out;
    -ms-transition:transform .25s ease-in-out;

  /*transform: scale(2) .25s ease-in;*/
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
 z-index: 2;
}
.noScale {
   transform: scale(1);
}


/* Diashow Layout */
.diashow {
    background: white;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px auto;
    border-radius:10px;
    max-width: 1200px; /* Optional: Begrenzung der maximalen Breite */
    box-sizing: border-box; /* Sorgt dafür, dass Padding und Border berücksichtigt werden */
}




.bericht {
    /*display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;*/
    background: white;
    padding:10px;
    border-radius:10px;
    max-width: 1200px; /* Optional: Begrenzung der maximalen Breite */
    box-sizing: border-box; /* Sorgt dafür, dass Padding und Border berücksichtigt werden */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.bericht p {
  font-size:14px;
}
.bericht ul {
   font-size:14px;
}
.bericht ul li {
  padding:5px 0 0 0;
}



/* Galerie Layout */
.gallery {
    background: white;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    border-radius:10px;
    box-sizing: border-box; /* Sorgt dafür, dass Padding und Border berücksichtigt werden */
}

.gallery h2 {
  width: 100%; /* Stellt sicher, dass die Überschrift die gesamte Breite einnimmt */
  text-align: center; /* Optional: Zentriert die Überschrift */
  margin-bottom: 5px; /* Fügt Abstand unter der Überschrift hinzu */
}

.gallery hr {
  width: 100%; /* Stellt sicher, dass die Überschrift die gesamte Breite einnimmt */
  text-align: center; /* Optional: Zentriert die Überschrift */
  margin-bottom: 5px; /* Fügt Abstand unter der Überschrift hinzu */
}

.gallery-item {
    position: relative;
    overflow: visible; /* Erlaubt das Überschreiten des Containers */
}

.gallery-item img {
    max-width: 300px;
    max-height: 300px;
    transition: transform 1.2s ease;
    background-color: #f0f0f0; /* Optional: Hintergrundfarbe als Platzhalter */
}

.gallery-item img:hover {
    transform: scale(2);
    z-index: 10;
    position: relative; /* Verhindert, dass das Bild abgeschnitten wird */
}

.caption {
    text-align: center;
    margin-top: 5px;
    font-size:10px;
}



.tooltip {
      position: relative;
      display: inline-block;
      cursor: pointer;

  }

  /* Das unsichtbare Tooltip-Fenster */
  .tooltip .tooltip-text {
      visibility: hidden;
      width: 250px;
      background-color: #333;
      color: #fff;
      text-align: center;
      border-radius: 5px;
      padding: 10px;
      position: absolute;
      z-index: 1;
      bottom: 125%; /* Position über dem Tooltip-Element */
      left: 50%;
      transform: translate(-50%, -10%);
      opacity: 0;
      transition: opacity 0.3s;
  }

  /* Pfeil unter dem Tooltip */
  .tooltip .tooltip-text::after {
      content: '';
      position: absolute;
      top: 100%; /* Zeigt nach unten */
      left: 50%;
      margin-left: -5px;
      border-width: 5px;
      border-style: solid;
      border-color: #333 transparent transparent transparent;
  }

  /* Sichtbar machen, wenn die Maus darüber ist */
  .tooltip:hover .tooltip-text {
      visibility: visible;
      opacity: 1;
      text-shadow: none !important;
      animation: none !important;
  }
.tooltip img {
  margin-left: 10px;
}
.tooltip .tooltip-text img {
  display: block;
  max-width: 220px;
  height: auto;
  border-radius: 4px;
}

  /* Allgemeines Ariadne-Layout */
.ariadne {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Abstand zwischen den Reihen */
    width: 100%;
    align-items: center; /* Zentriert die Reihen horizontal */
}

.ariadne-row {
    display: flex;
    gap: 10px; /* Abstand zwischen den Bildern */
    justify-content: space-between; /* Bilder in einer Reihe verteilen */
    width: 90%; /* Breite jeder Reihe */
}

.ariadne-row:nth-child(even) {
    flex-direction: row-reverse; /* Abwechselnd von rechts nach links */
}

.ariadne img {
    height: 320px; /* Höhe der Bilder */
    object-fit: cover; /* Schneidet die Bilder passend zu */
    display:block;
}
.ariadne-item .caption {
      margin-top: 5px; /* Abstand zwischen Bild und Unterschrift */
      font-size: 14px;
      text-align: center;
      color: #555; /* Dezente Farbe für die Unterschrift */
}




.madeiraSection {
  //width:100%;

   width: 150px;
   height: 100px;
   position: relative;;
   //background-color: #ADD8E6;
   display: flex;
   float:left;
   justify-content: center;
   align-items: center;
   margin:30px;
   text-decoration: none; color: black;
   border-radius: 30px;
   }
.madeiraS a:hover {
  color:red;
  font-weight: bold;
}



/* Grid für die Stadt-Karten
   Anzeige der Fahnen und Flaggen in den Berichten */
.city-grid {
  display: flex;               /* oder: display: grid; grid-template-columns: repeat(3, 1fr); */
  justify-content: center;
  gap: 1rem;
  padding:10px;
  border:1px solid #ddd;
  border-radius: 20px;
  margin-top: -15px;
}

/* Einzelkarte */
.city-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 5px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform .2s, box-shadow .2s;
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Bild-Stil */
.city-card img {
  display: block;
  margin: .75rem auto ;
  width: 130px;
  height: auto;
  border:1px solid #ddd;
  border-radius: 10px;
}

/* Überschrift & Aussprache */
.city-card h3 {
  margin: .75rem 0 .2rem;
  font-size: 1.1rem;
  color: #1e3c72;
}
.pronunciation {
  margin: 0 0 .75rem;
  font-size: .9rem;
  color: #555;
}


.zoom-container {
    position: relative;
}
.zoom-container img {
    max-width: 600px;
    max-height: 600px;
}
.zoom-lens {
    position: absolute;
    border: 1px solid #000;
    width: 250px;
    height: 250px;
    background: rgba(0,0,0,0.3);
    border-radius:10px;
    pointer-events: none;
    display: none; /* Standardmäßig unsichtbar */
}

.AndalusienOrte {
  width: auto;
  max-width: 100px;
  background-color: #f8fbff; /* Sanftes Blau */
  margin-left: 20px;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 12px;
  text-align: left;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
  border: 1px solid #d0e0f0; /* Dezente Umrandung */
}

.AndalusienOrte a {
  display: block;
  //padding: 0px 10px;
  color: #0366d6; /* Kräftiges Blau für bessere Lesbarkeit */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

.AndalusienOrte a:hover {
  color: #ff5733; /* Kräftiges Orange beim Darüberfahren */
  background-color: #eef1f5;
  //text-decoration: underline;
}

.slideshow {
    position: relative;
    width: 95%;
    //max-width: 800px;
    display:flex;
    overflow: hidden;
}
.slides {
    display: flex;
    transition: transform 1s ease-in-out;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
  width: 100%;           /* volle Breite */
  height: 500px;         /* gewünschte Höhe der Diashow */
  overflow: hidden;      /* Bildreste außerhalb des Containers ausblenden */
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  justify-content: center; /* horizontal zentrieren */
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* skaliert, erhält das Seitenverhältnis und zeigt das ganze Bild */
  object-position: center;
  padding:0 20px;
}
.parallax {
    height: 350px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 130%;
    margin-left: -15px;
}


.parallax-peter {
    background-image: url('images/1906_petersburg/peterhof/01_Kaskade_0.jpg');
}
.parallax-katharina {
    background-image: url('images/1906_petersburg/palast/01_Katharinenpalast_0.jpg');
}
.parallax-eremitage {
    background-image: url('images/1906_petersburg/eremitage/01_Eremitage_0.jpg');
}
.parallax-trike {
    height: 500px;
    background-image: url('images/2311_madeira/Trike.jpg');
}
.parallax-observatorium {
    height: 300px;
    background-image: url('images/1800_teneriffa/Observatorium_Teneriffa.jpg');
}


.Urlaubcontainer {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
}
.Urlaubcard {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.ausklappen {
  font-size: 20px;
  color: ccc;
}
.ausklappen a {
  text-decoration: none;
}
.OrtEinleitung {
  color:blue;
  font-weight:bold;
}

.galerie-button {
    display: inline-block;
    padding: 2px 12px 5px 12px;
    background-color: #0077cc;
    font-size: 12px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.galerie-button:hover {
    background-color: #0055aa;
}


.image-container {
    display: flex; /* Flexbox für einfaches Ausrichten */
    justify-content: center; /* Zentriert die Bilder horizontal */
    align-items: center; /* Zentriert die Bilder vertikal im Container */
    gap: 20px; /* Abstand zwischen den Bildern */
    border-radius: 8px;

}
.image-container img {
      border-radius:20px;
}

.glitzer-text {
  text-shadow:
    0 0 5px #FFD700,
    0 0 10px #FFA500,
    0 0 15px #FF4500;
  animation: glitzern 1.5s infinite alternate;
}

@keyframes glitzern {
  0% { text-shadow: 0 0 5px #FFD700, 0 0 10px #FFA500, 0 0 15px #FF4500; }
  100% { text-shadow: 0 0 10px #FFFFFF, 0 0 20px #FFD700, 0 0 30px #FFA500; }
}


@media (min-width: 600px) {
    .container {
        grid-template-columns: 3fr 1fr;
    }
}
@media (max-width: 600px) {
  .HundJ {
    display: none;
  }
  .fixed-area.Urlaubcard.small {
    display: none;
  }
  .header {
      flex-direction: column;
    }
  .footer {
    display: none
  }
  .parallax {
    width: 100%;
  }
  .city-card img {
    width: 90px;
  }
  .dropdownFlag {
    position: static;
    margin-top: 10px;
  }
}
