body {
    font-family: "Roboto-Regular";
    color: black;
    display: flex;
    flex-direction: column;
    background-color: white;
    min-height: 100vh;
    margin-bottom: 0;
    margin-top: 0;
    text-align: left;
    margin-left: 5%;
    margin-right: 5%;
}

footer {
    font-family: "Roboto-Regular";
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0.5%;
    text-align: left;
    font-size: 1em;
    color: black;
    background-color: white;
    border-top: 7px solid black;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: safe;
    align-items: center;
    position: relative;
    padding-left: 0;
    padding-right: 0;
    margin-top: 5%;
    margin-left: 0;
    margin-right 0;
    height: auto;
}


@media only screen and (min-width: 600px) {
    header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    margin-top: 5%;
    margin-left: 0;
    margin-right: 0;
    height: auto;
    padding: 0;
	}
}

nav {
    padding: 20px;
    width: auto; /* Breite des Menüs */
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin-bottom: 3px; /* Abstand zwischen den Menüpunkten */
    position: relative; /* Wichtig für das Submenü */
    display: flex;
    justify-content: flex-end; /* Rechtsbündige Ausrichtung */
}
nav ul li a {
    background-color: black;
    color: white;
    padding: 9px 20px;
    text-decoration: none;
    font-size: 1em;
    border: 7px solid black;
    width: 100%;
    text-align: center;
    margin-bottom: 4%;
    transition: 400ms;
    z-index: 0;
}
nav ul li a:hover {
    background-color: #c1ff72;
    color: black;
}

/* Submenü-Stile */
nav ul li ul {
    display: none;
    padding: 0; /* Entfernen des inneren Abstands */
    position: absolute; /* Submenü relativ zum übergeordneten Element */
    z-index: 1000; /* Sicherstellen, dass das Submenü über anderen Elementen angezeigt wird */
    opacity: 0; /* Submenü anfangs unsichtbar */
    left: 0; /* Submenü horizontal an den Hauptmenüpunkt anheften */
    top: 100%; 
    margin-top: 3px;
}

/* Submenü sichtbar machen, wenn der Hauptmenüpunkt gehighlighted wird */
nav ul li:hover > ul{
    display: block;
    opacity: 1; /* Submenü sichtbar machen */
    width: 100%;
}

nav ul li ul li {
    margin-bottom: 3px; /* Abstand zwischen den Submenüpunkten */
}

nav ul li ul li a {
    background-color: black; /* Hintergrundfarbe der Submenüpunkte */
}

nav ul li ul li a:hover {
    background-color: #c1ff72;
    color: black;
}

table {
    width: 100%;
}

textarea {
    width: 75%;
    height: 200px;
    margin: 5% 0;
    margin-top: 0;
    padding: 10px;
    border: 7px solid black;
}
