/* Grundlegende Stile für die gesamte Seite */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;          /* Basis Aufteilung fixieren */
    flex-direction: column;                       /* *** */
    height: 100vh;                                /* *** */
    flex-wrap: nowrap;                            /* *** */
}

/**********************/
/* Header-Stile */
/**********************/
header {
    background-color: #4CAF50;
    color: white;
    font-size: 1.2em;
}

header .header-container {
    max-width: 800px;
    margin: auto;
    padding: 20px 5%;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

/* Titel-Stile */

/* Menü-Stile */
header .menu-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

header a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Button-Stile */
header a button {
    background-color: white;
    text-decoration: none;
    color: #4CAF50;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
}

header a button:hover {
    background-color: #45a049;
    color: white;
}

header a button:hover a {
    color: white;
}

/**********************/
/* Main-Bereich-Stile */
/**********************/
main {
    flex-grow: 1;          /* Basis Aufteilung fixieren */
    overflow: auto;                              /* *** */
}

main .main-limit {
    padding: 3% 5%;
    max-width: 800px;
    margin: auto;
}

main .starting ul {
    padding-inline-start: 3%;
}

main .discharge ul, main .solution ul, main .implement ul, main .htaccess ul {
    padding-inline-start: 5%;
}

main table th, main table td {
    text-align: left;
    padding: 0.2em 0.8em 0.2em 0;
}

main table .firsttd {
    padding-left: 0.4em;
}

/* generierten Klassen */
.bold {
    font-weight: bold;
}

.margtopnon {
    margin-top: 0;
}

.margbotnon {
    margin-bottom: 0;
}

.addmargtop {
    margin-top: 1em;
}

.addmargbot {
    margin-bottom: 1em;
}

main .mini-info {
    font-size: 0.8em;
}

main .italic {
    font-style: italic;
}

main .tab1 {
    margin-left: 3%;
}

main .tab2 {
    margin-left: 6%;
}

main .tab3 {
    margin-left: 9%;
}

main .tab4 {
    margin-left: 12%;
}

.two-columns, .spe-two-columns {
    column-count: 2;
    column-gap: 12%;
}

main .Pipeline {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

/**********************/
/* Footer-Stile */
/**********************/
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    bottom: 0;
}

/* ************************************/
/* Adaptive Stile */
/* ************************************/
@media screen and (max-width: 970px) {
    .spe-two-columns {
        column-count: 1;
    }
    .spe-filling-element {
        display: none;
    }
}
@media screen and (max-width: 550px) {
    header h1 {
        font-size: 1.5em;
    } 
    header a button {
        font-size: 0.8em;
    }
    main .Pipeline {
        gap: 0;
    }
    .two-columns {
        column-count: 1;
    }
    .filling-element {
        display: none;
    }
}
@media screen and (max-width: 420px) {
    header h1 {
        font-size: 1.2em;
    }       
    header a button {
        font-size: 0.6em;
    }
}
@media screen and (max-width: 370px) {
    header .title-container h1 {
        word-break: break-all;
    }

    header .menu-container {
        flex-direction: column;
    }
}