@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-latin-regular.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #7F7F7F;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

p,
ul {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 56.25rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

h1 {
    color: #7F7F7F;
    text-align: center;
    font-size: 25px;
    margin: 1.25rem 0;
}

h2 {
    margin: 2.187rem 0 .75rem;
    font-size: 1rem;
    color: #7F7F7F;
    text-decoration: underline 2px;
}

h3 {
    font-size: 2.187rem;
    color: #575756;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1.25rem;
    text-align: justify;
}

p span {
    white-space: nowrap
}

ul {
    list-style: none;
    margin: 0 0 1rem 3.125rem;
    padding: 0;
}

ul li {
    padding-left: .375rem;
    margin: 0 0 .625rem .8rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .375rem;
    height: .375rem;
    border-radius: .5rem;
    background: #FFFF00;
    margin-left: -.937rem;
    top: .562rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.875rem 3.125rem 0;
}

article {
    padding: 1.25rem 3.125rem;
}

footer {
    background: #3B3C3D;
    padding: .625rem 3.125rem 1.25rem;
    border-top: solid #FFFF00;
    color: #fff;
}

footer section {
    display: flex;
    gap: 5.625rem;
}

footer section p:last-of-type {
    margin: 0;
}

@media only screen and (max-width: 899px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem
    }

    p {
        text-align: left;
        margin-bottom: 1rem;
    }

    header,
    footer {
        padding: 1rem;
    }

    article {
        padding: 0 1rem;
    }

    h3 {
        margin: .312rem 0;
    }

    footer section {
        flex-direction: column;
        gap: 1rem;
    }

    footer p {
        text-align: center;
    }
}

@media only screen and (max-width: 749px) {
    ul {
        margin: 0 0 1rem 0;
    }
}

@media only screen and (max-width: 539px) {
    header {
        flex-direction: column;
        align-items: center;
    }
}
