body {
    margin: 0;
    padding: 0;
}

a {
    /* color: #2a3352; */
    color: #435172;
}

/* Grid layout for the index page */
body.layout-fullscreen {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    height: 100vh;
    max-width: 2000px;
    margin: 0 auto;
}

body.impressum {
    width: fit-content;
}

body.layout-fullscreen > main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

body.layout-fullscreen > main > img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px 3.7%;
    width: 100%;
    box-sizing: border-box;
}

header img {
    max-height: 60px;
    max-width: 45%;
    min-width: 300px;
    width: auto;
    height: auto;
}

.bar {
    padding: 10px 3.7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px;
    box-sizing: border-box;
}

.bar span {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

main {
    border-top: 0;
}

main img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

main.impressum {
    max-width: 800px;
    padding: 20px 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

main.impressum h1 {
    font-size: 28px;
    margin-bottom: 24px;
}

main.impressum h2 {
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 8px;
}

main.impressum section {
    margin-bottom: 16px;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 0px 10px;
    padding: 10px 3.7%;
    box-sizing: border-box;
}

footer span {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

