:root {
	--headerheight: 42px;
	--headertransition: 0.65s ease;

	--bg-color: #141414;
	--bg-color-light: #1d1d1d;

	--white: #ECEDEC;
	--gold: #B8B994;
	--green: #5E9F45;
	--orange: #B86648;
}

html, body {
	background-color: var(--bg-color);
	color: var(--white);
	font-family: 'Courier New', Courier, monospace;
	font-weight: normal;
	font-size: 18px;
	box-sizing: border-box;
	margin: 0;
}

html, body, div, textarea, select, main, section, h1, h2 {
	box-sizing: border-box;
}

div, section {
	max-width: 100%;
}

a {
	color: var(--blue);
}

header {
	margin: 0;
	padding: 16px 12px 12px;
	background-color: var(--bg-color-light);
	height: var(--headerheight);
	overflow: hidden;
	display: grid;
	grid-template-columns: 48px auto 20px;
	grid-template-rows: var(--headerheight) auto;
	transition: height var(--headertransition);
	align-items: center;
}

header.open {
	height: auto;
}

#logo {
	width: 36px;
	height: 36px;
	/* margin-right: 12px; */
}

main {
	padding: 24px 8px;
	margin: 0;
	padding: 0;
	/* display: grid;
	grid-column-gap: 24px;
	grid-template-columns: min-content auto;
	grid-template-columns: auto; */
}

section {
	padding: 12px 8px;
}

a {
	text-decoration: none;
	color: var(--gold);
}

h1 {
	display: inline-block;
	font-weight: normal;
	color: var(--white);
	font-size: 1.6em;
	margin: 0;
	white-space: nowrap;
}

#menu_button {
	color: var(--white);
	text-align: center;
	transition: all var(--headertransition);
}

#menu_button.open {
	color: var(--orange);
	transform: rotate(180deg);
}

#welcome_message {
	font-weight:  100;
	line-height: 1.4em;
	max-width: 860px;
	margin: 12px auto;
	padding: 4px;
	grid-column: 1 / 4;
	grid-row: 2 / 3;
}

h2 {
	font-weight: normal;
	color: var(--green);
	font-size: 1.4em;
	margin: 0 0 18px;
}


select {
	background-color: var(--bg-color);
	color: var(--white);
	border-color: var(--white);
	font-family: inherit;
	font-size: inherit;
	width: 340px;
	padding: 2px 6px;
	outline-color: var(--orange);
	-webkit-appearance: none;
}

#welcome_text h2 {
	color: var(--orange);
}

#save_instructions {
	margin-top: 10px;
	font-style: italic;
	display: inline-block;
	font-size: 0.9em;
}


input.patch_info, textarea {
	color: var(--white);
	background-color: var(--bg-color);
	font-family: inherit;
	font-size: inherit;
	padding: 2px 6px;
	width: 40px;
	border: 1px solid var(--white);
	border-radius: 0;
}

input.patch_info, textarea {
	width: 340px;
}

#patch_notes {
	height: 3.9em;
}

#get_share_link {
	font-size: 1.1em;
	margin-left: 0px;
	padding: 6px 24px;
	border: 1px solid var(--white);
	/* border-radius: 6px; */
	text-align: center;
}

.item {
	display: grid;
	padding-left: 18px;
	align-items: center;
}

.item.buttongroups {
	grid-template-columns: 160px auto;
}

.item.sliders {
	grid-template-columns: 160px 340px auto;
}

.item div {
	margin-bottom: 12px;
	display: inline-block;
}




.button_group {
	display: -webkit-box;
	padding: 0;
	margin: 0;

}

.button_group > li {
	display: block;
	border: solid 1px var(--white);
	border-left: none;
	text-align: center;
	padding: 6px 12px;
}

.button_group > li:first-child
{
	border-left: solid 1px var(--white);
}

.button_group > li:last-child
{
	border-left: solid 1px var(--white);
}

.button_group > li.selected
{
	color: var(--bg-color);
	background-color: var(--white);
}

.button_group > li.flash {
	/* color: var(--bg-color); */
	background-color: var(--green);
}

.pointy {
	cursor: pointer;
	user-select: none;
}

.flash {
	color: var(--bg-color);
	background-color: var(--orange);
}

/* ********* Media Queries ********* */

@media only screen and (min-width: 900px) {

	#welcome_message {
		max-width: 100%;
		margin: 12px 12px;
	}

	#welcome_text {
		width: calc(100% - 340px);
		max-width: 850px;
		float: left;
	}

	#contact_info {
		width: 340px;
		padding-left: 30px;
		/* padding-right: 10px; */
		float: right;
	}
}