html, body{
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-family: 'Nunito Sans', sans-serif;

}
.font-demi{
	font-weight: 400;
}
.font-thin{
	font-weight: 600;
}

a{
	text-decoration: none;
	color: black;
	padding: 6px 6px 2px;
}
a.title-item:hover, a.nav-item:hover{
	background-color: rgb(80,80,80);
	color: white;	
}

a.project-item-link:hover{
    text-decoration: underline;
}

/*-----Page Container-----*/
.page-container{
	position: relative;
	max-width: 1080px;
	width: 80%;
	margin: 50px auto;
}

/*-----Title Container-----*/
.title-container{
	margin-bottom: 12px;
	font-size: 1.5em;
	cursor: default;
}
.title-item{
	padding: 10px 6px 4px;
	margin-top: 4px;
	margin-right: 20px;
	user-select: none;
}
#home:hover{
	background-color: rgb(80,80,80);
	color: white;	
}

.bg-img-container{
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
}

/*-----Landing Links-----*/
.landing-links-container{
	margin: 0; 
	display: inline-block;
	font-size: 2vw;
	user-select: none;	
}
.landing-link{
	cursor: default;
	display: inline;
	padding: 4px 0 0 0;
	margin: 0 1px;
	color: rgb(225,225,225);
	user-select: none;
}
.landing-link:hover{
	background-color: rgb(80,80,80);
	color: white;	
}
.landing-link-hovered{
/*	background-color: rgb(80,80,80);*/
	color: white;	
}
.landing-link-hovered:hover{
	background-color: white;
	color: white;	
}
.landing-link-special{
	cursor: pointer;
	display: inline;
	padding: 4px 0 0 0;
	margin: 0 1px;
}
#projects-home{
	background-color: white;
	/*color: rgb(255,85,85);*/
	color: black;	
}
#projects-home:hover{
	/*background-color: rgb(255,85,85);*/	
	background-color: rgb(80,80,80);
	color: white;
}
#teaching-home{
	background-color: white;
	/*color: rgb(20,215,60);*/
	color: black;	
}
#teaching-home:hover{
	/*background-color: rgb(20,215,60);	*/
	background-color: rgb(80,80,80);	
	color: white;
}
#info-home{
	background-color: white;
	/*color: rgb(90,110,235);*/
	color: black;		
}
#info-home:hover{
	/*background-color: rgb(90,110,235);*/
	background-color: rgb(80,80,80);	
	color: white;
}



/*-----Nav Container-----*/
.nav-container{
	margin-top: 5px;
	margin-left: 2px;
}
ul.no-indent{
	margin: 0;
	padding: 0 0 0 2px;
}
li{
	list-style: none;
}
.nav-item{
	padding: 6px 6px 4px;
	margin-top: 4px;
	margin-right:12px;
	user-select: none;
}

.underline{
	border-bottom: 1px solid rgb(80,80,80);		
}
.red-underline{
	border-bottom: 1px solid rgb(255,85,85);	
}
.green-underline{
	border-bottom: 1px solid rgb(20,215,60);
}
.blue-underline{
	border-bottom: 1px solid rgb(90,110,235);	
}

.selected-item{
	/*text-decoration: underline;*/
	border-bottom: 1px solid rgb(0,0,0);
}
.hover-item:hover{
	background-color: rgb(80,80,80);
	color: white;
	/*background-color: rgb(245,245,245);*/
	cursor: default;
}

/*-----Content Container-----*/
.content-container{
	position: absolute;
	top: 90px;
	width: 96%;
	left: 2%;
	margin-bottom: 30px;
}
.title-edu{
	margin: 30px 0 10px;
}
.text-contact{
	margin-bottom: 20px;
}
.text-about{
	font-size: 0.85em;
	font-weight: 300;
	margin-bottom: 20px;
}
.text-bio{
	text-align: justify;
}
.content-list-item{
	margin: 0 0 4px 14px;
	padding-bottom: 1px;
}
.content-list-item a{
	padding-bottom: 3px;
}

.content-list-item a:hover{
	background-color: rgb(80,80,80);
	color: white;	
}
.content-image-wide{
	width: 85%;
	display: block;
	margin: 5px auto;
}

/*-----Project Item Page-----*/
.project-item{
	margin: 10px 2.2% 0px;
	display: inline-block;
	width: 20%;
	text-align: center;
	font-size: 0.85em;
}
.project-item-description{
	font-size: 0.85em;
	margin-top: 5px;

/*	margin-bottom: 20px;*/
}

.project-item-description:hover{
}

.project-item-thumb{
	display: block;
	width: 100%;
}
.project-item-link:hover{
/*	background-color: rgb(255,255,255);
	color: black;*/
}


/*-----Projects--------*/
iframe{
	display: block;
	margin: 20px auto;
}
.project-title{
	font-size: 1.5em;
	text-align: center;
	margin-top: 50px;
}
.project-post{
	text-align: justify;
	max-width: 640px;
	margin: 20px auto 40px;
}
.project-link-external{
	text-decoration: underline;
	padding: 0;
}

.project-link-external:hover{
	background-color: rgb(80,80,80);
	color: white;
}

.project-link-external img:hover{
	text-decoration: none;
}
.project-post-img{
	width: 80%;
	display: block;
	margin: 5px auto;
}
.native-img{
	display: block;
	margin: 5px auto;	
}
.project-post-img-description{
	text-align: center;
	font-size: 0.75em;
	margin-top: -15px;
}

.project-post-list{
	list-style-type: disc;
}


/*-----Info Page-----*/
.space-top{
	margin-top: 20px;
}

/*-----Media Queries-----*/
@media (min-width: 1300px){
	#links-container{
		width: 1086px;
		margin: 0 auto;
	}
	.landing-links-container{
		font-size: 28px;
	}

}

@media (max-width: 1086px){
	.project-item-description{
		font-size: 0.7em;

	}
}

@media (max-width: 960px){
	.project-item{
		width: 28%;
	}
}

@media (max-width: 855px){
/*	#links-container{
		width: 100%;
	}
*/	.landing-links-container{
		font-size: 2.7vw;
	}
}

@media (max-width: 800px) {
	.content-list-item a{
		padding: 6px 6px 3px 0;
	}
	.nav-container{
		margin-top: 5px;
	}
	.nav-item {
		display: inline;
		font-size: 0.8em;
	}
	.content-container{
		position: absolute;
		left: 5%;
		width: 90%;
		font-size: 0.8em;
		margin-bottom: 40px;
	}
	.project-item-description{
		font-size: 0.85em;
	}	
}


@media (max-width: 760px) {
	.project-item{
		width: 44%;
	}
	.project-item-description{
		font-size: 1em;
	}	
}


@media (max-width: 639px) {
	.content-container{
		top: 80px; 
	}
	#content-projects{
		margin-top: 30px;
	}
	.project-item{
		margin-top: -8px;
	}
  iframe {
  	width: 80%;
  }
}

@media (max-width: 480px) {
/*	.project-list{
		margin-top: 8px;
	}*/

	.project-item-description{
		font-size: 0.75em;
	}

}
