/* Allgemeine Layout-Einstellungen */
body {
    height: 100%;
    font-family: Arial, sans-serif;
    background-image: url('jpges/sturm-und-stromkreis35.jpg') !important;/* Pfad zum Bild */
    background-size: cover !important;/* Deckt den gesamten Bildschirm ab */
    background-position: center !important;/* Zentriert das Bild */
    background-repeat: no-repeat !important;/* Verhindert Wiederholung */
    background-attachment: fixed !important;/* Fixiert das Bild, sodass es beim Scrollen bleibt */
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f4f4f4  ;
}

@font-face {
    font-family: 'BigKeyCaps';
    src: url('fonts/BigKeyCaps.ttf') format('truetype'); /* Ersetze den Pfad durch den tatsächlichen Dateipfad */
    font-weight: normal;
    font-style: normal;
  }

h1, h2 {
    color: rgb(68, 133, 82); 
    font-weight: bold;
    text-align: center;
}

/* Header und Navigationsleiste */
.header-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -5x; /* Abstand zwischen dem Bild und den nächsten Elementen */
    width: 50%; /
}
.main-nav {
    background-color: #334; 
    padding: 10px 20px;
    color: white;
}

.main-nav h1.header-title {
    font-family: 'BigKeyCaps', Arial, sans-serif;
    margin: 14px;
    font-size: 37px;
    letter-spacing: 2px;
    color: white;
}
@media (max-width: 768px) {
    .main-nav h1.header-title {
        font-size: 24px; /* Reduziere die Schriftgröße auf mobilen Geräten */
        margin: 10px;
        letter-spacing: 1px;
    }
}


.main-nav ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin-right: 20px;
}

.main-nav div {
    margin-top: 10px; /* Abstand über der Suchleiste */
    margin-bottom: 10px;
    
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.main-nav ul li a:hover {
    color: #57be95;
    text-decoration: none;
}

.main-nav input[type="text"] {
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.main-nav button {
    padding: 5px 10px;
    background-color:  rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.main-nav button:hover {
    background-color:  #57be95;
}

  /* Container für den Header-Titel */
  .header-title-container {
    text-align: center;
    margin-bottom: 10px; /* Abstand zwischen Titel und Navigationsmenü */
}

/* Container für die Navigationslinks */
.nav-links-container {
    display: flex;
    justify-content: center; /* Zentriere die Links horizontal */
    margin-bottom: 10px; /* Abstand zwischen Links und Suchleiste */
}

/* Container für die Suchleiste */
.search-container {
    text-align: center;
    margin-top: 10px; /* Abstand nach oben */
}

/* Hauptbereich */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
main {
    flex-grow: 1;
}

.containerX {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px); 
    margin-bottom: 20px;
    margin-top: 20px;
}

.signature {
    white-space: pre-line;
    line-height: 1.4;
}

.textblock {
    text-align: justify;
    line-height: 1.7; 
}

.content-box {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-top: 2rem;
}
.subtitle {
    text-align: center;
}

.citation-recommendation {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f4f1e9;
    border: 1px solid #2F4F4F;
    border-radius: 5px;
    text-align: center;
}

.citation-recommendation h3 {
    margin-top: 0;
    color: #2F4F4F;
    margin-bottom: 0.5rem;
}

.citation-text {
    font-family: 'Palatino', 'Garamond', serif;
    font-size: 0.7em;
    background-color: #fff;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.copy-button {
    margin-top: 0.5rem;
    padding: 0.3rem 0.6rem;
    background-color: #334;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.copy-button:hover {
    background-color: #57be95;
    color: #334;
}

.footnote {
    color: rgb(68, 133, 82); ;
    cursor: pointer;
    position: relative;
}
.footnote-content {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #aed1c6;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9em;
    width: 250px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
    color: #333
}
.footnote:hover .footnote-content {
    display: block;
}

.grid-container {
    display: grid;
    grid-template-columns:  repeat(4, 1fr);
    gap: 20 px;
    margin: 20px;
    padding: 20px;
    justify-items: center;
    
}

.grid-item {
    text-align: center;
    text-decoration: none;
    color: inherit; /* Beibehaltung der Textfarbe */
    background-color: #FFF;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Schatteneffekt */
    border-radius: 8px;
    max-width: 300px;
    margin-bottom: 20px;

.grid-item a {
        text-decoration: none; /* Unterstreichung für Links innerhalb von grid-item entfernen */
    }
}
.grid-item:hover {
    transform: scale(1.05); /* Leichtes Vergrößern bei Hover */
    box-shadow: 0 0 20px #57be95, 
                0 0 30px #57be95, 
                0 0 40px #57be95; /* Blitzeffekt in Cyan */
  }

.grid-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.grid-item h2 {
    font-size: 22px;
    margin: 15px 0;
    color: #34495e; /* Dunklerer Text */
}

.grid-item p {
    font-size: 16px;
    color: #7f8c8d;
}

  .blitz-enter-active, .blitz-leave-active {
    transition: transform 0.5s, box-shadow 0.5s;
  }
  
  .blitz-enter, .blitz-leave-to {
    transform: scale(0.9);
    box-shadow: 0 0 30px #57be95, 
                0 0 40px #57be95;
  }
/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #334; /* Dunkelblauer Footer */
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: flex;
    justify-content: center;
}

footer ul li {
    margin: 0 15px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

footer ul li a:hover {
    text-decoration: none;
    color: #57be95;
}

/* Responsiveness */
@media (max-width: 768px) {
    .grid-container {
        flex-direction: column;
        align-items: center;
    }

    .grid-item {
        max-width: 90%;
        margin-bottom: 20px;
    }

    @media (max-width: 768px) {
        .main-nav {
            align-items: center; /* Zentriere die Elemente innerhalb des Headers */
        }
    
        .main-nav ul {
            flex-direction: row; /* Behalte die horizontale Ausrichtung bei */
            justify-content: center; /* Zentriere die Navigationselemente */
        }
    
        .main-nav ul li {
            margin-right: 10px; /* Reduziere den Abstand, um Platz zu sparen */
            margin-bottom: 0; /* Entferne den unteren Rand, um das vertikale Layout zu vermeiden */
        }
    }
    
    
}
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr); /* 3 Spalten bei mittleren Bildschirmen */
    }
}

