/*------------------------------------*\
    MAIN
\*------------------------------------*/
*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  font-size: 62.5%;
  background-color: var(--bg);
}

img {
  max-width: 100%;
}

a {
  color: var(--font);
  text-decoration: none;
  
}

a:hover {
  color: #58748E;
}

a:focus {
  outline: 0;
}

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

/*------------------------------------*\
    Correct 'block' display not defined in IE 8/9.
\*------------------------------------*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/*------------------------------------*\
    Correct `inline-block` display not defined in IE 8/9.
\*------------------------------------*/
audio,
canvas,
video {
  display: inline-block;
}

/*------------------------------------*\
    * Prevent modern browsers from displaying `audio` without controls.
    * Remove excess height in iOS 5 devices.
\*------------------------------------*/
audio:not([controls]),
p:empty {
  display: none;
  height: 0;
  line-height: 0;
}

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

[hidden],
template {
  display: none;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

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

img {
  border: 0;
}

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

figure {
  margin: 0;
}

/*------------------------------------*\
    Tables
\*------------------------------------*/
table {
  border-collapse: collapse;
  border-spacing: 0;
}
