/* =========================================
   MODERN CSS RESET
   SnapVolt Core Reset
========================================= */

/* Box sizing */

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

/* Remove default margin */

* {
  margin: 0;
}

/* HTML / BODY */

html {
  width: 100%;
  min-height: 100%;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Media */

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

/* Form */

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

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
}

textarea {
  resize: vertical;
}

/* Links */

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

/* Lists */

ul,
ol {
  padding: 0;
  list-style: none;
}

/* Tables */

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

/* Typography overflow */

h1,
h2,
h3,
h4,
h5,
h6,
p {
  overflow-wrap: break-word;
}

/* Remove built-in styles */

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

legend {
  padding: 0;
}

/* Better defaults */

button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

input,
textarea,
select {
  border: 0;
  outline: none;
  background: transparent;
}

/* Images */

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

/* Hidden */

[hidden] {
  display: none !important;
}

/* Accessibility */

:focus-visible {
  outline: 2px solid var(--sv-color-accent);
  outline-offset: 2px;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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