* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    color: #231f20;
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    line-height: 21px;
}

#wrapper {
    max-width: 750px;
    margin: 16px auto;
    border: 1px solid #318dcc;
    background-color: #fff;
    position: relative;
}

header {
    position: relative;
}

header>div:nth-of-type(1) {
    padding: 25px 25px 18px;
}


.logo {
    margin-bottom: 16px;
}

header div:nth-of-type(2) {
    width: 417px;
    position: absolute;
    bottom: -9px;
    right: 0;
}

header div:nth-of-type(2) p {
    padding: 0 25px 15px 60px;
}

article {
    padding: 16px 25px 25px;
}

.flex {
    display: flex;
    justify-content: space-between;
    font-size: 98%;
}

.box:nth-of-type(1) {
    width: 338px;
}

.box:nth-of-type(2) {
    width: 338px;
}

.font {
    letter-spacing: -0.3px;
    margin-right: -10px;
}

figure {
    display: flex;
    justify-content: flex-end;
    margin: 132px 0 0;
}

footer {
    padding: 25px;
    width: 367px;
    background: #318dcc;
    position: absolute;
    bottom: 0;
    left: 0;
}

footer p {
    color: #fff;
}

footer p strong {
    display: block;
    font-size: 110%;
    padding-top: 4px;
}

p {
    margin-top: 14px;
}

p:first-of-type {
    margin-top: 0;
}

h1 {
    font-size: 28px;
    line-height: 1.3;
    padding: 8px 16px 8px 60px;
    background: #318dcc;
    color: #fff;
}

h1 span {
    font-weight: normal;
    font-size: 18px;
}

h1 span:nth-of-type(2) {
    display: block;
    line-height: 1.1;
}

h2 {
    font-size: 16px;
    line-height: 20px;
    margin: 16px 0 0;
}

ul {
    list-style: none;
    margin: 4px 0 16px;
}

ul li {
    padding-left: 19px;
}

li:before {
    content: "\25A0";
    float: left;
    font-size: 13px;
    text-indent: -19px;
    margin-top: -1px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

a {
    color: #fff;
    text-decoration: none;
}

@media only screen and (max-width:748px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    :is(header >div:nth-of-type(1), article, footer) {
        padding: 1rem;
    }

    header div:nth-of-type(2) {
        width: 53%;
        position: absolute;
        bottom: 23px;
        right: 0;
    }

    :is(header div:nth-of-type(2) p, h1) {
        padding: 16px 16px 16px 44px;
    }

    .box {
        width: 48% !important;
    }

    footer {
        width: 48%;
    }

    :is(p, ul, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 {
        font-size: 25px;
    }

    figure {
        margin: 26px 0 0;
        display: flex;
        justify-content: center;
    }

    .font {
        letter-spacing: 0;
        font-size: 100%;
    }

    .flex {
        display: block;
        font-size: 100%;
    }

    .box {
        width: auto !important;
    }

    header div:nth-of-type(2) {
        width: auto;
        position: static;
    }

    :is(header div:nth-of-type(2) p, h1) {
        padding: 16px;
        margin-top: 0;
    }

    footer {
        width: auto;
        position: static;
    }
}

@media only screen and (max-width:430px) {
    :is(.logo, figure) {
        display: flex !important;
        justify-content: center !important;
    }

    :is(h1, footer p) {
        text-align: center;
    }
}