:root {
	--cd-link: #333;
	--cd-titleRed: #d00;
	--cd-code: #f0f3f3;
	--cd-math: #f3f3f0;
}

html {
	font-size: 100%;
}

* {
	margin: 0;
	padding: 0;
}

img {
  width: 100%;
  height: auto;
}

p {
  margin-top: 0.4em;
}

a {
	text-decoration: none;
}

body {
}

#k {color: #333;}
#g {color: #999;}
#s {color: #333;}
#p {color: #ddd;}
#f {color: #d00;}
#t {color: #222;}

.name {
	padding: 3em;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 2.5em;
}

.title {
	width: 100%;
	text-align: center;
	font-family: 'Roboto Condensed', sans-serif;
	color: black;
	font-size:4em;
}

.what {
	padding: 5em;
	font-family: Roboto, sans-serif;
	font-size: 1.5em;
}

.top {
	box-shadow: 0 5px 5px #aaa;
	padding-bottom: 1em;
}


.backhome {
	display: block;
	padding: 1em;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1.5em;
}

.pageTitle {
	width: 100%;
	height: 3em;
}

.titleText {
	float: right;
	margin-right: 3rem;
	font-family: 'Roboto Condensed', sans-serif;
	color: black;
	font-size:2.5em;
}

hr.underTitle {
	margin-right: 3rem;
	width: 50%;
	float: right;
}

/* Add a black background color to the top navigation */
.topnav {
	margin-top: 2rem;
	width: 100%;
	background-color: white;
	font-family: Roboto, sans-serif;
	overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: var(--cd-link);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Add an active class to highlight the current page */
.active {
  color: #d00;;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: var(--cd-link);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* change styling on topnav links and the dropdown button on hover */
.topnav a:hover, .dropdown:hover .dropbtn {
	color: #999;
}

/* change styling on topnav links and the dropdown button on hover */
.topnav a:active, .dropdown:active .dropbtn {
	color: var(--cd-titleRed);
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #555;
  color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

.main {
	margin-bottom: 4rem;
}

.main .left {
	width: 20%;
	min-height: 100px;
	float: left;
}

.main .content {
	width: 75%;
	min-height: 100px;
	margin-left: 20%;
}

.code {
	width: 90%;
	margin: 2rem auto;
	background-color: var(--cd-code);
	/* prevent margin collapse */
	overflow: auto;
}

pre {
	margin: 2rem;
}

.math {
	width: 90%;
	margin: 2rem auto;
	background-color: var(--cd-math);
	overflow: auto;
}

.math .inside {
	margin: 2rem;
	font: 1rem Arial;;
}

.eqn {
	font-family: 'Old Standard TT', serif;
}

.entry {
	margin-top: 4rem;
}

.entry .title {
	text-align: left;
	font-weight: bold;
	font-size: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid black;
}

.entry .subtitle {
	margin-top: 2rem;
	width: 100%;
	font-size: 1.2rem;
	font-family: Roboto;
}

.entry .subsubtitle {
	margin-top: 2rem;
	width: 95%;
	font-size: 1.2rem;
	font-family: Roboto;
}

.entry .picture {
	position: relative;
	width: 90%;
	padding-top: 56.25%;
 	margin: 0 auto;
	background-color: #f0f3f3;
}

.entry .jpg {
	position: absolute;
	top: 9%;
}

.entry .animgif {
	position: absolute;
	top: 16%;
	left: 10%;
	bottom: 16%;
	right: 10%;
}

.entry .text {
	width: 90%;
	margin: 2rem auto;
	font: 1rem Arial;
	line-height: 1.5;
}

.entry .vimeo {
	width: 90%;
	margin: 2rem auto;
}


@media screen and ( max-width:700px ) {

	html {
		font-size: 62.5%;
	}
	
	.main .left {
		display: none;
	}
	
	.main .content {
		width: 90%;
		margin: 0 auto;
	}
}


/* mobile break point, more or less */

@media screen and ( max-width:420px ) {
}