/* reset.css */

/* Set default font-size to 62.5% so that 1rem = 10px */
html {
    font-size: 62.5%;
    box-sizing: border-box;
}

/* Inherit box-sizing and remove default margin/padding */
*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

/* Remove default margins for common elements */
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
}

/* Set up core body defaults */
body {
    line-height: 1.6;
    font-family: var(--font-family, 'Helvetica Neue', Helvetica, Arial, sans-serif), sans-serif;
    background-color: var(--bg-color, #fff);
    color: var(--text-color, #000);
    font-size: var(--font-size-base);
}

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

/* Anchor tag defaults */
a {
    text-decoration: none;
    color: inherit;
}

/* Make media elements responsive */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Inherit fonts for form elements */
input, button, textarea, select {
    font: inherit;
}

.fi {
    position: relative;
    top: 3px;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

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