body {
    background: #f0f0f0;
    color: #000000;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}


.header-title > h2 {
    font-weight: 300;
}

.header-title > h1 {
    font-size: 4rem;
    font-weight: 300;
}

header {
    display: flex;
    flex-direction: row;
}

header > .logo {
    max-width: 200px;
}

.header-title {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 2ex;
}

.main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #2c2f36;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-menu ul {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
}

.main-menu a {
    color: #004369;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.main-menu a:hover, .main-menu a:focus {
    background: #004369;
    color: #fff;
}

.codeberg-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #e6e6e6;
    margin-right: 2rem;
    font-size: 1.2rem;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.codeberg-text {
    font-size: smaller;
    margin-top: 0.2rem;
}

.codeberg-link:hover, .codeberg-link:focus {
    background: #2c2f36;
    color: #b5e853;
}

main, header {
    max-width: 1100px;
    margin: 2rem auto 2rem auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
}

main {
    min-height: 60vh;
}

h1, h2, h3, h4, h5, h6 {
    color: #000000;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

p, li {
    line-height: 1.7;
    font-size: 1.05rem;
}

code, pre {
    background: #f0f0f0;
    color: #26a269;
    border-radius: 4px;
    padding: 0.2em 0.4em;
    font-family: 'Fira Mono', 'Consolas', monospace;
}

pre {
    padding: 1em;
    overflow-x: auto;
}

a {
    color: #004369;
    text-decoration: underline;
    transition: color 0.2s;
}

a:hover {
    color: #000000;
}

footer {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    margin: 2rem 0 1rem 0;
}


img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    object-fit: cover;
}

.vertical-line {
    border-left: thin solid #888;
}

.menu-list > li, .menu-list > div {
    display: flex;
    align-items: center;
}

.menu-list > li {
    font-size: larger;
}

table {
    border-collapse: separate;
    border-spacing: 0.7rem 0.4rem;
    width: 100%;
}

th, td {
    padding: 0.6rem 1rem;
    border: 1px solid #3a3d44;
    border-radius: 4px;
    background: #f0f0f0;
}

th {
    background: #f0f0f0;
    color: #000000;
    font-weight: 600;
}

td {
    color: #000000;
}

table {
    border: none;
}

.feature-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1ex;
}

.feature-list > li {
    list-style: none;
    width: 30ex;
    display: flex;
    flex-direction: column;

    padding: 2ex;
    border: 1px solid #3a3d44;
    border-radius: 8px;

    font-size: smaller;
}

.feature-list > li:hover {
    background: #e6e6e6;
    transition: background 0.3s;
}

.feature-list > li > strong {
    font-size: larger;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #3a3d44;
}


.feature-list > li > div > img {
    height: 2ex;
    width: 2ex;
}

.feature-list>li>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.weiterfuehrende-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    list-style: none;
    padding-left: 1ex;
}

.weiterfuehrende-links > li {
    border: 1px solid #3a3d44;
    border-radius: 8px;
    padding: 1ex;
}

.weiterfuehrende-links > li > a {
    color: #004369;
    text-decoration: none;
    font-weight: 500;
    width: 100%;
    display: block;
}

.weiterfuehrende-links > li:hover{
    background: #e6e6e6;
    transition: background 0.3s;
}

@media (max-width: 600px) {
    main {
        padding: 1rem 0.5rem;
    }

    .main-menu {
        position: relative;
    }

    header {
        flex-direction: column;
    }

    .header-title > h1 {
        font-size: xx-large;
    }

    .header-title > h2 {
        font-size: x-large;
    }

    header > img {
        max-width: 150px;
        margin: 0 auto;
    }

    .main-menu {
        flex-direction: column !important;
        align-items: stretch;
    }

    .main-menu ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .github-link {
        margin: 0.5rem auto 0 auto;
        justify-content: center;
    }

    .feature-list > li {
        width: 100%;
        max-width: 100%;
    }
}

.leitsatz-box {
    background: #f0f0f0;
    border: 1px solid #3a3d44;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 0;
}

.leitsatz-box > h2 {
    margin-top: 1ex;
}

.screenshots {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}

.screenshots-mobile > div > img {
    height: 37rem;
}

.screenshot {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screenshot > strong {
    margin-bottom: 0;
    margin-top: 0.5rem;
}
