body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
}

header {
    background: linear-gradient(45deg, #1f1c2c, #928dab);
    color: #fff;
    padding: 1em 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav li {
    margin: 0 1em;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5em 1em;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #ffffff30;
    border-radius: 5px;
}

main {
    padding: 2em;
    padding-bottom: 5em; /* Adds extra padding at the bottom to create space */
    min-height: calc(100vh - 5em); /* Die Höhe des Bildschirms abzüglich der Höhe des Footers */
    margin-bottom: 3em; /* Erhöht den Abstand zwischen main und footer */
}

section {
    background-color: #1e1e2e;
    margin: 1em 0;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

section:hover {
    transform: scale(1.02);
}

section img {
    max-width: 150px;
    border-radius: 10px;
    margin-right: 2em;
}

section div {
    max-width: 70%;
}

h2 {
    color: #ff79c6;
}

footer {
    background: linear-gradient(45deg, #1f1c2c, #928dab);
    color: #fff;
    text-align: center;
    padding: 0.1em 0; /* Verringert den Abstand von oben und unten */
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
}

footer a {
    color: #ff79c6;
    text-decoration: none;
    margin: 0 0.5em;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}
