/* ===================== Schrift ===================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;600&display=swap');

/* ===================== Variablen ===================== */

:root {
    --background-color: ivory;
    --surface-color: #ffffff;

    --accent-color: #006994;      /* Ocean Blue */
    --accent-hover: #004f6f;

    --font-color: #006994;
    --border-color: #cfd8dc;
}

/* ===================== Basis ===================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;

    font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
    font-size: 1.15rem;
    line-height: 1.7;

    color: var(--font-color);
    background: var(--background-color);

    display: flex;
    flex-direction: column;
    min-height: 100vh;

    text-align: center;
}

/* ===================== Header ===================== */

header {
    padding: 0.5rem 1rem 0.5rem;
}

h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h2 {
    color: var(--accent-color);
    margin-top: 2rem;
    font-weight: 600;
}

/* ===================== Navigation ===================== */

.navigation {
    background: transparent;

    border-bottom: 1px solid var(--border-color);

    padding: 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.navigation a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.navigation a:hover {
    color: var(--accent-hover);
}

/* ===================== Hauptinhalt ===================== */

main {
    flex: 1;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
     padding-top: 0.5rem;
}

.textblock,
.textblock2 {
    max-width: 750px;

    margin: 0.5rem auto;

    padding: 1.5rem;

    text-align: center;

    background: var(--surface-color);

    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.textblock p,
.textblock2 p {
    margin-bottom: 1rem;
}

/* ===================== Bildbox ===================== */

.warning {
    max-width: 250px;

    margin: 2rem auto;
    padding: 1rem;

    background: var(--surface-color);

    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.warning img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================== Footer ===================== */

footer {
    border-top: 2px solid var(--accent-color);

    padding: 1.5rem;

    background: transparent;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 1rem;
    text-align: center;
}

/* Links im Footer nebeneinander */
footer .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* ===================== Mobile ===================== */

@media (max-width: 700px) {

    .navigation {
        flex-direction: column;
        gap: 1rem;
    }

    footer {
        flex-direction: column;
    }

    footer .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    body {
        font-size: 1.05rem;
    }

    main {
        padding: 1rem;
    }
}