@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 1.25em/1.3 Calibri, Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 705px;
    margin: 1rem auto;
    border: solid 1px #000; 
    background: #8E97C7 url('../images/bg.jpg') no-repeat top center;
    overflow: hidden;
}
p {
    padding-bottom: 0.875rem;
}
h1 {
    margin: 0 0 5px;
    font-size: 1.692em;
    line-height: 1.25;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1.5em;
    line-height: 1.3;
    font-weight: 400;
    color: #000;
}
h3 {
    font-size: 1.625em;
    line-height: 1.3;
    font-weight: 400;
    margin: -3rem 0 1.25rem;
}
h4 {
    color: #004394;
    text-transform: uppercase;
    font-size: 2.25em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 1.625rem;
    margin-left: 0.375rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    padding: 0.125rem 0.75rem 0;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2.125rem;
}
article {
    padding: 1rem 1.25rem 0;
    position: relative;
}
figure {
    margin: 0 -1.25rem;
}
.flex p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.flex {
    position: absolute;
    left: 58%;
    top: 18rem;
}
.qr, h3 {
    padding-left: 11.25rem;
}
.qr {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 2.75rem;
}
footer p {
    text-align: center;
    font-size: 0.65em;
    line-height: 1.3;
}
@media only screen and (max-width: 704px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #8E97C7;
    }
    header {
        background-color: #fff;
        padding: 0.25rem 1rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    h1 {
        margin-bottom: 1rem;
    }
    h1, h2 {
        text-align: center;
    }
    h3 {
        margin-top: 0;
    }
    .flex {
        position: static;
        width: fit-content;
        margin: 1rem auto;
    }
    .qr, h3 {
        padding-left: 0;
    }
    .qr {
        background-color: #fff;
        border: 5px solid #004394;
        border-radius: 15px;
        padding: 0.5rem 1rem 0.25rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }
    footer p {
        font-size: 0.8em;
        padding: 0 0.75rem 0.75rem;
    }
    p span {
        display: inline-block;
    }
}
@media only screen and (max-width: 480px) {
    body {
        font-size: 1.125em;
    }
}
@media only screen and (max-width: 400px) {
    h4 {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .qr {
        gap: 1rem;
    }
}