@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500&family=Open+Sans:wght@400;500&display=swap');
/* CSS Document */


* {
	box-sizing: border-box;
}


html {
  background-color: #333;
}

html, body {
  min-height: 100%;
}

body {
  overflow-x: hidden; /* avoids white slivers during subpixel layout/scroll */
}

body {
	background-color:#333;
	color: #999;
	font-family: "Lora", serif;
	font-size: 1em;
	line-height: 1.6;
	margin: 0 auto;
	width: 95%;
}

#nav {
	float: left;
	width: 15%; 
	margin-top: 1em;
	font-family: "Cormorant Garamond", serif;
	font-size: 1.2em;
	line-height: 1.3;
}

#nav ul {
	padding-left:1em;
	margin-right:1%;	
}

#nav ul li {
	list-style-type:none; 
	padding-bottom:0.3em;
}

#nav ul ul {
	padding-top:.5em;
	padding-left:1em;	
}

img {
	max-width:100%;
	display:block;
}

.gallery {
	float:left;
	width:85%; 
	margin-top: 1em;
}

ul.gallery {
	list-style-type:none; 
	padding:0;
}

ul.gallery li {
	float: left;
	padding: 0.5em;
	width:32%;
}

.clear:after{
	content:' ';
	clear:both;
	display:block;	
}

a {
	text-decoration: none;
	color: white;	
}

a:visited {
    color: white;
}

a:hover {
	color:#ccc;
}

a:active {
    color:white;
}

#nav #iamhere a, 
#nav #iamhere a:hover {
  	color:#ccc;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --- About Page Styles --- */
#about {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  line-height: 1.6;
  margin-top: 2.5em;
}

#about img {
  width: 45%;
  height: auto;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  border-radius: 2px;
}

#about .about-text {
  width: 55%;
  padding-top: 1.5em;
}

#about p {
  max-width: 950px;
  margin-bottom: 1.6em;
  font-size: 1.05em;
  color: #bbb;
  line-height: 1.6;
}

#about a {
  color: #ddd;
  font-weight: 500;
  border-bottom: 1px solid rgba(221, 221, 221, 0.3);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

#about a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

#about .name-highlight {
  font-size: 1.15em;
  color: #ccc;
  font-weight: 600;
}

@media (min-width: 2700px) { 
	ul.gallery li {
		width:25%;
	}
}

@media (max-width: 1280px) { 
	ul.gallery li {
		width:50%;
	}
	body {
		width:96%;
	}
}


@media (max-width: 950px) { 
	ul.gallery li {
		width:95%;
		margin-left:5%;
	}
	#nav {
		width:20%;
	}
	.gallery {
		width:80%;
	}
}


@media (max-width: 900px) {
  #about {
    flex-direction: column;
  }

  #about img,
  #about .about-text {
    width: 100%;
  }
}

@media (max-width: 750px) { 
	#logo {
		width:15%;
	}
	
	#nav {
		width:100%;
		padding-left:5%;
		margin-bottom:1em;
	}
	
	.gallery {
		width:100%;
		padding:0;
		margin:0;
	}
	
	#nav ul{
		margin-bottom:0;
	}

	ul.gallery li {
		width:100%;
		padding:0 0 1em 0;
		margin:0;
	}
	
	body {
		width:85%;
	}
	
}