/*-----------------------------------------------------------------------------
Primary Mouse & the Billionaire Style Sheet

version:   5.0
author:    Mouse & the Billionaire
email:     matt@mouseandthebillionaire.com
website:   http://www.mouseandthebillionaire.com
-----------------------------------------------------------------------------*/

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Calistoga&family=Montserrat&display=swap');

/* Color of the Day Variables - These will be dynamically set by PHP */
:root {
    --cotd-hex: #435E55; /* Default fallback color */
    --cotd-name: "Hunter Green";
    --cotd-pantone: "19-5511 TPG";
    /* Monotone filter values - these will be calculated by PHP */
    --cotd-hue: 180deg; /* Default hue rotation */
    --cotd-saturation: 300%; /* Default saturation */
}

/* Page Styles */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

article, aside, figure, footer, header, hgroup, nav, section {
	display:block;
}

html, body, body div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header, 
hgroup, menu, nav, section,
time, mark, audio, video, a {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent none no-repeat 0 0;
  font-weight: normal;
}

#pageContainer {
	background: #fff;
}

body {
	background:#fff;
	line-height:1.35em;
	font-size: 120%;
	font-family: 'Montserrat', sans-serif;
	width:auto; 
	height:auto;
	min-height: 800px;
	min-width: 640px;
	color: #7d7d7b;	
	position: relative;
}

a {
	color: #e8709e;
	text-decoration: none;
}

a:hover {
	color: #48676E;
}

@-webkit-keyframes le-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes le-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

header {
	background-image: url(../images/header_bg.jpg);
	height: 575px;
	width: 100%;
	text-align:center;
	padding: 0px;
	margin: 0px;
	position: fixed;
	-webkit-animation: le-fade .5s 0 1 ease-out;
	-moz-animation: le-fade .5s 0 1 ease-out;
	filter: grayscale(100%) sepia(100%) hue-rotate(calc(var(--cotd-hue))) saturate(calc(var(--cotd-saturation)*1.5)) brightness(.9) contrast(.9);
}

header h1 {
	background: url(../images/logo_lg.png) no-repeat;
	height: 600px;
	width: 418px;
	margin-left: auto;
	margin-right: auto;
	position:relative;
	top: 200px;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	-webkit-animation: le-fade .5s 0 1 ease-out;
	-moz-animation: le-fade .5s 0 1 ease-out;
}

#mainNav {
	background-image:
		-webkit-linear-gradient(
			270deg,
			rgba(0,0,0,.01) 0,
			rgba(0,0,0,.06) 50%,
			rgba(0,0,0,.3) 91.25%,
			rgba(0,0,0,1) 91.7%,
			rgba(255,255,255,1) 91.75%,
			rgba(50, 50, 50, 50) 92%
		);
	width: 100%;
	height: 620px;
	text-align: right;
	clear:both;
	position: relative;
}

#mainNav ul {
	margin: auto;
	max-width: 980px;
	position: relative;
	top: 570px;
	padding-right: 40px;
	float: right;

}

#mainNav li {
	display: inline;
	padding-left: 10px;
	text-transform: uppercase;
	font-family: "Futura" "Helvetica" "Arial" sans-serif;
	font-size: 100%;
	color: #fff;
	position: relative;
	top: 15px;
}

#mainNav a {
	text-decoration: none;
	color: #999;
	padding-bottom: 15px;
}

#mainNav li a:hover {
	color: #fff;
	border-bottom: thick solid #ffffff;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

/* Gallery */

.project {
	width: 100%;
	height: 100%;
	margin: 0;
	position: relative;
	overflow: hidden;
}

.project img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	box-shadow: 0 4px 12px rgba(0,0,0,1);
	transition: all 0.3s ease;
	filter: grayscale(100%) sepia(100%) hue-rotate(calc(var(--cotd-hue))) contrast(.8);

}

.project .description h3 {
	font-size: clamp(1em, 2vw, 1.2em) !important;
	font-weight: 600;
	margin-bottom: 0.5em;
	line-height: 1.1;
	color: #e8709e;
	padding-bottom: 0;
}

.project .description p {
	font-size: clamp(0.7em, 1.5vw, 0.9em);
	text-align: left;
	margin-bottom: 1em;
	line-height: 1.1;
	padding-top: 0;
	color: white;
	text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}



/*---------------------------------
/* Interior Fixes
/*---------------------------------*/

.interior #mainNav {
	background-image:-webkit-linear-gradient(180deg, #000, #333);
	height: 50px;
}

.interior #mainNav ul {
	top: 0px;
	float: right;
}

#mainNav h1 {
	font-family: "Futura" "Helvetica" "Arial" sans-serif;
	text-transform: uppercase;
	float: left;
	padding-top: 12px;
	padding-left: 50px;
}

#mainNav h1 a {
	text-decoration: none;
	color: #666;
}

#mainNav h1 a:hover {
	color: #fff;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	
}

/* Main */

