body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    height: 100%;
    scroll-behavior: smooth;
}

#menu-button, #menu-close {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    text-align: center;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    display: inline;
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

main {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

ul {
    list-style-type: none;
}

nav ul li a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #f1f1f1;
}

nav ul li a:hover {
    color: #a9a9a9;
}

.scroll-section {
    display: block;
    text-align: center;
    padding: 20px;
}

.character {
    margin-bottom: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: left;
}

.character:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.character img {
    float: left;
    margin-right: 20px;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.character h2 {
    margin-top: 0;
}

blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 20px 0;
    padding: 10px;
    border-left: 5px solid #007bff;
    background-color: #f0f0f0;
    color: #333;
}

.clear {
    clear: both;
}

h1, h2 {
    font-weight: 700;
    color: #333;
}

h1 {
    margin-top: 100px;
    text-align: center;
}

.logo {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.logo img {
    height: 80px;
}

.logo:hover {
    box-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}

.drkmd-toggle-button:hover {
    transform: scale(1.2);
}

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

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

.footer ul li {
    display: inline;
    margin: 0 10px;
}

.footer p a {
    color: #fff;
    text-decoration: none;
}

.footer p a:hover {
    text-decoration: underline;
}

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

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

/* Light theme */
.theme-light {
    background-color: #f1f1f1;
    color: #333;
}

.theme-light .character {
    background-color: white;
    color: #333;
}

.theme-light nav {
    background-color: #333;
}

.theme-light .logo img {
    filter: contrast(0.90);
}

/* Dark theme */
.theme-dark {
    background-color: #333;
    color: #f1f1f1;
}

.theme-dark .character {
    background-color: #444;
    color: #f1f1f1;
}

.theme-dark nav {
    background-color: #222;
}

.theme-dark footer {
    background-color: #222;
}

.theme-dark h1, .theme-dark h2 {
    color: #f1f1f1;
}

.theme-dark .logo img {
    filter: invert(1) brightness(1.55) contrast(0.59);
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    main {
        padding: 10px;
    }

    #menu-button {
        display: block;
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 2000;
        border: none;
        padding: 10px;
        font-size: 1rem;
        cursor: pointer;
    }

    #menu-close {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .theme-dark #menu-button, .theme-dark #menu-close {
        background-color: #333;
        color: #f1f1f1;
    }

    .theme-light #menu-button, .theme-dark #menu-close {
        background-color: #f1f1f1;
        color: #333;
    }

    /* Menü im Dark-Theme */
    .theme-dark .mm-ocd__content {
        background-color: #333;
        color: #f1f1f1;
    }

    .theme-dark .mm-ocd__backdrop {
        background-color: transparent;
    }

    /* Menü im Light-Theme */
    .theme-light .mm-ocd__content, .theme-light .navbar {
        background-color: #f1f1f1;
        color: #333;
    }

    .theme-light .mm-ocd__backdrop, .theme-dark .navbar {
        background-color: transparent;
    }

    /* Menü-Inhalt */
    .mm-ocd ul li a {
        color: inherit;
        text-decoration: none;
    }

    .mm-ocd ul li a:hover {
        color: #007bff;
    }

    .navbar ul li {
        display: block;
        margin: 10px 0;
    }

    h1 {
        font-size: 1.5rem;
    }

    .character img {
        width: 100px;
        height: 100px;
        float: none;
        display: block;
        margin: 0 auto 20px;
    }

    .character {
        text-align: center;
        padding: 10px;
    }

    p {
        font-size: 1rem;
    }

    .character h2 {
        font-size: 1.4rem;
    }

    .character p {
        font-size: 1rem;
    }

    footer {
        padding-bottom: 20px;
    }
}
