body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'geez able', Noto Sans Ethiopic ,Arial, Helvetica, sans-serif;
  background-color: #f7f3e9; /* Cremefarben für eine ruhige Atmosphäre */
  color: #2c3e50; /* Dunkles Blau für Text */
  max-width: 1920px; /* Limit the maximum width for very large screens */
  margin: 0 auto; /* Center the content horizontally */
}

.publish-date{
  font-size: 14px;
  color: #2c3e50; /* Dunkles Blau für Text */
  margin-top: -10px;
  margin-bottom: 10px;
  text-decoration: underline;
}

#predigtinfo{
  color: #1c39cd;
}
#predigtSubtitle{
  color: rgb(0, 105, 128);
}

.headerdiv {
  margin-top: -10px;
  background-color: #e7e7e7; /* Dunkles Grün */
  color: #212020; /* Weiß */
  height: 350px;
}

#logo {
  display: block; /* Ensure it's treated as a block element */
  margin: 0 auto; /* Center the logo horizontally */
  width: 50%;
  margin-bottom: 30px;
  height: 250px;
  margin-top: 20px;
  border: none;
}

.header-title {
  text-align: center;
  color: #1a1818; /* Weiß */
  font-size: 30px;
  margin: 0;
  margin-bottom: 15px;
  font-family: 'Arial', sans-serif;
  flex: 1;
  letter-spacing: 5px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px;
  max-width: 1600px; /* Limit the width of the flex container */
  margin: 0 auto; /* Center the flex container */
}

.flex-item {
  box-sizing: border-box;
  border-radius: 8px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.search-container {
  position: sticky; /* Make it sticky */
  top: 0; /* Position it at the very top */
  z-index: 2; /* Lower z-index to ensure it doesn't overlap the navigation bar */
  background-color: #f7f3e9; /* Match the page background */
  padding: 10px; /* Add padding for spacing */
  display: flex;
  justify-content: flex-end; /* Align to the right */
 
  gap: 20px; /* Add spacing between the search field and button */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  height: 50px; /* Set a fixed height */
  margin-bottom: 150px !important;
}

#search-input {
  margin-left: 250px; /* Remove unnecessary margin */
  padding: 3px 5px !important; /* Add padding for better usability */
  font-size: 16px;
  border: 1px solid #ccc; /* Add a visible border */
  border-radius: 15px;
  width: 200px; /* Ensure sufficient width */
  height: 30px !important; /* Ensure sufficient height */
  background-color: #ffffff; /* Ensure a visible background */
  color: #2c3e50; /* Ensure text is visible */
  pointer-events: auto; /* Ensure the input is interactive */
  z-index: 1000; /* Ensure it is above other elements */
  position: relative; /* Ensure it is properly positioned */
}

#search-button {
  background-color: #ffffff; /* Button background color */
  color: #ffffff; /* Button text color */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 50px;
  margin-left: 250px;
}

#search-button:hover {
  background-color: #909d9d; /* Darker shade on hover */
}

/* Slider*/
#slider {
  width: 1000px;
  margin: 0 auto; /* Center the slider */
  position: relative;
  overflow: hidden; /* Hide overflow for a cleaner look */
  border-radius: 8px;
}
@keyframes fade {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 0.6;
  }
}

