@font-face {
    font-display: swap;
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/titillium-web-v19-latin-regular.eot');
    src: url('../fonts/titillium-web-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/titillium-web-v19-latin-regular.woff2') format('woff2'), url('../fonts/titillium-web-v19-latin-regular.woff') format('woff'), url('../fonts/titillium-web-v19-latin-regular.ttf') format('truetype'), url('../fonts/titillium-web-v19-latin-regular.svg#TitilliumWeb') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Titillium Web';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/titillium-web-v19-latin-700.eot');
    src: url('../fonts/titillium-web-v19-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/titillium-web-v19-latin-700.woff2') format('woff2'), url('../fonts/titillium-web-v19-latin-700.woff') format('woff'), url('../fonts/titillium-web-v19-latin-700.ttf') format('truetype'), url('../fonts/titillium-web-v19-latin-700.svg#TitilliumWeb') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Titillium Web', Arial, sans-serif;
    font-size: 17px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 720px;
    margin: 16px auto;
    border: 1px solid #ffffff;
    padding: 30px 90px 1px;
    background: url('../images/background.jpg') no-repeat;
    overflow: hidden;
    position: relative;
}

header {
    display: flex;
    justify-content: flex-end;
    margin: 0 -50px 0 0;
}

.content {
    position: relative;
}

.content :is(h2, ul, p) {
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.3);
}

.button {
    position: absolute;
    bottom: 22px;
    right: 6px;
    z-index: 99;
}

.button a {
    display: inline-block;
    padding: 10px 16px;
    background: #eb2d2b;
    text-decoration: underline !important;
    font-size: 25px;
    line-height: 1;
}

footer {
    padding: 40px 0 31px;
}

footer p {
    text-align: center;
    font-size: 19px;
    line-height: 1.3;
}

footer a {
    font-size: 23px;
    text-decoration: underline !important;
}

span {
    white-space: nowrap;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 0 -32px 22px;
    font-size: 38px;
    line-height: 1.2;
}

h1 small {
    display: block;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.3;
}

h1 span {
    font-size: 28px;
}

h2 {
    margin: 0 0 5px;
    font-size: 17px;
}

h3 {
    font-size: 37px;
    line-height: 1.1;
    position: absolute;
    left: -277px;
    z-index: 9;
    bottom: 476px;
    transform: rotate(-90deg);
    text-align: center;
    letter-spacing: 5px;
}

h3 span {
    color: #193f72;
}

h3 small {
    display: block;
    font-weight: 400;
    font-size: 17px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    padding: 0 0 18px;
    list-style: none;
}

ul li {
    padding-left: 28px;
}

li:before {
    content: '\2022';
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    text-indent: -19px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 719px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        border: none;
        background: rgb(246, 170, 170);
        background: -moz-linear-gradient(-45deg, rgb(246, 170, 170) 0%, rgb(214, 183, 208) 50%, rgb(198, 184, 209) 100%);
        background: -webkit-linear-gradient(-45deg, rgb(246, 170, 170) 0%, rgb(214, 183, 208) 50%, rgb(198, 184, 209) 100%);
        background: linear-gradient(135deg, rgb(246, 170, 170) 0%, rgb(214, 183, 208) 50%, rgb(198, 184, 209) 100%);
    }

    header {
        margin: 0 0 18px;
        display: flex;
        justify-content: center;
    }

    .content {
        background: url('../images/content.jpg') no-repeat;
        background-size: cover;
        padding: 16px;
        border: 2px solid #fff;
    }

    .button {
        right: 16px;
    }

    footer {
        padding: 16px 0 1px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        margin: 0 0 16px;
        text-align: center;
        font-size: 34px;
        line-height: 1.2;
    }

    h3 {
        position: static;
        transform: none;
        letter-spacing: 0;
        margin: 0 0 16px;
        line-height: 1;
    }

    ul li {
        padding-left: 16px;
    }

    li:before {
        text-indent: -16px;
    }

    li br {
        display: none;
    }
}

@media all and (max-width: 610px) {
    .button {
        position: static;
        display: flex;
        justify-content: center;
        margin: 16px 0 0;
    }

    h3 {
        font-size: 25px;
    }

    h3 small {
        margin: 3px 0 0;
        line-height: 1.3;
        font-size: 15px;
    }
}

@media all and (max-width: 374px) {
    h3 {
        font-size: 21px;
    }

    footer a {
        font-size: 19px;
    }
}