*,
*:before,
*:after {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}
body {
	/*grid things*/
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: repeat(2, auto) 1fr auto;
	grid-column-gap: 0;
	grid-row-gap: 0;
	max-width: 100%; /*do I need this with grid?*/
	margin: 0 auto; /*again, do I need this with grid?*/

	/*style things*/
	font-family: sans-serif;
	font-size: 100%;
	line-height: 1.5;
}

/* "mobile-first": stack the landmarks */
header { grid-area: 1 / 1 / 2 / 3; }
nav { grid-area: 2 / 1 / 3 / 3; }
aside { grid-area: 3 / 1 / 3 / 3; }
main { grid-area: 4 / 2 / 4 / 4; }
footer { grid-area: 5 / 1 / 5 / 3; }

/* spread things out as the viewport is wider */
@media screen and (min-width: 44em) {
  header { grid-area: 1 / 1 / 2 / 3; }
  nav { grid-area: 2 / 1 / 3 / 3; }
  aside { grid-area: 3 / 1 / 4 / 2; }
  main { grid-area: 3 / 2 / 4 / 3; }
  footer { grid-area: 4 / 1 / 5 / 3; }
}

header {
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav {
  background-color: black;
  color: white;
}
/* navbar */
nav > ul {
  display: flex;
  justify-content: center;
  align-content: center;
  list-style: none;
}
nav > ul > li {
  /* what do I do here, seriously */
}

nav > ul > li > a {
  display: flex;
  padding: 0.5rem 1rem;
  text-decoration: none;
  align-items: center;
  color: white;
}

nav > ul > li > a:hover {
  text-decoration: underline;
}

nav > ul > li > a > span {
  font-size: 1.25rem;
  padding: 0.2rem;
  text-decoration: none;
}

nav > ul > li > a:hover > span {
  font-size: 1.25rem;
  padding: 0.2rem;
  text-decoration: none;
}

/* aside */
aside {
  /* width: 100%; */
  height: 100%;
}

@media screen and (min-width: 30.1em) {
  aside {
    border-color: purple;
    /* width: fit-content; */
  }
}
aside > ul {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
}

aside > ul > li > a {
  border: 2px solid transparent;
  height: 2.75rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem;
  color: black;
}

aside > ul > li > a:hover {
  text-decoration: underline;
}

aside > ul > li > a:hover > span {
  text-decoration: none; /*why are you still decorating?!! */
}

aside > ul > li > a:focus {
  border-color: blue;
}

aside > ul > li > a:focus-visible {
  outline-offset: 5px;
  outline-color: blue;
}

aside > ul > li > a > span {
  color: blue;
  font-size: 1.5rem;
}

main {
  height: 90vh; /*meh there's a better way*/
}

.main-child {
  padding: 1rem 2rem 2rem;
}

main > section {
  padding: 1rem 2rem 2rem;
  border: 1px solid #E2E2E2;
  border-radius: .5rem;
  margin: 1rem;
}

main > h2 {
  padding: 1rem 2rem 0 2rem;
}