@font-face {
    font-family: 'Museo';
    src: url('/fonts/Museo.otf');
}
@font-face {
    font-family: 'Museo Sans';
    src: url('/fonts/MuseoSans.otf');
}
body {
    background-color: #000000;
    color: #000000;
    font-family: 'Museo Sans', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    flex-wrap: wrap;
    position: relative; /* Ändert die Positionierung, um die untergeordneten Elemente genau zu platzieren */
}
.header-container h1 {
    font-family: 'Museo', sans-serif;
    color: #FFFFFF;
    margin: 0;
    order: 1;
    text-align: left;
    flex: 1;
}
.header-container img {
    position: absolute;
    right: 10px;
    top: 10px;
    height: 40px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow-x: auto;
    min-width:400px;
}
th, td {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 4px;
    text-align: left;
    font-size: 0.9em;
}
th {
    background-color: #333333;
}
select, button {
    margin-top: 5px;
    width: 100%;
    max-width: 100%;
    padding: 8px;
}
#login-container {
    max-width: 250px;
    margin: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#login-container label {
    padding-bottom: 10px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    text-align: left;
}
#login-container input {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
#login-container button {
    background-color: #0056b3;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
#login-container button:hover {
    background-color: #016bdc;
    border: 1px white;
}
#content-container {
    padding: 20px;
    overflow-x: auto;
}

.hamburger-icon {
    font-size: 25px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 10px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 10px;
    width: 30px;
}


#hamburger-menu {
    display: flex;
    justify-content: flex-end; /* Das stellt sicher, dass der Hamburger-Button rechtsbündig ist */
    margin-bottom: 20px;
    position: relative;
    width: 100%; /* Stellt sicher, dass das Menü den gesamten verfügbaren Platz einnimmt */
}



.hamburger-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%; /* Setzt das Menü direkt unterhalb des Hamburger-Icons */
    background-color: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 2; /* Höherer Wert, damit das Menü immer sichtbar ist */
    border-radius: 5px;
    padding: 10px;
    width: 200px;
}
.hamburger-content button {
    background-color: #333;
    color: #ffffff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 150px;
    text-align: left;
    margin-bottom: 5px;
    display: block;
    width: 180px; /* Breite angepasst, damit der Text auf eine Zeile passt */

}
.hamburger-content button:hover {
    background-color: #0056b3;
}
/* Modal Hintergrund */
.modal {
    display: none; /* Standardmäßig versteckt */
    position: fixed; /* Bleibt an derselben Stelle (relative zum Viewport) */
    z-index: 1000; /* Höher als alles andere */
    left: 0;
    top: 0;
    width: 100%; /* Volle Breite */
    height: 100%; /* Volle Höhe */
    background-color: rgba(0, 0, 0, 0.6); /* Halbtransparenter schwarzer Hintergrund */
}

/* Modal Inhalt */
.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert den Inhalt */
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

/* Modal Überschrift */
.modal-content h2 {
    margin-top: 0;
    color: #333;
}

/* Close-Button */
.close-button {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
}

.close-button:hover {
    color: #000;
}

/* Eingabefelder und Buttons */
.modal-content label {
    font-weight: bold;
    color: #333;
}

.modal-content input, .modal-content select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal-content button {
    width: 48%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-content button:first-of-type {
    background-color: #28a745; /* Grün für "Hinzufügen" */
    color: #fff;
}

.modal-content button:last-of-type {
    background-color: #dc3545; /* Rot für "Abbrechen" */
    color: #fff;
}

.modal-content button:hover {
    opacity: 0.8;
}




@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .header-container img {
        align-self: center;
        margin-bottom: 10px;
        height: 15px;
        order: -1;
    }
    .header-container h1 {
        order: 0;
        text-align: center;
    }
    th, td {
        font-size: 0.6em;
    }
}

