/*! normalize.css v8 adaptation with box-sizing reset | MIT License */

/*
 * 1. Apply box-sizing border-box to all elements.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

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

html {
  -webkit-text-size-adjust: 100%; /* 2 */
  text-size-adjust: 100%; /* 2 */
  line-height: 1.15;
}

/* Remove default margin and padding from all elements */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
fieldset,
legend,
pre {
  margin: 0;
  padding: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements */
ul,
ol {
  list-style: none;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* Remove all animations, transitions and smooth scroll for people who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Main block element */
main {
  display: block;
}

/* Render the `summary` element correctly in all browsers */
summary {
  display: list-item;
}

/* Correct the font size and margin on `h1` elements within `section` and `article` contexts */
h1 {
  font-size: 2em;
}

/* Render the `hr` element consistently */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/* Add the correct text decoration in Chrome, Edge, and Safari */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/* Add the correct font weight in Chrome, Edge, and Safari */
b,
strong {
  font-weight: bolder;
}

/* Correct the odd `em` font sizing in all browsers */
code,
kbd,
samp,
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Add the correct font size in all browsers */
small {
  font-size: 80%;
}

/* Prevent `sub` and `sup` elements from affecting the line height */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Remove the border on images inside links in IE 10 */
img {
  border-style: none;
}

/* Show the overflow in Edge and IE */
button,
input {
  overflow: visible;
}

/* Remove the inheritance of text transform in Edge, Firefox, and IE */
button,
select {
  text-transform: none;
}

/* Correct the inability to style clickable types in iOS and Safari */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/* Remove the inner border and padding in Firefox */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Restore the focus styles unset by the previous rule */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/* Correct the padding in Firefox */
fieldset {
  padding: 0.35em 0.75em 0.625em;
  border: 0;
}

/* Correct the text wrapping in Edge and IE */
legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

/* Remove the default vertical scrollbar in IE 10+ */
textarea {
  overflow: auto;
}

/* Correct the odd appearance in Chrome and Safari */
[type="checkbox"],
[type="radio"] {
  padding: 0;
}

/* Correct the cursor style of increment and decrement buttons in Chrome */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/* Correct the odd appearance in Chrome and Safari */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/* Remove the inner padding in Chrome and Safari on macOS */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* Correct the inability to style clickable types in iOS and Safari */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Add the correct display in IE 10+ */
template {
  display: none;
}

/* Add the correct display in IE 10 */
[hidden] {
  display: none;
}

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

/* Inherit font-family and line-height for inputs */
input,
textarea,
select {
  font-family: inherit;
  line-height: inherit;
}
