﻿@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-regular.woff') format('woff'), url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v35-latin-700.eot');
    src: url('../fonts/open-sans-v35-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v35-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v35-latin-700.woff') format('woff'), url('../fonts/open-sans-v35-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v35-latin-700.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Just Another Hand';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/just-another-hand-v19-latin-regular.eot');
    src: url('../fonts/just-another-hand-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/just-another-hand-v19-latin-regular.woff2') format('woff2'), url('../fonts/just-another-hand-v19-latin-regular.woff') format('woff'), url('../fonts/just-another-hand-v19-latin-regular.ttf') format('truetype'), url('../fonts/just-another-hand-v19-latin-regular.svg#JustAnotherHand') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #231f20;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 720px;
    margin: 1rem auto;
    border: 1px solid #777;
    background: url('../images/background.jpg') no-repeat;
    height: 1038px;
    position: relative;
    overflow: hidden;
}

header {
    padding: 30px 16px 21px 164px;
}

article {
    padding: 0 0 13px 1.25rem;
}

footer {
    padding: 28px 1rem 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

header p {
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    margin: 0 0 9px;
    color: #203864;
}

footer p {
    color: #fff;
    font-size: 1rem;
    line-height: 1.375;
}

.margin-top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 41px;
}

.qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.4375rem 0 0;
    gap: 7px;
    background: rgba(168, 117, 157, 0.9);
    border-radius: 100%;
    width: 230px;
    height: 230px;
    justify-content: center;
    position: absolute;
    bottom: 73px;
    right: -20px;
}

.qrcode a {
    font-size: 15px;
}

.qrcode a {
    color: #231f20 !important;
}

p {
    margin: 0 0 0.4375rem;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 35px 0 26px;
    font-weight: 700;
    font-size: 33px;
    line-height: 1.5;
    text-align: center;
    color: #203864;
}

h1 span {
    display: block;
    font-size: 23px;
    line-height: 39px;
    margin-top: 17px;
}

h2 {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.25rem;
    color: #231f20;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #231f20;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
    color: #231f20;
    max-width: 340px;
}

ul li {
    padding-left: 30px;
    margin: 0 0 13px;
    font-size: 14px;
    background: url('../images/icon.png') no-repeat 0 5px;
}

img {
    max-width: 100%;
}

footer a {
    color: #f7f28d !important;
}

@media all and (max-width: 719px) {
    #wrapper {
        margin: 0 auto;
        padding: 1rem 1rem 0;
        border: none;
        height: auto;
    }

    :is(ul, p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    header {
        padding-top: 20px;
    }

    h1 {
        font-size: 30px;
    }
}

@media all and (max-width: 713px) {
    #wrapper {
        background: url('../images/background-respon.jpg') no-repeat top center;
        height: auto;
        background-size: cover;
    }

    ul {
        max-width: 100%;
    }

    header {
        background: #f7f28d;
        border-radius: 30px;
        padding: 1.25rem 1rem 0.625rem;
        margin: 0 0 0.9375rem;
    }

    article {
        background: #bdcddb;
        border-radius: 30px;
        padding: 1.25rem 1rem 0.625rem;
    }

    footer {
        background: #002060;
        margin: 1rem -1rem 0;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    h1 {
        font-size: 28px;
        margin: 0 0 14px;
        line-height: 1.2;
    }

    h1 span {
        font-size: 75%;
        line-height: 1.2;
    }

    .margin-top {
        margin-top: 0;
        align-items: center;
        gap: 20px;
    }

    .qrcode {
        padding: 2.5rem 1.875rem 1.875rem;
        border-radius: 50%;
        width: 220px;
        height: 220px;
        position: static;
    }

    p span {
        white-space: nowrap;
    }

    br {
        display: none;
    }
}