@font-face {
  font-family: Courier Prime;
  src: url('/fonts/CourierPrime-Regular.ttf');
}

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	width: 100vw;
	height: 100vh;
}

body {
	display: flex;
	flex-direction: column;
	background-color: #1E2122;
	/* color: #575961; */
	color: #C1A532;
	font-family: Courier Prime;
}

div, h1, p {
	margin: 0;
	padding: 0;
}

a, a:visited {
	color: #0000dd;
}

/* ----------App---------- */
.display {
	display: grid;
	grid-template-columns: repeat(32, 1fr);
	grid-template-rows: repeat(6, 1fr);
	font-size: 2rem;
	align-items: center;
	justify-content: center;
	width: max-content;
	margin: 2rem auto;
}

.display > p {
	text-align: center;
	background-color: #292B30;
	width: 100%;
	height: 100%;
	min-height: 3rem;
	min-width: calc(1ch + 1rem);
	border: 0.15vw solid #1E2122;
	padding: 0.2rem;
}

.controls {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;
	height: 100%;
}

textarea, button {
	background-color: #292B30;
	border: none;
	color: white;
	font-family: inherit;
	padding: 0.8rem 1.4rem;
	border-radius: 2px;
}

textarea:focus, button:focus {
	outline: 1px solid #C1A532;
}

textarea {
	font-size: 2rem;
	resize: none;
}

textarea:focus {
	background-color: #34363A;
}

button {
	padding: 0.4rem 1.6rem;
	font-size: 1.8rem;
	cursor: pointer;
}

button:hover {
	background-color: #575961;
}