/* Grundstil für die Seite */
body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #2d2d2d;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #eae4e9;
    color: #2d2d2d;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #d3d3d3;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

/* Footer */
footer {
    background-color: #2d2d2d;
    color: #f7f7f7;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    border-top: 1px solid #d3d3d3;

}

/* Links im Hauptbereich */
a {
    color: #2e3de2; /* Dunkelgrau für Links im Hauptinhalt */
    text-decoration: none; /* Keine Unterstreichung */
}

/* Hover-Effekt für Links */
a:hover {
    color: #0099ff; /* Heller Farbton für Hover-Effekt */
    text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Besuchte Links */
a:visited {
    color: #2e3de2; /* Gleiche Farbe wie normale Links */
}

/* Links im Footer */
footer a {
    color: #4cafc5; /* Helles Weiß für Links im Footer */
    text-decoration: none; /* Keine Unterstreichung im Normalzustand */
}

/* Hover-Effekt für Links im Footer */
footer a:hover {
    color: #5072a1; /* Dunkelgrau beim Hover */
    text-decoration: underline; /* Unterstreichung beim Hover im Footer */
}

footer a:visited {
    color: #4cafc5; /* Gleiche Farbe wie normale Links */
}

/* Login Screen */
#login-screen {
    margin: 40px auto;
    padding: 20px;
    width: 300px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#login-screen h2 {
    margin-bottom: 20px;
}

#login-screen label {
    display: block;
    margin-bottom: 5px;
    text-align: left;
}

#login-screen input {
    width: calc(100% - 20px); /* Platz innerhalb des Randes */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    box-sizing: border-box; /* Rand korrekt einberechnen */
}

#login-screen button {
    width: 100%;
    padding: 10px;
    background-color: #2d2d2d;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Hauptinhalt (standardmäßig versteckt) */
.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Main Content */
main {
    flex: 1;
    padding: 20px;
    margin: 20px auto;
    max-width: 90%;
    color: #2d2d2d;
}