@media (max-width: 800px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten bei kleineren Bildschirmen */
    }
}

@media (max-width: 600px) {
    .grid-container {
        grid-template-columns: 1fr; /* 1 Spalte bei sehr kleinen Bildschirmen */
    }
}

.grid-item a {
    text-decoration: none; /* Unterstreichung für Links innerhalb von grid-item entfernen */
}
.tags-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #111;
    padding: 10px;
  }
  
  .tags-filter label {
    color: white;
    cursor: pointer;
  }
  
  .tags-filter input[type="checkbox"] {
    margin-right: 5px;
  }
  .link-content {
    padding: 1rem;
    flex: 1;
}
.link-content h3 {
    text-decoration: none;
    margin-top: 0;
    color: rgb(68, 133, 82); ;
     
}
.link-item {
    display: flex; /* Layout auf flex umstellen */
    flex-direction: row; /* Elemente horizontal anordnen */
    align-items: flex-start; /* Elemente am oberen Rand ausrichten */
    background-color: #fff;
    color: #444;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    margin-bottom: 20px; /* Abstand zwischen den News-Elementen */
}

.link-item img {
    width: 150px; /* Feste Breite für das Bild */
    height: auto;
    object-fit: cover; /* Bild füllt den Container, ohne verzerrt zu werden */
    margin-right: 15px; /* Platz zwischen Bild und Text */
}
.link-item:hover {
    transform: translateY(-5px);
}
.link-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}
.link-item a {
    color: inherit; /* Stelle sicher, dass die Farbe von der Umgebung geerbt wird */
    text-decoration: none; /* Unterstreichung für alle Links entfernen */
}

.link-item a:hover {
    text-decoration: none; /* Vermeide Unterstreichungen auch beim Hover */
}