@charset "utf-8";

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-regular.eot');
    src: local(''), url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), url('../fonts/montserrat-v25-latin-regular.woff') format('woff'), url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'), url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

h1 {
    text-align: center;
    font-size: 2rem;
    margin: 0.625rem 0;
    position: absolute;
    line-height: 1;
    padding: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    color: #fff;
}

h1 span {
    display: block;
    font-size: 1.3rem;
    line-height: 1.3;
    padding-top: .3rem;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 10px
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    list-style: none;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

p {
    margin: 0 0 0.625rem;
}

header {
    position: relative;
}

.flex {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0.3125rem 1.25rem;
    padding: 20px
}

.flex p {
    margin: 0;
}

article {
    padding: 1.875rem;
}

section {
    border: 1px solid #D8DE2A;
    margin-bottom: 0.625rem;
    padding: 0.625rem;
    background-color: #FAFAFA;
}

section p:last-of-type {
    margin-bottom: 0;
}

footer {
    background-color: #1F1F1F;
    padding: 1.875rem;
    font-size: 0.9375rem;
    color: #fff;
}

footer p:last-of-type {
    margin: 0;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    body {
        font-size: 0.9375rem;
    }

    article {
        padding: 0;
    }

    footer {
        padding: .937rem;
    }

    section {
        padding: 20px
    }

    h1 {
        position: static;
        color: #000;
        transform: translate(0);
        margin: 30px 0
    }
}

@media only screen and (max-width: 31.25rem) {
    h1 {
        font-size: 1.7rem;
    }

    h1 span {
        font-size: 1.15rem;
    }

    .flex {
        flex-direction: column;
        text-align: center;
    }

    .flex img {
        margin: 0 auto;
    }
}