.slides {
  display: none;
  justify-content: center;
  animation: fade 1s ease-in-out;
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.slides img {
  width: 100% !important; /* Ensure the image takes full width of the container */
  height: 600px !important; /* Increase the height of the slides */
  object-fit: cover; /* Ensure the image scales proportionally */
  display: block;
  margin: 0 auto;
  border: 3px solid #858543; /* Dunkles Grün */
}

img {
  width: 800px;
  height: auto;
  box-sizing: border-box;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

img:hover {
  transform: scale(1.05);
}
/* Optionales CSS für den Modal-Effekt */
.modal img {
  transition: transform 0.3s ease-in-out;
}

.modal img:hover {
  transform: scale(1.05); /* Bild leicht vergrößern, wenn der Benutzer mit der Maus darüber fährt */
}

#dot {
  margin: 10px auto 0 auto; /* Abstand und Zentrierung */
  text-align: center;
  display: flex; /* Flexbox für horizontale Ausrichtung */
  justify-content: center;
  gap: 10px; /* Abstand zwischen den Dots */
}

.dot {
  width: 15px !important; /* Breite der Dots */
  height: 15px !important; /* Höhe der Dots */
  border-radius: 50%; /* Runde Form */
  background: #37a3e1; /* Standardfarbe der Dots */
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease; /* Animation für Hover */
}

.dot:hover {
  transform: scale(1.2); /* Vergrößerung beim Hover */
}

.active {
  background: rgb(5, 128, 69); /* Farbe für den aktiven Dot */
}

@media (max-width: 1000px) {
  #slider {
    width: 100%;
  }
  .slides {
    width: 100%;
  }
  .flex-container {
    width: 100%;
  }
  .flex-item {
    width: 100%;
  }
} 
/*bis hier Slider*/

.centered-text{
  text-align: center;
}


/* Navigation */
nav {
  position: sticky;
  top: 50px; /* Ensure it is positioned below the search-container */
  z-index: 3; /* Higher z-index to ensure it stays above the search-container */
  background-color: #33646c; /* Match the navigation background */
  height: 80px;
  display: flex;
  align-items: center;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(142, 140, 140, 0.8); /* Make the shadow more prominent */
  border: 3px solid #eff6f6; /* Add a visible border */
}

nav ul {
  display: none; /* Hide navigation menu by default */
}

nav ul.responsive {
  display: flex; /* Show navigation menu when toggled */
  flex-direction: column; /* Stack items vertically */
  background-color: #2f4f4f; /* Match the navigation background */
  position: absolute;
  top: 80px; /* Below the header */
  left: 0;
  width: 100%; /* Full width */
  z-index: 1;
  padding: 10px 0; /* Add padding for better spacing */
}

nav ul.responsive li {
  margin: 5px 0; /* Add spacing between menu items */
  text-align: center;
}

nav ul li {
  position: relative;
  margin: 0 40px;
  list-style-type: none;
}

nav a {
  color: #181a1a; /* Dunkles Schiefergrau */
  text-decoration: none;
  padding: 10px 14px;
  display: block;
  border-radius: 3px;
  transition: background-color 0.3s ease;
  background-color: white; /* Weiß */
  font-weight: bold;
}

nav a:hover {
  background-color: #3a5a40; /* Dunkles Grün */
  color: #ffffff; /* Weiß */
}

/* Dropdown-Menü */
nav ul li ul {
  display: none;
  position: absolute;
  top: 80%; /* Position below the parent item */
  left: 45%; /* Align to the center */
  transform: translateX(-45%); /* Center the dropdown */
  background-color: #2b7ea1; /* Dropdown background */
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  text-align: center; /* Center the text inside */
  padding: 10px 0; /* Add padding to reduce extra space */
}

nav ul li:hover > ul {
  display: block;
}

nav ul li ul li {
  padding: 10px 20px; /* Add horizontal padding for better spacing */
  text-align: center; /* Center the subcategory items */
}

nav ul li ul li a {
  padding: 8px 15px;
  color: black;
}

nav ul li ul li a:hover {
  background-color: #4f5556;
}

/* Dropdown-Menü */

.language-list{
  display: flex;
  justify-content: flex-end;
 
}
.language-list li {
  margin: 100px 50px; /* Add spacing between language items */
  list-style-type: none; /* Remove default list style */
  text-align: center; /* Center the text inside each item */

}
.language-list li a {
  color: #2f4f4f; /* Dunkles Schiefergrau */
  text-decoration: none;
  padding: 10px 14px;
  display: block;
  border-radius: 3px;
  transition: background-color 0.3s ease;
  background-color: white; /* Weiß */
  font-weight: bold;
  z-index: 1000; /* Ensure it is above other elements */	
}


.dropbtn {
  background-color: #2f4f4f; /* Dunkles Schiefergrau */
  color: #ffffff; /* Weiß */
  padding: 10px 14px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-right: 30px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff; /* Weiß */
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: #2f4f4f; /* Dunkles Schiefergrau */
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius: 5px;
}

