html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
bdo,
bdi,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strong,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	line-height: inherit;
	border: 0;
	font-size: 100%;
	font: inherit;
	text-align: inherit;
}

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

* {
	margin: 0;
	padding: 0;
}

::-moz-selection {
	color: #fff;
	background: #000;
}

::selection {
	color: #fff;
	background: #000;
}

::-webkit-input-placeholder {
	color: inherit;
}

// Firefox 18-
:-moz-placeholder {
	color: inherit;
}

// Firefox 19+
::-moz-placeholder {
	color: inherit;
}

:-ms-input-placeholder {
	color: inherit;
}

html {
	color: inherit; // -internal-root-color Webkit Chrome
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	min-height: 100vh;
	text-rendering: optimizeSpeed;
	// Lets the scrolling go on on webkit Safari iOS
	-webkit-overflow-scrolling: touch;
}

audio,
video,
figcaption,
iframe {
	max-width: 100%;
}

audio,
video {
	position: relative;
	z-index: 0;
}

iframe {
	width: 100%;
	border: 0;
}

// Prevents modern browsers from displaying <audio /> without
// controls.
audio:not([controls]),
video:not([controls]) {
	display: none;
}

hr {
	border: inherit;
	border-width: 0;
	border-top-width: 1px;
	border-style: solid;
	border-color: #e6e6e6;
}

address {
	font-style: normal;
}

ul {
	list-style-position: inside;
}

ol {
	counter-reset: orderlists;
}

ol > li {
	list-style: none;
	counter-increment: orderlists;
}

ol > li:before {
	content: counter(orderlists);
	margin-right: 1em;
	vertical-align: top;
}

label {
	cursor: inherit;
}

input {
	writing-mode: horizontal-tb;
}

input,
button,
select,
textarea {
	border: 1px #ccc solid;
	font: inherit;
	text-align: inherit;
	text-rendering: inherit;
	font-size: 100%;
	color: inherit;
	cursor: auto;
	border-radius: 0;
	background: none;
}

pre,
code {
	white-space: pre;
	overflow: auto;
	tab-size: 4;

	&:hover,
	&:focus {
		width: min-content;
	}
}

a:not([href]) {
	text-decoration: none;

	&:hover,
	&:focus {
		text-decoration: none;
	}
}

[type="image"] {
	border: none;
	border-radius: 0;
}

input[type="color"] {
	border: 0;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: inherit;

	caption {
		caption-side: bottom;
		text-align: right;
	}
}
