@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #17314f;
}

#wrapper {
    margin: 1rem auto;
    max-width: 552px;
    background: #87d5f1;
    border: solid thin #cbcbcb;
    overflow: hidden;
}

article {
    padding: 6px 20px 35px;
    background: url(../images/background.jpg) no-repeat left bottom;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, h2, h3, strong) {
    font-weight: 700;
}

:is(h1, h2, h3) {
    line-height: 1.2;
}

h1 {
    font-size: 30px;
}

h1 span {
    font-size: 16px;
}

h2 {
    font-size: 35px;
    margin: 0 0 8px;
}

h3 {
    font-size: 16px;
}

p {
    margin-bottom: 8px;
    text-align: justify;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #17314f;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 8px;
}

ul li {
    list-style: none;
    padding-left: 15px;
    background: url(../images/bild.png) no-repeat left 3px;
}

footer {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    align-items: flex-end;
    margin-right: -20px;
}

@media screen and (max-width: 551px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h2, h3, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    p {
        text-align: left;
    }

    br:not(br.mobile-block) {
        display: none;
    }
}

@media screen and (max-width: 414px) {
    h1 {
        font-size: 28px;
    }

    footer {
        flex-direction: column;
    }

    footer p {
        text-align: center;
        width: 100%;
    }
}