/* Grundlegende Reset- und Layout-Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* Sanftes Scrollen */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Send to back */
}

.btn{
    color: #3c3c3c;
}
/* Fullscreen video background */
        body, html {
            height: 100%;
            margin: 0;
            overflow: hidden;
        }

        .video-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1; /* Send to back */
        }

        .content {
            position: relative;
            z-index: 1; /* Bring to front */
            color: white; /* Text color */
        }

        main {
            display: flex;
            justify-content: center; /* Zentrieren des Inhalts */
            align-items: center; /* Vertikale Zentrierung */
            text-align: center; /* Text zentrieren */
            flex-direction: column; /* Spaltenanordnung */
            height: 100vh; /* Höhe für volle Ansicht */
        }

        .menu-toggle {
            border: none; /* Keine Umrandung */
            background: none; /* Kein Hintergrund */
            font-size: 24px; /* Größe des Icons */
        }

        .player {
            background: rgba(0, 0, 0, 0.7);
            padding: 20px;
            border-radius: 10px;
        }

        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .img-area img {
            max-width: 100%;
            border-radius: 10px;
        }

        .controls i {
            cursor: pointer;
            margin: 0 10px;
            font-size: 24px;
        }

        .volume-display p {
            text-align: center;
            margin: 10px 0;
        }

        .volume input {
            width: 100%;
        }

.btn-light {
    --bs-btn-color: #000;
    --bs-btn-bg: #f8f9fa;
    --bs-btn-border-color: #f8f9fa;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #d3d4d5;
    --bs-btn-hover-border-color: #c6c7c8;
    --bs-btn-focus-shadow-rgb: 211, 212, 213;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #c6c7c8;
    --bs-btn-active-border-color: #babbbc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #f8f9fa;
    --bs-btn-disabled-border-color: #f8f9fa;
}

.bg-secondary{
    background-color: #3c3c3c !important;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: #3c3c3c00 !important;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa00;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

/* Header Styles */
header {
    background-color: #ff0000; /* Header-Farbe */
    color: #ff000000;
    padding: 1rem;
    position: sticky; /* Fixiert den Header beim Scrollen */
    top: 0;
    z-index: 1000; /* Header bleibt über anderen Inhalten */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0); /* Leichter Schatteneffekt */
}

header h1 {
    font-size: 1.5rem;
    margin: 0;
}

h1{
    color: #ffffff;
    text-align: center;
}

h2{
    color: #ffffff;
    text-align: center;
}

.menu-toggle {
    font-size: 1.8rem;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    display: none; /* Versteckt auf größeren Bildschirmen */
    transition: transform 0.3s ease;
}

.menu-toggle:focus {
    outline: none;
}

.menu-toggle:active {
    transform: scale(0.95); /* Kleiner Effekt bei Aktivierung */
}

/* Sidebar Styles */
#sidebar {
    background-color: #3c3c3c; /* Sidebar-Farbe */
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 6rem; /* Erhöhter Abstand nach oben */
    z-index: 999; /* Unter dem Header */
    transform: translateX(0); /* Sidebar standardmäßig sichtbar */
    transition: transform 0.3s ease; /* Flüssiger Übergang */
}

#sidebar nav ul {
    list-style: none;
    padding-left: 0;
}

#sidebar nav ul li {
    margin-bottom: 0.5rem; /* Abstand zwischen den Listenelementen */
}

#sidebar nav ul li a {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #ffffff; /* Textfarbe für Links */
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
    margin-top: 0; /* Abstand nach oben auf 0 gesetzt */
    border-radius: 10px;
}

#sidebar nav ul li a i {
    margin-right: 0.75rem;
}

#sidebar nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Hover-Farbe */
    border-radius: 10px;
}

/* Main Content Styles */
main {
    margin-left: 250px; /* Platz für die Sidebar */
    padding: 2rem;
    background-color: #f8f9fa00;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

#main-navigation {
    margin-top: 4rem;
}

/* Responsive Styles für Mobilgeräte */
@media (max-width: 991.98px) {
    #sidebar {
        transform: translateX(-100%); /* Sidebar wird ausgeblendet */
    }

    #sidebar.show {
        transform: translateX(0); /* Sidebar wird eingeblendet */
    }

    main {
        margin-left: 0; /* Kein Platz für Sidebar in mobiler Ansicht */
    }

    .menu-toggle {
        display: inline-block; /* Hamburger-Button sichtbar auf mobilen Geräten */
    }
}

/* Utility-Klassen */
.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Fokus- und Barrierefreiheits-Stile */
a:focus,
button:focus {
    outline: 2px dashed #ffffff00; /* Deutlichere visuelle Fokushervorhebung */
    outline-offset: 4px;
}

/* Feinabstimmung für Barrierefreiheit */
button[aria-expanded="true"] .bx-menu {
    display: none;
}

button[aria-expanded="false"] .bx-menu-alt-right {
    display: none;
}
