:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #2b2b2b;
    font: 14px/1.4 Arial, Helvetica, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 940px;
    margin: 1rem auto 10rem auto;
    background-color: #fff;
    overflow: hidden;
    padding: 46px 28px 1px;
    box-shadow: 3px 3px 11px 2px #939095;
}

header {
    display: flex;
    justify-content: flex-end;
    margin: 0 26px 17px 0;
}

article {
    padding: 0 37px 20px;
}

.images {
    margin: 0 -37px;
}

.flexbox {
    display: flex;
    justify-content: space-between;
}

.flexbox>div {
    width: 48%;
}

.flexbox>div:nth-of-type(2) {
    width: 47%;
}

.flex {
    margin-top: 24px;
    position: absolute;
    z-index: 3;
    left: 65px;
    bottom: 35px;
}

.flex div {
    display: flex;
    justify-content: flex-start;
}

.flex figure {
    margin: 0.5rem 0.625rem 0 0;
    min-width: 25px;
}

.flex div:last-of-type figure {
    margin-top: -0.2rem;
}

footer {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    border-top: 1px solid #ffca00;
    background: #fff;
    z-index: 999;
}

footer a {
    display: inline-block;
    background: #ffca00;
    padding: 0.5rem 1rem;
    font-size: 16px;
}

span {
    white-space: nowrap;
}

h1 {
    font-size: 32px;
    background: #ffca00;
    border-radius: 0 10px;
    padding: 4px 1rem;
    color: #424242;
    display: inline-block;
    position: relative;
    z-index: 1;
    margin: -36px 0 20px;
}

h1 span {font-size: 22px; font-weight:normal;}

h2 {
    line-height: 1.3;
    color: #FFF;
    background: #176921;
    display: inline-block;
    padding: 5px 16px;
    border-radius: 0 10px;
    margin-bottom: 10px;
}

:is(h2, h3) {
    font-size: 14px;
}

:is(p, h3, ul) {
    margin: 0 0 14px;
}

ul {
    list-style: none;
}

li {
    padding-left: 1rem;
    margin: 4px 0;
}

li:before {
    content: "\25A0";
    font-size: 13px;
    float: left;
    margin-top: 1px;
    text-indent: -1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #2b2b2b;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media only screen and (max-width:939px) {
    #wrapper {
        border: none;
        padding: 1rem 1rem 4rem;
        margin: 0;
    }

    article {
        padding: 0 1rem;
    }

    .images {
        margin: 0 -1rem;
    }

    .images img {
        width: 100%;
    }

    .flexbox>div {
        width: 48% !important;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(.mobile, li br) {
        display: none;
    }

    .flex {
        left: 32px;
        width: 44%;
    }
}

@media only screen and (max-width:848px) {
    .flexbox {
        display: block;
    }

    .flexbox>div {
        width: 100% !important;
    }

    h1 {
        font-size: 28px;
        line-height: 1.3;
        padding: 10px 16px;
        margin-top: -6%;
    }

    .flex {
        position: static;
        width: auto;
    }
}

@media only screen and (max-width:480px) {
    article {
        padding: 0 !important;
    }

    .images {
        margin: 0;
    }
}

@media only screen and (max-width:424px) {
    header {
        justify-content: center;
    }
}

@media only screen and (max-width:374px) {
    h1 {
        font-size: 23px;
    }
}