html, body {
	position: relative;
	width: 100%;
	height: 100%;
  background-color: #FFF;

	--accent-color: #4800E2;
}

body {
	color: #303034;
	margin: 0;
	padding: 2em;
	box-sizing: border-box;
        font-size: 1.1em;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

h1 {
	font-weight: 500;
}

h1:focus {
	outline: none;
}

a {
	color: var(--accent-color);
	text-decoration: none;
  font-weight: 500;
}

a:hover {
	text-decoration: underline;
}

label {
	display: block;
}

input, button, select, textarea {
	font-family: inherit;
	font-size: inherit;
	-webkit-padding: 0.4em 0;
	padding: 0.4em;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	background-color: var(--accent-color);
}

.meters-label {
	margin-bottom: 0.4em;
}

.meter-tie-up {
	display: flex;
	align-items: center;
	width: 16em;
	max-width: 100%;
}

.meters-form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.meters-input {
	flex: 1;
	-webkit-appearance: none;
	box-sizing: border-box;
	height: 3rem;
	padding-left: 1rem;
	margin-right: 4px;
	border: none;
	box-shadow: inset 0 0 0 1px #AAA;
	border-radius: 0.3em 0 0 0.3em;
	transition: box-shadow 0.2s;
	display: block;
	width: 0;
}

.meters-input:focus {
	outline: none;
	box-shadow: inset 0 0 0 2px var(--accent-color);
}

.meters-submit {
	height: 3rem;
	padding: 0 1rem;
	appearance: none;
	border: none;
	background: black;
	color: white;
	font-weight: 500;
	font-size: 0.9em;
	border-radius: 0 0.3em 0.3em 0;
	display: block;
}

.feet {
	font-weight: 500;
	color: #da9;
}

.link-with-icon {
	display: flex;
	align-items: center;
}

.back-link {
	margin-top: 3em;
}

.link-with-icon svg {
	margin-right: 0.5em;
}

.logo {
	width: 2.4em;
	height: 2.4em;
}

.numerator {
	font-size: 0.75em;
	transform: translateY(-0.25em);
	display: inline-block;
}

.denominator {
	font-size: 0.75em;
	transform: translateY(0.25em);
	display: inline-block;
}

.links {
	margin-top: 5em;
	font-size: 0.8em;
}

.links-header {
	font-weight: 500;
	color: #667;
}

.link a{
	font-weight: 400;
}

.results {
	margin-bottom: 4em;
}