/* =========================
   Modern CSS Reset
   ========================= */

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

/* 2. Remove default margin */
* {
  margin: 0;
  padding: 0;
}

/* 3. Body defaults */
html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 4. Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 5. Form elements inherit font */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* 6. Button reset */
button {
  background: none;
  border: none;
  cursor: pointer;
}

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

/* 8. Anchor defaults */
a {
  text-decoration: none;
  color: inherit;
}

/* 9. Table reset */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 10. Heading reset */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}
