/* Allgemeine Einstellungen */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
}

/* =============================== */
/* 🔝 Navigation + Hamburger Menü  */
/* =============================== */
.navbar {
    background-color: #333;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    margin: 0 10px;
    font-size: 1.2rem;
    display: inline-block;
}

.navbar a:hover {
    background-color: #555;
    border-radius: 5px;
}

.navbar .active {
    background-color: #555;
    border-radius: 5px;
}

/* Hamburger Button (mobil) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}

/* =============================== */
/* 📱 Responsive Design – Mobile   */
/* =============================== */
@media (max-width: 600px) {
    .navbar a {
        display: none;
        width: 100%;
        margin: 5px 0;
        padding: 12px;
        background-color: #444;
        border-radius: 0;
        text-align: center;
    }

    .navbar.active a {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    h1 {
        font-size: 1.6rem;
    }

    p, a, label, input, button {
        font-size: 1rem;
    }

    .login-container {
        padding: 20px;
        height: auto;
    }

    .login-box {
        padding: 30px 20px;
    }
}

/* =============================== */
/* 📦 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"] {
    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 {
    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 Registrierung */
p {
    margin-top: 20px;
    font-size: 1rem;
}

p a {
    color: #4CAF50;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