.dropdown-content a:hover {
  background-color: #3a5a40; /* Dunkles Grün */
  color: #ffffff; /* Weiß */
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #575757;
}


#lang-toggle {
  width: 80px;
  cursor: pointer;
  background-color: #06485e;
  border: none;
  border-radius: 6px;
  color: white;
}

section {
  padding: 20px;
  margin: 15px 40px 30px 40px;
  border: 1px solid #ddd;
}

section h2 {
  color: rgb(4, 97, 137);
  font-size: 30px;
}

section p {
  color: black;
  font-size: 18px;
}
 
.first-container {
  display: flex;
  justify-content: space-between;
}

.Gottesdienstplan {
  width: 100%; /* Breite des Containers */
  
}

.firstpage {
  display: none;
}

.firstpage > p {
  font-size: 18px;
  color: rgb(8, 179, 133);
  font-weight: bold;
  line-height: 4px;
}
.schedule-image {
  width: 100%;
  height: 500px;
 
}
.infopage {
  position: absolute;
  left: 880px;
  margin-top: 60px;
  border: 10px groove orange;
  background-image: linear-gradient(to bottom, rgb(145, 114, 22), rgb(10, 111, 74), rgb(16, 88, 124));
  border-radius: 4px;
  padding: 0 10px;
  width: 330px;
  height: 600px !important; /* Ensure the infopage has a fixed height */
  text-align: left;
  font-size: 18px;
  display: block; /* Ensure the infopage is visible */
  visibility: visible; /* Make sure it's not hidden */
  opacity: 1; /* Ensure full visibility */
  transition: opacity 0.3s ease-in-out; /* Smooth fade-in effect */
  max-height: 200px; /* Limit the height initially */
  overflow: hidden; /* Hide overflowing content */
  transition: max-height 0.3s ease-in-out; /* Smooth transition for height */
}

.infopage.show-more {
  max-height: 1000px; /* Expand to show full content */
}

.infoImage {
  width: 50%;
  border: #818788 2px solid;
  border-radius: 5px;
}

.infopage p {
  color: #080b0b;
  font-weight: bold;
}

.info-bild {
  width: 250px;
  border: 1px solid #ddd;
  border-radius: 10px;
  display: block; /* Ensure the image is visible */
  margin: 0 auto; /* Center the image */
}


#registrationLink{
  color: rgb(10, 60, 68);
}

.unterkategorie {
  padding: 30px;
  margin: 50px;
  font-size: 18px;
  text-align: justify;
}

#ፕሮጀክትቆመስ p {
  text-align: justify;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;

}

.fa {
  padding: 10px;
  font-size: 18px;
  width: 18px;
  text-align: center;
  text-decoration: none;
  margin: 5px 10px;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-whatsapp {
  background: #00bb6a;
  color: white;
}

.fa-envelope {
  background-color: gray;
  color: #d7eaf1;
}

footer {
  position: relative;
  height: 400px !important; /* Ensure the footer has a fixed height */
  max-width: 1600px; /* Limit the width of the footer */
  margin-right: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  background-color: #3a3938; /* Dark green */
  border-radius: 5px;
  box-shadow: #e1e3e3 0px 0px 10px; /* Add a shadow effect */
  padding: 10px; /* Add padding for spacing */
  width: 100%; /* Full width */
}
#copyrightText {
  position: absolute;
  margin-right: 40px;
  top: 300px;
  bottom: 10px;
  padding: 10px;
  width: 100%;
  text-align: center;
  bottom: 20px;
  font-size: 18px;
  color: white;
}

#contactUsTitle{
  position: absolute;
  color: white; /* Dunkles Grün */
  font-size: 26px;
  margin-bottom: 10px;
  top: 40px;
}
#aboutUsSublist{
  list-style-type: none; /* Remove default list style */
  padding: 0; /* Remove default padding */
  margin: 10px; /* Remove default margin */
  display: flex;
  color:rgb(213, 219, 222);
  flex-direction: column; /* Stack items vertically */
  gap: 20px; /* Add space between items */
  width: 100%;
}
#aboutUsSublist li{
  
  text-align: center; /* Center the text inside each item */
  
  
}
#aboutUsSublist li a {
  
  text-align: center; /* Center the text inside each item */
  color: white;
}
#aboutUsSublist li a:hover {
  color: #ff0000;
}


