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

/* Remove default margin */
* {
	margin: 0;
}

/* Improve text rendering */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/* Body defaults */
body {
	min-height: 100vh;
	line-height: 1.5;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

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

/* Fieldsets */
fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}