/* HEADER STYLES */
.container > header {
	margin: 0 auto;
	padding: 2em 0 1em 0;
	width: 100%;
	text-align: right;
}

.nav-box {
	max-width: 1100px;
	margin: 0 auto;
}

.brand {
	font-family: 'DM Sans', Arial, sans-serif;
	font-weight: 700;
	font-size: 1.1em;
	float: left;
	letter-spacing: -.5px;
	text-decoration: none;
}

/* NAV STYLES */
.navigation {
	font-family: 'DM Sans', Arial, sans-serif;
	font-weight: 400;
	max-width: 94.5%;
	margin: 0 auto;
	padding: 1em 0;
	border-bottom: 1px solid #ddd;
}

.navigation a {
	color: #b3b9bf;
	text-align: right;
	text-decoration: none;
}

.navigation a:hover,
.navigation a.current-nav,
.navigation a.current-nav:hover {
	color: #2c3f52;
}

.nav-btn {
	padding: 0 0 0 1.75em;
	font-size: 1em;
	text-align: right;
}

.nav-icon {
	display: inline-block;
	font-size: 2.1em;
	margin: 0;
	padding: 0;
	color: #b3b9bf;
}

.nav-icon:hover {
	color: #626262;
}

/* HOME PAGE STYLES */
.grid {
	padding: 5px 20px 100px 20px;
	max-width: 1100px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.grid li {
	display: inline-block;
	width: 49.5%;
	margin: 0;
	padding: 10px;
	text-align: left;
	position: relative;
}

.grid figure {
	margin: 0;
	position: relative;
	border: 1px solid #ddd;
}

.grid figure img {
	width: 100%;
	display: block;
	position: relative;
}

.grid figure video {
	width: 100%;
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	background: #2c3f52;
	color: #ed4e6e;
}

.private figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	background: #b8193f;
	color: #ed4e6e;
}

.grid figcaption h3 {
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0;
	padding: 0;
	color: #fff;
}

.grid figcaption h4 {
	font-style: italic;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0;
	padding: 0;
	color: #fff;
}

.grid figcaption span:before {
	content: 'by ';
}

.grid figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 2px;
	display: inline-block;
	background: #ed4e6e;
	color: #fff;
}

/* FOOTER STYLES */

.project-footer {
	font-family: 'DM Sans', Arial, sans-serif;
	text-align: center;
	margin-bottom: 20px;
}

.footer-header {
	font-size: 1.25em;
	line-height: 1.5em;
	font-weight: 700;
}

.grid-more-projects {
	padding: 5px 20px 100px 20px;
	max-width: 950px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.grid-more-projects li {
	display: inline-block;
	width: 49.5%;
	margin: 0;
	padding: 10px;
	text-align: left;
	position: relative;
}

.grid-more-projects figure {
	margin: 0;
	position: relative;
	border: 1px solid #ddd;
}

.grid-more-projects figure img {
	width: 100%;
	display: block;
	position: relative;
}

.grid-more-projects figure video {
	width: 100%;
	display: block;
	position: relative;
}

.grid-more-projects figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	background: #2c3f52;
	color: #ed4e6e;
}

.grid-more-projects figcaption h3 {
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0;
	padding: 0;
	color: #fff;
}

.grid-more-projects figcaption h4 {
	font-style: italic;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0;
	padding: 0;
	color: #fff;
}

.grid-more-projects figcaption span:before {
	content: 'by ';
}

.grid-more-projects figcaption a {
	text-align: center;
	padding: 5px 10px;
	border-radius: 2px;
	display: inline-block;
	background: #ed4e6e;
	color: #fff;
}

.about-me-footer {
	max-width: 915px;
	margin: 0 auto 50px auto;
	padding: 20px;
	color: #626262;
	text-align: left;
}

.about-me-footer p {
	font-size: 1.05em;
	line-height: 1.65em;
}

.about-me-footer img {
	width: 100%;
	margin-top: 40px;
}

.about-me-column {
  float: left;
}

.about-me-left {
  width: 30%;
  height: 425px;
  padding-left: 50px;
}

.about-me-right {
  width: 70%;
  padding: 25px 50px 0px 35px;
  height: 425px;
}

.about-me-footer:after {
  content: "";
  display: table;
  clear: both;
}

.about-me-links {
	text-align: left;
}

.about-me-link {
	padding-right: 15px;
}

.copywrite {
	height: 30px;
	margin-bottom: 15px;
}

/* ABOUT */
.resume-date {
	font-style: italic;
	font-size: .9em;
	font-weight: 400;
	line-height: 1.75em;
	margin: -20px 0 0 0;
	color: #b3b9bf;
}

.resume-notes {
	font-weight: 400;
	font-size: 1.17em;
	line-height: 1.9em;
	color: #626262;
	text-align: left;
}

