/*!
Theme Name: BREANNA MUSGROVE
Author: Sylvana dAngelo
http://asmbly-line.design
Description: BREANNA MUSGROVE is a Vancouver-based creative direction agency and brand consultancy founded in 2011.

*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Layout
	- Colors
	- Title Animation
# Base
	- Typography
	- Elements
## Artists
# Components
	- Navigation
	- Media
	- Accordion
## Accessibility

--------------------------------------------------------------*/

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	font-family: 'ABC_diatype', sans-serif;
}

body {
	margin: 0;
}

main {
	display: block;
	z-index:1;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
	text-decoration:none !important;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}


img {
	border-style: none;
}

ul{
	list-style: none !important;
}

@font-face {
  font-family: 'ABC_diatype';
  src:  url('./fonts/ABC_diatype/ABCDiatype-Black-Trial.woff2') format('woff2'),
        url('./fonts/ABC_diatype/ABCDiatype-Black-Trial.woff') format('woff');
}

@font-face {
  font-family: 'ABC_diatype_reg';
  src:  url('./fonts/ABC_diatype/ABCDiatype-Regular-Trial.woff2') format('woff2'),
        url('./fonts/ABC_diatype/ABCDiatype-Regular-Trial.woff') format('woff');
}


/* Layout */

h1{
	font-family: 'ABC_diatype', sans-serif;
	font-size: 4rem;
	color:#000;
}

.fade-into-you{
	position:fixed;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	background-color:#fff;
	z-index:9;
	animation-duration: 1.25s;
    animation-name: fadeintoyou;
    animation-delay: 0.5s;
    animation-fill-mode: backwards;
    opacity:0;
    pointer-events: none;
}

@keyframes fadeintoyou {
	from {
	    opacity:1;
	}
	to {
	    opacity:0;
	}
}


video{
  width: 100vw;
  height: 100vh !important;
  object-fit:cover !important;
}

.videoPortrait-wrapper {
    display: inline-block;
	float: left;
  }

  .videoPortrait{
    width: 50vw; 
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
  
  .videoPortrait video {
    width: 100%;
    height: auto !important;
    aspect-ratio: 8 / 9;
    object-fit: cover;
}
  
  @media (max-width: 768px) {
	.videoPortrait {
	  width: 100vw;
	}
	.videoPortrait-wrapper {
		display: block;
		float: none;
	}
  }
  

.background-image-inner {
	position: relative;
    height: 100vh;
    width: auto;
    text-align: center;
    overflow: hidden;
}


.background-image-inner img{
	height:100vh;
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center;
}

.background-image-inner video{
	height:100vh !important;
	width:auto !important;
	object-fit:cover !important;
}


.header-navigation {
	position:fixed;
	top:0;
	left:1rem;
	width: -moz-calc(100% - 4rem);
    width: -webkit-calc(100% - 4rem);
    width: calc(100% - 4rem);
    z-index:2;
}

.header-navigation ul{
	display:flex;
	justify-content: space-between;
	text-transform:uppercase;

}

.header-navigation li a{
	line-height: 0px;
	font-size: 2rem;
	color:#000;
	text-decoration:none;
	transition: all 0.2s linear;
}

.header-navigation li a:hover{
	text-decoration:underline;
}

.project-overview-inner {
	position:relative;
}

.info-footer-grid {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 2rem;
    padding: 2rem 3.75rem 0;
    position: fixed;
    bottom: 0;
}

.info-copy {
    padding: 3.75rem 3.75rem 4rem;
    font-size: 2rem;
}

.info-email {
    padding: 1rem 3.75rem 0;
    font-size: 2rem;
    color:#000;
}
.info-email a{
    color:#ddd;
}

.info-email a:hover{
    color:#000;
}

.info-wrapper {
    width: 100vw;
    margin-top: 4rem;
    padding: 3rem 0;
    max-height: 80vh;
    overflow: hidden;
}

.project-grid {
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 2rem;
	padding: 0 2rem;
}

.project-overview-inner{
	width:100vw;
	margin-top:4rem;
	padding:3rem 0;
}

.project-item img {
    max-width: 100%;
    height: auto;
   }

 .project-text{
 	padding-top:1rem;
 	padding-bottom:2rem;
 }

 a .project-item {
 	color:#000 !important;
 	text-decoration:none !important;
 }

 .project-title{
 	padding-top:1rem;
 	padding-bottom:2rem;
 	font-size:1.5rem;
 }

 .closeAndPlay{
 	display:none !important;
 }

#close-bre{
	display:block;
}

