html, body {
    height: 100%; /* Stellt sicher, dass html und body die volle Höhe des Bildschirms einnehmen */
    margin: 0;
    padding: 0;
}


body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(45deg, #ff00cc, #3333ff, #00ffcc, #ffcc00);
    background-size: 400% 400%;
    display: flex;
    flex-direction: column; /* Stapelt die Elemente vertikal */
    animation: gradientAnimation 15s ease infinite;
    min-height: 100vh; /* Stellt sicher, dass der Hintergrund den gesamten Bildschirm bedeckt */
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 100%; /* Startet unten links */
    }
    50% {
        background-position: 100% 0%; /* Bewegt sich nach oben rechts */
    }
    100% {
        background-position: 0% 100%; /* Kehrt zurück nach unten links */
    }
}

header {
    background-color: rgba(26, 26, 46, 0.5); /* Dunkelblau mit 50% Transparenz */
    color: white;
    padding: 10px 0;
    position: relative; /* Stellt sicher, dass der Header über dem Hintergrund liegt */
    z-index: 1; /* Verhindert, dass der Hintergrund den Header überdeckt */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.menu-toggle {
    display: none; /* Standardmäßig ausgeblendet */
    align-items: center;
    cursor: pointer;
}

.menu-toggle span {
    margin-right: 10px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background-color: white;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    width: 25px;
    height: 3px;
    background-color: white;
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.nav-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row; /* Standardmäßig horizontale Navigation */
}

.nav-list li {
    padding: 10px 20px;
}

.nav-list li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-list li a:hover {
    color: #00bcd4; /* Hellblau für Hover */
    transform: translateY(-3px); /* Leicht nach oben verschieben */
}

/* Hover-Effekt für den Hamburger-Button */
.menu-toggle:hover .hamburger {
    background-color: #00bcd4; /* Hellblau für Hover */
}

.menu-toggle:hover .hamburger::before,
.menu-toggle:hover .hamburger::after {
    background-color: #00bcd4; /* Hellblau für Hover */
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Hamburger-Menü anzeigen */
    }

    .nav-list {
        display: none; /* Navigationsleiste standardmäßig ausblenden */
        flex-direction: column;
        background-color: #1a1a2e; /* Dunkelblau */
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
    }

    .nav-list.active {
        display: flex; /* Menü anzeigen, wenn aktiv */
    }
}


main {
    flex: 1; /* Der Hauptinhalt nimmt den verfügbaren Platz ein */
}

