:root {
	--primary: #ddd;
	--primary-shadow: #bbb;
	--white: #fff;
	--black: #111;

	--button-radius: 0.25rem;
}

html, body {
	height: 100%;
}

html {
	font-family: 'Nunito', sans-serif;
}

body {
	padding: 0.5rem;
}

section {
	width: 100%;
}

.form {
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.form h1 {
	text-align: center;
}

.form form {
	display: flex;
	margin-bottom: 1rem;
}

.form form label:not(:last-child) {
	margin-right: 1rem;
}

.form form label {
	display: flex;
	flex-direction: column;
}

.form form select {
	display: inline-block;
	height: calc(2.25rem + 2px);
	padding: 0.375rem 1.75rem 0.375rem 0.75rem;
	line-height: 1.5;
	color: #495057;
	vertical-align: middle;
	background: #fff;
	background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") no-repeat right .75rem center;
	background-size: 8px 10px;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.form form .generate {
	position: relative;
	top: 0;
	padding: 0.25rem 1.25rem;

	font-size: 1.25rem;
	font-weight: 600;

	background: var(--primary);
	border: none;
	border-radius: var(--button-radius) var(--button-radius) 0 0;
	box-shadow: 0 4px var(--primary-shadow);
	color: var(--black);
	cursor: pointer;
	transition: top 100ms ease-out, box-shadow 100ms ease-out;
}

.form form .generate:hover {
	top: 2px;
	box-shadow: 0 2px var(--primary-shadow);
}

.form form .generate:active {
	top: 6px;
	box-shadow: none;
}

.prompts {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.prompts .prompt {
	width: 100%;
	max-width: 50rem;
	margin-bottom: 2rem;

	text-align: left;
	font-size: 1.25rem;
}
