@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot');
    src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #1b60ab;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-weight: 400;
}

#wrapper {
    max-width: 560px;
    height: 378px;
    margin: 1rem auto;
    background: url('../images/background.jpg') no-repeat;
    position: relative;
}

header {
    display: none;
}

article {
    display: flex;
    justify-content: flex-end;
}

.content {
    width: 280px;
}

.title {
    padding: 65px 0;
}

footer {
    position: absolute;
    bottom: 16px;
    width: 95%;
    margin: 0 13px;
    border: 3px solid #fed648;
    border-radius: 19px;
    padding: 7px;
    display: flex;
    justify-content: space-between;
}

.address {
    width: 250px;
    border-left: 2px dotted #1b60ab;
    border-right: 2px dotted #1b60ab;
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.address p {
    font-weight: 700;
    font-size: 12px;
    line-height: 21px
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 22px;
    line-height: 24px;
    color: #fff;
    font-style: italic;
}

h2 {
    font-size: 32px;
    line-height: 1.1;
    padding: 37px 10px 15px;
    color: #1b64ae;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #1b60ab;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:560px) {
    #wrapper {
        border: none;
        margin: 0;
        height: auto;
        padding: 16px;
        background: none;
    }

    header {
        display: block;
    }

    article {
        display: block;
    }

    .content {
        width: auto;
    }

    .title {
        background: #257fc3;
        padding: 16px
    }

    footer {
        width: auto;
        position: static;
        margin: 20px 0 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty
    }

    p span {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }
}