/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    border: 0;
    font-size: 100%;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    border: none;
    margin: 0;
}

body {
    color: #244652;
    font-family: 'Open Sans', sans-serif;
}

.wrapper {
    margin: 0 auto;
    max-width: 1100px;
}

header {
    color: #244652;
    font-weight: 600;
    margin: 1em 0;
}

header a {
    color: #244652;
    text-decoration: none;
}

header .logo {
    font-size: 160%;
}

.logo span, h1 {
    color: #3D85A0;
}

.logo-img {
  max-height: 40px;
}

.flex-row {
    display: flex;
}

.valign-center {
  align-items: center;
}

header > .flex-row {
    justify-content: space-between;
    padding: 20px 2em;
}

a {
    text-decoration: none;
    transition: ease 0.5s;
}

a:hover {
    color: black;
}

nav a {
    cursor: pointer;
    padding: 10px;
}

nav a:hover {
    color: #3D85A0;
}

i {
    margin-right: 5px;
}

hr {
    border: 1px solid #a1a1a1;
}

main img {
    display: block;
    margin: 3em auto;
}

h1, section h2 {
    font-size: 150%;
    line-height: 140%;
    text-align: center;
}

h1 {
    font-size: 180%;
    font-weight: 400;
    margin: 2em;
}

section {
    box-shadow: 0 0 12px rgb(207, 229, 248);
    margin: 1em 1em 4em 1em;
    padding: 1em 2.5em;
    position: relative;
    width: 50%;
}

section h2 {
    background-color: #3D85A0;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    margin: 0 auto;
    max-width: 300px;
    padding: 8px 20px;
    position: relative;
    top: -40px;
}

h2 > i {
    background-color: white;
    border-radius: 50%;
    color: #244652;
    font-size: 65%;
    margin-right: 10px;
    padding: 8px;
    position: relative;
    top: -5px;
}

section p {
    border-bottom: 4px solid #dcdcdc;
    font-size: 140%;
    line-height: 140%;
    padding-bottom: 1.5em;
    text-align: center;
}

section h3 {
    font-size: 140%;
    padding: 1.5em 0;
}

section ul {
    list-style-type: disc;
    margin-left: 1.5em;
}

section ul li {
    line-height: 150%;
    text-indent: 10px;
}

button {
    background-color: transparent;
    border: 2px solid #93abca;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    font-size: 130%;
    font-weight: 400;
    margin: 2em auto;
    padding: 12px 20px;
    transition: ease 0.5s;
}

button:hover {
    background-color: #93abca;
    color: white;
}

footer {
    background-color: #93abca;
    font-size: 85%;
}

footer ul li {
    margin: 0 10px;
}

footer .flex-row {
    justify-content: space-between;
    padding: 20px 2em;
}

footer a {
    color: #244652;
    font-weight: 600;
}

.dev {
    color: #655fa8;
    line-height: 180%;
}

.dev img {
    height: 20px;
    width: 130px;
}

@media screen and (max-width: 992px) {
    h1 {
        font-size: 150%;
    }

    main .flex-row, footer > .flex-row {
        flex-wrap: wrap;
    }

    .dev {
        margin: 0 auto;
    }

    section {
        margin: 0 auto 4em auto;
    }

    footer .flex-row {
        padding: 20px 2em;
    }

}

@media all and (max-width: 550px) {
    .flex-row {
        display: block;
        line-height: 2;
        text-align: center;
    }

    .flex-row li {
        text-align: left;
        text-indent: 0;
    }

    header {
        text-align: center;
    }

}

.modal {
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    height: 100%;
    left: 0;
    overflow: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

.modal-content {
    background-color: #fefefe;
    border: 1px solid #888;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
}

.modal-content p {
    margin-bottom: 20px;
}

h3 {
  font-size: 100%;
}

.list-disc {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.close, .closedpa, .closeprivacy {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .closedpa:hover,
.close:focus, .closedpa:focus,
.closeprivacy:hover, .closeprivacy:focus {
    color: black;
    cursor: pointer;
    text-decoration: none;
}

.logo-inner {
  display: flex;
  align-items: center;
}

.logo-inner span {
  padding-left: 7px;
  font-size: .8em;
}