@charset "UTF-8";
/* CSS Document */

/*
html{font-size:80%;} 
@media(min-width:60em){html{font-size: 200%}}
*/ 

html {
	font-size: calc(15px + 0.390625vw);
	line-height: 1.5;
	font-family: "kandal", Georgia;
	margin: 0px;
	padding: 0px;
}

nav p{
	text-align: left;
	margin-top: 0;
}

main {
	margin: 35px auto;
	width: 80%;
	}
	
main.about {
	width: 55%;
}

main.projects {
	width: 90%;
}

h1{
	font-weight: normal;
	line-height: 1;
	font-size: 1.5rem;
}

h2 {
	font-size: 1.1rem;
}

h2.essay{
	font-weight: normal;
	line-height: 1;
	font-size: 1;
}

h3 {
	font-size: 1rem;
}

.epigraph {
	margin: 0% 10%;
	padding-left: 15px;
	border-left: 1px solid gray;
}

li{
  margin: 8px 0;
}

ul.main {
	padding-left: 20px;
}

ul {
	padding-left: none;
}

img {
  width: 100%;
  padding-bottom: 6px;
}

img.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.projects {
    opacity:1;
    transition: opacity .4s ease;
}

img.projects:hover
{
  opacity:.7;
  transition: opacity .2s ease;
  -moz-transition: opacity .2s ease;
  -webkit-transition: opacity .2s ease;
  -o-transition: opacity .2s ease;
}

figure {
	width: 100%;
	margin: 0px;
}

figcaption {
	font-size: .9rem;
	text-align: center;
	padding-bottom: 10px;
	line-height: 1.2;
}

footer p{
	text-align: center;
}
		
a:link {
	color: black;
	transition: color .2s ease-out;
}

.biblio a:link {
	text-decoration: underline;
	font-weight: normal;
}

a:visited {
	color: black;
}

a:hover {
	color: #bac2d1;
	text-decoration-color: #bac2d1;
	text-decoration-offset: 2px;
	transition: color .1s ease-out;
}

a.backbutton:link {
	text-decoration: none;
	font-size: 1.2rem;
	font-style: italic;
	font-weight: bold;
	transition: color .2s ease-out;
}

a.backbutton:hover {
	color: #bac2d1;
 	transition: color .1s ease-out;
    -moz-transition: color .1s ease-out;
    -webkit-transition: color .1s ease-out;
    -o-transition: color .1s ease-out;
}

a.backbutton:visited {
	text-decoration: none;
}

a.visit {
	background-color: #ffff99;
}


.video-container {
		    overflow: hidden;
		    position: relative;
		    width:100%;
		}

.video-container::after {
		    padding-top: 56.25%;
		    display: block;
		    content: '';
		}

.video-container iframe {
		    position: absolute;
		    top: 0;
		    left: 0;
		    width: 100%;
		    height: 100%;
		}

img.singleimage1 {
	max-width: 40%;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

img.singleimage2 {
	max-width: 60%;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

img.singleimage3 {
	max-width: 70%;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

img.white {
	border: 1px dotted #d1d1d1;
}

#padded-description {
	padding: 0px 50px;
}

.flex-container {
	display: flex;
}
	 
/* phone stuff */
		
@media only screen and (max-width:640px) {
	
	main {
		width: 95%;
		margin: auto;
	}
	
	main.projects {
	width: 100%;
	margin: 0px;
	}
	
	main.about {
	width: 95%;
	}
	
	h1 {
		line-height: 1.2em;
		font-size: 23px;
		text-align: center;
	}
	
	.epigraph p{
		line-height: 1.4em;
	}
	
	footer p{
	    font-size: 18px;
		text-align: center;
	}
	
	a.backbutton:link {
		text-decoration: none;
		font-size: 16px;
		font-style: italic;
		color: black;
		font-weight: bold;
	}
	
	.satellitelandscape img {
		padding: 20px 0px;
	}
	
 	img.singleimage1, img.singleimage2, img.singleimage3 {
 		max-width: 100%;
 	}
	
	.flex-container { 
		flex-wrap: wrap;
	}
	
	.nav-item{ 
		flex-wrap: nowrap;
	}
	

	.flex-container div {
		width: 100%;
			  
	}
		
	#padded-description {
			padding: 0px;
		}
}
 	
}
