* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('Bilder/1.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    font-family: 'Arial', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Logo-Bereich */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    font-size: 36px;
    line-height: 1.2;
}

.logo-container .title {
    font-weight: bold;
    font-family: 'Cinzel Decorative', serif;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0 300px;
}

.logo-container img {
    width: 160px;
    height: auto;
}

/* Menüleiste */
.menu-header {
    background-color: rgba(128, 128, 128, 0.7);
    padding: 10px 0;
    text-align: center;
    width: 100%;
    z-index: 1000;
    overflow-x: auto;
    white-space: nowrap;
}

.nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav li {
    display: inline-block;
}

.nav a {
    text-decoration: none;
    font-size: 18px;
    color: white;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Unterer durchgezogener Strich */
.separator {
    width: 100%;
    height: 2px;
    background-color: white;
    margin-top: 10px;
}

/* Iframe Container */
.iframe-container {
    width: 100%;
    max-width: 1500px;
    margin: 20px auto;
    padding: 10px;
}

.content-frame {
    width: 100%;
    height: 600px;
    border: none;
}


/* Footer Styling */
.footer-legal {
    text-align: center;
    padding: 10px;
    background-color: #222; /* Solider Hintergrund ohne Transparenz */
    color: white;
    position: relative; /* Statisch am Ende der Seite */
    width: 100%;
    margin-top: auto; /* Schiebt den Footer ans Seitenende */
}



.footer-legal a {
    text-decoration: none;
    font-size: 16px;
    color: white;
    padding: 5px 15px;
    background-color: rgba(128, 128, 128, 0.7);
    border-radius: 5px;
}

.footer-legal a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.logout-button {
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #dc3545;
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    width: 100%;
}

.logout-button:hover {
    background-color: #c82333;
}

/* Responsive Design Anpassungen */
@media (max-width: 768px) {
    /* Nur ein Logo anzeigen */
    .logo-container img:first-child {
        display: none;
    }

    /* Logo und Titelbereich anpassen */
    .logo-container {
        flex-direction: column;
        padding: 10px;
    }

    .logo-container .title {
        margin: 0;
        font-size: 24px;
    }

    .logo-container img {
        width: 120px;
    }

    /* Menüleiste: horizontal scrollen */
    .menu-header {
        padding: 10px;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none; /* Für Firefox: Scrollleiste ausblenden */
    }

    .nav {
        flex-direction: row;
        display: inline-flex;
        gap: 10px;
    }

    .nav li {
        margin: 0;
    }

    .nav a {
        font-size: 16px;
        padding: 8px 15px;
    }

    /* Iframe Container */
    .iframe-container {
        width: 100%;
        padding: 5px;
    }

    .content-frame {
        height: 400px;
    }

    /* Footer und Buttons */
    .footer-legal a {
        font-size: 14px;
        padding: 5px 10px;
    }

    .logout-button {
        padding: 8px 15px;
        font-size: 14px;
    }
}
