/*!
Theme Name: Iván Blanco
Theme URI: http://underscores.me/
Author: Jose Houdini
Author URI: http://josehoudini.es
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ivanblanco
*/

@charset "utf-8";

/* RESET CSS
============================== */
*{
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
html, body, div, span,
header, footer, section, article, aside, menu, nav,
h1, h2, h3, h4, h5, h6,
p, ol, ul, li, a, strong, b, i, s, address, sub, sup,
form, label,
iframe, embed, audio{
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
}
::-webkit-scrollbar{
	display: none;
}
:focus{
	outline: none !important;
}
:focus::-ms-value{
	color: inherit;
	background-color: none;
}
::-moz-focus-inner{
	border: none !important;
}

button {
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: center;
  align-items: flex-start;
  cursor: default;
  box-sizing: border-box;
  background-color: transparent;
  margin: 0;
  padding: 0;
  border: none;
  cursor: pointer;
}

/*	BASIC STYLES
============================== */
::-moz-selection{
	color: var(--cbg);
	background-color: var(--chover);
}
::selection{
	color: var(--cbg);
	background-color: var(--chover);
}
html{
	scrollbar-width: none;
}
body{
	width: 100vw;
	height: 100%;
	margin: auto;
	font-family: "Times New Roman", Times, serif;
	font-variant-ligatures: discretionary-ligatures;
	-webkit-text-size-adjust: none;
	-moz-osx-font-smoothing: grayscale;
	 -webkit-font-smoothing: antialiased;
				font-smoothing: antialiased;
	font-size: var(--fs);
	font-style: normal;
	font-weight: normal;
	line-height: var(--lhs);
	color: var(--ctext);
	background-color: var(--cbg);
	overflow-x: hidden;
	min-height: var(--h);
}
img,
video{
	width: 100%;
	height: auto;
	display: block;
	-o-object-fit: contain;
	   object-fit: contain;
	font-size: 0;
	line-height: 0;
	-webkit-user-select: none;
		-moz-user-select: none;
		 -ms-user-select: none;
			  user-select: none;
	transform: translate3d(0, 0, 0);
}
picture,
.video-wrapper{
	width: 100%;
	height: 100%;
	display: block;
	background-color: var(--bg);
}
a{
	width: -webkit-fit-content;
	width: fit-content;
	width: -moz-fit-content;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}
a:hover{
	color: var(--chover);
}

.lazy{
filter: blur(10px);
transition: filter 1s linear;
}

/* FONTS
============================== */
.sans{
	font-family: 'JetBrains Mono', monospace;
	text-transform: uppercase;
	font-variant: tabular-nums;
	font-size: 11px;
}

/* GENERAL
============================== */
main{
	display: grid;
	padding: 0 var(--gpm);
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: var(--gpm);
	min-height: calc(var(--hs) - var(--hf));
}

.project-index::after{
	content: '';
	position: fixed;
	width: 100%;
	bottom: 0;
	height: 50px;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	z-index: 99999;
}

.cats{
	padding: var(--gpm) 0;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	display: inline-flex;
}

.cats button{
	transition: .3s linear;
	display: inline-flex;
	margin-right: 10px;
}

.cats button:hover{
	filter: none!important;
}

.direction-projects, .photography-projects{
	transition: all .3s linear;
}

/* ABOUT
============================== */
.about{
	position: relative;
}

.about p{
	margin-bottom: 14.39px;
}

.about::after {
	content: "";
  position: absolute;
  height: 0.5px;
  background: lightgrey;
	left: var(--gpm);
  width: calc(100% - var(--gpm) * 2);
}

.about-header {
	display: grid;
	padding: var(--gpm);
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: var(--gpm);
	cursor: pointer;
}

.plus{
	position: absolute;
	right: var(--gpm);
}

.about-content{
	max-height: -webkit-fit-content!important;
	max-height: -moz-fit-content!important;
	max-height: fit-content!important;
	display: grid;
	padding: 0 var(--gpm) var(--gpm) var(--gpm);
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: var(--gpm);
}

.clients ul{
	list-style: none;
}

.credit{
	position: relative;
	bottom: 0;
	opacity: 20%;
	transition: all .3s linear;
}

.contact{
	display: grid;
	grid-template-rows: 1fr -webkit-min-content;
	grid-template-rows: 1fr min-content;
}

.mobile-title{
	display: none;
}

/* HEADER
============================== */
header{
	position: relative;
}

.logo {
  
	pointer-events: none;
	padding: var(--gpm);
	filter: drop-shadow(1px 1px 1px rgb(0 0 0 / 0.1));
}

/* CODES
============================== */
.dir-symbol, .pht-symbol, .symbol{
	height: 8px;
    align-self: center;
    width: 8px;
    border: 0.5px solid black;
	background-color: none;
}

#dir-btn, .dir-symbol{
	border-radius: 10px;
}

#stg-btn::before{
	content: '△';
	font-size: 14px;
	line-height: .9;
}

.buttonSelected .dir-symbol, .buttonSelected .pht-symbol, .black-bg .dir-symbol{
	background-color: black;
}

