* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

header, footer {
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  text-align: center;
  flex-shrink: 0;
}

header nav {
  margin-top: 0.5rem;
}

header nav a {
  color: #ecf0f1;
  margin: 0 0.5rem;
  text-decoration: none;
  display: inline-block;
}

main {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  background-color: #ecf0f1;
}

.table-theme {
  background-color: white;
  border: 2px solid #bdc3c7;
  padding: 1rem;
  border-radius: 8px;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.cell {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Mobile Optimierung */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
  }

  header nav a {
    display: block;
    margin: 0.3rem 0;
  }

  main {
    padding: 1rem;
  }

  .table-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-section {
  margin-bottom: 2rem;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  
transition: all 0.3s ease;

}

.gallery-viewer {
  width: 100%;
  max-height: 400px;
  text-align: center;
  margin-bottom: 1rem;
}

.gallery-viewer img {
  max-width: 100%;
  max-height: 400px;
  border: 2px solid #ccc;
  border-radius: 8px;
}

.thumbnail-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
}

.thumbnail-scroll img {
  height: 100px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border 0.3s;
}

.thumbnail-scroll img:hover {
  border: 2px solid #3498db;
}

.downloads, .news {
  margin-top: 2rem;
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.downloads ul {
  list-style: none;
  padding-left: 0;
}

.downloads li {
  margin-bottom: 0.5rem;
}

.news article {
  margin-bottom: 1rem;
}


/* Galerie ausblenden */
.hidden {
  display: none;
}

/* Button im Stil einer Überschrift */
.toggle-button {
  cursor: pointer;
  background-color: #2c3e50;
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s;
  margin-bottom: 1rem;
}

.toggle-button:hover {
  background-color: #34495e;
}

.download-button {
  display: inline-block;
  background-color: #27ae60; /* kräftiges Grün */
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
}

.download-button:hover {
  background-color: #2ecc71; /* helleres Grün beim Hover */
  transform: scale(1.03);
}

.download-button:active {
  transform: scale(0.98);
}
