/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

header .logo img {
    max-height: 50px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    display: block;
}

header nav ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

header .user-info {
    display: flex;
    align-items: center;
    position: relative;
}

header .user-info .avatar-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 10px;
}

header .user-info .avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

header .user-info span {
    margin-right: 10px;
    cursor: pointer;
}

header .user-info .logout-button {
    background-color: #ff9900;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
}

header .user-info .logout-button:hover {
    background-color: #ff6600;
}

header .user-info .user-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 50px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
}

header .user-info:hover .user-menu {
    display: block;
}

header .user-info .user-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header .user-info .user-menu ul li {
    border-bottom: 1px solid #ddd;
}

header .user-info .user-menu ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    display: block;
}

header .user-info .user-menu ul li a:hover {
    background-color: #f4f4f4;
}

.main-content {
    display: flex;
    margin-top: 70px;
}

aside {
    width: 200px;
    background-color: #f4f4f4;
    padding: 20px;
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}

aside nav ul {
    list-style: none;
    padding: 0;
}

aside nav ul li {
    margin-bottom: 10px;
}

aside nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
}

aside nav ul li a:hover {
    background-color: #ddd;
}

main {
    margin-left: 220px;
    padding: 20px;
    flex: 1;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Footer mit vier Spalten */
footer .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
}

footer .footer-column {
    width: 23%;
}

footer .footer-column h3 {
    margin-bottom: 10px;
}

footer .footer-column ul {
    list-style: none;
    padding: 0;
}

footer .footer-column ul li {
    margin-bottom: 5px;
}

footer .footer-column ul li a {
    color: #fff;
    text-decoration: none;
}

footer .footer-column ul li a:hover {
    text-decoration: underline;
}

/* Login-Seite Stile */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 70px);
    background-color: #f9f9f9;
    padding-top: 70px;
}

.login-container {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    width: 100%;
    max-width: 900px;
    text-align: left;
}

.login-form, .login-info {
    flex: 1;
    padding: 20px;
}

.login-form {
    border-right: 1px solid #ccc;
}

.login-form h2, .login-info h2 {
    margin-bottom: 20px;
}

.login-form .form-group {
    margin-bottom: 15px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 5px;
}

.login-form .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
}

.login-button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.login-button:hover {
    background-color: #555;
}

.error {
    color: red;
}

/* Index-Seite Stile */
main {
    padding: 20px;
    margin-top: 70px;
}

section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

section p {
    font-size: 1.2em;
    line-height: 1.6;
}
