@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    hyphens: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 62.5rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 20px gray;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

.pb {
    padding-bottom: 3rem;
}

h1 {
    font-size: 1.9rem;
    background-color: #6E94C2;
    margin: 0 -7rem 1rem;
    padding: 0 7rem;
}

h2 {
    font-size: 1rem;
    padding-bottom: 1rem;
}

ul {
    padding: 0 0 1rem 1rem;
}

.arrow::before {
    content: url("../images/pfeil.png");
    position: absolute;
    left: 4rem;
    top: 2rem;
}

.button a {
    padding: .5em;
    background-color: #6E94C2;
    color: #fff;
    font-size: .9em;
    min-height: 2.5em;
    display: inline-block;
    position: relative;
}

.button a::after {
    content: " ";
    left: 100%;
    top: 50%;
    border: solid transparent;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-width: 1.25em;
    margin-top: -1.25em;
    border-left-color: #6E94C2;
}

.social {
    display: flex;
    gap: .3rem;
    color: #6E94C2;
    font-size: 1.25em;
    line-height: .05em;
}

article {
    border-top: 10px solid lightgray;
    padding: 1.5rem 7rem 0;
    position: relative;
}

footer {
    padding: 1rem 7rem;
}

@media only screen and (max-width: 62.438rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    article {
        padding: 1.5rem 4rem 0;
    }

    footer {
        padding: 1rem 4rem;
    }

    .arrow::before {
        left: 1rem;
    }
}

@media only screen and (max-width: 40rem) {
    article {
        padding: 1.5rem 2rem 0;
    }

    footer {
        padding: 1rem 2rem;
    }

    .arrow::before {
        display: none;
    }

    .pb {
        padding-bottom: 2rem;
    }
}

@media only screen and (max-width: 30rem) {
    article {
        padding: 1rem 1rem 0;
    }

    footer {
        padding: 1rem;
    }

    h1 {
        text-align: center;
        font-size: 1.7rem;
    }
}