﻿/* =========================================
   RESET CSS
   ========================================= */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Remove default spacing */
html,
body {
    width: 100%;
    min-height: 100%;
    scroll-behavior: smooth;
}

/* Body defaults */
body {
    line-height: 1.5;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: sans-serif;
    background: #fff;
    color: #000;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Remove default anchor styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Make images responsive */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* Remove border from images */
img {
    border-style: none;
}

/* Form elements inherit font */
input,
button,
textarea,
select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

/* Button cursor */
button {
    cursor: pointer;
}

/* Prevent textarea resize */
textarea {
    resize: none;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove animations for reduced motion users */
@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;
    }
}

/* Remove autofill background in Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

/* Root stacking context */
#root,
#__next {
    isolation: isolate;
}