/*! normalize.css v3.0.1 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

/*
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
*/

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}


/* Screen
   ========================================================================== */

html {
  --color-background: #EEEEEE;
  --color-foreground: #111111;
  --color-link: #222222;
  --color-active: #000000;
}

@media (prefers-color-scheme: dark) {
  html {
    --color-background: #000000;
    --color-foreground: #EEEEEE;
    --color-link: #DDDDDD;
    --color-active: #FFFFFF;
  }
}

html {
  font-size: 20px;
  transition: font-size 0.25s linear;
}

@media only screen and (max-width: 767px) {
  html {
    font-size: 18px;
    transition: font-size 0.25s linear;
  }
}

@media only screen and (max-width: 470px) {
  html {
    font-size: 16px;
    transition: font-size 0.25s linear;
  }
}

@media only screen and (max-width: 375px) {
  html {
    font-size: 12px;
    transition: font-size 0.25s linear;
  }
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: var(--color-background);
  color: var(--color-foreground);
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

a, a:link, a:visited {
  color: var(--color-link);
  text-decoration: none;
}

a:hover, a:focus, a:active {
  color: var(--color-active);
}
a:hover {
  text-decoration: underline;
}

header h1 {
  margin: 2rem 2rem;
  font-size: 1rem;
  line-height: 1rem;
  color: var(--color-foreground);
  font-weight: 300;
  text-transform: uppercase;
}

main {
  margin: 2rem 2rem;
  flex-grow: 1;
}
main p {
  margin-top: 0;
}
main p:last-of-type {
  margin-bottom: 0;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: baseline;
}
@media only screen and (max-width: 470px) {
  footer {
    align-items: baseline;
  }
}

footer span.logo {
  display: block;
  width: 5rem;
  height: 5rem;
  background-image:
          url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><path d="M296 4v292H4V4h292m4-4H0v300h300V0z" style="fill:%23111"/><path d="M64.9 28.8h6.2v46.3h-6.7V39L50.2 56.9H49L34.6 39v36H28V28.8h6.3l15.4 19 15.2-19zM49.4 128.1a25 25 0 0 1 17.9 6.8 22.4 22.4 0 0 1 7.1 17c.2 6.4-2.4 12.6-7.2 17a25.6 25.6 0 0 1-18.2 6.7c-6.5.2-12.8-2.2-17.4-6.7a22.4 22.4 0 0 1-7-16.8 22.7 22.7 0 0 1 7-17.2 24.7 24.7 0 0 1 17.8-6.8zm.3 6.3c-4.8-.2-9.6 1.6-13.1 5a16.7 16.7 0 0 0-5.1 12.7c-.1 4.7 1.7 9.2 5.1 12.5s8.1 5.1 12.8 5a17.7 17.7 0 0 0 18.1-17.7c.1-4.7-1.8-9.2-5.2-12.4a17 17 0 0 0-12.6-5.1zM54.5 252.3H70v19.6a41.3 41.3 0 0 1-17 3.7c-7.7 0-13.8-2.2-18.4-6.7-4.5-4.3-7-10.3-6.9-16.6a23.1 23.1 0 0 1 7.2-17.3 24.8 24.8 0 0 1 17.9-6.9c2.5 0 5 .3 7.4.9 3 .8 6 1.8 8.9 3.1v6.8a33 33 0 0 0-16.4-4.8c-4.8-.1-9.4 1.8-12.8 5.2a18.4 18.4 0 0 0 0 25.6c3.5 3.3 7.9 5 13.4 5 3.2-.1 6.4-.7 9.5-1.8l.6-.2v-9.6h-8.9v-6zM154.5 152.3H170v19.6a41.3 41.3 0 0 1-17 3.7c-7.7 0-13.8-2.2-18.4-6.7-4.5-4.3-7-10.3-6.9-16.6a23.1 23.1 0 0 1 7.2-17.3 24.8 24.8 0 0 1 17.9-6.9c2.5 0 5 .3 7.4.9 3 .8 6 1.8 8.9 3.1v6.8a33 33 0 0 0-16.4-4.8c-4.8-.1-9.4 1.8-12.8 5.2a18.4 18.4 0 0 0 0 25.6c3.5 3.3 7.9 5 13.4 5 3.2-.1 6.4-.7 9.5-1.8l.6-.2v-9.6h-8.9v-6zM146.8 228.5h4.7l20.8 46.6h-6.8l-6.2-13.7h-19.8l-5.8 13.7h-6.8l19.9-46.6zm9.7 26.9-7.5-16.8-6.9 16.8h14.4zM264.9 230.8h6.3V277h-5.7l-31-35.7V277h-6.2v-46.3h5.4l31.2 36v-35.9z" style="fill:%23111"/></svg>');
}

@media (prefers-color-scheme: dark) {
  footer span.logo {
    background-image:
            url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><path d="M296 4v292H4V4h292m4-4H0v300h300V0z" style="fill:%23eee"/><path d="M64.9 28.8h6.2v46.3h-6.7V39L50.2 56.9H49L34.6 39v36H28V28.8h6.3l15.4 19 15.2-19zM49.4 128.1a25 25 0 0 1 17.9 6.8 22.4 22.4 0 0 1 7.1 17c.2 6.4-2.4 12.6-7.2 17a25.6 25.6 0 0 1-18.2 6.7c-6.5.2-12.8-2.2-17.4-6.7a22.4 22.4 0 0 1-7-16.8 22.7 22.7 0 0 1 7-17.2 24.7 24.7 0 0 1 17.8-6.8zm.3 6.3c-4.8-.2-9.6 1.6-13.1 5a16.7 16.7 0 0 0-5.1 12.7c-.1 4.7 1.7 9.2 5.1 12.5s8.1 5.1 12.8 5a17.7 17.7 0 0 0 18.1-17.7c.1-4.7-1.8-9.2-5.2-12.4a17 17 0 0 0-12.6-5.1zM54.5 252.3H70v19.6a41.3 41.3 0 0 1-17 3.7c-7.7 0-13.8-2.2-18.4-6.7-4.5-4.3-7-10.3-6.9-16.6a23.1 23.1 0 0 1 7.2-17.3 24.8 24.8 0 0 1 17.9-6.9c2.5 0 5 .3 7.4.9 3 .8 6 1.8 8.9 3.1v6.8a33 33 0 0 0-16.4-4.8c-4.8-.1-9.4 1.8-12.8 5.2a18.4 18.4 0 0 0 0 25.6c3.5 3.3 7.9 5 13.4 5 3.2-.1 6.4-.7 9.5-1.8l.6-.2v-9.6h-8.9v-6zM154.5 152.3H170v19.6a41.3 41.3 0 0 1-17 3.7c-7.7 0-13.8-2.2-18.4-6.7-4.5-4.3-7-10.3-6.9-16.6a23.1 23.1 0 0 1 7.2-17.3 24.8 24.8 0 0 1 17.9-6.9c2.5 0 5 .3 7.4.9 3 .8 6 1.8 8.9 3.1v6.8a33 33 0 0 0-16.4-4.8c-4.8-.1-9.4 1.8-12.8 5.2a18.4 18.4 0 0 0 0 25.6c3.5 3.3 7.9 5 13.4 5 3.2-.1 6.4-.7 9.5-1.8l.6-.2v-9.6h-8.9v-6zM146.8 228.5h4.7l20.8 46.6h-6.8l-6.2-13.7h-19.8l-5.8 13.7h-6.8l19.9-46.6zm9.7 26.9-7.5-16.8-6.9 16.8h14.4zM264.9 230.8h6.3V277h-5.7l-31-35.7V277h-6.2v-46.3h5.4l31.2 36v-35.9z" style="fill:%23eee"/></svg>');
  }
}

footer span.logo > strong {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

footer a, footer a:link, footer a:visited {
  color: var(--color-link);
  text-decoration: none;
}

footer a:hover, footer a:focus, footer a:active {
  color: var(--color-active);
}
footer a:hover {
  text-decoration: underline;
}

footer p {
  margin: 2rem 2rem;
  font-size: 1rem;
  line-height: 1rem;
  color: var(--color-foreground);
  font-weight: 300;
}

footer p {
  font-size: 0.5rem;
  line-height: 0.5rem;
}

@media only screen and (max-width: 470px) {
  footer p {
    font-size: 0.6rem;
    line-height: 0.6rem;
  }
}
