@font-face {
    font-display: swap;
    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-display: swap;
    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;
}

body {
    color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 800px;
    margin: 16px auto;
    border: 1px solid #CBCBCB;
    padding: 20px 25px 21px;
    background: #10b6ec url('../images/background.jpg') top right no-repeat;
    position: relative;
}

header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: absolute;
    top: 46px;
    right: 26px;
    z-index: 1;
}

header p {
    text-align: center;
    margin: 0 12px 3px;
}

article p {
    font-size: 20px;
    line-height: 24px;
}

footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0 0 0 30px;
}

footer div {
    display: flex;
    align-items: center;
    gap: 14px;
}

footer p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.button {
    display: flex;
    padding: 20px 0 55px;
    align-items: flex-start;
}

.button a {
    display: inline-block;
    background: #2b1a44;
    color: #fff !important;
    padding: 10px 16px;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: 25px 0;
    font-size: 58px;
    line-height: 1.1;
}

h2 {
    font-size: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #2b1a44;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 26px;
    margin: 6px 0;
    font-size: 14px;
    line-height: 18px;
}

li:before {
    content: '\2022';
    float: left;
    margin-top: 1px;
    font-size: 22px;
    text-indent: -26px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 798px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        border: none;
        background-size: cover;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    ul li {
        padding-left: 16px;
    }

    li:before {
        text-indent: -16px;
    }
}

@media all and (max-width: 767px) {
    #wrapper {
        background-position-x: left;
    }

    header {
        position: static;
        justify-content: center;
        align-items: center;
        padding: 0 0 16px;
    }

    header p {
        margin: 0 0 12px;
    }

    footer {
        padding: 0;
    }

    .button {
        padding: 20px 0;
    }

    ul li {
        font-size: 16px;
        line-height: 21px;
    }

    br {
        display: none;
    }
}

@media all and (max-width: 625px) {
    footer {
        flex-direction: column;
        gap: 16px;
    }

    h1 {
        font-size: 44px;
        line-height: 1.2;
    }
}

@media all and (max-width: 500px) {
    footer div {
        flex-direction: column;
    }

    .button {
        justify-content: center;
    }
}