/* Hover-Effekt für Footer-Links */
footer {
    background-color: rgba(26, 26, 46, 0.5); /* Dunkelblau mit 50% Transparenz */
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

footer a {
    color: #00bcd4; /* Hellblau für den Link */
    text-decoration: none; /* Entfernt die Standardunterstreichung */
    transition: color 0.3s ease; /* Sanfter Farbübergang */
}

footer a:hover {
    color: #0097a7; /* Dunkleres Blau beim Hover */
    text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Unterstreichungseffekt für Menülinks */
.nav-list li a {
    position: relative;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #00bcd4; /* Hellblau für Unterstreichung */
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width:  100%; /* Unterstreichung animieren */
}

/* Hintergrund-Animation für Buttons */
.button {
    background-color: #1a1a2e; /* Dunkelblau */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #00bcd4; /* Hellblau */
    transition: left 0.3s ease;
    z-index: -1;
}

.button:hover::before {
    left: 0; /* Hintergrund animieren */
}

.button:hover {
    color: white; /* Textfarbe ändern */
}

/* Rotationsanimation für Icons */
.icon {
    width: 30px;
    height: 30px;
    background-color: #1a1a2e; /* Dunkelblau */
    transition: transform 0.3s ease;
}

.icon:hover {
    transform: rotate(360deg); /* Vollständige Rotation */
}

.cookie-banner {
    position: fixed;
    top: 50%; /* Zentriert vertikal */
    left: 50%; /* Zentriert horizontal */
    transform: translate(-50%, -50%); /* Genau zentrieren */
    background-color: rgba(26, 26, 46, 0.9); /* Dunkelblau mit 90% Transparenz */
    color: white;
    padding: 20px;
    border-radius: 15px; /* Runde Ecken */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Schatten für den schwebenden Effekt */
    z-index: 1000; /* Stellt sicher, dass das Banner über allem liegt */
    backdrop-filter: blur(10px); /* Stärkerer Unschärfeeffekt */
    display: block; /* Banner immer anzeigen */
    cursor: pointer; /* Zeigt an, dass das Banner klickbar ist */
}

.cookie-content {
    text-align: center;
}

.cookie-banner p {
    margin: 0 0 15px 0;
    font-size: 14px;
}

.cookie-banner a {
    color: #00bcd4; /* Hellblau für den Link */
    text-decoration: none;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

.cookie-accept {
    background-color: #00bcd4; /* Hellblau für den Button */
    color: white;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.cookie-accept:hover {
    background-color: #0097a7; /* Dunkleres Blau beim Hover */
}

.form-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Leicht transparenter Hintergrund */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00bcd4; /* Hellblau für den Fokus */
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.form-group textarea {
    resize: vertical; /* Ermöglicht vertikales Resizing */
}

.submit-button {
    background-color: #00bcd4; /* Hellblau für den Button */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0097a7; /* Dunkleres Blau beim Hover */
}

.text-section {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}

.text-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 70px; /* Padding erhöhen */
    color: white;
    font-size: 25px; /* Schriftgröße erhöhen */
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%; /* Breite anpassen */
    margin: auto; /* Zentrieren */
    position: relative; /* Position anpassen */
    box-sizing: border-box; /* Box-Sizing anpassen */
    display: flex; /* Display auf flex setzen */
    flex-direction: column; /* Elemente vertikal anordnen */
    justify-content: center; /* Inhalt zentral ausrichten */
    align-items: center; /* Inhalt vertikal zentral ausrichten */
}

/*.text-box,
.form-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}*/

/*.text-box.visible,
.form-section.visible {
    opacity: 1;
    transform: translateY(0);
}*/

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00bcd4; /* Hellblau für den Fokus */
    background-color: rgba(255, 255, 255, 0.2);
    outline: none;
    animation: pulse 1s infinite alternate; /* Pulsierende Animation */
}

@keyframes pulse {
    from {
        box-shadow: 0 0 0 rgba(0, 188, 212, 0.4);
    }
    to {
        box-shadow: 0 0 10px rgba(0, 188, 212, 0.8);
    }
}

.text-box:hover,
.form-group input:hover,
.form-group textarea:hover {
    transform: scale(1.02); /* Vergrößert das Feld leicht */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Stärkerer Schatten */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-box,
.form-section {
    opacity: 0; /* Startzustand: unsichtbar */
    transform: translateY(20px); /* Startposition */
    animation: fadeIn 1s ease-out forwards; /* Animation bleibt im Endzustand */
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.text-box,
.form-section {
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
}

.wiki-tabelle {
    display: table;
    border-collapse: collapse;
    width: 80%;
    background-color: transparent;
    border: none;
    margin: auto; /* Tabelle zentrieren */
    text-align: center; /* Text zentrieren */
}

.wiki-tabelle th, .wiki-tabelle td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: center; /* Text zentrieren */
    color: #fff;
}

.wiki-tabelle th {
    background-color: rgba(255, 255, 255, 0.1);
}

.wiki-tabelle td {
    background-color: rgba(255, 255, 255, 0.05);
}

.votelink {
    position: relative;
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    color: white;
    padding: 10px 20px;
  }
  
  .votelink::before,
  .votelink::after,
  .votelink span::before,
  .votelink span::after {
    content: '';
    position: absolute;
    background-color: #00bcd4;
    transition: all 0.5s ease-in-out;
  }
  
  .votelink::before {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
  }
  
  .votelink::after {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
  }
  
  .votelink span::before {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
  }
  
  .votelink span::after {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
  }
  
  .votelink:hover::before {
    left: 100%;
  }
  
  .votelink:hover::after {
    right: 100%;
  }
  
  .votelink:hover span::before {
    top: 100%;
  }
  
  .votelink:hover span::after {
    bottom: 100%;
  }


