@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: #1d398d;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
}

#wrapper {
    max-width: 510px;
    margin: 16px auto;
    border: 2px solid #231f20;
    padding: 20px 30px;
    background-color: #fff;
}

header {
    padding: 0 0 10px;
    display: flex;
    justify-content: flex-end;
}

figure {
    margin: 0 -25px 0 0;
}

p {
    text-align: right;
}

h1 {
    margin: 0 0 20px 23px;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
}

h1:before {
    content: '\25A0';
    float: left;
    margin-top: -2px;
    font-size: 25px;
    text-indent: -23px;
}

h1 span {
    font-size: 16px;
    white-space: nowrap;
}

h2 {
    font-size: 18px;
    line-height: 24px;
    background: #1d398d;
    display: inline-block;
    color: #fff;
    padding: 8px 16px;
    box-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #1d398d;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media all and (max-width: 509px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem;
        border: none;
    }

    header {
        justify-content: center;
    }

    figure {
        margin: 0 -16px 0 0;
    }

    figure img {
        width: 100%;
    }

    footer p {
        text-align: center;
    }

    h1 {
        font-size: 24px;
        line-height: 1.3;
    }
}