/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

html {
	/* Improve text rendering */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	/* Better default height */
	height: 100%;

	/* Default font family is lato*/
	font-family: "Droid Sans", "Lato", monospace, sans-serif;
	font-style: normal;
	font-display: swap;
}

body {
	/* Default pixel size*/
	font-size: 14px;
	font-family: "Droid Sans", "Lato", monospace, sans-serif;
	font-style: normal;
	font-display: swap;

	/* Improve text rendering */
	line-height: 1.5;

	/* Impove text rendering speed. Emphasizes rendering speed over legibility*/
	text-rendering: optimizeSpeed;

	/* Let body fill available height */
	min-height: 100%;

	/* Prevent horizontal scroll */
	overflow-x: hidden;
}

footer {
	font-size: 14px;
	font-style: normal;
	font-display: swap;
	font-family: "Droid Sans", "Lato", monospace, sans-serif;
}

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

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* Remove animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
