/* Some sensible resets and basic styles
-------------------------------------------------------------- */

html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: transparent;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow-x: hidden;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

@media (prefers-reduced-motion: no-preference) {

	html {
		scroll-behavior: smooth;
	}

	button {
		/* `vibrate` keyframes are defined elsewhere */
		animation: vibrate 0.3s linear infinite both;
	}

}

body {
	background-color: #fff;
	min-height: 100vh;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

iframe {
	border: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
button,
dl,
dd {
	margin: 0;
	padding: 0;
}

blockquote cite {
	font-size: 0.675em;
	line-height: 1;
	font-style: normal;
}

sup {
	position: relative;
	top: -0.5em;
	font-size: 65%;
	line-height: 0;
	vertical-align: baseline;
}

a,
button {
	color: inherit;
}

a {
	text-decoration: none;
}

p > a:not(.button):not([href*="tel:"]) {
	text-decoration: underline;
}

figcaption > a {
	text-decoration: underline;
}

::-moz-focus-inner {
	padding: 0;
	border: 0;
}

img {
	max-width: 100%;
	display: block;
}

img, svg, img[src*='.svg'] {
	vertical-align: bottom;
	height: auto;
	border: 0;
}

img[src*='.svg'] {
	width: 100%;
}

ul,
ol {
	padding-left: 1.25em;
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

code {
	background-color: #f5f5f5;
	border-bottom: 1px solid #ddd;
	color: #333;
	padding: 0 0.2em;
	-moz-hyphens: none;
	-webkit-hyphens: none;
	hyphens: none;
}

pre {
	border: 1px solid #ccc;
	border-left-width: 1em;
	line-height: 24px;
	margin-bottom: 2em;
	overflow: auto;
	overflow-y: hidden;
	padding: 1em 2em;
	white-space: pre;
}

pre code {
	background-color: transparent;
	border-bottom: none;
	font-size: 14px;
	line-height: 24px;
	padding: 0;
}

hr {
	border: none;
	border-top: 1px solid #0005;
	margin: 3em auto;
}

address {
	font-style: normal;
}



/* figure 
------------------------------------------ */

figure figcaption {
	padding: 1em 0;
}



/* tables 
------------------------------------------ */

table {
	border-collapse: collapse;
	width: 100%;
	line-height: inherit;
}

td,
th {
	padding: 0.5em 0.75em;
	text-align: left;
	border: 1px solid #0003;
}

thead {
	border-bottom: 3px solid #0003;
}

tfoot {
	border-top: 3px solid #0003;
}

tfoot td,
tfoot th {
	background-color: #0003;
}

tbody tr {
	vertical-align: top;
}

caption {
	background-color: #0003;
	padding: 0.5em 0.75em;
	text-align: left;
}

:target {
	scroll-margin-block: 5ex;
}


/* Basic Form Styles 
-------------------------------------------------------------- */

form {
	display: block;
}

button, .button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	margin: 0;
}

button, .button {
	overflow: visible;
	border: 0;
	background: none;
	cursor: pointer;
}

button:focus, .button:focus {
	outline: 0;
}

input[type="checkbox"] {
	all: unset;
	width: 1.2em;
	height: 1.2em;
	display: inline-block;
	position: relative;
	margin-right: 0.375em;
	border: 0.1em solid currentColor;
}

input[type="checkbox"]:checked:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: .3em;
	width: .6em;
	height: 1em;
	border: solid currentcolor;
	border-width: 0 .2em .2em 0;
	transform: rotate(45deg);
}

input[type="checkbox"]:indeterminate:after {
	display: block;
	content: "";
	position: absolute;
	top: 0;
	left: .2em;
	width: .8em;
	height: .6em;
	border: solid currentcolor;
	border-width: 0 0 .2em 0;
	transform: rotate(0);
}

input,
textarea,
button, .button {
	background: transparent;
	margin: 0;
	padding: 0.5em 0.75em;
	outline: none;
	border: 0.1em solid currentColor;
	max-width: 100%;
	/* max-width: 55ch; */
}

textarea {
	overflow: auto;
	resize: vertical;
	display: block;
}

textarea:not([rows]) {
	min-height: 10em;
}


input:focus,
textarea:focus {
	background: #fff;
}

input[type="submit"] {
	padding: 0.5em 1em;
}

input[type="submit"]::-moz-focus-inner {
	border: 0;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

fieldset {
	border: 1px solid #ccc;
	margin: 2em 0;
	padding: 1em;
}

legend {
	padding: 0.5em 0.75em;
	border: 1px solid #ccc;
}

label {
	display: block;
	margin-bottom: 0.5em;
}

label input,
label textarea {
	margin-top: 0.5em;
}

label textarea {
	width: 100%;
}



/* other */

details {
	margin-top: 2em;
	margin-bottom: 2em;
}

style {
	display: none !important;
}