/* Globale Stile für das gesamte Projekt */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 2rem;
    background-color: #f4f4f9;
    color: #333;
    background-image: url('/hintergrund/hwork.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

main {
    background-color: rgba(210, 225, 240, 0.95); /* Bläulicher Haupt-Container */
    max-width: 900px;
    margin: auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.container {
    max-width: 900px;
    margin: auto;
    background-color: #0d2c4b; /* Deutlich dunkleres Blau */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: white; /* Textfarbe auf weiß setzen */
}

.container h1, .container h2 {
    color: #ffffff; /* Überschriften im Container weiß machen */
}

h1, h2 {
    color: #444;
}

.button-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

button, .button {
    background-color: #007bff;
    color: white;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.2s;
}

button:hover, .button:hover {
    background-color: #0056b3;
}

.back-button {
    background-color: #6c757d;
}

.back-button:hover {
    background-color: #5a6268;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.add-template-container {
    text-align: right; 
    margin-bottom: 1rem;
}

#logout-button {
    background-color: #dc3545;
}

#logout-button:hover {
    background-color: #c82333;
}