.resume-notes p {
	padding: 0 0 60px 0;
}


/* CAPTION ANIMATION */
.cs-style-3 figure {
	overflow: hidden;
}

.cs-style-3 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.cs-style-3 figure video {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-3 figure:hover img,
.cs-style-3 figure.cs-hover img {
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px);
}

.no-touch .cs-style-3 figure:hover video,
.cs-style-3 figure.cs-hover video {
	-webkit-transform: translateY(-50px);
	-moz-transform: translateY(-50px);
	-ms-transform: translateY(-50px);
	transform: translateY(-50px);
}

.cs-style-3 figcaption {
	height: 100px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
	font-family: 'DM Sans', Arial, sans-serif;
}

.no-touch .cs-style-3 figure:hover figcaption,
.cs-style-3 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-3 figcaption a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/* PROJECT STYLES */

.project-wrapper {
	font-family: 'DM Sans', Arial, sans-serif;
	padding: 0 10px 30px 10px;
	max-width: 100%;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.project-wrapper a:hover {
	cursor: pointer;
}

.note-box {
	width: 60%;
	position: relative;
	display: inline-block;
	margin: 60px auto 90px auto;
	max-width: 1010px;
}

.project-notes {
	font-weight: 400;
	font-size: 1.17em;
	line-height: 1.9em;
	color: #626262;
	text-align: left;
}

.project-notes p {
	padding-top: 10px;
}

.project-notes h5 {
	font-style: italic;
	font-size: .9em;
	font-weight: 400;
	line-height: 1.75em;
	margin-top: -20px;
	color: #b3b9bf;
}

.project-title {
	font-family: 'DM Sans', Arial, sans-serif;
	font-weight: 700;
	color: #626262;
	font-size: 2em;
	line-height: 1.25em;
	text-align: left;
	padding: 5px 0 0 0;
}

.project-visuals {
	margin: 0 10px 0 10px;
	display: inline-block;
	max-width: 1010px;
	text-align: center;
}

.project-visuals a {
	color:#b3b9bf;
}

.project-column {
  float: left;
}

.project-left {
  width: 48%;
  height: auto;
  margin-right: 40px;
}

.project-right {
	width: 48%;
  height: auto;
}

.project-img {
	max-width: 100%;
	display: block;
	position: relative;
	margin-bottom: 30px;
	border-radius: 8px;
}

.music-embed {
	width: 500px;
	height: 120px;
	display: block; 
	border: 0; 
	margin: 0 auto 30px auto;
	text-align: center;
}

/* Vertical Video Gallery */
	.padded-boxes {
		display: flex;
		flex-wrap: wrap;
		gap: 2rem;
	}

	.padded-boxes > * {
		width: 100%;
		border-radius: 8px;
	}

	.padded-boxes .padded {
		padding: .1rem 1rem;
	}

@media screen and (max-width: 80em) {

	.brand {
		font-size: 1.3em;
		margin-top: -4px;
	}	

	.project-wrapper {
		padding: 0 10px 30px 10px;
		max-width: 100%;
		margin: 0 auto;
	}

	.project-title {
		font-size: 2.15em;
		line-height: 1.25em;
	}

	.project-notes h3 {
		font-size: 1.5em;
		line-height: 1.5em;
	}

	.footer-header {
		font-size: 1.4em;
		line-height: 1.5em;
	}

	.project-visuals {
		max-width: 100%;
		margin: 0 auto;
		float: none;
	}

	.note-box {
		position: relative;
		width: 70%;
		margin: 20px auto 55px auto;
	}

	.project-notes {
		position: relative;
		margin: 0 auto;
	}

	.grid li {
		padding: 5px;
	}

	.about-me-footer {
		text-align: center;
		max-width: 100%;
		margin: 0px 67px 100px 67px;
	}

  .about-me-column {
    width: 100%;
    height: auto;
  }

  .about-me-left {
    padding: 50px 0 0 0;
  }

  .about-me-right {
    padding: 15px 80px 35px 80px;
  }

  .about-me-column img {
    float: none;
    width: 200px;
    margin: 0 auto;
  }

  .about-me-links {
		text-align: center;
	}

	.about-me-link {
		padding: 0 9px 0 9px;
	}

	.back-to-top {
		text-align: center;
	}

	.home-btn {
		text-align: left;
	}
}

@media (max-width: 60em) {
	.brand {
		width: 100%;
		font-size: 1.75em;
		margin: 0 auto;
		padding: 0;
		float: none;
	}	

	.navigation-mobile {
		margin: 0 auto;
		padding: 0;
		text-align: center;
	}

	.nav-icons-mobile {
		width: 100%;
		margin: 0 auto;
		text-align: center;
		padding: 0;
	}

	.nav-icons-mobile ul{
		padding: 0;
	}	

	.nav-icons-mobile li{
		list-style-type: none;
    display: inline;
    text-align: justify;
    padding: 0;
	}	

	.about-me-footer {
		text-align: center;
		max-width: 100%;
		margin: 0px 0px 100px 0px;
		padding: 20px 10px 20px 10px;
	}

  .about-me-column {
    width: 100%;
  }

	.about-me-footer p {
		font-size: 1.05em;
		line-height: 1.65em;
	}

  .about-me-column img {
    float: none;
    width: 200px;
    margin: 0 auto;
  }

   .about-me-left {
    padding: 50px 0 0 0;
  }

  .about-me-right {
    padding: 15px 30px 25px 30px;
  }

	.grid {
		padding: 10px 10px 100px 10px;
	}

	.grid li {
		width: 100%;
		min-width: 300px;
	}

	.grid-more-projects {
		padding: 10px 10px 100px 10px;
	}

	.grid-more-projects li {
		width: 80%;
		min-width: 300px;
	}

	.note-box {
		position: relative;
		width: 85%;
	}

	.video-notes {
		margin: -20px auto 10px auto;
	}

	.project-notes {
		position: relative;
		margin: 0 auto;
	}

	.project-title {
		padding: 0;
		margin-top: 10px;
	}

	.music-embed {
		width: 90%;
	}

	.full-header {
		display: none;
	}

	.mobile-header {
		display: inital;
	}

	.note-box-mobile {
		position: fixed;
		display: inline-block;
		text-align: left;
	}

	.navigation-mobile {
		font-family: 'DM Sans', Arial, sans-serif;
		font-weight: 400;
		max-width: 94.5%;
		margin: 0 auto;
		padding: 1em 0;
		border-bottom: 1px solid #ddd;
	}

	.navigation-mobile a {
		color: #b3b9bf;
		text-align: right;
		text-decoration: none;
	}

	.navigation-mobile a:hover {
		color: #2c3f52;
	}

	.nav-btn-mobile {
		padding: 0 10px 0 10px;
	}
}

@media (min-width: 60em) and (max-width: 6000px) {
	.mobile-header {
		display: none;
	}
}

@media screen and (max-width: 6000px) {
	.project-wrapper {
		max-width: 1100px;
}

/* MODAL WINDOW STYLES */
.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99999 !important;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0 !important;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}

.modal-content {
  position: relative;
  background: #f9f9f9;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

.modal-img {
	max-width: 95%;
	margin-top: 15px;
	margin-bottom: 15px;
	border-radius: 8px;
}

.modal-p {
	font-family: 'DM Sans', Arial, sans-serif;
	font-weight: 400;
	font-size: 1.15em;
	line-height: 1.8em;
	color: #626262;
	text-align: left;
	margin: 0 auto;
	padding-top: 30px;
	width: 85%;
}

.modal-open .modal,.btn:focus{
    outline: none !important
}

:focus{
	outline: none !important;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}

.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}

.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5;
}

