@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 515px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

.logo {
    display: flex;
    justify-content: flex-end;
    margin: 1rem 1rem 0;
    z-index: 9;
    position: relative;
}

.images {
    margin: -6px 0 0;
}

article {
    padding: 0 1rem;
}

article>p {
    margin: 0 0 12px;
}

.flexbox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 12px;
    margin: 1.5rem 0 36px;
}

.box {
    box-shadow: -0.5px 3px 15px rgba(153, 153, 153, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    gap: 11px;
    position: relative;
    background: #FFF;
}

.box:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 34%;
    height: 6px;
    background: #FFF;
    box-shadow: -0.5px 3px 15px #999;
}

.box p {
    font-size: 17px;
    text-align: center;
}

footer {
    padding: 0 25px 9px 16px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

footer div {
    flex: 1 1 0;
}

.margin {
    margin: 17px 0 0;
}

span {
    white-space: nowrap;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

h1 {
    margin: 0.85rem -1rem;
    font-size: 19px;
    line-height: 24px;
    text-align: center;
    background: #DCDCDE;
    padding: 1.5rem 1rem;
    position: relative;
}

h1:before {
    content: "";
    position: absolute;
    top: -11px;
    right: 0;
    background: #B98421;
    height: 4px;
    width: 20%;
}

h1:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    background: #DCDCDE;
    height: 4px;
    width: 20%;
}

h2 {
    font-size: 16px;
    margin: 5px 0;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000FFF;
    text-decoration: underline;
    white-space: nowrap;
}

ul {
    list-style: none;
    margin: 0 0 12px;
}

ul li {
    padding-left: 25px;
    margin: 0 0 4px;
}

li:before {
    content: "\2022";
    float: left;
    margin-top: -1px;
    font-size: 22px;
    text-indent: -25px;
}

img {
    max-width: 100%;
}

@media all and (max-width:514px) {
    #wrapper {
        border: none;
        margin: 0;
        hyphens: auto;
    }

    .flexbox {
        margin-bottom: 20px;
    }

    .images {
        margin: 0;
    }

    .box {
        margin: 0 0 1rem
    }

    footer {
        flex-direction: column;
        gap: 16px;
        justify-content: center;
        align-items: center;
        padding: 0 16px 16px;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    a {
        word-break: break-all;
    }

    br {
        display: none;
    }
}