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

/* Body für zentrierten Inhalt und Hintergrundbild */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    background-image: url('../background1.jpg');
    background-size: cover;
    background-position: center;
}

/* Container für den Inhalt */
.container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 90%;
    max-width: 600px;
    text-align: center;
    padding: 20px;
}

/* Bildcontainer für das Bild */
.image-container {
    margin: 0 auto;
}

/* Stil für das Bild */
.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px 2px grey;
}

/* Beschreibungstext */
.description {
    margin-top: 2rem;
    font-size: 16px;
    color: #333;
}

/* Optional: Verbesserung der Flexbox-Einstellungen */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Verhindert zu große Bilder */
img {
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}



body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: Arial, sans-serif;
    background-image: url('../background1.jpg');
    background-size: cover;
    background-position: center;
}

.container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

h2 {
    margin-bottom: 1.5rem;
    font-size: 24px;
    color: #333;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-size: 14px;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: left;
    padding-left: 10px;
}

input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

input:focus {
    border-color: #007BFF;
    outline: none;
}

/* Einheitliche Button-Stile */
.btn, .logout-btn {
    display: block;
    width: 100%;  /* Beide Buttons gleiche Breite */
    padding: 12px;
    font-size: 16px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hochladen-Button */
.btn {
    background-color: #007BFF;
    color: white;
    border: none;
}

/* Logout-Button */
.logout-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    margin-top: 1rem;
}

.logout-btn:hover {
    background-color: #b52b38;
}

button {
    padding: 12px;
    font-size: 16px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.error {
    color: red;
    margin-bottom: 1rem;
    font-size: 14px;
}

