/*! modern-normalize.css | Updated base reset for modern browsers | MIT License */

/*
    This file is a technical browser-normalization layer.
    Brand styles, colors, typography, buttons, cards, layout, and theme design
    should be placed in the main style.css file, not here.
*/

/*------------------------------------*\
    DOCUMENT
\*------------------------------------*/

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

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
}

body {
    margin: 0;
}

main {
    display: block;
}

/*------------------------------------*\
    HTML5 DISPLAY DEFINITIONS
\*------------------------------------*/

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

/*------------------------------------*\
    TYPOGRAPHY
\*------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

h1 {
    font-size: 2em;
}

b,
strong {
    font-weight: bolder;
}

abbr[title] {
    text-decoration: underline dotted;
}

small {
    font-size: 80%;
}

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

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 1em;
}

pre {
    overflow: auto;
    white-space: pre-wrap;
}

hr {
    height: 0;
    overflow: visible;
    box-sizing: content-box;
    border: 0;
    border-top: 1px solid currentColor;
}

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

/*------------------------------------*\
    LISTS
\*------------------------------------*/

ul,
ol {
    margin: 0;
    padding: 0;
}

/*------------------------------------*\
    LINKS
\*------------------------------------*/

a {
    color: inherit;
    background-color: transparent;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/*------------------------------------*\
    MEDIA
\*------------------------------------*/

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
    border-style: none;
}

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

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

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

/*------------------------------------*\
    FORMS
\*------------------------------------*/

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

button,
select {
    text-transform: none;
}

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
    cursor: pointer;
}

button:disabled,
[type='button']:disabled,
[type='reset']:disabled,
[type='submit']:disabled {
    cursor: default;
}

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

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

input,
button,
textarea,
select {
    font: inherit;
}

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

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

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

textarea {
    overflow: auto;
    resize: vertical;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

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

progress {
    vertical-align: baseline;
}

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

/*------------------------------------*\
    TABLES
\*------------------------------------*/

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

caption,
th,
td {
    text-align: inherit;
}

/*------------------------------------*\
    INTERACTIVE / HIDDEN
\*------------------------------------*/

summary {
    display: list-item;
    cursor: pointer;
}

template {
    display: none;
}

[hidden] {
    display: none !important;
}

/*------------------------------------*\
    ACCESSIBILITY HELPERS
\*------------------------------------*/

[disabled],
[aria-disabled='true'] {
    cursor: not-allowed;
}

:focus:not(:focus-visible) {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
