/* *************************************
************ WupperGroup ***************
**************************************** */


/*  Design mit Flexbox */

body {
    display: flex;
    flex-direction: column;
    
    min-height: 100vh;
    font-family: 'Baskerville', 'Palatino Linotype','Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
   
    /* verhindert den Scrollbalken, wenn der Bildschirm nicht länger als 1900 vh ist */
    margin: 0%; 
}

header {
    display: flex;
    flex-direction: row;
    justify-content: center;

    padding: 1em;
}

header img {
    height: 10vh;
}

#leitsatz {
        
    /* reset der Browserwerte - Chrome */
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
        
    font-size: 3rem;
    text-align: center;
    color: green;
    padding: 1em 1em 0em 1em;


}

#navigation-oben {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;

    height: 3em;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    box-shadow: 0px 3px 3px 1px lightgrey;
}

#navigation-oben p {
    width: 7em;
}

#navigation-oben a{
    text-decoration: none;
    color: black;
    font-size: 1.5rem;
}

#navigation-oben a:hover {
    color: red;
    font-size: 1.25rem;
}

main {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    /* align-items verteilt BILDER in der Y-Achse bei row - justify content macht nichts */
    align-items: center;
    
    /* flex-item */
    /* flex:1 belegt den ganzen Platz, der nicht von header oder footer genutzt wird */
    flex: 1;

    /* styling */
    font-size: 1.25rem;
}

h1 {
    font-size: 2.5rem;
    color: green;
    text-align: center;
}

h2 {
    font-size: 2rem;
    color: red;
}

h3 {
    font-size: 1.75rem;
    color: gray;
}

.button img {
    height: 25vh;
    margin-top: 1em;
    border: 1px solid lightgrey;
    border-radius: 20%;
    box-shadow: 5px 5px 5px 5px lightgrey;

}

footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    margin-bottom: 0.5em;
    font-size: 1.25rem;
    border-top: 2px solid lightgrey;
    box-shadow: 2px 5px 5px 1px lightgrey;
}

/* damit es bei :hover nicht springt */
footer p {
    width: 12em;
    padding: 0.5em;
    text-align: center;
}

footer span {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    border-top: 2px solid lightgrey;
}

footer a{
    text-decoration: none;
    color: blue;
    margin: 0.5em;
}

footer a:hover {
    color: red;
    font-size: 1.25rem;
}

#navigation-unten {
    display: none;
}

/* Anpassung der Unterseiten - geht auch über #seite1 main ff. */

#ueber-uns,
#dsgvo,
#impressum,
#kontakt,
#Cookies  {
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 50vw;
    margin-left: auto;
    margin-right: auto;
}

/* ---------------- kontaktformularformular --------------- */

.kontaktform {
    margin-top:  1em;
}

.kontaktform li {
    list-style-type: none;
    margin: 1em;
}

.kontaktform label {
    float: left;
    width: 10em;
    margin-right: 1em;
    padding: 0.25em;
}

.kontaktform input {
    width: 20em;
    background-color: lightgray;
    padding: 0.25em;
}

.kontaktform button {
    position: relative;
    left: 35%;
    margin: 2em;
}

.kontaktform span {
    color: red;
}

@media all and (max-width: 1000px) and (orientation: portrait){

   
    header {
        margin-bottom: 2em;
        border-bottom: 2px solid lightgrey;
    }

    #navigation-oben {
        display: none;
    }

    #leitsatz {
        margin-top: 0em;
        font-size: 2rem;
    }

    main {
        flex-direction: column;
        justify-content: center;
        margin-bottom: 3em;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    p,
    li {
        font-size: 1rem;
    }

    .button img {
        width: 60vw;
        height: auto;
    }

    
    footer {
        flex-direction: column;
        justify-content: center;

        position: relative;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 1em;
        border-radius: 1em;
    }
    
    footer p {
        height: 1.5em;
        margin: 0;
    }

    #navigation-unten {
        flex-direction: column;

        /* styling */
        width: 80%;
        margin-top: 2em;
        padding-top: 1em;
    }

    #navigation-unten p {
        width: 100%;
    }

    #ueber-uns,
    #dsgvo,
    #impressum,
    #kontakt,
    #Cookies  {
        width: 80vw;
        margin-left: auto;
        margin-right: auto;
    }

    .kontaktform {
        width: 100%;
    }

    .kontaktform ul {
        padding-left: 0;
    }

    .kontaktform li {
        margin-left: 0;
    }

    .kontaktform input {
        width: 17em;
    }

    .kontaktform textarea {
        width: 100%;
    }

    #navigation-unten {
        display: block;
    }
} 
    
@media all and (max-width: 1000px) and (orientation: landscape){

   
    header {
        border-bottom: 2px solid lightgrey;
    }

    header img {
        height: 20vh;
    }

    #navigation-oben {
        display: none;
    }

    #leitsatz {
        margin-top: 0em;
        padding-bottom: 0em;
    }

    /* Button nebeneinander */
    main {
        flex-direction: row;
        margin-bottom: 3em;
    }

    /* damit der Button nicht oben und unten herausragt */
    .button img {
        width: 30vw;
        height: auto;
    }

    
    footer {
        flex-direction: column;
        justify-content: center;

        /* styling */
        position: relative;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 1em;
        border-radius: 1em;
    }
    
    footer p {
        height: 1.5em;
        margin: 0;
    }

    #navigation-unten {
        flex-direction: column;

        width: 80%;
        margin-top: 2em;
        padding-top: 1em;
    }

    #navigation-unten p {
        width: 100%;
    }


    #ueber-uns {
        width: 80%;
    }

    #dsgvo,
    #impressum,
    #kontakt,
    #Cookies  {
        width: 80vw;
        margin-left: auto;
        margin-right: auto;
    }

    .kontaktform {
        width: 100%;
    }

    .kontaktform ul {
        padding-left: 0;
    }

    .kontaktform li {
        margin-left: 0;
    }

    .kontaktform input {
        width: 17em;
    }

    .kontaktform textarea {
        width: 100%;
    }

    #navigation-unten {
        display: block;
    }
} 
