/* general styles */
html {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 62.5%;
	color: rgb(17,17,17);
	box-sizing: border-box;
	background: rgb(255,255,255);
}
*, *:before, *:after {
	box-sizing: inherit;
}

body {
	font-family: sans-serif;
}

.container {
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
	padding: 24px 24px;
	background: rgb(255,255,255);
}

.brand {
	width: 100%;
	margin: 0 0 24px 0;
	padding: 0 0 16px 0;
	border-bottom: 1px rgb(214,214,214) solid;
}
.brand img {
	width: 160px;
	margin: 0;
	padding: 0;
	border: 0;
}

h1 {
	font-size: 20px;
	margin: 0 0 4px 0;
	padding: 0;
}

p {
	margin: 0;
	font-size: 1.6rem;
	line-height: 1.45;
}
p.tapped {
	display: none;
}

h1 + p {
	margin: 0 0 32px 0;
	padding: 0 0 24px 0;
	border-bottom: 1px rgb(192,192,192) solid;
}

/* -------- */

form {
	margin: 24px 0;
	font-size: 1.6rem;
	font-weight: 400;
}

form label.the-zone {
	width: 100%;
	height: 72px;
	margin: 0 0 24px 0;
	padding: 0 16px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	
	background: rgb(247,247,247);
	border: 4px rgb(192,192,192) dashed;
	border-radius: 4px;
	
	color: rgb(160,160,160);
}

/* textarea to show files as json */
textarea#uploaded {
	width: 100%;
	min-height: 300px;
	font-size: 10px;
/*	display: none;*/
}


/* show upload progress with bars */
.progress-bar-area {
	margin-top: 20px;
}
.progress {
	display: none;
	position: relative;
	width: 100%;
	height: 32px;
	background: #C7DA9F;
	border-radius: 4px;
	overflow: hidden;
	margin-top: 16px;
}
.bar {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 32px;
	background: rgb(122,199,7);
	text-align: left;
	color: white;
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 32px;
	padding: 0 8px;
}
.bar.red {
	background: tomato;
}

/* -------- */

.footnote {
	width: 100%;
	margin: 0;
	padding: 12px 0 0 0;
	border-top: 1px rgb(214,214,214) solid;
	font-size: 1.4rem;
	color: rgb(121,126,128);
	
	display: flex;
	flex-direction: row;
	
}

.footnote a {
	font-size: 128%;
	font-weight: 400;
	color: rgb(121,126,128);
	text-decoration: none;
}
.footnote img {
	height: 18px;
	margin: -1px 0 0 6px;
}

@media only screen and (max-width: 480px) {
	.container {
		padding: 24px 16px;
	}
}

@media only screen and (max-width: 360px) {
	.footnote {
		font-size: 1.12rem;
	}
}

@media only screen and (min-width: 770px) {
	html {
		padding: 24px 0 0 0;
		background: rgb(242,242,242);
	}
	.container {
		border-radius: 8px;
	}
}

@media (pointer:coarse) {
	p.cursored {
		display: none;
	}
	p.tapped {
		display: block;
	}
	
	.footnote img {
		height: 18px;
		margin: 0 0 0 6px;
	}
}