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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

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

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

/* Images */
img,
picture {
  max-width: 100%;
  display: block;
}

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

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

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