/* || General setup */

html, body {
   margin: 0;
   padding: 0;
}

html {
  font-size: 10px;
  background-color: SlateGray;
}

body {
  width: 70%;
  margin: 0 auto;
}

/* || typography */

h1, h2, h3, aside, aside li, nav, nav li, dt, li:before {
  font-family: 'Roboto', sans-serif;
  color: #2a2a2a;
}

p, input, li, dd {
  font-family: 'Roboto Slab', serif;
  color: #2a2a2a;
}

h1 {
  font-size: 4rem;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 10px black;
}

h2 {
  font-size: 3rem;
  text-align: center;
}

h3 {
  font-size: 2.2rem;
}
h4 {
  font-size: 2.2rem;
  font-style: italic;
}

p, li, dd, dt {
   font-size: 1.6rem;
   line-height: 1.5;
}

.skip-navigation {
	display: none; 
}
/* || header layout */

nav, article, aside, footer {
   background-color: white;
   padding: 1%;
}

 nav {
   height: 50px;
   background-color: lightcyan;
   display: flex;
   margin-bottom: 10px;
}

 nav ul {
   padding: 0;
   list-style-type: none;
   flex: 2;
   display: flex;
}

 nav li {
   display: inline;
   text-align: center;
   flex: 1;
}

 nav a {
   display: inline-block;
   font-size: 2rem;
   text-transform: uppercase;
/*   text-decoration: none;*/
   color: black;
}

nav.local {
	display: flex;
	height: fit-content;
}
nav.local a {
	float: left;
	font-size: 1rem;
	padding-left: 1rem;
	width: 100%;
}
/* || main layout */

 main {
   display: flex;
}

 article {
   flex: 4;
}

 aside {
   flex: 1;
   margin-left: 10px;
   background-color: lightcyan;
}

 aside li {
   padding-bottom: 10px;
}

footer {
  margin-top: 10px;
}

ol {
  border: 3px double #ccc;
  list-style-type: none;
  padding: 0.5em;
}
ol.start {
  counter-reset: stepcounter;
}
ol li {
  display: block;
  margin: 0 0 0 15%;
  padding: 0 0 0.5em 0;
  position: relative;
  width: 80%;
}
ol li::before {
  color: green;
  counter-increment: stepcounter;
  content: "Trin " counter(stepcounter);
  margin-right: 1em;
  left: -6em;
  position: absolute;
  text-align: right;
  top: 0 em;
  width: 5em;
}
ol li.note:before {
  content: "Note ";
  counter-increment: none;
}

dl {
  border: 3px double #ccc;
  padding: 0.5em;
}
dt {
  float: left;
  clear: left;
  width: 6em;
  text-align: right;
  color: green;
}
dd {
  margin: 0 0 0 110px;
  padding: 0 0 0.5em 0;
}

@media screen and (max-width: 700px) {
	body {
		width: 100%;
	}
}
@media screen and (max-width: 400px) {
	main {
		flex-wrap: wrap;
	}
  	article {
		flex: 100%;
  	}
	aside {
		flex: 100%;
		margin-left: 0px;
		margin-top: 10px;
	}
}