@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/hind-v16-latin-regular.eot');
    src: url('../fonts/hind-v16-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-regular.woff2') format('woff2'), url('../fonts/hind-v16-latin-regular.woff') format('woff'), url('../fonts/hind-v16-latin-regular.ttf') format('truetype'), url('../fonts/hind-v16-latin-regular.svg#Hind') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/hind-v16-latin-600.eot');
    src: url('../fonts/hind-v16-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-600.woff2') format('woff2'), url('../fonts/hind-v16-latin-600.woff') format('woff'), url('../fonts/hind-v16-latin-600.ttf') format('truetype'), url('../fonts/hind-v16-latin-600.svg#Hind') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Hind';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/hind-v16-latin-700.eot');
    src: url('../fonts/hind-v16-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-700.woff2') format('woff2'), url('../fonts/hind-v16-latin-700.woff') format('woff'), url('../fonts/hind-v16-latin-700.ttf') format('truetype'), url('../fonts/hind-v16-latin-700.svg#Hind') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #fff;
    font-family: 'Hind', Arial, sans-serif;
    font-size: 17px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 690px;
    margin: 1rem auto;
    border: 1px solid #000;
    background-color: #00aeef;
    padding: 10px 25px 20px;
    position: relative;
}

.logo {
    display: flex;
    align-content: flex-start;
    gap: 36px;
}

figure {
    position: absolute;
    top: 0;
    right: 0;
}

article {
    margin-top: 50px;
}

footer {
    position: relative;
}

footer p {
    font-size: 16px;
}

.qr-code {
    position: absolute;
    bottom: 0;
    right: 0;
}

p:not(:first-of-type) {
    margin-top: 10px;
}

h1 {
    font-size: 25px;
    line-height: 1.1;
    margin: 10px 0 0;
}

h1 span {
    font-size: 16px;
}

h2 {
    font-size: 17px;
    line-height: 21px;
    margin-top: 10px;
}

h2+p {
    margin-top: 0 !important;
}

img {
    max-width: 100%;
    display: block;
}

:is(h1, h2, strong) {
    font-weight: 400;
    color: #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

@media only screen and (max-width:690px) {
    #wrapper {
        border: none;
        margin: 0;
        padding: 16px;
    }

    p {
        hyphens: auto;
        text-wrap: pretty
    }

    p span {
        white-space: nowrap;
    }

    .logo {
        flex-direction: column;
        gap: 16px
    }

    footer {
        padding-right: 127px;
    }
}

@media only screen and (max-width:514px) {
    figure {
        width: 205px;
    }
}

@media only screen and (max-width:428px) {
    figure {
        position: static;
        display: flex;
        justify-content: center;
        width: auto;
    }

    .logo {
        flex-direction: column;
        align-items: center;
    }

    .qr-code {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 20px
    }

    footer {
        padding-right: 0;
    }
}