.more-content {
  display: none;
}

.link-extend,
.link-extend-weniger {
    cursor: pointer; /* Change cursor to pointer */
    color: #00008b; /* Dark blue color */
    text-decoration: underline; /* Optional: underline for emphasis */
}

#deButton {
  cursor: pointer;
}

#tigButton {
  cursor: pointer;
}

/* Entfernte Inline-Stile */

/* Fokuszustände für Barrierefreiheit */
a:focus,
button:focus {
  outline: 2px solid #429383;
  outline-offset: 2px;
}

/* Optimierung für wiederverwendbare Klassen */
.hr-line {
  border: 1px solid #ddd;
  margin: 10px 0;
}

/* Beispiel für die Verwendung von Klassen statt IDs */
.line {
  border: 1px solid #ddd;
  margin: 10px 0;
}

/* Links */
a {
  color: #2f4f4f; /* Dunkles Schiefergrau */
}

a:hover {
  color: #3a5a40; /* Dunkles Grün */
}

/* Buttons */
button {
  background-color: #2f4f4f; /* Dunkles Schiefergrau */
  color: #ffffff; /* Weiß */
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
}

button:hover {
  background-color: #3a5a40; /* Dunkles Grün */
}


/* Spendenbereich */
#spendenSection {
  background-color: #f7f3e9; /* Cremefarben */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#spendenTitle {
  color: #3a5a40; /* Dunkles Grün */
  font-size: 24px;
  margin-bottom: 10px;
}

#spendenDescription {
  color: #2c3e50; /* Dunkles Blau */
  font-size: 16px;
  margin-bottom: 20px;
}

#spendenButton {
  background-color: #3a5a40; /* Dunkles Grün */
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#spendenButton:hover {
  background-color: #2f4f4f; /* Dunkleres Schiefergrau */
}

/* Cookie Banner */
#cookieBanner {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

#cookieBanner a {
  color: #4caf50;
  text-decoration: underline;
}

#cookieBanner a:hover {
  color: #66bb6a;
}

#cookieBanner button {
  font-size: 14px;
  padding: 8px 15px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#cookieBanner button:hover {
  background-color: #66bb6a;
}

nav ul {
  display: none; /* Hide navigation menu by default */
}

nav ul.responsive {
  display: flex; /* Show navigation menu when toggled */
  flex-direction: column; /* Stack items vertically */
  background-color: #2f4f4f; /* Match the navigation background */
  position: absolute;
  top: 80px; /* Below the header */
  left: 0;
  width: 100%; /* Full width */
  z-index: 1;
  padding: 10px 0; /* Add padding for better spacing */
}

nav ul.responsive li {
  margin: 5px 0; /* Add spacing between menu items */
  text-align: center;
}

nav ul.responsive li a {
  padding: 15px;
  border-bottom: 1px solid #3a5a40; /* Add a border between items */
}

nav ul.responsive li a:hover {
  background-color: #3a5a40; /* Highlight on hover */
}

/* Ensure consistent styling for unordered lists and list items */
ul {
    list-style-type: disc; /* Use disc bullets by default */
    margin: 10px 0; /* Add spacing above and below the list */
    padding-left: 20px; /* Indent the list */
}

li {
    margin-bottom: 5px; /* Add spacing between list items */
    line-height: 1.5; /* Improve readability */
}

/* Handle nested lists */
ul ul {
    list-style-type: circle; /* Use circle bullets for nested lists */
    margin-left: 20px; /* Additional indentation for nested lists */
}

ul ul ul {
    list-style-type: square; /* Use square bullets for deeper nested lists */
}

