#wrapper > header > div, #main {
	/* padding: 0 11.2rem; */
}
#wrapper > header h1 {
	/* padding-left: 0; */
}

#main section + section {
	margin-top: 2em;
}

#main article + article {
	margin-top: .8em;
}


.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
	/* grid-template-columns: repeat(auto-fill, minmax(min(17em, 100%), 1fr)); */
	grid-gap: 1em;
	gap: 1em;
	align-items: stretch;
}

#main .grid article + article {
	margin-top: 0;
}
.grid article {
	display: inline-block;
	min-width: 10em;
	font-size: .8em;
	display: flex;
	flex-direction: column;
}
.grid article h1 {
	line-height: 1.2;
	flex: 1 0 auto;
}


#main input[type=text], textarea {
	display: block;
	width: 100%;
	margin-bottom: 5px;
	font-size: 14px;
	line-height: 17px;
	-webkit-transition: background 1s ease-in-out;
	-moz-transition: background 1s ease-in-out;
	-ms-transition: background 1s ease-in-out;
	-o-transition: background 1s ease-in-out;
	transition: background 1s ease-in-out;
	background-color: #252525;
	color: #fff;
}

textarea {
	resize: none;
	margin-bottom: 10px;
	background-color: #252525;
	color: #fff;
}

.invalid {
	background: #FFF9F9;
}
#state {

}
.action.submit::before {
	content: "\e903";
	font-size: .88em;
}
