/* Grundeinstellungen */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    height: 100dvh;

    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    text-align: center;

    background-color: #ffcc33;
    background-image: url('Sonnenstern.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* Homepagetitel */

header {
    padding: 20px 15px 0;
    flex-shrink: 0;
}

h1 {
    font-size: 100px;
    font-weight: 900;
    letter-spacing: 3px;
    margin: 0;
}


/* Übersetzung */

.uebersetzung {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
}


/* Hauptbereich mit zwei Spalten */

main {
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 50px 30px 20px;
    overflow: hidden;
}


/* PDF- und Bilderbereich */

.pdfs,
.bilder {
    flex: 1;
    min-width: 0;
    min-height: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
}


/* Überschriften */

h2 {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 25px;
    flex-shrink: 0;
}


/* Platz für verlinkte Dateien */

.dateien {
    flex: 1;
    min-height: 0;
    font-size: 18px;
    line-height: 1.8;
    overflow-y: auto;
    overflow-wrap: anywhere;
}


/* Dateilinks */

.dateien a {
    display: block;
    color: #000000;
    text-decoration: none;
}

.dateien a:hover {
    text-decoration: underline;
    color: #994400;
}


/* Dauerhaft sichtbare Fußzeile */

footer {
    flex-shrink: 0;
    width: 100%;
    font-size: 12px;
    font-weight: normal;
    padding: 15px 10px;
}


/* Darstellung auf Smartphones */

@media (max-width: 600px) {

    h1 {
        font-size: 60px;
    }

    .uebersetzung {
        font-size: 16px;
    }

    main {
        gap: 15px;
        padding: 35px 10px 15px;
    }

    h2 {
        font-size: 22px;
    }

    .dateien {
        font-size: 14px;
    }

    footer {
        font-size: 10px;
    }

}