/* ==========================================================
   RESET CSS
   ========================================================== */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
* {
    margin: 0;
}

/* HTML */
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Body */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Lists */
ul,
ol {
    padding: 0;
    list-style: none;
}

/* Images */
img,
picture,
svg,
canvas {
    display: block;
    max-width: 100%;
}

/* Forms */
input,
button,
textarea,
select {
    font: inherit;
}

/* Buttons */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    cursor: pointer;
}

button {
    border: 0;
    background: none;
}

/* Textarea */
textarea {
    resize: vertical;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove default fieldset styles */
fieldset {
    border: 0;
    padding: 0;
}

/* Avoid horizontal overflow */
body {
    overflow-x: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}