@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Literata';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/literata-v37-latin-500.eot');
    src: url('../fonts/literata-v37-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/literata-v37-latin-500.woff2') format('woff2'), url('../fonts/literata-v37-latin-500.woff') format('woff'), url('../fonts/literata-v37-latin-500.ttf') format('truetype'), url('../fonts/literata-v37-latin-500.svg#Literata') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Literata';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/literata-v37-latin-700.eot');
    src: url('../fonts/literata-v37-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/literata-v37-latin-700.woff2') format('woff2'), url('../fonts/literata-v37-latin-700.woff') format('woff'), url('../fonts/literata-v37-latin-700.ttf') format('truetype'), url('../fonts/literata-v37-latin-700.svg#Literata') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #242424;
    font-family: "Arial", sans-serif;
    font-size: 0.813rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 46.875rem;
    margin: 1rem auto;
    overflow: hidden;
    background-color: #f8f7f7;
    border: 1px solid #d2d2d2;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin-bottom: 1rem;
}

.margin {
    margin-bottom: 2rem;
}

h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #535353;
    font-family: "Literata", serif;
    padding-bottom: 3px;
}

h1+p {
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 500;
    font-family: "Literata", serif;
    color: #535353;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #d2d2d2;
    margin: 0 -1rem 1.375rem;
}

h3 {
    margin: 1rem 0;
    font-size: 1rem;
}

ul {
    margin: 0 0 1rem 2.5rem;
}

.section {
    border: 1px solid #d2d2d2;
    border-radius: 4px;
    background: #fff;
    padding: 0 1rem 1rem;
}

.button a {
    display: inline-block;
    padding: 8px 16px;
    background: #2b4e61;
    color: #fff;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: .3s;
    font-weight: 700;
}

.button a:hover {
    background: rgb(85, 113, 129);
}

header {
    padding: 1rem;
    display: flex;
    background-color: #fff;
}

article {
    padding: 2rem 1rem 0;
}

footer {
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 46.813rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header {
        justify-content: center;
    }

    h1,
    h1+p {
        text-align: center;
    }
}

@media only screen and (max-width: 30rem) {
    ul {
        margin: 0 0 1rem 1rem;
    }

    .margin {
        margin-bottom: 1.5rem;
    }
}