/* ======================================================
   CSS RESET
   Project: iShare®
   Purpose: Normalize default browser styles
   ====================================================== */

/* Box model */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Root defaults */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

/* Body defaults */
body {
  min-height: 100vh;

  font-family: 'Staatliches', sans-serif;
  font-weight: normal;

  background: var(--color-bg-light);
  color: var(--color-text-dark);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Media elements */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Buttons & inputs */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* Prevent textarea resize breaking layout */
textarea {
  resize: vertical;
}

/* Remove tap highlight on mobile */
button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* SVG */
svg {
  display: block;
  fill: currentColor;
}

/* Utility: visually hidden (for accessibility) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
