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

/* Remove default margin and padding */
html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: middle;
}

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

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

/* Reset hyperlink styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Reset button styles */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  outline: none;
  appearance: none;
}

/* Reset form element styles */
input,
textarea,
select,
option {
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  appearance: none;
}

/* Reset image styles */
img {
  display: block;
  max-width: 100%;
  height: auto;
}