/* Ensure dynamic content doesn't break the layout */
ul.translated, li.translated {
    list-style-type: inherit; /* Inherit the parent list style */
    margin: inherit; /* Inherit margins */
    padding: inherit; /* Inherit padding */
}

/* Media Queries */

@media (max-width: 1280px) {
  .responsive-logo {
    width: 80%;
    height: auto;
  }

  body {
    font-size: 17px;
  }

  .header-title {
    font-size: 24px;
  }

  .infopage {
    position: static;
    margin: 20px auto;
    width: 90%;
  }

  footer {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .flex-container {
    align-items: center;
  }

  .search-feld,
  .search-button {
    margin: 10px 0;
  }

  table {
    width: 100%;
  }

  .responsive-logo {
    width: 70%;
    height: auto;
  }

  body {
    font-size: 16px;
  }

  .header-title {
    font-size: 22px;
  }

  footer {
    font-size: 14px;
  }
}

/* Media Query for iPad screens */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* Adjust header */
  .headerdiv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  .header-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .responsive-logo {
    width: 80px;
    height: auto;
  }

  /* Adjust navigation */
  nav ul#navList {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  nav ul#navList li {
    margin: 0 10px;
  }

  nav ul#navList li a {
    font-size: 1rem;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
  }

  /* Search container */
  .search-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 10px 20px;
  }

  .search-feld input {
    width: 200px;
    padding: 8px;
    font-size: 1rem;
  }

  .search-button button {
    padding: 8px 15px;
    font-size: 1rem;
    cursor: pointer;
  }

  /* Main content */
  main {
    padding: 20px;
    margin: 0;
  }

  .more-content {
    width: 100%;
    padding-right: 10px;
  }

  .content {
    margin-bottom: 20px;
  }

  .infoImage {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  /* Footer */
  footer{
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    height: 60px; /* Ensure consistent height on smaller screens */
  }
}

@media (max-width: 768px) {

  .Termin-div {
    margin: 40px;
    background-color: #f0f0f0;
    width: 75% !important;
    margin-left: auto;
    margin-right: auto;
  
  }
  .T-Thema {
    color: #222;
    font-size: 20px !important;
    text-align: center;
    margin-top: 25px;}
  body {
    font-size: 15px;
    text-align: left; /* Stelle sicher, dass der Text standardmäßig links ausgerichtet ist */
  }

 
  .language-list{
    position: absolute;
    top: 5px;
    height: 20px !important;
   
  }
  .dropdown{
    margin-right: 150px;
 }
 .dropbtn {
     width: 100%;
     padding: 10px;
     background: none;
     border: none;
     text-align: center;
     font: inherit;
     color: #242323;
     cursor: pointer;
     background-color: #f1f1f1;
     
 }

 .dropdown-content {
     display: none;
     position:absolute;
     background-color: #e0e0e0;
     width: 20px;
    
     box-shadow: none;
 }

 .dropdown-content a {
     display: inline;
     border: #494a4a 1px solid;
     text-align: center;
     color: #444;
 }

.dropdown:hover .dropbtn {
  transition: 1s;
}
  #openTime{
    font-size: 20px;
    text-align: center;
  }



  .infopage {
    position: static;
    margin: 20px auto;
    width: 90%;
    text-align: left; /* Stelle sicher, dass der Text links ausgerichtet ist */
  }

  .first-container {
    flex-direction: column;
    align-items: center;
    text-align: left; /* Standardmäßig links ausrichten */
  }

  .flex-container {
    flex-direction: column; /* Stack items vertically */
    gap: 10px; /* Reduce gap between items */
    padding: 10px; /* Reduce padding */
  }

  .flex-item {
    width: 100%; /* Make items take full width */
    margin: 0 auto; /* Center items */
  }

  #slider {
    width: 90%; /* Reduce slider width */
    margin: 0 auto; /* Center the slider */
  }

  .slides img {
    width: 100%; /* Ensure images fit within the slider */
    height: 200px !important; /* Set a smaller uniform height for slides */
    object-fit: cover; /* Ensure images are cropped proportionally */
  }

  .search-feld,
  .search-button {
    display: inline-block; /* Place them side-by-side */
    width: 45%; /* Adjust width for smaller screens */
    margin: 0 2%; /* Add spacing between them */
    vertical-align: middle; /* Align them vertically */
  }

  #search-input {
    font-size: 12px; /* Smaller font size */
    padding: 5px; /* Adjust padding */
    height: 17px !important;
  }

  nav ul {
    display: none; /* Hide navigation menu by default */
  }

  nav ul.responsive {
    display: flex; /* Show navigation menu when toggled */
  }

  nav ul.responsive li ul {
    position: relative; /* Ensure the submenu is positioned relative to its parent */
    transform: none; /* Remove centering transformation */
    background-color: #2b7ea1; /* Keep the dropdown background */
    border-radius: 5px;
    box-shadow: none; /* Remove shadow for simplicity */
    padding: 5px 0; /* Reduce padding for better spacing */
    margin-top: 2px; /* Reduce the gap between parent and submenu */
  }

  nav ul.responsive li ul li {
    text-align: left; /* Align submenu items to the left */
    padding: 10px 20px; /* Add horizontal padding */
  }

  nav ul.responsive li ul li a {
    padding: 8px 15px;
    color: black;
  }

  nav ul.responsive li ul li a:hover {
    background-color: #2fa5ba;
  }

  .responsive-logo {
    width: 50%; /* Smaller logo size */
    height: auto;
    display: block; /* Ensure it's treated as a block element */
    margin: 0 auto; /* Center the logo horizontally */
  }
