// RESET
// ––––––––––––––––––––––––––––––––––––––––––––––––––

i,
i::after,
i::before {
  transition: all 0s !important;
}

*,
::after,
::before {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: $font-family-base;
  font-weight: $font-weight-base;
  line-height: $line-height;
}

html,
body {
  color: $default-text-color;
  font-size: $font-size-base;

  ::selection {
    background: $primary;
    color: white;
  }
}

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

[tabindex="-1"]:focus {
  outline: 0 !important;
}


hr {
  overflow: visible;
  box-sizing: content-box;
  height: 0;
  border: 0;
  margin: 10px 0;
  border-top: 1px solid #e9e9e9;
}


pre {
  font-family: monospace;
  font-size: $font-margin-base;
}


figure {
  margin: 0;
}

mark {
  color: $warning;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: $primary;

  &:hover {
    color: darken($primary, 15%);
  }
}


a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}


a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}


a:not([href]):not([tabindex]):focus {
  outline: 0;
}


abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  text-decoration-skip-ink: none;
}


address {
  margin-bottom: 15px;
  font-style: normal;
  line-height: inherit;
}



b,
strong {
  font-weight: $font-weight-bold;
}


ol ol ul,
ol ul ul,
ul ol ul,
ul ul ul {
  font-size: 100%;
}

pre,
code,
kbd,
samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: $font-size-base;
}



small {
  font-size: 12px;
}



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

sub {
  bottom: -$font-margin-base;
}

sup {
  top: -$font-margin-base;
}



img {
  vertical-align: middle;
  max-width: 100%;
  border-style: none;
}

caption {
  padding-top: 10px;
  padding-bottom: 10px;
  color: $default-text-color;
  text-align: left;
  caption-side: bottom;
}


fieldset {
  border: none;
}


button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: $line-height;
  margin: 0;
}



button,
input {
  overflow: visible;
}


button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}


button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}


button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}


fieldset {
  padding: $default-padding;
}



legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}


progress {
  vertical-align: baseline;
}



textarea {
  overflow: auto;
}


[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}



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


[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}



[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}



::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}



details {
  display: block;
}



summary {
  display: list-item;
}



template {
  display: none;
}



[hidden] {
  display: none;
}

