/* Grundlegende Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

h1, h2 {
    text-align: center;
    font-weight: 400;
    margin-bottom: 20px;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

/* Buttons Styling */
button, input[type="submit"] {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover, input[type="submit"]:hover {
    background-color: #2980b9;
}

/* Tabellen-Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
    border-radius: 10px;
}

table thead {
    background-color: #3498db;
    color: white;
}

table th, table td {
    padding: 15px;
    text-align: left;
}

table tr {
    border-bottom: 1px solid #ddd;
}

table tr:hover {
    background-color: #f1f1f1;
}

table th {
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* NPC-Item Styling */
.npc-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.npc-item img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
}

.npc-item h2 {
    font-size: 1.8rem;
    margin-left: 20px;
    color: #34495e;
}

.npc-item p {
    font-size: 1rem;
    color: #7f8c8d;
}

.npc-item button {
    margin-left: 20px;
}

/* NPC-Details */
.npc-details {
    border: 1px solid #ddd;
    padding: 20px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.npc-details h1 {
    font-size: 2rem;
}

.npc-details p {
    font-size: 1.2rem;
}

.npc-image {
    max-width: 200px;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
}

/* Admin-NPC Table Styling */
.npc-admin-container {
    margin-top: 30px;
}

.npc-admin-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.npc-admin-name {
    font-size: 1.2rem;
    color: #2c3e50;
}

.visibility-label {
    font-size: 1rem;
    color: #7f8c8d;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
}
        /* Navigation Styling */
        nav {
            background-color: #3498db;
            padding: 15px;
        }

        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: space-around;
        }

        nav ul li {
            display: inline;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
            padding: 10px 15px;
            transition: background-color 0.3s ease;
        }

        nav ul li a:hover, nav ul li a.active {
            background-color: #2980b9;
            border-radius: 5px;
        }

        /* Responsive Navigation */
        @media (max-width: 768px) {
            nav ul {
                flex-direction: column;
                align-items: center;
            }

            nav ul li {
                margin-bottom: 10px;
            }
        }

        /* Content Styling */
        .content {
            padding: 20px;
            background-color: #f4f4f4;
            min-height: 400px;
        }