/* styles.css in /css  */
/* ------ ------ ------ HTML Start ------ ------ ------ */

html { font-size: 16px; /* Basiswert für rem */
    max-width: 960px;
    margin: 0 auto; }

body {
    font-size: 1rem;  /* Entspricht 16px */
    background-color: #c9f1e8; /* Alternativ eine andere Farbe */
    font-family: Arial, sans-serif;
    max-width: 1000px;  */
    margin: 0 auto;
    padding: 0;
    color: #000;
    text-align: center;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1.1rem; }

p { font-size: 1rem;  }
.ph1 { font-size: 1.75rem; }
.ph2 { font-size: 1.5rem; }
.ph3 { font-size: 1.4rem; }
.ph4 { font-size: 1.3rem; }
.ph5 { font-size: 1.2rem; }
.ph6 { font-size: 1.1rem; }

hr {
    width: 100%;
    height: 5px;
    background-color: #ffd700;
    border: none;
    margin-top: 20px;
}

/* ------ ------ ------ HTML Ende ------ ------ ------ */


/*  ------ ------ ------ Menü START ------ ------ ------ */
/* Gemeinsames Styling für das Menü */
#top-menu {
    width: 100%; /* Menü nimmt 100% der Breite ein */
    max-width: 960px; /* Maximale Breite bleibt bei 960px für große Bildschirme */
    margin: auto; /* Zentriert das Menü horizontal */
    padding: 2px 0;
    display: flex;
    justify-content: center; /* Links zentrieren */
    gap: 10px; /* Abstand zwischen den Links */
    align-items: center; /* Vertikale Ausrichtung */
}

/* Styling der Links */
#top-menu a, #bottom-menu a {
    display: inline-block; /* Links nebeneinander anordnen */
    text-decoration: none; /* Unterstreichung entfernen */
    color: black; /* Schriftfarbe */
    font-size: 1.25rem; /* Schriftgröße */
    padding: 0 2%; /* Abstand zwischen den Links */
}

/* Styling der Bilder */
#top-menu img, #bottom-menu img {
    width: 74px;
    height: 32px;
    vertical-align: middle; /* Bild mit Text ausrichten */
    margin-right: 10px; /* Abstand zwischen Bild und Text */
}

/* Hover-Effekt */
#top-menu a:hover, #bottom-menu a:hover, #topicList li a:hover {
    text-decoration: underline; /* Unterstreichung beim Hover */
    color: #0073e6; /* Hover-Farbe */
}


/*  ------ ------ ------ Menü ENDE ------ ------ ------ */


/* ------ ------ ------ Flaggen START ------ ------ ------ */

.flag-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 960px; /* Maximale Breite des Containers */
    width: 100%; /* Container füllt den verfügbaren Platz */
    margin: 0 auto; /* Zentriert den Container */
    flex-wrap: wrap; /* Standard: Umbrechen */
}

.flag-wrapper {
    position: relative;
    display: inline-block;
    max-width: 110px; /* Setze eine maximale Breite für die Flaggen */
    flex: 1 0 auto; /* Lässt die Flaggen flexibel wachsen, ohne zu brechen */
}

.tooltip {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.flag-wrapper:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 960px) {
    .flag-container {
        flex-wrap: wrap; /* Umbrechen bei 960px */
    }
}

/* ------ ------ ------ Flaggen ENDE ------ ------ ------ */


/*  ------ ------ ------ MiniBot START ------ ------ ------ */

.section #minibot {
   text-align: center;
}

/* Sicherstellen, dass .image-container ein Bezugspunkt ist */
.image-container {
  position: relative;
  width: 100%; /* Breite des Bildes */
  height: auto; /* Höhe des Bildes */
/*   margin-bottom: 20px; /* Abstand zwischen den Bildern */
}

/* Bild füllt den Container */
.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Das Overlay über das Bild legen */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* Dunkles Overlay */
  color: white; /* Hauptfarbe des Textes */
  text-shadow: -1px -1px 2px black,  
                 1px -1px 2px black,
                 -1px 1px 2px black,
                 1px 1px 2px black; /* Schwarzer Rand */
  display: flex; /* Flex-Container für zentrierten Text */
  flex-direction: column; /* Text untereinander */
  align-items: center; /* Zentriert den Text vertikal */
  justify-content: center; /* Zentriert den Text horizontal */
  text-align: center;
  padding: 0px; /*  10px */
  z-index: 10; /* Sicherstellen, dass das Overlay oben ist */
}

.main {
    font-size: 2.2rem;
    font-weight: bold;
}

.small {
    font-size: 1.5rem;
    font-weight: bold;
}

.hgbild {
    font-size: 1rem;
}

.perstitel {
    font-size: 1.3rem;
    font-weight: bold; /* Fettschrift */
    background-color: #ffff99;
    color: #333;
    max-width: 90%;
    margin: 0 auto; /* Für horizontale Zentrierung */
    text-align: center;
}

.impuls {
    font-size: 1.2rem;
    color: #333;
    max-width: 90%;
    margin: 0 auto; /* Für horizontale Zentrierung */
    text-align: center; /* Für den Text */
}