.landingMagic{
	height:100vh;
	width:100vw;
	overflow:hidden;
}

.close-play-inner{
	height:100vh;
	width:100vw;
	background-color:#fff;
	color:#000;
	z-index: 9;
    position: relative;
}

.bre-loading{
	font-size: 48vw;
    font-family: 'ABC_diatype', sans-serif;
    text-transform: uppercase;
    position: fixed;
    left: 0.5rem;
    bottom: -8rem;
    z-index:1;
}

.bre-loader{
	position:fixed;
	bottom:3rem;
	text-align:center;
	z-index:1;
	width:100vw;
}

.bre-loader img{
	max-height:40px;
	max-width:40px;
}

.imageNoMouse{
	display:none;
}

.imageMouse{
	display:block !important;
}

.case-study-grid{
	width:50vw;
	display:inline-block;
	float:left;
}

.small-text-wrapper{
	width: 50vw;
    display: inline-block;
    float: left;
	position:relative;
	max-width: 100%;
    height: auto;
    aspect-ratio: 8 / 9;
    object-fit: cover;
}

.small-text-block{
	padding: 0 2rem 2rem;
	position:absolute;
	bottom:2rem;
}

.full-width-image-wrapper {
    width: 100%;
    height: auto;
    margin: 0; 
    padding: 0; 
}

.full-width-image-block {
    width: 100%;
    height: auto;
    display: block; 
}

.full-width-image-block img {
    display: block; 
    width: 100%;
    height: auto; 
    margin: 0; 
    padding: 0;
}

.small-text-wrapper-square{
	position: relative;
    width: 50%;
    overflow: hidden;
	float:left;
}

.small-text-wrapper-square:before{
    content: "";
    display: block;
    padding-top: 100%;
}

.small-text-block-square{
	padding:2rem;
	position:absolute;
	top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    height: 85%;
}

.sm-txt-sq-outer{
	display: inline-block;
    align-self: flex-end;
}

.portrait-image-block{
	width: 100%;
    height: auto;
    aspect-ratio: 8 / 9;
    object-fit: cover;
	position:relative;
	overflow:hidden;
}

.portrait-image-block img{
	width: 100%;
    height: auto;
    aspect-ratio: 8 / 9;
    object-fit: cover;
}

.big-text-wrapper{
	width:50vw;
	display:inline-block;
	float:left;
	height:100%;
	background-color:#D8ECE8;
}

.big-text-block{
	font-size:2.5rem;
	padding:2rem;
	font-family: 'ABC_diatype_reg' !important;
}

.big-text-wrapper-square{
	position: relative;
    width: 50%;
    overflow: hidden;
	float:left;
	font-family: 'ABC_diatype_reg' !important;
}

.big-text-wrapper-square:before{
    content: "";
    display: block;
    padding-top: 100%;
}

