/* Embrace the defaults.css */

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

/* Prevent font size inflation */
html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

body {
	margin: 0;
	padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

figure,
blockquote {
	margin-inline-start: 0;
	margin-inline-end: 0;
}

ol, ul {
	margin: 0;
	margin-left: 1em;
	padding: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
	margin-left: 0;
	list-style: none;
}

dd {
	margin-left: 0;
}

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

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
	min-height: 6em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
	scroll-margin-block: 5ex;
}
