@font-face {
	font-family: 'Inconsolata';
	font-style: normal;
	font-weight: 400;
	font-stretch: 100%;
	src: url(./fonts/Inconsolata-Regular.ttf) format('truetype');
}
@font-face {
	font-family: 'OpenSans';
	font-style: normal;
	font-weight: 400;
	font-stretch: 100%;
	src: url(./fonts/OpenSans-Regular.ttf) format('truetype');
}
@media screen {
	html {
		font-size: 3.5vw;
	}
}
@media screen and (max-width: 400px) {
	html {
		font-size: 12px;
	}
	.logo {
		left: 0 !important;
		height: 3.5rem !important;
		top: 1rem !important;
	}
	.recipe {
		padding-left: 6rem !important;
	}
	.recipe span {
			font-size: 1.2rem !important;
	}
}
@media screen and (min-width: 800px) {
	html {
		font-size: 20px;
	}
}
html {
	--soup-color: #ac291e;
	--line: 2.5rem;
}
a {
	color: #55f;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
body {
	box-sizing: border-box;
	margin: 0;
	padding: 10px;
	width: 100%;
}
* {
	box-sizing: inherit;
	font-size: 1rem;
}
button {
	appearance: none;
	background-color: #aaa;
	border-style: none;
	height: 2rem;
	line-height: 2rem !important;
	margin-top: calc((var(--line) - 2rem) / 2);
	padding: 0 0.5rem;
	vertical-align: top;
}
input[type="text"] {
	appearance: none;
	background-color: #eee;
	border-style: none;
	font-family: OpenSans, sans-serif;
	height: 2rem;
	line-height: 2rem !important;
	margin: 0;
	margin-top: 0.25rem;
	padding: 0 1rem;
	vertical-align: top;
	width: 10rem;
}
input[type="text"]:not(:placeholder-shown) {
	background-color: #fdd;
}
input[type="text"]:not(:placeholder-shown):valid {
	background-color: #dfe !important;
}
p {
	line-height: 1.5rem;
}
span {
	display: inline-block;
}
.highlight {
	color: var(--soup-color);
	display: inline;
}
.name, .webhook, .soupcheck {
	display: inline;
	overflow-wrap: anywhere;
	unicode-bidi: plaintext;
	white-space: normal;
	word-break: break-all;
	word-wrap: break-word;
}
.title {
	display: block !important;
	letter-spacing: 0.4rem;
	text-align: center;
	text-transform: uppercase;
}
.container {
	padding: 1rem;
	width: 100%;
}
.container > div {
	font-family: OpenSans, sans-serif;
}
.category {
	font-size: 0.6rem;
	letter-spacing: 0.1rem;
	line-height: 3rem;
	text-align: center;
	text-transform: uppercase;
}
.recipe {
	border: #000 solid 3px;
	border-style: solid none;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 5rem;
	padding-left: 9rem;
	position: relative;
	text-align: center;
}
.logo {
	left: 1rem;
	height: 4rem;
	position: absolute;
	top: 0.5rem;
}
.time {
	border-bottom: #000 solid 3px;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	white-space: nowrap;
}
.time span {
	display: inline-block;
	flex: 1;
	font-size: 0.85rem;
	line-height: 3rem;
	text-align: center;
}
.how-to-cook {
	background-image: linear-gradient(0, #ccc 1px, transparent 1px);
	background-size: 100% var(--line);
	margin-top: 1rem;
}
.how-to-cook * {
	line-height: var(--line);
}
.before {
	text-align: center;
}
.before > span + span {
	font-family: Inconsolata, monospace;
	padding: 0 1rem;
}
.ingredients {
	margin-top: var(--line);
	padding: 0 1rem;
}
.ingredients ul li {
	display: flex;
	list-style: none;
}
.ingredients li > span {
	display: block;
}
.ingredients li > span:first-child {
	text-align: left;
	width: 6rem;
	flex-shrink: 0;
}
.ingredients li > span:last-child {
	display: inline-block;
	height: 2rem;
	margin: 0;
	padding: 0;
}
.ingredients li.chosen > span:last-child {
	display: none;
}
.ingredients ul {
	font-family: Inconsolata, monospace;
	margin: 0;
	padding: 0;
	text-transform: none;
}
.ingredients li > span:first-child + span {
	display: none;
}
.ingredients li.chosen > span:first-child + span {
	display: inline-block;
}
.directions ol {
	font-family: Inconsolata, monospace;
	margin: 0;
	text-transform: none;
	padding: 0 1rem 0 3rem;
}
.directions li > span {
	vertical-align: top;
}
.directions li > span:first-child + span {
	display: none;
}
.directions li.chosen > span:first-child + span {
	display: inline-block;
}
.directions li.chosen > span:first-child + span + span {
	display: none;
}
.enjoy {
	font-family: Inconsolata, monospace;
	height: 0;
	overflow: hidden;
	padding: 0 1rem;
	text-align: center;
}
.container.done .enjoy {
	height: auto;
	overflow: visible;
}
.container.done a.temp {
	display: none;
}
.notes {
	margin-top: 2rem;
}
.notes > div {
	border: #000 solid 1px;
	margin-top: 1rem;
	padding: 1rem;
}
.notes > div * {
	font-size: 0.85rem !important;
}
#name {
	text-transform: lowercase;
}
#name + button {
	position: relative;
}
#name + button::after {
	content: "^[a-z0-9]{3,30}$";
	font-size: 0.8rem;
	opacity: 0;
	padding-left: 0;
	position: absolute;
	white-space: nowrap;
}
#name:focus + button::after {
	opacity: 0.6;
	padding-left: 1rem;
	transition: all ease-in-out 0.15s;
}
#webhook + button {
	position: relative;
}
#webhook + button::after {
	content: "https://...";
	font-size: 0.8rem;
	opacity: 0;
	padding-left: 0;
	position: absolute;
	transition: all ease-in-out 0.15s;
	white-space: nowrap;
}
#webhook:focus + button::after {
	opacity: 0.6;
	padding-left: 1rem;
}
#ingredients-alert {
	color: var(--soup-color);
	font-size: 0.9rem;
	height: var(--line);
	line-height: var(--line);
	opacity: 0.8;
}
#chosen-name > span, #chosen-webhook > span, #code-sent > span, #chosen-code {
	font-weight: bold;
}
#code {
	width: 10rem;
}
#send-code-button {
	display: none;
}
#send-code-button.visible {
	display: inline;
}
#send-code-alert {
	display: inline;
}
#send-code-alert.error, #code-alert.error {
	color: var(--soup-color);
	opacity: 0.8;
}
