/* Allgemeine Stile */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0a1a, #1c0c2c, #0a1a1a); /* Darker, more futuristic gradient */
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(10, 10, 26, 0.9); /* Slightly more transparent */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); /* Neon cyan glow */
    border-bottom: 2px solid #03dac6; /* Neon cyan border */
}

header h1 {
    font-size: 1.5rem;
    color: #08fdd8; /* Brighter Neon-Cyan Farbe */
    text-align: center;
    padding-right: 44%;
}

/* Suchfeld im Header */
.search-container {
    display: flex;
    align-items: center;
}

.search-container input[type="text"] {
    padding: 8px;
    border: none;
    border-bottom: 2px solid #ff00cc; /* Neon pink underline effect */
    border-radius: 0; /* Sharp futuristic corners */
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
}

.search-container input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 280px; /* Slightly wider navbar */
    background-color: rgba(10, 10, 26, 0.95); /* Darker, less transparent */
    border-right: 2px solid #ff00cc; /* Neon pink border */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000; /* Ensures the navbar stays on top */
}

.navbar.open {
    transform: translateX(0);
}

.navbar ul {
    list-style-type: none;
    padding: 70px 0;
    margin: 0;
}

.navbar ul li {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 0, 204, 0.2); /* Lighter neon pink border */
}

.navbar ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.navbar ul li a:hover {
    color: #08fdd8; /* Neon-Cyan for hover effect */
}

/* Hamburger Menu Styles */
.navbar-toggle {
    display: inline-block;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Keeps the toggle button above the navbar */
}

.navbar-toggle div {
    width: 35px;
    height: 4px; /* Slightly thinner bars */
    background-color: #03dac6;
    margin: 6px 0;
    transition: 0.4s;
}

/* Hamburger Animation bei Klick */
.change .bar1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-8px, -8px);
}

/* Hauptinhalt */
.main-content {
    padding: 20px;
    flex: 1;
    margin-left: 0;
    transition: margin-left 0.3s ease-in-out;
}

.main-content.shift {
    margin-left: 250px;
}

/* Animation */
@keyframes neon-glow {
    0% {
        text-shadow: 0 0 5px #03dac6, 0 0 10px #03dac6, 0 0 20px #03dac6;
    }
    50% {
        text-shadow: 0 0 10px #ff4081, 0 0 20px #ff4081, 0 0 40px #ff4081;
    }
    100% {
        text-shadow: 0 0 5px #03dac6, 0 0 10px #03dac6, 0 0 20px #03dac6;
    }
}

h1 {
    animation: neon-glow 2s infinite alternate;
    text-align: center;
}

h2 {
    text-align: center;
}

footer {
    background-color: rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-bottom: -1%;
    padding-bottom: 50px;
    width: 100%;
    text-align: center;
    color: #fff;
    position: relative;
    padding-left: 100%;
    padding-right: 100%;
    margin-left: -100%;
}


.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content a {
    color: #ff00cc;
    text-decoration: none;
    margin: 0 10px;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-content p {
    margin: 5px 0;
    font-size: 0.9rem;
}


.main-content p {
    text-align: center;
}

.event-list, .past-event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px auto;
    max-width: 800px;
}


.past-event-header {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 1.8rem;
    color: #03dac6;
    text-shadow: 0 0 10px rgba(255, 64, 129, 0.8);
}

.event-item {
    display: flex;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out;
}

.event-item:hover {
    transform: scale(1.05);
}

.event-image {
    flex-shrink: 0;
}

.event-image img {
    width: 210px;  
    height: 297px; 
    border-radius: 8px;
    margin-right: 20px;
}

.event-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #f5f5f5;
}

.event-title {
    font-size: 1.5rem;
    color: #03dac6;
    cursor: pointer;
}

.event-title:hover {
    color: #ff4081;
}

.additional-details {
    display: none;
    margin-top: 10px;
}

.additional-details.show {
    display: block;
}

.additional-details button {
    padding: 10px;
    background-color: #03dac6;
    border: none;
    border-radius: 4px;
    color: #000;
    cursor: pointer;
}

