@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Darker+Grotesque:wght@300..900&display=swap');

body {
	margin: 0;
	font-family: "Darker Grotesque";
	font-weight: 400;
	font-size: 1.2em;
}

.page-container {
	padding-bottom: 3em;
}

.hero {
	background-image: url(imgs/cover.jpg);
	background-size: cover;
	height: 100vh;
	background-position: center center;
}

header {
	display: flex;
	padding: 1em 2em 2em;
	position: sticky;
	top: 0px;
	background: white;
	z-index: 999;
	height: 30px;
}

nav ul {
	display: flex;
	list-style: none;
}

nav li {
	padding: 1em;
	font-family: "Darker Grotesque", serif;
  	font-weight: 400;
  	font-size: 1.2em;
  	line-height: 18px;
  	color: #253B3E;
    line-height: 18px;
    padding-top: 0;}

h1 {
	font-family: "Cormorant Garamond", serif;
	font-weight: 700;
	color: #253B3E;
	line-height: 0px;
}

a {
	text-decoration: none;
	color: #253B3E;
}

.grid {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(300px, 1fr) );
	margin: 0 auto;
	max-width: 80%;
	grid-gap: 2em;
}

.cell img {
	max-width: 100%;
}

.cell {
  width: 100%;
  position: relative;
  transition: .5s;
}

.cell:hover .caption {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: .5s;
}

.caption {
  background: rgba(0,0,0,.6);
  color: white;
  padding: 1em;
  position: absolute;
  top: 0;
  bottom: 3px;
  left: 0;
  right: 0;
  display: none;
  box-sizing: border-box;
  margin: 0;
  width: 100%;
}

h3 {
	font-family: "Darker Grotesque", serif;
	font-size: 2em;
	font-weight: 900;
	text-align: center;
}

.caption p {
	font-family: "Darker Grotesque", serif;
	font-weight: 300;
	font-size: 1.5em;
}

.bio-container {
	max-width: 900px;
	margin: 0 auto;
}

.address {
	line-height: 8px;
}

.first {
	font-family: "Cormorant Garamond", serif;
	font-weight: 700;
	font-size: 2em;	
}

.cv-head {
	text-align: left;
	font-size: 1.2em;
	margin-top: 2em;
}

h4 {
	margin-bottom: -5px;
}

nav a {
	text-decoration: none;
}

main {
	max-width: 80%;
	margin: 0 auto;
	padding-bottom: 4em;
}

main.patterns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 3em;
}

main.diplomas {
	max-width: 70%;
	margin: 0 auto;
	padding-bottom: 4em;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

main img {
	max-width: 600px;
}

.head-shot {
	max-width: 250px;
	float: left;
	margin-right: 2em;
}

.travel-text {
	grid-row: 1/3;
}

.salt-text {
	grid-row: 1/3;
}

.collage {
/*	grid-row: span 2;*/
}

.cutter {
	grid-row: span 3;
}

.warm-vid {
/*	grid-column: span 2;
	margin: 0 auto;
*/}

.patch-vid {
	display: flex;
	align-items: flex-start;
}

.travel-vid {
	display: block;
	margin: 0 auto;
	grid-column: span 2;
}

.last-vid {
	display: block;
	margin: 0 auto;
/*	grid-column: span 2;*/
}

.diploma-vid {
	max-width: 80%;
	display: block;
	margin: 2em auto;
}

.wall {
	grid-row: span 2;
}

.warm-text {
	grid-row: span 2;
}

.travel-hero {
	display: block;
	margin-top: 2em;
}

.patch-hero {
	display: block;
	margin-top: 2em;
}

.salt-hero {
	display: block;
	margin-top: 2em;
}

.last-hero {
	display: block;
	margin-top: 2em;
}

.warm-hero {
	display: block;
	margin-top: 2em;
}

.travel-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 2em;
	max-width: 90%;
	margin: 0 auto 2em;
}

.travel-grid img {
	max-width: 100%;
}

.nightmare {
	max-width: 500px;
}

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

	main.patterns {
		display: block;
	}

	main.diplomas {
		display: block;
	}

	header {
		display: block;
		height: 50px;
	}

	nav li {
		padding-left: 0;
		padding-bottom: 1em;
	}

	nav {
		padding: 0;
		margin-left: 0;
		padding-bottom: 1em;
	}

	.travel-grid {
		display: block;
	}

	.hero {
		height: 35vh;
	}

	main img {
		max-width: 100%;
	}

	.bio-container {
		padding: 1em;
	}

	.nightmare {
		max-width: 100%;
	}

	.travel-vid {
		max-width: 100%;
		margin-bottom: 1em;
	}

	.travel-hero {
		margin-bottom: 1em;
	}

	.last-vid {
		max-width: 100%;
	}

	.warm-vid {
		max-width: 100%;
	}

	.warm-hero {
		margin-bottom: 1em;
	}

	.diploma-vid {
		max-width: 90%;
	}

}
