/* General */
body {
	background-color: #1e1e1e;
	color: #eee;
	font-family: 'Source Sans Pro', sans-serif;
	line-height: 1.4;
}

p {
	margin-bottom: 5px;
}

h1 {
	font-family: "EB Garamond";
	font-weight: bold;
}


/* Links */
a,
a:visited {
	color: #ccc;
	text-decoration: none;
}
a:hover,
a:active,
a:focus {
	color: #bbb;
	text-decoration: underline;
}


/* Buttons */
button,
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: default;
	font-family: "EB Garamond";
	font-size: 0.7em;
	padding: 1px 6px;
	text-decoration: none !important;
	box-shadow: none;
	border: 1px solid #777;
	border-bottom: 0;
	border-style: outset;
	margin-bottom: 1px;
}

button:not([disabled]),
button:visited:not([disabled]),
.btn {
	color: #333 !important;
	background-color: #efefef;
}

button:disabled {
	background-color: #999;
}

button:hover:not([disabled]),
button:focus:not([disabled]),
.btn:hover,
.btn:focus {
	background-color: #d6d6d6;
}

button:active:not([disabled]),
.btn:active {
	border-style: inset;
}

.btn-big {
	width: 160px;
	height: 40px;
	margin: 10px 0 5px 0;
	font-size: 0.9em !important;
}


/* Text inputs */
input[type="text"] {
	margin-bottom: 1px;
	background-color: #eee;
	border: 1px solid #777;
	border-bottom: 0;
}
input[type="text"]:focus {
	z-index: 1;
}

input[type="text"][readonly] {
	background-color: #bbb9b9;
}

@media only screen and (max-width: 500px) {
	.input-grid input,
	.input-grid button {
		margin-top: 6px;
	}
}


/* Elements */
h1 {
	color: #ddc79c;
}

hr {
	margin-top: 20px;
	border-color: var(--gold-trim);
}

.tip {
	font-size: 0.8em;
}

nav {
	font-size: 0.8em;
	display: inline-block;
	margin-top: 15px;
	color: #ddd;
}

nav a, nav span.current {
	margin: 0 3px;
}

nav .current {
	color: #999;
}

#btn-export {
	margin-top: 18px;
}

#output-permutations, #output-css {
	background-color: #191919;
	color: white;
	border-color: transparent;
	min-width: 100%;
	max-width: 100%;
	min-height: 136px;
	overflow-y: scroll;
	font-size: 0.7em;
}

.section-username p {
	margin-top: 11px;
}

.section-connect p,
.section-spritesheet p {
	margin-bottom: 9px;
}