.additional-details button:hover {
    background-color: #ff4081;
}

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    height: 200vh;
    text-align: center;
}

.wolf-image {
    width: 400px;
    height: auto;
    margin-bottom: 20px;
}

.error-text h2 {
    color: #ff4081; 
    margin: 8px 0;
    font-size: 2.2rem;
}

.error-text p {
    font-size: 1.6rem;
    color: #f5f5f5;
}



#meet-the-team {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-member {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    width: 90%;
    background-color: #8058b4; 
    border-radius: 20px;
    padding: 30px;
    align-items: center;
    max-width: fit-content;
    box-shadow: 0 4px 10px rgba(162, 0, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}


/* Image hover effect */
.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

.team-member.reverse {
    background-color: #58b480; 
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-right: 30px;
    border: 5px solid white;
}

.team-info {
    max-width: 800px;
    color: #f5f5f5;
    font-size: 1.3rem;
    text-align: center;
}

.team-info h3 {
    color: #f5f5f5;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: underline;
}

.team-info p {
    max-width: 800px;
    color: rgb(119, 212, 255);
    font-size: 1.1rem;
    text-align: left;
    
}

.team-member.reverse .team-info {
    flex-direction: row-reverse;
}

.team-member.reverse img {
    margin-left: 30px;
    margin-right: 0;
}

/* Center alignment for text and layout */
#about-us h2, #meet-the-team h2 {
    text-align: center;
    font-size: 40px;
    text-decoration: underline;
}

#about-us p, #meet-the-team p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
  
  .banner-container {
    position: relative;
    width: calc(100% - 20px);
    margin: 10px auto; 
    padding: 10px; 
    box-sizing: border-box; 
    /* overflow: hidden; */
     
  }
  
  .banner-image {
    width: 100%; 
    height: auto;
    border: 5px solid transparent;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255,0,255,0.8),
                0 0 30px rgba(0,255,255,0.8);
    background: linear-gradient(135deg,#ff0077, #00ffff);
    padding: 10px;
  }
  .banner-image-catalog {
    width: 100%; 
    height: auto;
  }
  .banner-overlay {
    position: absolute;
    top: 80%; 
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6); 
    padding: 10px 20px; 
    border-radius: 10px;\n    text-align: center;\n    color: #fff;\n    font-family: 'Orbitron', sans-serif; \n    box-shadow: 0 4px 15px rgba(255, 0, 150, 0.8); \n    max-width: 50%; \n  }\n  \n  .banner-overlay h1 {\n    font-size: 2em; \n    color: #ff0077; \n    text-shadow: 0 0 5px rgba(255, 0, 150, 0.8), 0 0 10px rgba(255, 0, 150, 0.8); \n  }\n  \n  .banner-overlay p {\n    font-size: 1em; \n    color: #00ffff; \n    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8), 0 0 10px rgba(0, 255, 255, 0.8); \n  }\n  .inline-image img {\n    display: inline-block;\n    vertical-align: middle;\n    margin-left: 5px;\n    max-width: 1em;\n    max-height: 1em;\n}\n.team-member .inline-image {\n    display: inline-block;\n    height: 1em;          /* Match the text height */\n    width: auto;          /* Maintain aspect ratio */\n    vertical-align: middle;\n    margin-left: -1px;     /* Adjust space between text and image */\n    max-width: 1em;\n    border-radius: 0%;  \n    margin-right: 5px;  \n    border: 0px rgba(0, 0, 0, 0);   /* Limit width to match height */\n}\n.video-container {\n    display: flex;\n    justify-content: center;  /* Centers the video horizontally */\n    align-items: flex-start;      /* Centers the video vertically */\n    height: auto;\n    margin-top: 20px             /* Makes the container take the full height */\n}\n\nvideo {\n    max-width: 100%;         /* Makes the video responsive */\n    height: auto;            /* Maintains the aspect ratio */\n}\n\n\nsection {\n    position: relative;\n    z-index: 2;\n    padding: 5rem 2rem;\n}\n\n.feature-grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n    gap: 2rem;\n    max-width: 1000px;\n    margin: 0 auto;\n}\n.feature-card iframe {\n    width: 250px; /* Set the exact width for the iframe */\n    height: 300px; /* Set the exact height for the iframe */
    border-radius: 10px; /* Match the card's rounded corners */
    margin-top: 2.3rem; /* Add spacing from other elements */
}