.modal-header {
  min-height: 16.42857143px;
  padding: 15px;
  border-bottom: none !important; 
}

.modal-header .close {
  margin-top: -30px;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
}

.modal-body {
  position: relative;
  padding: 15px;
}

.modal-footer {
  width: 100%;
  margin: -10px auto 0 auto;
  text-align: right;
  border-top: none !important; 
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.modal-btn {
	background: #f9f9f9;
	height: 40px;
	border: 1.75px solid grey;
	border-radius: 3px;
	margin: 0 0 100px 0;
	padding: 3px 20px 3px 20px;
	font-family: 'DM Sans', Arial, sans-serif;
	font-weight: 700;
	font-size: 1em;
	line-height: 1.7em;
	color: #626262;
	/*float: right;*/
}

.modal-btn:hover {
	background: #2c3f52;
	cursor: pointer;
	color: #FFF;
	border: 1px solid #FFF;
	border-radius: 3px;
}

.modal-close {
	text-align: center;
	background: #f9f9f9;
	height: 40px;
	border: 1.75px solid grey;
  border-radius: 3px;
	margin: 0 0 30px 0;
	padding: 3px 20px 3px 20px;
	font-family: 'DM Sans', Arial, sans-serif;
	font-weight: 700;
	font-size: 1em;
	line-height: 1.7em;
	color: #626262;

}

.modal-close:hover {
	background: #2c3f52;
	cursor: pointer;
	color: #FFF;
	border: 1px solid #FFF;
	border-radius: 3px;
}

input {
    -webkit-appearance: none;
    border-radius: 0;
}

@media (min-width: 768px) {
  .modal-dialog {
    max-width: 1300px;
    margin: 30px auto;
  }
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }
  .modal-sm {
    width: 300px;
  }

  .padded-boxes > * {
  	width:calc((100% - 4rem) / 3);
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}
