* {
	font-family: sans-serif;
}
html, body {
	height: 100%;
	margin: 0;
	background: black;
	color: white;
}
header {
	font-size: 1.25em;
	margin: 20px;
	text-align: center;
}
main {
	flex: 1;
}
footer {
	text-align: center;
	flex-shrink: 0;
}
a {
	color: #aaa;
}
a:hover {
	color: #777;
}
a:visited {
	color: #777;
}
input, select {
	color: white;
	background-color: black;
	margin: 4px 4px;
}
.content-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
.hidden {
	transition: opacity 0.1s ease-in;
	opacity: 0;
}
.visible {
	transition: opacity 0.1s ease-in;
	opacity: 1;
}
#spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-top-color: #777;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 1s linear infinite;
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
#controls-div {
	display: inline-block;
}
#gear {
	display: inline-block;
	text-align: center;
	font-size: 2.5em;
	color: #777;
	cursor: pointer;
	user-select: none;
	margin-left: 10px;
	margin-top: 10px;
}
#gear:hover {
	color: #aaa;
}
#reset-gain {
	display: inline-block;
	font-size: 1.5em;
	color: #777;
	cursor: pointer;
	vertical-align: top;
}
#reset-gain:hover {
	color: #aaa;
}
#controls {
	margin-top: 10px;
	border: 0px;
	display: inline-block;
	vertical-align: top;
}
#controls-div.active {
	border-top: 1px solid gray;
	border-right: 1px solid gray;
	border-bottom: 1px solid gray;
	border-bottom-right-radius: 20px;
	border-top-right-radius: 20px;

}
#content {
	display: grid;
	place-items: center;
}
#dropzone {
	border: 4px dashed #aaa;
	border-radius: 20px;
	width: 500px;
	height: 500px;
	cursor: pointer;
}
#spectrogram {
	border: 1px solid #222;
}
#file {
	display: none;
}
#upload-button {
	font-size: 3em;
	display: inline-block;
	border-radius: 20px;
	text-align: center;
	vertical-align: middle;
	width: 100%;
	height: 290px;
	padding-top: 210px;
	color: #aaa;
	cursor: pointer;
}
#upload-button:hover {
	background: #333;
}
#error {
	font-size: 1.5em;
	text-align: center;
	margin: 10px;
	color: #f66;
}
footer {
	text-align: center;
	flex-shrink: 0;
	color: #aaa;
	margin-bottom: 10px;
}

