:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: 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');
}

html {
    min-height: 100%;
}

body {
    color: #5a5c5f;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 600px;
    margin: 16px auto;
    border: 1px solid #5a5c5f;
    background: #fbfbfa url('../images/background.jpg') no-repeat left bottom;
    position: relative;
}

header {
    position: relative;
}

article {
    padding: 5px 29px 11px;
}

footer {
    display: flex;
    justify-content: flex-start;
    gap: 0 15px;
    position: absolute;
    z-index: 3;
    right: 23px;
    bottom: 42px;
}

strong {
    font-weight: 700;
}

h1 {
    font-weight: 700;
    font-size: 19px;
    line-height: 23px;
}

h2 {
    margin: 0 0 11px 22px;
    font-weight: 700;
    padding: 7px 0 2px 67px;
    font-size: 18px;
    line-height: 22px;
    background: url('../images/marke.png') no-repeat 0 0;
}

h3 {
    margin: 0 0 17px;
    padding: 13px 0 13px 67px;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
    color: #fff;
    background: url('../images/like.png') no-repeat 18px 3px;
}

h4 {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
}

h5 {
    margin: 0 0 10px 31px;
    font-weight: 700;
    font-size: 20px;
    line-height: 25px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #5a5c5f;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.yellow {
    color: #f2cc14;
}

.red {
    color: #e12453;
}

.blue {
    color: #0f6d97;
}

hr {
    border: none;
    height: 2px;
    background: #5a5c5f;
}

.title {
    position: absolute;
    z-index: 4;
    left: 14px;
    top: 0;
}

h1 small {
    display: block;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
}

header p {
    position: absolute;
    z-index: 3;
    left: 43px;
    top: 27px;
    font-size: 18px;
    color: #fff;
    transform: rotate(-3deg);
    line-height: 28px;
}

.box {
    position: relative;
    padding: 19px 0 12px 178px;
    margin-bottom: 10px;
}

@media all and (max-width: 599px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header p {
        font-size: 3vw;
        line-height: 1.5;
        left: 7%;
        top: 6%;
    }

    :is(ul, p) {
        hyphens: auto;
    }

    article {
        padding: 5px 16px 10px;
    }
}

@media all and (max-width: 585px) {
    #wrapper {
        background: url('../images/background_mobile.jpg') no-repeat 0 0;
        background-size: cover;
    }

    h2 {
        margin-left: 0;
    }

    br:not(header p br) {
        display: none;
    }

    h3 {
        background: #5a5c5f url('../images/like.png') no-repeat 15px center;
    }

    h5 {
        margin-left: 0;
    }

    .box {
        padding: 0;
    }

    .title {
        position: static;
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
    }

    footer {
        position: static;
        padding: 16px;
    }
}