body {
	width: 90%;
	font-family: 'Open Sans', sans-serif;
	margin: auto;
	line-height: 1.6;
	color: #333;
}

h1, h2, h3 {
	font-family: 'Montserrat', sans-serif;
	color: #3F51B5;
}
h2, h3, p, li {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
}

.hidden-preload {
	position: absolute;
	visibility: hidden;
}

header {
	position: relative;
	text-align: center;
	background: #333333;  /* fallback for old browsers */
	background: linear-gradient(to left, #dd1818, #333333);
	padding-top: 10px;
	padding-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}
header h1 {
	position: relative;
	margin: 0;
	padding: 0 10px 10px 10px;
	color: white;
}

.header-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

main {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
	color: white;
	background: linear-gradient(to left, #dd1818, #333333);
}


.sketch {
	display: block;
	position: relative;
	max-width: 40%;
	/* width: 90%; */
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 10px;
	margin-bottom: 10px;

	/* -webkit-box-shadow: 0px 2px 5px rgba(0, 0, 0, 1);
	-moz-box-shadow: 0px 2px 5px rgba(0, 0, 0, 1); */
	box-shadow: 0px 8px 40px rgba(0, 0, 0, 1);
	border-style: solid;
	border-width: 2px;
	border-color: rgb(0, 0, 0, 1);
	border-radius: 5px;
	background-color: white;
}

.sketch-child {
	display: block;
	width: 100%;
}

.instruction {
	font-size: 20px;
	color: #e91e63;
	margin: auto;
	position: absolute;
	text-align: center;
	left: 0;
	right: 0;
	top: 25%;
	transform: translateY(-50%);
	opacity: 1;

	pointer-events: none;
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	user-select: none;

	transition: opacity 0.2s ease-in-out;
}

.hidden {
	opacity: 0;
}

.multi-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	/* margin-top: 20px; */
	/* margin-bottom: 20px; */
	justify-content: center;
}

.sketch {
	margin-left: 10px;
}
.sketch-mult {
	margin-left: 2vw;
}

.container{
    display: grid;
    grid-template-columns: 45% repeat(5, 8%);
	grid-template-rows: 5% 20% 20% 40%;
	justify-content: center;
	align-content: top;
}

.section{
	justify-self: center;
	font-size: 20px;
}

.meter{
	justify-self: center;
	align-self: center;
}

.signal {
	grid-column: 1;
	grid-row: 2 / 3;
	justify-self: center;
}

.nfft {
	grid-column: 2;
	grid-row: 2 / 3;
	align-content: center;
}

.cutoff {
	grid-column: 3;
	grid-row: 2;
	align-self: center;
}

.resonance {
	grid-column: 3;
	grid-row: 3;
	align-self: center;
}

.attack {
	grid-column: 4;
	grid-row: 2;
	align-self: center;
}

.decay {
	grid-column: 4;
	grid-row: 3;
	align-self: center;
}

.time {
	grid-column: 5;
	grid-row: 2;
	align-self: center;
}

.wet {
	grid-column: 5;
	grid-row: 3;
	align-self: center;
}

.drive {
	grid-column: 6;
	grid-row: 2;
	align-self: center;
}

.master {
	grid-column: 6;
	grid-row: 3;
	align-self: center;
}

.keyboard {
	grid-column: 1 / 6;
	grid-row: 4;
	justify-content: center;
	align-self: bottom;
}

.knob {
    display: grid;
    grid-template-rows: auto auto;
	justify-items: center;
	align-items: center;
}

.knob-child {
	grid-row: 1;
}

.knob-text {
    grid-row: 2;
	font-size: 10px;
}

.switch {
	grid-column: 2;
	grid-row: 3;
	align-content: center;
	display: grid;
    grid-template-rows: 20% 10% 20% 10% 30%;
	justify-items: center;
	align-items: center;
}

.switch-value {
	grid-row: 2;
}

.switch-child {
	grid-row: 3;
}

.switch-text {
    grid-row: 4;
	font-size: 10px;
}
