/* ======================================
  Reset / Base
======================================== */

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Text elements */
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd {
  margin: 0;
}

em, i {
  font-style: normal;
}

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

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

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

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

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

/* Buttons */
button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* HTML5 elements */
article, aside, footer, header,
nav, section, main {
  display: block;
}
