html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;


}
html {
  height: 100%;
}

html {
  line-height: 1.5;
}


body {
    font-family: 'Orbitron', Arial, sans-serif;
    background-image: url('img/background_new_dark.jpeg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;


}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.site-header {
    width: 100%;
    padding: 20px 10px; /* Allgemeines Padding, anpassbar für verschiedene Geräte */
    box-sizing: border-box; /* Stellt sicher, dass das Padding die Breite nicht beeinflusst */
    align-items: center;
    flex-direction: column;
}

.horizontal-menu {
    list-style-type: none; /* Entfernt die Punkte vor den Listenelementen */
    margin: 0;  /* Entfernt den Standard-Außenabstand */
    padding: 0; /* Entfernt den Standard-Innenabstand */
    text-align: center;
}

.horizontal-menu li {
    display: inline-block; /* Stellt die Listenelemente nebeneinander */
    margin-right: 20px; /* Fügt einen rechten Abstand zwischen den Elementen hinzu */
    color: white;
    font-weight: 800;
}

li {
    color: white;
}

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

a:hover {color: #ddd}

.issue:hover {
    color: black !important;
}

@media (min-width: 1280px) {
  .site-header {
    padding: 40px 50px;
  }
}

.logo {
    height: auto; /* Erhält das Seitenverhältnis des Logos */
    max-width: 100%; /* Stellt sicher, dass das Logo nie breiter als der Header ist */
}

/* Media Queries für Anpassungen auf kleinen Bildschirmen */
@media (max-width: 768px) {
    .site-header {
        justify-content: center; /* Zentriert das Logo auf kleinen Bildschirmen */
    }
}

.logo-line {
    height: 4px; /* oder die gewünschte Dicke der Linie */
    background-color: white; /* die Farbe der Linie */
    width: 100%; /* nimmt die volle Breite des Elternelements, d.h. die Breite des Logos */
    margin: auto;
    margin-top: 20px;
    margin-bottom: 10px;
}
#menu-line {
    margin-top: 10px;
}

h1 {
  width: 100%;
  text-align: center;
  margin-top: 50px;
  color: white;
}

.container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px; /* Maximalbreite des Containers */
    margin: 0 auto; /* Horizontal zentrieren */
    overflow: auto; /* Erlaubt Scrollen, wenn der Inhalt überläuft */
    box-sizing: border-box;
    padding: 20px;
    padding-bottom: 50px;
}

.containerredbox {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
    padding-bottom:50px;
}

.issue {
    text-decoration: none;
    color: white;
    padding: 0px;
    margin-bottom:-7px;
}

.issue:hover img {
    box-shadow: 0 0px 60px rgb(0 0 0 / 100%);
}

.issue img {
    max-width: 100%;
    height: auto;
}

.issue-info p {
    margin: 5px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
    }
}

.footer {
    background-color: #37474f9c; /* Dunkler Hintergrund für den Footer */
    color: white; /* Weiße Textfarbe */
    padding: 10px 20px; /* Padding innerhalb des Footers */
    display: flex; /* Flexbox, um Inhalte nach links und rechts zu richten */
    justify-content: space-between; /* Positioniert linke und rechte Inhalte an den Rändern */
    backdrop-filter: blur(5px);
}

.footer-left, .footer-right {
    padding: 5px; /* Etwas Padding um den Text */
}

.footer a {
    color: white; /* Stellt sicher, dass Links weiß sind */
    text-decoration: none; /* Entfernt Unterstreichungen */
    margin-left: 20px; /*Damit die Links nicht zu nahe beieinander sind*/
}

.footer a:hover {
    text-decoration: underline; /* Fügt eine Unterstreichung beim Hover hinzu */
}

b {
    color: white;
}

.column {
    flex: 1;
    padding: 15px;
}

.left-column img {
    width: 100%;
    height: auto;
        padding-top: 50px;
}

@media (max-width: 768px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

/* --- Ergänzungen für gemeinsames & mobiles Menü --- */
.site-header { display: flex; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  margin: 10px 0;
}
.nav-toggle .bar {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; align-self: flex-end; }

  .horizontal-menu {
    display: none;
    width: 100%;
  }
  .horizontal-menu.open {
    display: block;
  }
  .horizontal-menu li {
    display: block;
    margin: 10px 0;
  }
}
