/* ==========================================================================
   reset.css - CSS Reset for Zenel Website
   ========================================================================== */

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

/* ------------------------------------------------------------------
   Document & Sections
   ------------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  line-height: var(--leading-normal, 1.5);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

p {
  margin: 0;
  padding: 0;
}

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

a:hover {
  text-decoration: none;
}

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

/* ------------------------------------------------------------------
   Images & Media
   ------------------------------------------------------------------ */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
}

/* ------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------ */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  overflow: visible;
}

textarea {
  overflow: auto;
  resize: vertical;
}

/* ------------------------------------------------------------------
   Tables
   ------------------------------------------------------------------ */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ------------------------------------------------------------------
   Misc
   ------------------------------------------------------------------ */
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

summary {
  display: list-item;
}

/* Remove default spacing from mark elements */
mark {
  padding: 0;
  background-color: transparent;
}

/* Remove animations for people who prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