#main {
	position: relative;
	padding: 30px 30px 50px 50px;
	min-height: 600px;
	background: #fff;
	text-align: center;
}

#catNav {
	text-align: center;
	height: 20px;
	padding-bottom: 30px;
}

#catNav ul {
	margin: auto;
	max-width: 980px;
}

#catNav li {
	display: inline;
	text-transform: uppercase;
	font-size: 80%;
}

#catNav a {
	text-decoration: none;
	color: #999;
	background: #f3f3f3;
	margin: 0 10px 0 10px;
	padding: 3px 12px 4px 12px;
	border-radius: 2px;
}

#catNav a:hover {
	background: #94b9be;
	color: #fff;
	-moz-transition: all 0.2s ease;
	/* WebKit */
	-webkit-transition: all 0.2s ease;
	/* Opera */
	-o-transition: all 0.2s ease;
	/* Standard */
	transition: all 0.2s ease;
}

/* Page Content */

#content {
	text-align: center;
	height: 100%;
	width: 100%;
	float: left;
	padding-bottom: 100px;
}

.section {
	clear: both;
}


/* Work */

#content h2, h3 {
	font-family: 'Calistoga', serif;
	font-weight: 100;
	/*float: left;*/
	width: 100%;
	text-align: left;
	padding-bottom: 50px;
	padding-top: 50px;
	color: #15343B;
	font-size: 500%;
	line-height: .9em;
}

#content h2 {

}

#content h3 {
	font-size: 24pt;
	width: 100%;
	clear: both;
	clear: left;

}

#content h2 a, #content h3 a {
	color: #000;
}

#content h2 a:hover, #content h3 a:hover {
	color: #e8709e;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
	
}

#content ul {
	position: relative;
	padding-top: 5px;
	float: left;
	overflow: hidden;
	clear: both;
	width: 100%;
}

.workFocus {
	font-size: 100%;
	text-align: left;
	height: 100%;
	clear: both;
	padding-bottom: 50px;


}

.back {
	float: right;;
	position: relative;
	top: -30px;
	text-transform: uppercase;
	margin-bottom: -30px;
}


.workFocus .description {
	padding-top: 30px;
	padding-bottom: 10px;
	align-content: center;
/*
	-moz-column-width: 350px; 
	-webkit-column-width: 350px;
	-moz-column-gap: 2em; 
	-webkit-column-gap: 2em;
*/


}

.workFocus .moreInformation {
	font-size: 90%;
}

.workFocus p {
	padding-bottom: 20px;
	font-size: 110%;
	line-height: 150%;
	max-width: 750px;
}

.workFocus .description p:first-child {
	font-size: 130%;
}

.recordings .album .recDescription p {
	font-size: 110%;
}

.workFocus li {
	margin-left: 20px;
}

#gallery {
	clear: both;
}

#gallery li {
	display: inline;
	text-decoration: none;
	padding-left: 10px;
	margin-bottom: 50px;
}

.mixtape li {
	margin-left: -10px;
}

.tracks li {
	position: relative;
	left: 15px;
}

/* Work Gallery - Responsive 5-Column Grid */

#gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2px;
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  padding: 20px;
}

@media (min-width: 500px) {
  #gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 700px) {
  #gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1000px) {
  #gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1200px) {
  #gallery {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Grid item sizing based on data attributes */
.grid-item[data-grid-width="1"] {
	grid-column: span 1;
}

.grid-item[data-grid-width="2"] {
	grid-column: span 2;
}

.grid-item[data-grid-width="3"] {
	grid-column: span 3;
}

.grid-item[data-grid-width="4"] {
	grid-column: span 4;
}

.grid-item[data-grid-width="5"] {
	grid-column: span 5;
}

.grid-item[data-grid-height="1"] {
	grid-row: span 1;
	height: 250px;
}

.grid-item[data-grid-height="2"] {
	grid-row: span 2;
	height: 520px;
}

.grid-item[data-grid-height="3"] {
	grid-row: span 3;
	height: 790px;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
	#gallery {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.grid-item[data-grid-width="5"] {
		grid-column: span 4;
	}
}

@media (max-width: 900px) {
	#gallery {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.grid-item[data-grid-width="4"],
	.grid-item[data-grid-width="5"] {
		grid-column: span 3;
	}
}

@media (max-width: 700px) {
	#gallery .project .description h3 {
		margin-bottom: 0.3em;
	}
	
	.project .description p {
		margin-bottom: 0.8em;
	}
	
	.project .description a {
		margin-bottom: 0.8em;
	}
}

@media (max-width: 1000px) {
  #gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 200px !important;
    gap: 10px !important;
    padding: 0 5px !important;
  }
  .grid-item[data-grid-height="2"] {
    height: 420px !important;
    grid-row: span 2 !important;
  }
  .grid-item[data-grid-height="1"] {
    height: 200px !important;
    grid-row: span 1 !important;
  }
  .project.grid-item {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    display: block;
    box-sizing: border-box;
  }
  .project.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .description {
    padding: 10px 0;
    font-size: 1.1em;
  }
}


