html {
	margin:0;
	font-family: 'Atlas Grotesk', 'helvetica', 'arial', sans-serif;
	color:blue;
	font-size:12px;
}
body {
	display: grid;
	place-content: center;
	min-height: 100lvh;
	margin: 0;
}
form {
	min-width: 20vw;
	position: relative;
}
form.working {
	pointer-events: none;
}

#spinner {
	display: none;
	position: absolute;
	inset:0;
	background: url(flipper.gif) center calc(50% + 5px) no-repeat;
	background-size:100px;
}
form.working #spinner {
	display: block;
}

input {
	font-size:3em;
	display: block;
	margin:1rlh 0;
	width:100%;
	appearance:none;
	font-family: 'Atlas Grotesk', 'helvetica', 'arial', sans-serif;
	cursor: pointer;
}
input[type="submit"] {
	background:transparent;
	border:0;
	color:red;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	overflow: visible;
}
#imageInput {
	display: none;
}
#imageInputWrapper {
	font-size:2em;
	text-align: center;
	display: block;
}
#imagePreviewWrapper {
	display: none;
	width: 100%;
	max-height:50vh;
	margin-bottom:2.5rlh;
	position: relative;
}
#imagePreview {
    object-fit: contain;
    object-position: center;
    display: block;
    max-width: 100%;
    flex-shrink: 1;
    background: white;
    mix-blend-mode: lighten;
    filter: saturate(0);
}
#imagePreviewWrapper.show {
	display: flex;
}
form.working #imagePreviewWrapper.show {
	background: blue;
}
#feedback {
	color:black;
	text-align: center;
	margin-bottom:1.5rlh;
	font-size: 1.5em;
}