:root {
    font-size: 16px;
}

@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');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    line-height: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #224E65;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 880px;
    margin: 16px auto;
    border: 2px solid #224E65;
    overflow: hidden;
    background: url('../images/background-top.jpg') no-repeat top left, url('../images/background-bottom.jpg') no-repeat bottom right;
}

h1 {
    margin: 14px 0 0;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 700;
    text-align: right;
    display: inline-block;
    background: url('../images/icon.jpg') no-repeat 0 10px;
    padding: 21px 0 0 48px;
    color: #F9CA06;
}

h1 strong {
    display: block;
    font-size: 70px;
    line-height: 1;
    color: #224E65;
}

h2 {
    margin: 40px 0 50px;
    font-size: 19px;
    line-height: 1;
    font-weight: 700;
    color: #F9CA06;
    background: url(../images/icon-title.jpg) no-repeat 0 5px;
    padding: 0 0 0 25px;
}

h3 {
    margin: 9px 0 0;
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
}

p:not(:last-of-type) {
    margin-bottom: 16px;
}

header {
    position: absolute;
    top: 32px;
    right: 38px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.content {
    padding: 58px 555px 20px 42px;
}

.content p {
    font-size: 16px;
    line-height: 1.25;
}

.info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.info p {
    line-height: 1.4;
    font-size: 14px;
}

footer img {
    display: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    margin: 11px 0 16px;
    list-style: none;
    color: #fff;
    line-height: 1.4;
}

ul li {
    padding-left: 22px;
    background: url('../images/iconlist.jpg') no-repeat -1px 3px;
}

.list-item {
    padding: 41px 30px 30px 43px;
}

.list-item p {
    color: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

@media all and (max-width:879px) {
    #wrapper {
        margin: 0 auto;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .list-item {
        padding: 41px 16px 30px;
    }

    .content {
        padding: 58px 533px 20px 16px;
    }
}

@media all and (max-width:840px) {
    #wrapper {
        background: none;
        max-width: 550px;
    }

    header {
        position: static;
        padding: 16px;
        justify-content: center;
        align-items: center;
    }

    .list-item {
        padding: 16px;
        background-color: #224E65;
    }

    ul {
        margin-bottom: 0;
    }

    .content {
        padding: 16px;
    }

    footer img {
        display: block;
    }
}

@media all and (max-width:555px) {
    #wrapper {
        border: none;
    }

    h1 {
        text-align: center;
    }

    h1 strong {
        font-size: 14vw;
        line-height: 1;
    }

    h2 {
        margin: 16px 0;
    }
}