:root {
    font-size: 16px;
}

* {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}

#wrapper {
    margin: 12px auto;
    border: 1px #231f20 solid;
    max-width: 800px;
    position: relative;
    background: #fff url('./background.png') no-repeat 0 163px;
}

header {
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
}

header p,
header p a {
    color: #231f20 !important;
}

header p {
    text-align: right;
    line-height: 1.2;
    margin-bottom:  !important;
    font-size: 15px;
}

header div {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    align-items: flex-end;
}

article {
    padding: 25px 20px 25px 48px;
}

footer {
    padding: 11px 48px 37px;
    line-height: 23px;
    font-size: 14px;
}

p:not(:last-child) {
    margin-bottom: 1px;
}

h1 {
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 6px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

strong {
    font-weight: 700;
}

img {
    max-width: 100%;
}

p span {
    white-space: nowrap;
}

@media only screen and (max-width: 800px) {
    #wrapper {
        border: none;
        hyphens: auto;
        margin: 0 auto;
        background: none;
        background: #00a0d9;
    }

    header {
        padding: 0 16px 16px;
        background: #fff;
    }

    article {
        padding: 21px 16px 20px;
    }

    footer {
        padding: 16px 16px 36px;
    }

    body {
        font-size: 16px;
    }

    h1 {
        font-size: 23px;
    }
}

@media only screen and (max-width: 585px) {
    header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

h1 small {
    font-size: 17px;
    line-height: 21px;
    font-weight: 400;
}