@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333333;
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
    padding: 1.25rem 3.125rem
}

h1 {
    font-size: 20px;
    color: #314EA4;
}

h1 span {
    font-size: 16px
}

h2 {
    font-size: .937rem;
    margin: 0 0 .312rem
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1.25rem;
}

p span {
    white-space: nowrap
}

ul {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

ul li {
    padding-left: 1.25rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -.875rem;
    font-size: 1.375em;
    line-height: 1;
}

header {
    padding: 0 0 3.125rem 3.75rem;
    display: flex;
    justify-content: end;
}

article p:first-of-type {
    color: #686F70
}

article section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.875rem 0 1rem
}

article section p strong {
    background: #E3E5E4;
    color: #314EA4;
    padding: .312rem 1.875rem;
    width: fit-content;
}

footer {
    background: #E3E5E4;
    padding: .625rem 1.25rem .625rem 1.562rem;
    display: flex;
    align-items: flex-start;
    gap: 6%
}

.logo {
    margin-top: 30px
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem
    }

    header {
        padding: 0 0 .625rem 0;
    }

    article section {
        padding: .625rem 0
    }

    footer {
        padding: .625rem;
        justify-content: space-between;
        column-gap: .625rem
    }
}

@media only screen and (max-width: 699px) {
    article section {
        display: block;
    }

    h1,
    article section p {
        text-align: center
    }

    h1 {
        margin: 0 0 .625rem
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        margin: 1rem 0 0;
        text-align: center
    }

    footer p:last-of-type br:first-of-type,
    footer p:last-of-type br:nth-of-type(2) {
        display: none
    }

    .logo {
        margin: 0;
    }
}
