/* ---- Themes ---- */

html {
	/* dark theme: light background, dark text, blue accent */
	--theme-hue: 0;					/* black */
	--accent-hue: 194;			/* blue */

	--text-color-richer: hsl(var(--theme-hue), 0%, 95%);		/* 		*/
	--text-color-normal: hsl(var(--theme-hue), 0%, 80%);		/* text color; button:hover:focus color */
	--text-color-softer: hsl(var(--theme-hue), 0%, 67%);		/* button color; button:hover border */

	--accent-color: hsl(var(--accent-hue), 76%, 49%);				/* link; button-primary bg+border; textarea,select:focus border */
	--accent-color-hover: hsl(var(--accent-hue), 86%, 57%);	/* link hover; button-primary:hover:focus bg+border */

	--border-color: hsl(var(--theme-hue), 0%, 27%);					/* button border */
	--border-color-softer: hsl(var(--theme-hue), 0%, 20%);	/* textarea,select,code,td,hr border	 */

	--background-color: hsl(var(--theme-hue), 0%, 12%);			/* body background; textarea,select background */
	--background-color-softer: hsl(var(--theme-hue), 0%, 18%);
	--code-background: hsl(var(--theme-hue), 0%, 5%);				/* code background*/

	--button-primary-color: white;
}

/* when prefers-color-scheme supported, these can be in single media query with above */
html img.value-img {
	filter: invert(0.8);
}
html img {
	opacity: .90;
	transition: opacity .5s ease-in-out;
}

/* ---- General ---- */

audio {
  display: block;
  width: 100%;
  filter: sepia(20%) saturate(70%) grayscale(1) contrast(99%) invert(12%);
}

.evilsurname {
	display: none;
}

.container {
  width: 100%;
  max-width: 800px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box;
}

.docs-header {
  text-transform: uppercase;
  letter-spacing: .2rem;
  font-weight: 600; }
.docs-section {
  /* border-top: 1px solid var(--border-color-softer); */
  padding: 4rem 0;
  margin-bottom: 0;}
ul {
	margin-left: 2rem;
}

/* ---- Header ---- */
.header {
  margin-top: 6rem;
  text-align: center; }
.value-prop {
  margin-top: 1rem; }
.value-props {
  margin-top: 4rem;
  margin-bottom: 4rem; }
i.fas, i.fab {
	font-size: 5rem;
	display: block;
	margin: 0 auto 2rem;}
	/* grids to 3 columns above mobile sizes */
@media (min-width: 600px) {
  .header {
	margin-top: 6rem;
margin-bottom: 5rem; }
	.title {
			margin-bottom: 5rem;
		}
	.value-header {
	  grid-column: 1 / span 3;
	  margin-top: 2rem; }
  .value-props {
	margin-top: 9rem;
	margin-bottom: 7rem; }
  .value-img {
	margin-bottom: 1rem; }
	
}

/* ---- Grid ---- */
/* selects all grid-items (direct children of a grid container) */
.grid-container-example > * {
	background: var(--background-color-softer);
	border-radius: 0.4rem;
	font-size: 1.2rem;
	text-transform: uppercase;
	line-height: 2.4em;
	height: 2.4em;
}

/* ---- Nav ---- */
.navbar {
  display: none; }
@media (min-width: 600px) {
  .navbar + .docs-section {
	border-top-width: 0; }
  .navbar,
  .navbar-spacer {
	display: block;
	width: 100%;
	height: 5rem;
	background: var(--background-color);
	z-index: 99;
	border-top: 1px solid var(--border-color-softer);
	border-bottom: 1px solid var(--border-color-softer); }
  .navbar-spacer {
	display: none; }
  .navbar > .container {
	width: 100%; }
  .navbar-list {
	list-style: none;
	margin-bottom: 0; }
  .navbar-item {
	position: relative;
	float: left;
	margin-bottom: 0; }
  .navbar-link {
	text-transform: uppercase;
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: .2rem;
	margin-right: 35px;
	text-decoration: none;
	line-height: 5rem;
	color: var(--text-color-normal); }
  .navbar-link.active {
	color: var(--accent-color); }
  .has-docked-nav .navbar {
	position: fixed;
	top: 0;
	left: 0; }
  .has-docked-nav .navbar-spacer {
	display: block; }
  /* Re-overiding the width 100% declaration to match size of % based container */
  .has-docked-nav .navbar > .container {
	width: 80%; }
}


/* ---- Buttons ---- */
@media (min-width: 600px) {
	#buttons .grid-container.quarters {
		grid-template-columns: repeat(2, 1fr); }	
}
@media (min-width: 900px) {
	#buttons .grid-container.quarters {
		grid-template-columns: repeat(4, 1fr);
	}	
}


/* ---- Code ---- */
pre.code-example {
  margin-top: 1.5rem;
  margin-bottom: 0;
}
