/* Reset CSS
--------------------------------------------------------------------*/
* {
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: var(--font-regular);
    margin: 0;
    padding: 0;
}

*, ::before, ::after {
    box-sizing: border-box;
}

::before, ::after {
    line-height: 0;
}

html, body {
    height: 100%;     
    background-color: var(--theme-color);
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: initial;
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 1000px transparent inset !important;
}

button {
    background: none;
    border: none;
    padding: 0;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

img, video, svg {
    height: auto;
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--color-accent, #ff7a59);
    outline-offset: 2px;
}

#root, #next {
    isolation: isolate;
}

input,
textarea,
button,
select,
a {
    -webkit-tap-highlight-color: transparent;
}

::-ms-reveal,
::-ms-clear {
    display: none;
}

/*@media (prefers-reduced-motion: reduce) {
     *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition: none;
    } 
}*/


/* Icons
--------------------------------------------------------------------*/
.icon {
    font-family: var(--font-icon-family);
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    
}