#aboutUsLink{
  text-align: center;
}
  .headerdiv {
    text-align: center; /* Center the content inside the header */
    height: 150px !important;
  }

  body {
    font-size: 15px;
  }

  .header-title {
    font-size: 16px !important;
    text-align: center; /* Zentriere nur spezifische Elemente */
    letter-spacing: 0.4px !important;
    word-spacing: 0px !important;
      
    
  }

  .infopage {
    position: static; /* Make it flow naturally in the document */
    margin: 20px auto;
    width: 90%;
  }

  .first-container {
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
  }
/* Styling für den Footer */
footer {
  height: 60px !important; /* Ensure the footer has a fixed height */
  display: flex;
  background-color: #f7f3e9; /* Dark green */
  position: relative;
  color: #302f2f; /* White text */
  justify-content: center; /* Center the content */
  border-radius: 5px;
  box-shadow: #737575 0px 0px 10px; /* Add a shadow effect */
  padding: 10px; /* Add padding for spacing */
  width: 100%; /* Full width */
}
#copyrightText {
  position: absolute;
  top: 45px;
  padding: 10px;
  text-align: center;
  font-size: 8px;
  color: rgb(12, 12, 12)
}
#aboutUsTitle ul li a{
  
  margin-right: 40px;
  padding: 10px;
}
#contactUsTitle{
  position: absolute;
  color: #0c5481; /* Dunkles Grün */
  font-size: 8px;
  top: 0;
}

#aboutUsSublist{
  list-style-type: none; /* Remove default list style */
  padding: 0; /* Remove default padding */


}

#aboutUsSublist li{
  
  text-align: center; /* Center the text inside each item */
  margin-left: 20px;
  
  
}
#aboutUsSublist li a {
  
  text-align: center; /* Center the text inside each item */
  color: #1856bb;
}
.fa {
  padding: 6px;
  font-size: 6px;
  width: 6px;
  text-align: center;
  text-decoration: none;
  margin: 4px;
  border-radius: 50%;}

  .dot {
    width: 5px !important; /* Breite der Dots */
    height: 5px !important; /* Höhe der Dots */
    border-radius: 50%; /* Runde Form */
    background: #37a3e1; /* Standardfarbe der Dots */
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease; /* Animation für Hover */
  }
body{
  font-family: 'geez able', Noto Sans Ethiopic sans-serif;

}