@media (max-width: 400px) {
	#gallery {
		grid-template-columns: 1fr;
		grid-auto-rows: 250px;
		padding: 10px;
	}
	
	.grid-item[data-grid-width="2"],
	.grid-item[data-grid-width="3"],
	.grid-item[data-grid-width="4"],
	.grid-item[data-grid-width="5"] {
		grid-column: span 1;
	}
	
	.project .description {
		padding: 12px;
	}
	
	.project .description h3 {
		font-size: 0.9em;
		margin-bottom: 0.25em;
	}
	
	.project .description p {
		font-size: 0.78em !important;
		margin-bottom: 0.6em;
	}
	
	.project .description a {
		font-size: 0.78em !important;
	}
}

/* Inner Image Gallery */

.projectGallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 0;
  margin-bottom: 50px;
  list-style: none;
  margin-left: 0;
}

.projectGallery > li {
  break-inside: avoid;
  margin-bottom: 0;
  width: 100%;
}

.projectGallery li img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  vertical-align: middle;
}

/* Responsive breakpoints for the gallery */
@media (max-width: 768px) {
  .projectGallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px 0;
  }
  
  .projectGallery li img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .projectGallery {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }
  
  .projectGallery li img {
    height: 180px;
  }
}

/* Legacy responsive fallback */
@media (max-width: 700px) {
  .projectGallery {
    column-count: 1;
  }
}

.piece p {
	width: 80%;
	padding-left: 20px;
	padding-top: 10px;
	font-size: 75%;
}

.project:hover img {
	box-shadow: 0 8px 25px rgba(0,0,0,0.25);
	/* Remove monotone filter on hover to show original colors */
	filter: none;
}


.project img {
	border: none;
}

.project .description {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
	border: none;
	opacity: 0;
	-webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	-moz-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	visibility: visible;
	transform: translateY(0);
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}



.project .description a {
	font-size: clamp(0.5em, 1.3vw, 0.8em);
	text-align: left;	
	color: #e8709e !important;
	text-shadow: 0 1px 3px rgba(0,0,0,0.8);
	margin-bottom: 8px;
}

.project .description .imageLink {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -90000px;
}

.project .description .textLink {
	float: right;
	clear: both;
	color: #e8709e;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.3s ease;
}

.project .description .textLink:hover {
	color: #48676E;
}

.project:hover .description {
	opacity: 1;
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.4) 100%);
}

/* Video / Images */

#video {
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	height: auto;
}

#video iframe, #video object, #video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#video p {
	display: none;
}

.imageWrapper img {
	padding-top: 15px;
	width: 100%;
}

/* Image Gallery */
	
	  
#imageGallery {	
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: space-between;
}

#imageGallery a {
  flex-grow: 1;
  flex-basis: 125px;
  max-width: 300px;
  margin: 5px;
}

#imageGallery img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  
}

/* Recordings */

.recordings h4 {
	font-size: 1.5em !important;
	font-family: 'Calistoga', serif;
	margin-bottom: 1.5em;
	font-weight: 600;
	clear: both;
}

.recordings .album {
	margin-bottom: 40px;
	overflow: hidden;
}

.recImage {
	width: 20%;
	float: left;
	padding-right: 20px;
	padding-bottom: 10px;
}

.recDescription {
	float: left;
	width: 70%;
	max-width: 800px;
}	

.album {
	border-top: thin solid #ccc;
	padding-top: 20px;
}

#cover {
	float: left;
	padding-right: 30px;
}

#tracks {
	float: left;
}

#tracks ul {
	padding-left: 30px;
}

/*-----------------------------
/* Mixtapes
/*----------------------------*/

.mixtape img {
	width: 24%;
}

.mixtape {
	margin-right: -30px;
}

/*-----------------------------
/* Footer */
/*----------------------------*/


footer {
	font-size: 75%;
	position: relative;
	margin: 200px 50px 0 25px;
	padding: 50px 0 50px 0;
	border-top: 1px solid #c6c6c6;
	clear: both;
	color: #c6c6c6;
	text-transform: uppercase;
}

footer p {
	float: left;
}

#fNav {
	float: right;
}

#fNav {
	position: relative;
}

#fNav li {
	display: inline;
	padding-left: 25px;
}

#fNav a {
	text-decoration: none;
	color: #c6c6c6;
}

#fNav li a:hover {
	color: #e8709e;
}

/*------------
Media Queries
-------------*/

/*

@media (min-device-width:1024px) and (max-width:509px), (max-device-width:480px) and (orientation:portrait) {
	div#pageContainer {
		width: 306px;
	}
}
 */

/* Lisa Styles */

#lisa {
	background-image: url(../images/headerLisa_bg.jpg) !important;
}

#lisa h1 {
	background: url(../images/logoLisa_lg.png) no-repeat !important;
}




