/* ========================================
   CSS RESET - Modern Normalization
   ======================================== */

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

/* Remove default margin and padding */
* {
  margin: 0;
  padding: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.6;
  text-rendering: optimizeSpeed;
}

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

/* Make images easier to work with */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
  font: inherit;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Remove text decoration from links */
a {
  text-decoration: none;
  color: inherit;
}

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

/* Prevent font size adjustment on orientation change */
html {
  -webkit-text-size-adjust: 100%;
}

/* Remove default fieldset styles */
fieldset {
  border: 0;
}