@font-face {
  font-family: 'GeezAble';
  src: url('geez-able/to/GeezAble.ttf') format('truetype');
}
  
}




  .search-container {
    justify-content: flex-end; /* Keep aligned to the right */
    padding: 0 10px; /* Add padding for smaller screens */
  }

  .search-feld,
  .search-button {
    width: 40%; /* Adjust width for smaller screens */
    margin: 0 5px; /* Add spacing between them */
  }

  #search-input {
    font-size: 12px; /* Smaller font size */
    padding: 5px; /* Adjust padding */
    height:13px; ;
  }

  #logo {
    margin-bottom: 10px; /* Reduce the bottom margin */
  }

  nav {
    margin-top: -100px; /* Reduce the top margin */
  }

  /* Responsive styles for smartphones */
  .content {
    margin: 10px 0; /* Add some margin for smaller screens */
    border: 1px solid #ccc; /* Adjust border thickness */
    border-radius: 5px; /* Slightly smaller rounded corners */
    margin-left: -50px;
    padding: 15px; /* Reduce padding */
    box-shadow: none; /* Remove shadow for simplicity */
    max-width: 100%; /* Ensure it fits within the screen */
  }

  #currentInfoTitle {
    text-align: center;
    font-size: 20px;
  }

  #textViewer {
    min-height: 0 !important; /* Completely remove min-height on smartphones */
    height: auto; /* Allow height to adjust dynamically */
  }

  #textContent {
    margin-top: 0;
  }

 
  thead,tbody{
    font-size: 12px;
  }
  
.DienstTitle{
  margin-left: 50px;
}
.Gottesdienstplan{
  width: 100%; /* Full width for the Gottesdienstplan */
  margin: 0 auto; /* Center the container */
}
.erwachsene, .kinder{
  font-size: 10px !important; /* Adjust font size for smaller screens */
}

@media (max-width: 640px) {
  nav ul.responsive li a {
    font-size: 16px;
  }

  #search-input {
    width: 90%;
  }

  #search-button {
    width: 50px;
  }

  .responsive-logo {
    width: 50%;
    height: auto;
  }

  body {
    font-size: 12px;
  }
  th,td{
    width: 25% !important;
    margin-right: 30px !important;
  }

  .header-title {
    font-size: 18px;
  }

  .infopage {
    margin-top: 10px; /* Add spacing between firstpage and infopage */
  }

  .bildgottesdiensplan {
    display: none;
  }
.firstpage {
    display: block;
  }
  .DienstTitle {
    display: none;
  }
  #currentInfoTitle {
    text-align: center;
  }
  #languageList {
   margin: 0 auto;
   margin-top: -100px;
   width: 100%;
   padding: 0;
   height: 150px;
  

}
.language-list li {
  list-style-type: none;
  padding: 5px;
  text-align: center;
  z-index: 1000; /* Ensure it is above other elements */

}

  
  



}

@media (max-width: 475px) {
  .flex-container {
    gap: 5px; /* Further reduce gap */
    padding: 5px; /* Further reduce padding */
  }

  #slider {
    width: 100%; /* Full width for very small screens */
  }

  .slides img {
    width: 100%; /* Ensure images fit within the slider */
    height: auto;
  }

  .search-feld,
  .search-button {
    width: 40%; /* Slightly larger width for very small screens */
    margin: 0 2px; /* Adjust spacing */
  }

  nav ul.responsive li a {
    font-size: 14px;
  }

  .header-title {
    font-size: 14px;
  }

  #serviceTime {
    font-size: 14px;
  }

  .responsive-logo {
    width: 40%; /* Even smaller logo size */
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .headerdiv {
    text-align: center; /* Center the content inside the header */
    width: 100%;
    height: 30%;
  }

  .search-container {
    justify-content: flex-end; /* Keep aligned to the right */
    padding: 0 5px; /* Further reduce padding */
    margin-bottom: 20px !important; /* Add bottom margin for spacing */
  }

  .infopage {
    margin-top: 5px; /* Reduce spacing for very small screens */
  }

  footer {
    font-size: 8px;
  }

  .search-feld,
  .search-button {
    width: 40%; /* Slightly larger width for very small screens */
    margin: 0 2px; /* Adjust spacing */
  }

  #search-input,
  #search-button {
    font-size: 10px; /* Further reduce font size */
    padding: 4px; /* Adjust padding */
  }

  #logo {
    margin-bottom: 5px; /* Further reduce the bottom margin */
  }

  nav {
    margin-top: -5px; /* Further reduce the top margin */
    height: 40px;
  }

  #logo {
    width: 50%; /* Set a very small width */
    height: auto; /* Maintain aspect ratio */
    margin: 0 auto; /* Center the logo */
  }
}

