/*
This file contains styles specifically for the simple, static-content pages
like imprint.html, privacy.html, and gtc.html.
*/

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

main.static-page {
    flex: 1;
    padding: 1rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 
This is the correct fix: Override the large top margin on the footer 
to remove the unwanted space below the main content on short pages.
*/
footer {
    margin-top: 1.5rem; /* Reduced from 3rem in the main style.css */
}

.static-page h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.static-page h2 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.static-page p,
.static-page ul {
    line-height: 1.6;
}

.static-page ul li {
    margin-bottom: 0.5rem;
}

.static-page a {
    color: var(--primary-color);
}

.home-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    padding-bottom: 0;
}
