body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    background-color: #f9f9f9;
    padding-top: 60px; /* Platz für das fixierte Navbar-Dropdown */
}

h1, h2 {
    font-family: 'Arial', sans-serif;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

h1 {
    font-size: 2rem;
    color: #4CAF50;
}

h2 {
    font-size: 1rem;
    color: #555;
    font-weight: normal;
}

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 400px;
    margin: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

.right-align {
    text-align: right;
}

/* Navbar */
.navbar {
    background-color: rgba(128,128,128, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    width: 100%; 
    box-sizing: border-box;
}

.navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown {
    float: left;
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}


.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
}

.dropdown:hover .dropbtn {
    background-color: #ddd;
    color: black;
}

.iconsettings {
    width: 36px;
    height: 36px;
    background-image: url('images/settings.png');
    background-size: cover;
    background-color: #b0b0b0;
    border-radius: 5px;
}

/* Für mobile Geräte mit schmalen Bildschirmen */
@media (max-width: 768px) {
    body {
        padding-top: 100px; /* Mehr Platz für die Navbar auf mobilen Geräten */
    }

    h1 {
        font-size: 1.5rem; /* Etwas kleinere Schriftgröße auf Mobilgeräten */
    }
}