* {
	box-sizing: border-box;
	font-size: 16px;
	font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
	line-height: 1.15;
	margin: 0;
	padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
	width: 100%;
	margin: 0.4rem;
}

h1 {
	font-size: 2.3rem;
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.7rem;
}
h4 {
	font-size: 1.5rem;
}
h5 {
	font-size: 1.3rem;
}
h6 {
	font-size: 1.2rem;
}

p {
	font-size: 1rem;
	width: clamp(45ch, 80%, 75ch);
}

body {
	background-color: rgb(231, 231, 231);
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

#canvas {
	width: 80vh;
	height: 80vh;
}

main {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
	height: 70%;
	display: grid;
	grid-template-rows: 1fr 1fr;
	justify-content: space-evenly;
	justify-items: center;
	align-content: space-evenly;
	align-items: center;
}

.info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	width: 100%;
	height: 100%;
}
.controls {
	width: 70%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}
.key {
	font-weight: bolder;
}

.options {
	height: 50%;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
}

.options-wrapper {
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

#algForm,
#cornerForm {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.alg-option {
	margin: 0.5rem;
}

.control-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
}
.title {
	margin-bottom: 2rem;
	text-align: center;
}

.heading {
	margin: 0.5rem 0;
}

.actions {
	display: flex;
	justify-content: center;
	align-content: center;
	flex-wrap: wrap;
}

.actions > button {
	font-size: 1.2rem;
	padding: 0.2rem 0.4rem;
	margin: 0.5rem;
}
