@font-face {
    font-family: 'Libre Franklin';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/font/LibreFranklin-VariableFont_wght.ttf');
}

body {
    background: rgb(255, 255, 255);
    font-family: 'Libre Franklin', Arial, sans-serif;
    color: rgb(34, 34, 34);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

body {
    --primary-color: #976b08;
    --secondary-color: #a6d69d;
    --landing-title-image-height: 80vh;
}

.main-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #181a20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #2c2f36;
    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, .advanced-menu-title {
    color: #e6e6e6;
    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: #2c2f36;
    color: #fff;
}

main, h1 {
    margin: 2rem auto 2rem auto;
    max-width: 1100px;
}

.subtitle {
    margin: 0 auto 0 auto;
    max-width: 1100px;
}


main {
    background-color: rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    min-height: 60vh;

    display: flex;
    flex-direction: row;
}

h2, h3, h4, h5, h6 {
    color: rgb(0, 0, 0);
    font-weight: 300;
    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: #181a20;
    color: var(--secondary-color);
    border-radius: 4px;
    padding: 0.2em 0.4em;
    font-family: 'Fira Mono', 'Consolas', monospace;
}

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

a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
    color: inherit;
    text-decoration: none;
}

.pagination > a, .weiterlesen > a {
    text-decoration: none;
}

h1 > a:hover, h2 > a:hover, h3 > a:hover, h4 > a:hover, h5 > a:hover, h6 > a:hover, .pagination > a:hover {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    color: var(--primary-color);
}

.weiterlesen > a:hover {
    color: unset;
    text-decoration: underline;
}

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;
}


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

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

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: #23272f;
}

table {
    border: none;
}

.image > p {
    margin: 0;
    padding: 0;
    align-items: center;
}

.image > img {
    margin-bottom: 0;
}

.caption {
    font-size: smaller;
    color: #888;
    text-align: center;
    margin-top: 0.5rem;
}

.post-list {
    list-style: none;
}

.background-logo, .background-logo > img {
    margin: 0;
    border-radius: 0;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    height: var(--landing-title-image-height);
    z-index: -2;
}

.headline {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    margin: calc(var(--landing-title-image-height) - 10vh) 0 0;
}

.headline > h1 {
    margin-bottom: 0;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.headline > .subtitle {
    margin-top: 0.5rem;
    font-weight: 300;
    font-size: medium;
}

.content-container {
    z-index: 0;
    padding-top: var(--landing-title-image-height);
}


.inner-content-container {
    background-color: rgb(255, 255, 255);
}

.aside {
    margin-left: 3rem;
    position: sticky;
    height: fit-content;
    padding-top: 5rem;
    top: 0;
    z-index: 100;
}

footer > p {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}


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

    .main-menu {
        position: relative;
    }

    header {
        flex-direction: column;
    }

    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;
    }

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

    main {
        flex-direction: column;
    }

    .headline {
        margin: calc(var(--landing-title-image-height) - 20vh) 0 0 !important;
    }

    .aside {
        position: unset;
    }

    footer > p {
        flex-direction: column;
        gap: 1rem;
    }
}

