html {
	background-color: #699;
	color: #642;
}

.outer {
	display: flex;
	gap: 1rem;
}

nav {
	margin-top: 20vh;
	align-self: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	white-space: nowrap;
	background-color: #642;
	border-radius: 0.5em;
	color: #699;
	padding: 0.5em;
}
.navlinks a:link {
	color: #FDA;
	text-decoration: none;
}
.navlinks a:visited {
	color: #FDA;
}
.navlinks a:hover {
	color: #FFF;
}

ul {
	flex-direction: column;
	margin-block-end: 0;
	margin-block-start: 0;
	list-style: none;
	padding-left: 0;
}
li {
	
}

h1, h2, h3 {
	margin-block-start: 0;
	margin-block-end: 0;
}

.body {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.headerarea {
	position: relative;
	z-index: 20;
}
.headerproper {
	z-index: 10;
	border-top-style: solid;
	border-left-style: solid;
	border-color: black;
	border-width: 5px;
	border-radius: 3em 0 0 0/5em 0 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #FDA;
	margin-right: 4em;
	padding-top: 2em;
	transform: skew(0, -2deg);
	transform-origin: top right;
}
.headerproper > * {
	transform: skew(0, 2deg);
	transform-origin: top right;
}
.lheaderdecor {
	z-index: 15;
	position: absolute;
	right: calc(2em + 5px);
	top: 0;
	border-color: black;
	border-top-style: solid;
	border-width: 5px;
	width: 2em;
	height: 3em;
	background-color: #FDA;
	transform: skew(0, -2deg);
	transform-origin: top left;
}
.rheaderdecor {
	position: absolute;
	right: 0;
	top: 0;
	height: 8.2em;
	width: calc(4em - 5px);
	z-index: 20;
	border: 5px solid black;
	border-radius: 3em 5em 1em 0/5em 10em 1em 0;
	background-color: #642;
	transform: skew(0, -2deg);
	transform-origin: top left;
}

.backcenter {
	z-index: 10;
	border-top-style: none;
	border-right-style: solid;
	border-left-style: solid;
	border-color: black;
	border-width: 5px;
	background-color: #FDA;
	margin-right: 4em;
	padding-top: 3em;
	padding-left: 2em;
	padding-right: 2em;
	padding-bottom: 3em;
	transform: skew(0, -2deg);
}
.backcenter > * {
	transform: skew(0, 2deg);
}
.backbottom {
	z-index: 5;
	display: relative;
	margin-right: 4em;
	height: 5em;
	transform: skew(0, -2deg);
	margin-top: -1px;
}
.bbmaindark {
	box-sizing: border-box;
	position: absolute;
	bottom: 0;
	left: -2em;
	width: calc(calc(100% - 2em) + 1px);
	height: 100%;
	border-radius: 0 0 0 3em / 0 0 0 100%;
	background-color: #642;
	border-width: 5px;
	border-top-width: 6px;
	border-color: black;
	border-left-style: solid;
	border-top-style: solid;
	border-bottom-style: solid;
}
.bbdarkblock {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	height: 100%;
	right: 2em;
	width: 2em;
	border-color: black;
	border-width: 5px;
	border-bottom-style: solid;
	
	background-color: #642;
}
.bblightarea {
	box-sizing: border-box;
	position: absolute;
	right: 0;
	top: 0;
	width: 4em;
	height: 100%;
	background-color: #FDA;
	border-width: 5px;
	border-color: black;
	border-left-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-radius: 0 0 3em 3em / 0 0 3em 100%;
}



.homepagebody {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	margin-left: 3em;
	margin-bottom: 3em;
}
.homecontent {
	padding-top: 3em;
	margin: auto;
	max-width: 65em;
}


.guidebody {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
}

.guiderow {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	max-width: 70rem;
}
.hand {
	white-space: nowrap;
	width: 100px;
	text-align: center;
}
.fingers {
	width: 100px;
	text-align: center;
}
.arm {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 1px;
}

.guideimage {
	max-height: 192px;
}

footer {
	display: flex;
	flex-direction: column;
}

.nextandprev {
	display: flex;
	justify-content: space-evenly;
	margin: 1em;
}

.nbutton {
	background-color: #642;
	clip-path: polygon(0% 30%, 60% 30%, 60% 0%, 100% 50%, 60% 100%, 60% 70%, 0% 70%);
	padding: 2em;
}
.nbutton:hover {
	background-color: #975;
}
.pbutton {
	background-color: #642;
	clip-path: polygon(100% 30%, 40% 30%, 40% 0%, 0% 50%, 40% 100%, 40% 70%, 100% 70%);
	padding: 2em;
}
.pbutton:hover {
	background-color: #975;
}
.ibutton {
	visibility: hidden;
}

a:link {
	color: #472;
	text-decoration: none;
}
a:visited {
	color: #472;
}
a:hover {
	color: #000;
}

.littlefooter {
	background-color: #FDA;
	width: 15em;
	padding: 1em;
	border-radius: 2em;
	align-self: end;
}

@media only screen and (max-width: 800px) {
	.guiderow {
		flex-direction: column;
	}
	.outer {
		flex-direction: column;
	}
	nav {
		height: auto;
	}
}