.prayer {
    font-size: 1.25rem;
    color: #333;
    background-color: #ffffcc;
    max-width: 90%;
    margin: 0 auto; /* Für horizontale Zentrierung */
    text-align: center; /* Für den Text */
}

#changeButton {
  display: block;
  margin: 0 auto; /* zentriert den Button */
  background: none; /* kein Hintergrund */
  border: none; /* kein Rand */
  padding: 0; /* keine Innenabstände */
  cursor: pointer; /* zeigt Handcursor an */
}


/*  ------ ------ ------ MiniBot ENDE ------ ------ ------ */

/*  ------ ------ ------ Media screen START ------ ------ ------ */

/* Anpassung für kleinere Bildschirme */
@media screen and (max-width: 650px) {
    .overlay {
        width: 100%;
        bottom: 10px;
        white-space: normal;
        text-align: center;
        padding: 2px 0;
    }

    .main {
        font-size: 1.2rem;
        font-weight: bold;
    }

    .small {
        font-size: 1rem;
        font-weight: bold;
    }

    .hgbild {
        font-size: 0.8rem;
    }

    #top-menu {
        flex-direction: column;
        white-space: normal;
        text-align: center;
        padding: 2px 0;
    }

    #top-menu a {
        display: block;
        margin: 5px 0;
        padding: 2px;
        font-size: 1.2em;
        text-align: center;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.75rem; }

    p { font-size: 1rem; }
    .ph1 { font-size: 1.5rem; }
    .ph2 { font-size: 1.25rem; }
    .ph3 { font-size: 1rem; }
    .ph4 { font-size: 1rem; }
    .ph5 { font-size: 1rem; }
    .ph6 { font-size: 0.75rem; }

  #searchInput {
        font-size: 1rem;  /* Auf 1rem setzen (16px bei Basiswert 16px) */
    }

#topicList li {
    font-size: 1rem !important;  /* Schriftgröße auf 1rem setzen */
    margin: 5px 0;    /* Etwas Abstand zwischen den Listeneinträgen */
}

#searchInput {
    padding: 10px;                /* Etwas Abstand innen im Suchfeld */
    font-size: 1rem;           /* Schriftgröße auf 1.25rem setzen */
}

}

/*  ------ ------ ------ Media screen ENDE ------ ------ ------ */

/*  ------ ------ ------ Listen START ------ ------ ------ */

.haupt {
   font-size: 1.3rem;
   color: red; /* Hauptfarbe des Textes */
   font-weight: bold;
}

.unter {
   font-size: 1rem;
   font-weight: normal;
}

.autor {
   font-size: 1.3rem;
   color: #333; /* Hauptfarbe des Textes */
   font-weight: normal;
}

/*  ------ ------ ------ Listen Ende ------ ------ ------ */

/*  ------ ------ ------ Suchfunktion Start ------ ------ ------ */

/* Container für die Suchleiste */
.search-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/* Stil für das Eingabefeld */
#searchInput {
    padding: 10px;                /* Etwas Abstand innen im Suchfeld */
    font-size: 1.25rem;           /* Schriftgröße auf 1.25rem setzen */
    text-align: center;
    font-weight: bold;
    background-color: #ffff99;    /* Hintergrundfarbe auf #ffff99 setzen */
    border: 2px solid #ccc;       /* Leichte graue Randlinie für das Eingabefeld */
    border-radius: 4px;           /* Abgerundete Ecken */
    width: 75%;                   /* Breite auf 75% setzen */
    outline: none;                /* Entfernt den Standard-Fokusrahmen */
    transition: border-color 0.4s ease; /* Übergangseffekt für den Rahmen */
}

/* Stil für den Fokus (wenn der Benutzer in das Eingabefeld klickt) */
#searchInput:focus {
    border-color: #007bff;        /* Blauer Rahmen, wenn das Suchfeld fokussiert ist */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);  /* Leichter blauer Schlagschatten */
}

#topicList {
    list-style-type: none; /* Entfernt die Standard-Punkte der Liste */
    padding: 0;
    margin: 0 auto;
    text-align: center;
}

/* Stil für die Listeneinträge (Suchergebnisse) */
#topicList li {
    font-size: 1.2rem !important;  /* Schriftgröße auf 1rem setzen */
    margin: 5px 0;    /* Etwas Abstand zwischen den Listeneinträgen */
}

/* Stil für die Links in den Listeneinträgen */
#topicList li a {
    text-decoration: none;  /* Entfernt die Unterstreichung der Links */
    color: #000;            /* Schwarze Schriftfarbe für die Links */
/*    font-weight: normal;    /* Optional: Standard Schriftgewicht */
}

/*  ------ ------ ------ Suchfunktion Ende ------ ------ ------ */

/*  ------ ------ ------ Bibelversliste Start ------ ------ ------ */

a {
  text-decoration: none;
  color: blue;
}

ul {
   width: 70%;
   margin: 0 auto;
   list-style-type: none;
   padding: 0;
}

li {
   padding: 2px;
   text-align: left;
   border-top: 1px solid black;
}

a:hover { text-decoration: underline; }

/*  ------ ------ ------ Bibelversliste Ende ------ ------ ------ */

