/* Reset */
body, h1, h2, p, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #F4F4F4;
}

/* Hintergrund */
body {
    background: url('background-sw.png') no-repeat center center fixed;
    background-size: cover;
    width: 100%; /* Volle Breite der Seite */
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Header */
header {
    text-align: center;
    padding: 2rem 0;
    background-color: rgba(0, 0, 0, 0.5); /* Transparenter Hintergrund */
    width: 100%; /* Volle Breite */
    z-index: 1000; /* Über anderen Inhalten */
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #FFD700;
}

/* Hamburger Menu */
.hamburger {
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.3); /* Leichte Transparenz */
    padding: 5px;
    border-radius: 5px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 5px;
    background-color: #F4F4F4;
    border-radius: 2px;
    transition: all 0.6s ease;
}

/* Hamburger Animation */
.hamburger.open span:nth-child(1),
.hamburger.open span:nth-child(3) {
    transform: scaleY(0);
}

.hamburger.open span:nth-child(2) {
    transform: scaleX(0.1);
    height: 30px;
    background-color: #FFD700;
    box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
}

.hamburger.open span:nth-child(2) {
    animation: glow 1.5s infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
    }
    50% {
        box-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700;
    }
}

/* Menü */
.menu {
    position: fixed;
    top: 0;
    left: -250px; 
    width: 250px;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.9); /* Dunkler Hintergrund mit Transparenz */
    color: #F4F4F4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: all 0.6s ease;
    z-index: 900;
}

.menu.open {
    left: 0;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.menu ul li a {
    text-decoration: none;
    color: #FFD700;
    font-size: 18px;
    transition: color 0.3s ease;
    display: block;
}

.menu ul li a:hover {
    color: #FFF;
}

/* Querbalken Effekt für mehrere Sektionen */
section {
    padding: 1.2rem 3.2rem; /* Größeres Padding für mehr Höhe */
    background-color: rgba(0, 0, 0, 0.5); /* Transparenter Hintergrund */
    width: 100%; /* Volle Breite */
    margin-top: 0px; /* Größerer Abstand zwischen den Sektionen */
    box-sizing: border-box; /* Verhindert, dass Padding die Gesamtbreite beeinflusst */
}

/* Abwechselnder Hintergrund für Sektionen mit unterschiedlicher Transparenz */
section:nth-child(1) {
	 padding: 0.1rem 51.2rem;
    background-color: rgba(0, 0, 0, 0.7); /* Sehr durchsichtiger Hintergrund */
}

section:nth-child(2) {
	padding: 1.2rem 7.2rem;
    background-color: rgba(0, 0, 0, 0.05); /* Mittelstarke Transparenz */
}

section:nth-child(3) {
	padding: 1.2rem 4.2rem;
    background-color: rgba(0, 0, 0, 0.5); /* Weniger transparent */
}

section:nth-child(4) {
	padding: 1.2rem 6.2rem;
    background-color: rgba(0, 0, 0, 0.2); /* Sehr geringer Transparenzgrad */
}

section:nth-child(5) {
	padding: 1.2rem 3.2rem;
    background-color: rgba(0, 0, 0, 0.5); /* Sehr geringer Transparenzgrad */
}

section:nth-child(6) {
	padding: 1.2rem 0.2rem;
    background-color: rgba(0, 0, 0, 0.1); /* Sehr geringer Transparenzgrad */
}

section:nth-child(7) {
	 padding: 0.1rem 1.2rem;
    background-color: rgba(0, 0, 0, 0.7); /* Sehr geringer Transparenzgrad */
}

section h2 {
    font-size: 1.8rem;
    color: #ADD8E6;
}

section p {
    font-size: 1.2rem;
    margin-top: 1rem;
    line-height: 1.5;
}

/* Main Bereich */
main {
    padding: 0; /* Kein extra Padding, um den Bereich über die gesamte Breite zu strecken */
    width: 100%; /* Volle Breite */
    z-index: 900;
}

/* Medienabfragen für responsives Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .hamburger {
        top: 15px;
        left: 15px;
    }

    .menu {
        width: 200px;
    }

    .menu ul li a {
        font-size: 16px;
    }

    main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .hamburger {
        top: 10px;
        left: 10px;
    }

    .menu {
        width: 180px;
    }
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: #F4F4F4;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links, .footer-social {
    display: flex;
    gap: 1rem;
}

.footer-links a, .footer-social a {
    text-decoration: none;
    color: rgba(255, 215, 0, 0.7); /* Goldfarbe, 70% Deckkraft */
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7; /* Halbtransparent */
}

.footer-links a:hover, .footer-social a:hover {
    color: #FFF; /* Weiß */
    opacity: 1; /* Volle Deckkraft beim Hover */
}


/* Responsives Design für kleine Bildschirme */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links, .footer-social {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