.feature-card {
    background: rgba(0, 102, 255, 0.4);
    border: 1px solid var(--accent);
    border-radius: 15px;
    padding: 2.5rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(247, 0, 255);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: rgba(247, 0, 255);
    font-size: 1.5rem;
    margin: 0;
}

.feature-card p {
    color: rgba(247, 0, 255);
    opacity: 0.8;
    margin: 0.5rem 0 1.5rem 0;
    text-align: center;
}


.button {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255);
    background: #ff0077;
    border: rgb(0, 0, 0);
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.feature-card:hover .button {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #e100ff33;
}

/* Global styles for the synthwave/cyberpunk look */
main {
    font-family: 'Orbitron', sans-serif; /* A techno-inspired font */
    margin: 0;
    padding: 2em;
    color: #fff;
    background: linear-gradient(135deg, #1a1a2e, #16213e); /* Dark gradient background */
}

/* Gallery container */
#gallery {
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center; /* Center-align the gallery */
}

/* Individual category container */
.category {
    width: 80%; /* Restrict the width of the gallery */
    max-width: 900px;
    background: rgba(20, 20, 50, 0.8); /* Slightly transparent background */
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
    border: 1px solid rgba(255, 0, 255, 0.5);
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next row if needed */
    gap: 10px; /* Space between images */
    justify-content: center;
}

/* Category title */
.category h2 {
    font-size: 1.5em;
    margin: auto;
    text-align: center;
    color: #08fdd8; /* Neon cyan color */
    text-shadow: 0 0 8px #08fdd8, 0 0 15px #00f2ff;
    background-color: rgba(0, 255, 255, 0.2); /* Semi-transparent background */
    border: 3px solid rgba(0, 255, 255, 0.5); /* Cyan border around the title */
    border-radius: 8px; /* Optional rounded corners */
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); /* Soft glow around the title */
    padding: 10px 20px;
}

/* Image grid */
.category img {
    flex: 0 1 calc(50% - 10px); /* Each image takes 50% of the row minus the gap */
    max-width: calc(50% - 10px); /* Ensure images don't exceed their allocated space */
    height: auto;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: cover;
}

/* Image hover effect */
.category img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.hidden {
    display: none;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 50px;
    right: 230px;
    z-index: 1001;
    background: transparent;
    border: none;
    font-size: 2em;
    color: white;
    cursor: pointer;
    border-radius: 50%; /* Optional rounded button */
    padding: 5px; 
}

.close-btn:hover {
    color: red;
}
/* Styles for live.html specific elements */
.main-content #video {
    width: 90%;
    max-width: 1000px;
    height: auto;
    margin: 20px auto;
    display: block;
    border: 3px solid #08fdd8;
    box-shadow: 0 0 20px rgba(8, 253, 216, 0.6);
    border-radius: 10px;
}

.main-content #copyStreamBtn {
    display: block;
    margin: 20px auto;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #0a0a1a;
    background: linear-gradient(90deg, #08fdd8, #ff00cc);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 204, 0.6);
    text-transform: uppercase;
    font-weight: bold;
}

.main-content #copyStreamBtn:hover {
    background: linear-gradient(90deg, #ff00cc, #08fdd8);
    box-shadow: 0 0 25px rgba(8, 253, 216, 0.8);
}

/* Styles for formular.html specific elements */
.main-content .form-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    height: auto;
    margin: 20px auto;
    max-width: 700px;
    background-color: rgba(10, 10, 26, 0.7);
    border: 2px solid #08fdd8;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(8, 253, 216, 0.6);
    padding: 20px;
}

.main-content .form-container iframe {
    width: 100%;
    max-width: 640px;
    height: 950px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .main-content .form-container {
        padding: 10px;
        margin: 10px auto;
        max-width: 95%;
    }

    .main-content .form-container iframe {
        height: 800px;
    }
}