: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: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 910px;
    margin: 16px auto;
    border: 2px solid #000;
    padding: 10px 16px 12px 268px;
    background: #fff880 url('../images/background.jpg') no-repeat left bottom;
    position: relative;
    overflow: hidden;
}

header {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    width: 261px;
}

article {
    position: relative;
}

footer {
    margin: -6px 0 0 -25px;
    display: flex;
    justify-content: flex-start;
    gap: 15px 32px;
    align-items: flex-end;
    flex-wrap: wrap;
}

p {
    margin: 0 0 8px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: 47px;
    line-height: 1.2;
}

h2 {
    margin: 0 0 2px;
    font-weight: 700;
    font-size: 23px;
    line-height: 27px;
}

h3 {
    font-weight: 700;
    font-size: 19px;
    line-height: 23px;
}

h4 {
    padding: 6px 16px;
    font-weight: 700;
    font-size: 20px;
    line-height: 23px;
    position: absolute;
    z-index: 3;
    right: -24px;
    bottom: 67px;
    transform: rotate(-7deg);
    text-align: right;
    color: #ffff00;
    background: #58585a;
    border-radius: 16px;
}

h5 {
    font-weight: 700;
    font-size: 15px;
    line-height: 19px;
    position: absolute;
    z-index: 3;
    left: 27px;
    bottom: 17px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

ul {
    padding: 0 0 9px;
    list-style: none;
}

ul li {
    padding-left: 11px;
    position: relative;
    line-height: 18px;
}

li:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #000;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 7px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h5 a {
    color: #fff200 !important;
}

h1 small {
    font-size: 56%;
}

footer p {
    margin: 0;
}

header>img {
    display: none;
}

.logo {
    position: relative;
    z-index: 999;
}

@media all and (max-width: 909px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    :is(ul, p) {
        hyphens: auto;
    }

    h1 {
        font-size: 5vw;
    }
}

@media all and (max-width: 900px) {
    #wrapper {
        background: #fff87f url('../images/background_mobile.jpg') repeat-x left bottom;
    }

    header img {
        display: block;
    }
}

@media all and (max-width: 845px) {
    h4 {
        position: static;
        display: inline-block;
        transform: none;
    }

    footer {
        margin-top: 10px;
    }
}

@media all and (max-width: 575px) {
    #wrapper {
        padding: 0 16px 16px;
        background: #fff87f url('../images/background_mobile.jpg') repeat-x left top;
    }

    h1 {
        font-size: 30px;
    }

    h1 small {
        white-space: nowrap;
    }

    header {
        position: relative;
        left: 0;
        top: 0;
        margin: 0 0 10px -16px;
    }

    footer {
        margin-left: 0;
    }
}