/* xs */
@media (min-width: 475px) {
  .responsive-logo {
    width: 20%; /* Adjust logo size */
    height: 5%;
  }

  body {
    font-size: 11px; /* Adjust font size */
  }

  .header-title {
    font-size: 10px; /* Adjust header title font size */
  }

  .search-container {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .search-feld {
    margin-left: 200px;
    display: inline;
  }

  .search-button {
    margin-left: 15px;
  }
}

/* sm */
@media (min-width: 640px) {
  .responsive-logo {
    width: 40%; /* Slightly larger logo */
    height: 5%;
    margin-left: auto;
    margin-right: auto;
  }

  body {
    font-size: 15px; /* Slightly larger font size */
  }

  .header-title {
    font-size: 16px; /* Adjust header title font size */
  }

  div.search-container {
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 20px;
  }

  div.search-feld {
    margin-left: 300px;
    display: inline;
  }

  div.search-button {
    margin-left: 70px;
  }
  
}

/* md */
@media (min-width: 768px) {
  nav ul {
    display: flex; /* Show navigation menu */
    flex-direction: row;
  }

  .responsive-logo {
    width: 60%; /* Larger logo */
  }

  body {
    font-size: 16px; /* Standard font size */
  }

  .header-title {
    font-size: 20px; /* Adjust header title font size */
  }

  .search-container {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .search-feld {
    margin-left: 300px !important;
    display: inline;
  }

  .search-button {
    margin-left: 80px;
  }
 #firstPage{
  width: 560px  ;

 }
}

/* lg */
@media (min-width: 1024px) {
  .flex-container {
    flex-direction: row; /* Align flex items in a row */
  }

  .infopage {
    position: absolute;
    left: 930px;
    width: 330px;
  }
  #scheduleTable {
    width: 100%;
  }

  .responsive-logo {
    width: 80%; /* Larger logo */
  }

  body {
    font-size: 17px; /* Slightly larger font size */
  }

  .header-title {
    font-size: 24px; /* Adjust header title font size */
  }

  .search-container {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 40px;
  }

  .search-feld {
    margin-left: 240px;
    display: inline;
  }

  .search-button {
    margin-left: 70px;
  }
}

/* xl */
@media (min-width: 1280px) {
  .responsive-logo {
    width: 90%; /* Larger logo */
  }

  body {
    font-size: 18px; /* Larger font size */
  }

  .header-title {
    font-size: 26px; /* Adjust header title font size */
  }
}

/* Direkt im CSS, nicht in einer Media Query */
.hamburger {
  display: none; /* Auf Desktop standardmäßig verstecken */
}

/* Center the .content div and add a border */
.content {
  margin: 5 0; /* Center horizontally */
  /* Optional: rounded corners */
  padding: 20px; /* Add padding inside the border */
  max-width: 800px; /* Optional: limit the width */
}

/* Fade-in and fade-out effect for textBookSection */
#textContent {
  transition: opacity 0.3s ease-in-out; /* Smooth fade-in and fade-out effect */
}

#textViewer {
  transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Smooth height and opacity adjustment */
}

header,
main,
footer {
  max-width: 1600px; /* Limit the width of header, main, and footer */
  margin: 0 auto; /* Center them */
}


.time-container {
  max-width: 500px;
  margin: auto;
  background: rgb(235, 230, 230);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  
}
.time-container h1 {
  text-align: center;
  color: #333;
}
.time-container ul {
  list-style: none;
  padding: 0;
}
.time-container li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

#openTime {
  color: #333;
  text-align: center;
  margin-top: 20px;
}

.first-container {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertikal */
  
}
.DienstTitle{
  text-align: center;
}

