@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #000000;
    font: 400 1em/1.3em Georgia, Cambria, "Time New Roman", serif;
    background: #F0F0E8;
}

#wrapper {
    position: relative;
    max-width: 834px;
    margin: 1rem auto;
    overflow: hidden;
    padding: 0;
}

p {
    padding-bottom: 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

h1 {
    font: bold 2em/1.2 Calibri, Arial, sans-serif;
    padding: 1.25rem;
    color: #14144b;
}

h2 {
    font: bold 1.5em/1.3 Calibri, Arial, sans-serif;
    color: #14144b;
    margin-bottom: 1.5rem;
}

ul {
    padding: 0 0 1rem;
    list-style: none;
}

li {
    padding-left: 2rem;
}

li:before {
    content: "•";
    float: left;
    margin: -1px 0 0 -1rem;
}

header {
    border: 1px solid rgba(220, 223, 226, 0.8);
    margin-bottom: 0.75rem;
    background: #fff;
}

figure {
    padding: 1rem;
    background: #3A404B;
}

.box {
    padding: 1.5rem 1.5rem 0.5rem;
    background: #fff;
    margin-bottom: 0.75rem;
}

footer {
    display: flex;
    justify-content: flex-end;
}

a.apply {
    padding: 0.5rem 1.25rem;
    background: #50c879;
    color: #fff;
    margin-bottom: 0.25rem;
}

@media only screen and (max-width: 833px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .5rem;
    }

    p,
    ul {
        text-align: left;
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    p :is(span, a) {
        display: inline-block;
    }

    header {
        border: 0;
    }
}

@media only screen and (max-width:600px) {

    header figure,
    footer {

        display: flex;
        justify-content: center;
    }

    h1 {
        text-align: center;
        font-size: 1.8rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: .625rem;
    }
}

@media only screen and (max-width:480px) {

    .box {
        padding: 1rem 1rem 0;
    }

    li {
        padding-left: 1rem;
    }

}