#stg-btn.buttonSelected::before{
	content: '▲';
}

.project-title .code::before{
	counter-increment: project;
	content: "\00a0""IBD-0"counter(project, decimal-leading-zero)"\00a0";
	margin-right: 5px;
}

.photo-title .code::before{
	counter-increment: project;
	content: "\00a0""IBP-0"counter(project, decimal-leading-zero)"\00a0";
	margin-right: 5px;
}

.sv-title .code::before{
	counter-increment: project;
	content: "\00a0""IBV-0"counter(project, decimal-leading-zero)"\00a0";
	margin-right: 5px;
}

.direction-projects, .photography-projects, .stagevisuals-projects{
	counter-reset: project;
}

.photo-row:hover .pht-symbol{
	background-color: black;
}


/* DIRECTION
============================== */
.direction-projects{
	grid-column: span 3;
}

.project{
	border-bottom: .5px solid lightgrey;
}

.toggle{
	display: grid;
	grid-template-columns: repeat(6,1fr);
	grid-column-gap: var(--gpm);
	padding: var(--gpm) 0;
	cursor: pointer;
	list-style: none;
}

.solid{
	background-color: var(--ctext);
}

.project-title{
	grid-column: span 2;
	display: inline-flex;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.project-client{
	grid-column: span 2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.project-year{
	text-align: right;
}

.comingsoon{
	color: var(--chover);
	pointer-events: none;
}

.comingsoon .project-year span{
	display: none;
}

.comingsoon .project-year::after{
	content: 'In Progress';
}

.curriculum p:last-child{
	margin-bottom: 0;
}

/* PROJECT INNER
============================== */
.project-content{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-column-gap: var(--gpm);
	padding-bottom: var(--gpm);
}

.project-details{
	height: 0;
  min-height: 100%;
  overflow: scroll;
}

.gradient-bottom{
	content: '';
	position: -webkit-sticky;
	position: sticky;
	width: 100%;
	right: 0;
	bottom: 0;
	height: 50px;
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	z-index: 99;
}

.video-container {
	grid-column: span 2;
	width: 100%;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
  margin: 0;
}

.details-inner{
	margin-bottom: calc(var(--gpm) * 3);
}

.details-inner p+p{
	margin-top: var(--gpm);
}

.details-inner a{
	-webkit-text-decoration: 1px underline dotted;
	        text-decoration: 1px underline dotted;
}

.credits{
	list-style: none;
}

.credits li{
	display: grid;
	grid-template-columns: 2fr 2fr;
}

/* PHOTOGRAPHY
============================== */
.photography-projects{
	grid-column: 2 / span 3;
}

.photo-row ul{
	list-style: none;
	display: grid;
	grid-template-columns: 1fr -webkit-max-content;
	grid-template-columns: 1fr max-content;
	padding: var(--gpm) 0;
	border-bottom: .5px solid lightgrey;
	cursor: default;
}

.photo-row-image{
	display: none;
}

.photo-row:hover .photo-row-image{
	pointer-events: none;
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	padding: 5%;
}

.photo-row-image img{
	height: 100%
}

.photo-title{
	display: inline-flex;
}

/* STAGE VISUALS
============================== */
.stagevisuals-projects{
	grid-column: 3 / span 2;
}

.sv-info{
	display: grid;
	grid-template-columns: 1fr -webkit-max-content;
	grid-template-columns: 1fr max-content;
	list-style: none;
	padding: var(--gpm) 0;
	cursor: pointer;
}

.sv-title{
	display: inline-flex;
}

.sv-content{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-column-gap: var(--gpm);
	grid-row-gap: var(--gpm);
	padding-bottom: var(--gpm);
}

/* FOOTER
============================== */
.footer{
	position: relative;
	width: 100vw;
	padding: var(--gpm);
	text-align: right;
	height: var(--hf);
	z-index: 99999;
}

/* MOBILE
============================== */
@media only screen and (max-width: 834px){
	.logo{
		filter: drop-shadow(2px 2px 2px rgb(0 0 0 / 0.1));
	}

	.about-header h1{
		visibility: hidden;
	}

	.about-header h1:nth-child(1){
		visibility: visible;
	}

	.about-content{
		display: block;
	}

	.mobile-title{
		display: block;
		padding: var(--gpm) 0;
	}

	.project-index{
		display: block;
	}

	.cats{
		display: flex;
		justify-content: space-between;
	}

	.cats button{
		margin: 0;
	}

	.toggle{
		grid-template-columns: 1fr max-content;
	}

	.project-title{
		grid-column: unset;
	}

	.project-client, .project-tags{
		display: none;
	}

	.project-content{
		display: block;
	}

	.project-details{
		display: none;
	}

	.photo-row-image{
		display: block;
	}

	.name{
		display: none;
	}
}

/* VARS
============================== */
:root{
	--cbg: white;
	--ctext: black;
	--chover: #ccc;
	--cdisabled: inherit;

	--fs: 12px;
	--lhs: 1.2;

	--gpm: 10px;
}
