/* Allgemeiner Stil */
body {
    font-family: 'Roboto', sans-serif; /* Moderne, serifenlose Schrift */
    background-color: #f4f7f9; /* Sanftes Grau für den Hintergrund */
    color: #333; /* Dunkles Grau für den Text */
    margin: 0;
    padding: 0;
}

h1, h2 {
    text-align: center;
    color: #333;
    margin: 20px 0;
    font-weight: 700;
}

/* Navigation */
nav {
    background-color: #1e88e5; /* Modernes Blau */
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}
nav ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
nav ul li a:hover {
    background-color: #1565c0;
}

/* Buttons */
button, .action-btn {
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    background-color: #1e88e5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

button:hover, .action-btn:hover {
    background-color: #1565c0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.action-btn.large-btn {
    font-size: 1.2rem;
    background-color: #4caf50;
}

.action-btn.large-btn:hover {
    background-color: #45a049;
}

.action-btn .icon {
    font-size: 1.5rem;
    margin-right: 8px;
}

/* Tabelle */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

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

table th {
    background-color: #1e88e5;
    color: #ffffff;
    font-weight: 600;
}

table tr:nth-child(odd) {
    background-color: #f4f7f9;
}

table tr:nth-child(even) {
    background-color: #ffffff;
}

/* Formular */
form {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input[type="text"], form textarea, form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus, form textarea:focus, form select:focus {
    border-color: #1e88e5;
    outline: none;
}

form textarea {
    height: 300px; /* Höhe des Textfelds */
    resize: vertical;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Seite mit Schreibfeder-Icon */
.page-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.page-title .feder-icon, .feder-icon {
    display: block;
    margin: 20px auto;
    width: 50px;
    height: 50px;
    background: url('https://cdn-icons-png.flaticon.com/512/1946/1946429.png') no-repeat center center;
    background-size: contain;
    opacity: 0.8;
}

/* Beitragsliste */
.post-list {
    list-style: none;
    padding: 0;
}

.post-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 10px;
}

.post-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.post-meta {
    font-size: 0.9rem;
    color: #999;
    text-align: right;
}

.no-posts {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin: 20px 0;
}

/* Fußzeile */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #1e88e5;
    color: #ffffff;
    margin-top: 20px;
}