.big-text-block-square{
	font-size:2.5rem;
	background-color:#D8ECE8;
	padding:2rem;
	position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.title-caption{
	position:absolute;
	bottom:4rem;
	text-align:center;
	width:100%;
	color:#fff;
}

.title-caption h2{
	font-size:3rem;
}

.full-width-video-block{
	width:100%;
	height:auto;
}

.full-width-image-block video{
	width:100vw;
}

.square-image-back-color-block{
	background-color:#D8ECE8;
	position: relative;
}

.square-image-back-color-block::after{
	content: "";
    display: block;
    padding-bottom: 100%;
}

.square-image-back-color-block img{
	position: absolute;
  	width: 100%;
  	height:100%;
  	object-fit: cover;
}

.square-image-block{
	position: relative;
}

.square-image-block::after{
	content: "";
    display: block;
    padding-bottom: 100%;
}

.square-image-block img{
	position: absolute;
  	width: 100%;
  	height:100%;
  	object-fit: cover;
}

.full-width-text-wrapper{
	display:inline-block;
	width:100vw;
	height:100vh;
	background-color:#D8ECE8;
	display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

.full-width-text-block{
	text-align:center;
	padding:4rem;
	font-size:4rem;
}

.full-width-text-block p{
	font-size:1rem !important;
	margin-top:2rem !important;
}

.display-desktop{
	display:block;
}

.display-mobile{
	display:none;
}

.animation .hidden {
       transform: translateX( 100% );
       visibility: hidden;
       opacity: 0;
      } 
   .animation__elem {
      display: inline-block;
      margin-right: .3em;
      transition: 
      transform .8s,
      opacity .8s;
   }

 @media only screen and (max-width: 1080px){
 	.info-copy {
	    padding: 0 3.75rem 4rem !important;
	}

 }

 @media only screen and (max-width: 985px){
	.info-copy {
	    padding: 0 3.75rem 2rem !important;
	    font-size: 1.40rem;
	}
	.info-email {
	    padding: 1rem 0 0.5rem;
	    font-size: 1.40rem;
	}
}

@media only screen and (max-width: 900px){
	.info-footer-grid {
	    padding: 0rem 3.75rem 0 !important;
	}
}

@media only screen and (max-width: 850px){
	.info-wrapper {
	    max-height: unset;
	    overflow: scroll;
	}
	.bre-loading {
	    left: 0.25rem;
	    bottom: 4rem;
	}
}

@media only screen and (max-width: 700px) {
	.background-image-inner img{
		height:auto;
		width:100vw;
	}
	.background-image-inner video {
		max-height: 100vh !important; 
		max-width: 100vw !important;
		object-fit: contain !important; 
	}
	.background-image-inner {
		display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100vw; 
    height: 100vh;
	}
  .display-desktop{
	display:none;
	}

	.display-mobile{
	display:block;
	}
	
	.info-footer-grid {
        position: relative;
        bottom: 0;
    }

	nav{
	  width: -moz-calc(100% - 2rem);
      width: -webkit-calc(100% - 2rem);
	  width:calc(100% - 2rem) !important;
	}

	nav ul{
		padding-left:0;
	}

	nav h2{
		font-size:2rem;
	}

	.project-grid {
	    display: block;
	    padding: 0 1rem;
	}

	.project-overview-inner {
	    padding: 1rem 0;
	}

	.info-wrapper {
	    padding: 1rem 0;
	}

	.info-footer-grid {
	    display: block;
	    padding: 0 1rem !important;
	}

	.info-copy {
	    padding: 1rem 1rem 4rem !important;
    font-size: 1.4rem;
	}

	.case-study-grid {
	    width: 100vw;
	    display: block;
	    float: none;
	}

	.portrait-image-block {
	    width: unset;
	}

	.small-text-wrapper {
	    width: 100vw;
	    display: block;
	    float: none;
	    height: unset;
	    position: relative;
	}

	.small-text-block {
	    padding: 2rem 2rem 2rem;
	    position: initial;
	    bottom: 0;
	}

	.big-text-wrapper-square {
	    width: 100%;
	    overflow: unset;
	    float: none;
	}

	.big-text-block-square {
	    font-size: 2rem;
	    position: unset;
	}

	.big-text-wrapper-square:before {
	    display: none;
	}
	.small-text-wrapper {
		aspect-ratio: unset;
	}

	.full-width-image-block {
	    width: 100%;
    	height: unset;
    	overflow: unset;
	}

	.big-text-wrapper {
	    width: 100vw;
	    display: block;
	    float: none;
	    height: unset;
	    background-color: #D8ECE8;
	}

	.portrait-image-block img {
	    width: auto;
	    height: 100%;
	}
	.small-text-wrapper-square:before {
	    display: none;
	}

	.small-text-wrapper-square {
	    width: 100%;
	    overflow: unset;
	    float: none;
	}

	.small-text-block-square {
	    position: relative;
	    display: block;
	    height: auto;
	}

	.full-width-text-block {
	    padding: 1rem;
	    font-size: 2rem;
	}

}







