/* Allgemeine Einstellungen */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Navigation */
.navbar {
    background-color: #333;
    padding: 10px 20px;
    text-align: center;
    position: relative; /* Für Hamburger-Position */
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 10px;
    font-size: 1.2rem;
}

.navbar a:hover {
    background-color: #555;
    border-radius: 5px;
}

.navbar .active {
    background-color: #555;
    border-radius: 5px;
}

/* Hamburger Button (mobil, versteckt auf Desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Links ausblenden, außer beim geöffneten Menü */
    .navbar a {
        display: none;
        margin: 10px 0;
        padding: 15px;
        display: block;
        background-color: #333;
        border-radius: 0;
        font-size: 1.4rem;
        text-align: center;
    }
    .navbar a.active {
        background-color: #555;
    }
    .navbar.active a {
        display: block;
    }

    /* Hamburger sichtbar machen */
    .hamburger {
        display: flex;
    }
}

/* Login-Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background-color: #f4f4f4;
}

.login-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: #333;
}

label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: left;
    display: block;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    padding: 12px;
    margin-bottom: 20px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: #4CAF50;
    outline: none;
}

button {
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

button:hover {
    background-color: #45a049;
}

/* Fehlernachricht */
.error {
    color: #f44336;
    font-size: 1rem;
    margin-top: 10px;
}

/* Link zur Anmeldung */
p {
    margin-top: 20px;
    font-size: 1rem;
}

p a {
    color: #4CAF50;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
