:root {
  --bg-color1: #ebf8fb;
}


article {
  display: none;
}

body {
  background-color: var(--bg-color1);
  font-family: Arial, sans-serif;
}

.top-container {
  width: 320px;
  margin-top: 15px;
  background-color: var(--bg-color1);
  padding: 0px 10px 10px 10px;
}

.footer-container {
  width: 100%;
  color: white;
  background-color: black;
  text-align: center;
}

.events-title {
  top: -20px;  
}

.title-underline {
  top: -15px;
  position: relative;
  margin-bottom: 5px;
}

.header-centered {
  padding: 5px 0px;
  text-align: center;
  margin-bottom: 0px;
}

.header-centered img {
  margin: 0 auto;
  width: 70%;
}

.overlay {
  z-index: 9999;
  height: 0;
  width: 0;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #b2e7f3;
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overlay a {
  padding: 5px;
  text-decoration: none;
  font-size: 24px;
  color: black;
  display: block;
  transition: 0.5s;
}

.overlay a:hover {
  color: #ff9800;
}

.overlay .closebtn {
  position: static;
  font-size: 40px;
}

.menu-container {
  height: 0px;
}

.title {
  font-weight: bold;
  text-align: center;
}

/* Button für das Öffnen des Menüs */
.menu-button {
  top: -59px;
  position: relative;
  background-color: var(--bg-color1);
  cursor: pointer;
  border: none;
  color: black;
}

.menu-button > .burger {
  font-size: 30px;
}

.menu-button > .text {
  position: relative;
  top: -10px;
}

.igmf-table {
  background-color: var(--bg-color1);
  border-collapse: collapse;
}

.igmf-table td {
  background-color: var(--bg-color1);
  border: none;
  border-bottom: 1px solid #dee2e6;
}

#termine-block table.table-hover tbody tr:hover {
  background-color: #c2dbf6; 
}

.anzahl-zeilen-select {
  width: 100%;
}

.termin-suchfeld {
  width: 100%;
}

/* carousel in index page */
.carousel {
  width: 90%;
  margin: 30px auto;
}

.carousel-inner {
  width: 100%;
  height: 200px;
  margin: 0px auto;
  border-radius: 5px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* or 'cover' */
}

.sparte-image {
  width: 100%; 
  border-radius: 8px;
  display: block;
}

.details-link {
  font-size: small;
  text-decoration: none;  
}

/* --- desktop --- */

@media (min-width: 600px) {
  .top-container {
    width: 580px;
    margin: 15px auto 0px auto;
  }
  
  .footer-container {
    width: 580px;
  }
  
  .events-container {
    margin-top: 30px;
  }

  .termin-suchfeld {
    width: 300px;
  }

  .anzahl-zeilen-select {
    width: 200px;
  }

  .carousel {
    margin-bottom: 20px;
    border-radius: 5px;
  }

  .carousel-inner {
    height: 330px;
  }
  
  .menu-button {
    top: -64px;
    position: relative;
    background-color: var(--bg-color1);
    cursor: pointer;
    border: none;
    color: black;
  }

}

.subpage-breadcrumb {
  margin-bottom: 20px;
}

.indent-50 {
  display: inline-block;
  width: 50%;
}

.download-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.download-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
