@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: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 500px;
    margin: 16px auto;
    border: 2px solid #697375;
    background-color: #fff;
}

header {
    position: relative;
}

.background {
    position: absolute;
    bottom: 0;
    left: 40px;
    z-index: 9;
}

.background p {
    line-height: 20px;
    margin: 0 0 3px;
}

footer {
    padding: 12px 16px 16px;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(-45deg, rgb(255, 255, 255) 0%, rgb(214, 214, 216) 74%, rgb(201, 201, 203) 100%);
    background: -webkit-linear-gradient(-45deg, rgb(255, 255, 255) 0%, rgb(214, 214, 216) 74%, rgb(201, 201, 203) 100%);
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(214, 214, 216) 74%, rgb(201, 201, 203) 100%);
}

footer p {
    text-align: center;
}

.margin {
    margin: 8px 0 3px;
}

strong {
    font-weight: 700;
}

h1 {
    padding: 18px 16px 12px;
    font-weight: 700;
    font-size: 26px;
    line-height: 30px;
    text-align: center;
    background: #ed0973;
    color: #fff;
    text-shadow: 1px 1px 8px #000;
}

h1 small {
    display: block;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    text-shadow: 1px 1px 8px #000;
    margin: 5px 0 0;
}

.span {
    margin: 0 5px;
}

h2 {
    font-weight: 700;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: 5px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

@media all and (max-width: 498px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    header img {
        width: 100%;
    }

    .background {
        position: static;
        padding: 16px 16px 8px;
        background: rgb(255, 255, 255);
        background: -moz-linear-gradient(-45deg, rgb(255, 255, 255) 0%, rgb(214, 214, 216) 74%, rgb(201, 201, 203) 100%);
        background: -webkit-linear-gradient(-45deg, rgb(255, 255, 255) 0%, rgb(214, 214, 216) 74%, rgb(201, 201, 203) 100%);
        background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(214, 214, 216) 74%, rgb(201, 201, 203) 100%);
    }

    .background :is(h2, p) {
        text-align: center;
        line-height: 1.3;
        letter-spacing: 0;
    }

    p {
        hyphens: auto;
        text-wrap: pretty;
    }
}