
/* Santa Union theme built on Foundation 6 (2019) */

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


/* ----------------------------------------------- */
/* DEV PANELS */
/* ----------------------------------------------- */


#development {
  background:#003300;
  color:#ffffff;
  padding:2rem;
  text-align:left;
  display:block;
  font-size:1em;
  display:none;


}

.dev-data {
  display:none;
}

.templateID {
  background:var(--blue);
  color:var(--white);
  padding:0.5rem 0;
  font-family: "Alphadot-Rigid";
  text-align:center;
  display:block;
  display:none;
}


.devpanel {
  background:rgba(37, 195, 104, 0.5);
  color:#ffffff;
  padding:0.5rem 0;
  font-family: "Alphadot-Rigid";
  text-align:center;
  display:block;
  display:none;
}


/* ----------------------------------------------- */
/* Global Coloiurs Vars */
/* ----------------------------------------------- */

:root {

  /* global colours */


  --red: #e6454b;
  --red2: #ab3237;
  --red3: #87282b;
  --blue: #2699FB;
  --blue1: #115086;
  --lightblue: #A9CAE2;
  --darkblue: #0C1622;
  --purple: #6161B2;
  --purple2: #7c7cf3;
  --green1: #45E689;
  --green2: #20B1A5;
  --orange: #f3a039;
  --white: #ffffff;
  --black: #000000;
  --grey1: #707070;
  --grey2: #666666;
  --grey3: #333333;
  --grey4: #CCCCCC;
  --grey5: #999999;
  --white: #ffffff;
  --offwhite: #ffffff;

  /* navigation */






  /* --navlinks: #aaaaaa; */
  --navlinks: #999;
  --navhover: #c6d1d8;
  --navstrapline: #999;
  --navsocial: #666666;

  /* footer */

  --footer: #646464;
  --footer: #777;
}

.clr-red { color:var(--red2);}
.clr-blue { color:var(--blue);}
.clr-green { color:var(--green2);}
.clr-white { color:var(--white);}


/* ----------------------------------------------- */
/* TYPOGRAPHY */
/* ----------------------------------------------- */

html {
  background-color: #000;
}

body * {
  /* outline:1px solid #333; */
}


body {
  background:#000;
  padding-top:var(--navheightdesktop);
  text-align:center;
  color:var(--white);
  background: transparent;
}

.main-content {
  /* width:75%; */
  /* display:grid; */

  /* max-width:1080px !important; */
}


.content-container {
  display:flex;
  justify-content: center;
  align-items: center;

}


.content-section {
    /* display:grid; */
    display:flex;
    justify-items: center;
    flex-direction: column;
    max-width:1080px;
    padding:6rem 1rem;

}

.arrow-down-masthead {
  font-family: Arrows;
  font-size: 2.25em;
  margin:0em auto 0em auto;
  cursor:pointer;
}

.arrow-down-masthead::before {   content: 'E';}

.arrow-down-masthead-search {
  font-size: 1.5em !important;
}

.arrow-down {
  font-family: Arrows;
  font-size: 2em;
  margin:2em auto 0em auto;
  cursor:pointer;
}

.arrow-down::before {   content: 'E';}




p {
  font-size:1.25rem;
  line-height: 2.25rem;
  margin-bottom:0.5rem;
  letter-spacing: .05rem;
}


h1 {
  color:var(--red);
  font-size:2rem;
  line-height: 1.8rem;
  margin-bottom:1rem;
}


h2 {
  color:var(--blue);
  font-size:2rem;
  margin-bottom:1.5rem;
}

h3 {
  color:var(--white);
  font-size:1.5rem;
  margin-bottom:1rem;

}


ul, li {
	margin: 0px;
	list-style-type: none;
}



/* contact page */

#email-block h2 { color:var(--blue);}

#form h2 { color:var(--green2);}


/* ----------------------------------------------- */
/* STOP SCROLL - FOUNDATION overrides */
/* ----------------------------------------------- */

/*
Add Class to html and body to stop from
scrolling when the mobile menu is active
*/

.no-scroll {margin: 0; height: 100%; overflow: hidden}


/* ----------------------------------------------- */
/* COOKIE CONSENT */
/* ----------------------------------------------- */

#cookie-popup {

  --poptext:#999;
  display:none;
  z-index:10000 !important;
  font-size: 1.1em;
  /* background: repeating-linear-gradient( -45deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95) 4px, rgba(29, 29, 54, 0.95) 4px, rgba(29, 29, 54, 0.95)  8px); */
  background:none;
  position:fixed;
  bottom:0;
  left:0px;
  width: 100%;
  padding:1rem;

  text-align: center;
  color:var(--poptext);
  z-index: 100000;

}


#cookie-popup-content {
  background: #111;
  background: rgba(17,17,17,0.95);
  border-radius: 0.25rem;
  margin:0.5rem;
  padding:2rem;
  position: relative;
  border:1px solid var(--purple2);
  border:1px solid rgba(124,124,253,0.25)
}


#cookie-popup i::before {
  color:var(--purple2);
}

#cookie-close {
  position:absolute;
  background:none;
  top:0
  left:0;
  padding:0.5rem;
}

#cookie-close img {
  width:1.8rem;
  height:1.8rem;

}



#cookie-icon {
  font-size: 3em;
  animation:cookie-shake 0.25s infinite;
}

@keyframes cookie-shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(7deg); }
  50% { transform: rotate(0eg); }
  75% { transform: rotate(-7deg); }
  100% { transform: rotate(0deg); }
}


#cookie-title {
  font-family:'Alphadot-Rigid';
  font-size: 1.5rem;
}

#cookie-copy {
  margin:0rem 0 2rem 0;
}

#cookie-copy p {
  font-size: 1em;
  line-height: 1.5em;
  color:var(--poptext);

}

#cookie-button button {
  background:var(--purple2);
}


/* ----------------------------------------------- */
/* ABOUT - profile image */
/* ----------------------------------------------- */

#profile-image {
  top:-120px;
  margin-bottom:2rem;
  margin-top:-110px;
}


#profile-image img {
border-radius: 50%;
border:2px solid var(--grey3);

}





/* ------------------------------------ */
/* ABOUT - Services */
/* ------------------------------------ */

#service * {
  /* outline:1px solid lime; */
}

#service h2 { color:var(--green2);}

#service-logos {
  margin:3rem 0 1rem 0;
}

.service-logos {

}

#service-label {
  font-family:  Montserrat-Medium;
  font-size:0.75em;
  margin: 2rem 0 0 0;
}

#service-label span {
  display: block;
  /* color:var(--grey5); */
  color:var(--green2);
  margin:0.15rem 0;
}

.service-logo {
  margin: 1rem 0 ;
}

.service-logo img {
  width:160px;
  height:90px;
}




/* ------------------------------------ */
/* ABOUT - Brands */
/* ------------------------------------ */

#brands * {
  /* outline:1px solid lime; */
}

#brands {

}

#brands h2 {
  color:var(--purple);
}


#brand-logos {
  margin:3rem 0;
}




.brand-logo  {
  margin:1rem 0;
}


.brand-logo img {
  width:160px;
  height:90px;
}


#brands .clickbrand {
  font-family:  Montserrat-Medium;
  font-size:1.25rem;
  color:var(--purple);
  line-height: 4rem;
}







/* ------------------------------------ */
/*  ABOUT - Icons */
/* ------------------------------------ */

.icon {
  width:50px;
  height:50px;
  line-height:50px;
  font-size:1.5em;
  border-radius:50%;
  vertical-align: middle;
  margin-bottom:1rem;
  display:inline-block;
  display:none;
}

.icon i {opacity:1;}

.profile { background:var(--blue); }
.brands { background:var(--purple);}


.purple { color:var(--purple);}


/* ----------------------------------------------- */
/* SHOWREEL */
/* ----------------------------------------------- */

#masthead-showreel {
  /* display:flex;
  justify-content: center;
  align-items: center; */
  position:relative;
  margin:2rem 3rem 3rem 3rem;
}


#showreel-container {
    /* width: 100% !important; */
    margin:0 auto;
    max-width:1280px !important;

}


#showreel-topbar {
  display:flex;
  justify-content: space-between;
  align-items: center;
  max-height:50px !important;
  width: 100% !important;
  margin:0.5em 0;

}

#showreel-title {
  font-size:1.2em;
  font-family:'Alphadot-Rigid';
  /* font-family: Montserrat-Medium; */
  font-family: Montserrat-Regular;
  color:var(--grey2);
  display:none;
}


#showreel-sound-button {
  right:3rem;
  width:1.8rem;
  height:1.8rem;
  overflow: hidden;
  margin-left: auto;

}

#showreel-close, #lb-sound-button {
  z-index: 1000000 !important;
}

#showreel-sound-button a {
}

#showreel-sound-on {
  display:none;
}

div.showreel-rule-top	{
  display:block;
  width:100%;
  margin-top:1rem;
  margin-bottom:2rem;
  border-top:1px solid rgba(255, 255, 255, 0.2)
  /* display:none; */
}

#showreel-video * {
  /* outline:1px solid lime; */
  position: relative;
}


#showreel-video {
  position: relative;
}




#showreel-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;


}






/* ------------------------------ */
/* LIGHBOX PRELOADER */



 #lb-showreel-preloader-container {
   position:absolute;
   z-index:99 !important;
   align-self: center;
   left:50%;
   top:50%;
   transform: translate(-50%, -50%);
   /* display: none; */
 }


#lb-showreel-preloader {
    width: calc(var(--controlsize)* 1.3);
    height: calc(var(--controlsize)* 1.3);
    border: 3px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0%     { transform: rotate(0deg);}
    100%   { transform: rotate(360deg);}
}




/* ----------------------------------------------- */
/* MASTHEADS */
/* ----------------------------------------------- */


#masthead {
  position:relative;
}

#masthead-container {
    overflow:hidden;
    max-height:600px;
    display:flex;
    justify-content: center;
    align-items: center;


}

#masthead-visuals {
  display:flex;
  flex-grow: 1
}


.masthead-container-work {
    max-height:250px !important;
}




/* ----------------------------------------------- */
/* Masthead Video / Image */
/* ----------------------------------------------- */



#masthead-container video, #showreel-container video  {
  position:relative;
  top:0px;
  left:0px;
  width: 100% !important;
  height: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity:1;


}


#masthead-poster {
  position:absolute;
  width: 100% !important;
  height: 100% !important;

}

#masthead-poster img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100vw;
    opacity:0;
}


.masthead-overlay {
  top:0px;
  left:0px;
  position:absolute;
  width: 100% !important;
  height: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover; background:url(../svg/masthead_pinstripe_75grey.svg); background-size: 8px 8px;
}

#overlay-about               { opacity:1}
#overlay-work                { opacity:1}
#overlay-play                { opacity:1}
#overlay-contact             { opacity:1}
#overlay-search-found        { opacity:0.7}
#overlay-search-not-found    { opacity:0.6}
#overlay-404                 { opacity:0.5}



/* ----------------------------------------------- */
/* Masthead Text */
/* ----------------------------------------------- */

#masthead-title * {
  /* outline:1px solid lime; */
}


#masthead-title {
  position:absolute;
  width: 100% !important;
  height: 100% !important;
  top:0px;
  display: flex;
  justify-content: center;
  align-items: center;

  border-bottom:1px solid #222;
}

#masthead-title .cell {
  width:100%;
}

#masthead-title img {
  margin-bottom:1rem;
}

.masthead-strapline-top.cell {
  font-size:1.5em;
  margin:0 0 0.25rem 0;
}


.masthead-strapline.cell {
  font-size:1.5em;
  letter-spacing: 0.1em;
  margin: clamp(.1em, 1vw + 0.25em, 1em) 0;

}

.masthead-strapline.cell.stapline-about {
  margin-top:0rem !important;

}

.stapline-about {
  opacity: 0 !important;
}

.sub-line { margin-bottom:1.5rem;}


.masthead-strapline .search-term {
}

.masthead-strapline span.sub-line {
  font-size:0.8em;
  transition: all .4s ease-in-out;
  display:flex; align-items:center; justify-content: center;

}


.masthead-strapline {
  opacity: 1;
  transition: 250ms opacity ease-in;
}

.masthead-about {
  opacity: 0;
  transition: 250ms opacity ease-in;
}

.last-line {
  opacity: 0;
}


/* MASTHEAD Search Number */

span#circle-container {
  --crl-size:1.8rem;
  display: inline-block;
  width:var(--crl-size);
  height:var(--crl-size);
  border-radius: 100px;
  background: var(--red);
  display: flex;
  justify-content: center;
  align-items: center;


}

span#circle {
  font-family: Montserrat-SemiBold;
  text-align: center;
  color:var(--white);
  font-size: Calc(var(--crl-size) * 0.6);
  line-height: Calc(var(--crl-size) * 0.1);
  margin:0 0 Calc(var(--crl-size) * 0.03) Calc(var(--crl-size) * 0.08) ;
}




.fadeIn {
  opacity:1 !important;
}

.fadeOut {
  opacity:0 !important;
}

#work-title {
  font-family: "Alphadot-Rigid";
  color:var(--red);
  font-size: 12vw;
  line-height:0.85em !important;
  /* text-shadow: 2px 2px 2px rgba(0,0,0,0.5); */
  /* text-shadow: 0px 0px 20px rgba(255,152,156,0.75); */
  padding:0; margin:0;
}



.search-quote {
  color:var(--grey2);
  padding:0 0.1rem;

}


/* Generic Masthead title */

#generic-title {
  font-family: "Alphadot-Quirks";
  color:var(--red);
  font-size: clamp(4em, 14vw + 0.2em, 15em);
  line-height:0.6em;
  opacity:1;
}

/* 'play' line height adjustment due to decenders */
.play-title {
  line-height:0.9em !important;
}



/* Home page Title */

#santaunion-title {
  font-family: "Alphadot-Quirks";
  color:var(--red);
  font-size: 12vw;
  font-size: clamp(4em, 14vw + 0.2em, 15em);
  line-height:0.75em;
  text-transform: capitalize;

  opacity:0;
  background: linear-gradient(to right, #7D81E8 5%, #E6454B 40%, #E6454B 60%, #7D81E8 95%);
  background-size: 200% auto;
  padding-top:0.25rem;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation: shine 5s linear infinite;
          animation: shine 5s linear infinite;
}
@-webkit-keyframes shine {
  to {
    background-position: 200% center;
  }
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}




.separator-rule {
  border-image: linear-gradient(to right, #0C1622 0%, #333 50%, #0C1622 100%);
  border-image-slice: 12;
  border-width: 1px;
  margin:3em 0;
  opacity:1;


}

.end-content {
  width:100%;
  height:6em;
}

/* ----------------------------------------------- */
/* Parallax Panels */


.parallax-container {
    overflow:hidden;
    max-height:600px;
    display:flex;
    justify-content: center;
    align-items: center;
    /* border:1px solid green; */


}

.parallax-image  {
  position:relative;
  top:0px;
  left:0px;
  width: 100% !important;
  height: 100% !important;
  scale:2;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity:.5;

}


/* simple parallax scroll jQuery */

.parallax-window {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    width:100%;
    height:500px;
    text-align: left;
}

.parallax-panel {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1000;
  color: #fff;
  position: relative;
  background: transparent;
  border:1px solid green;
    text-align: left;


  /* background-image: linear-gradient(-45deg, #282D4D 15%, #000 85%); */
    /* background: rgba(0,0,0,.75); */

}

/* ----------------------------------------------- */
/* MAIN SECTIONS */

/* Backgroun */

#home, #work, #about, #contact {

  /* background-image: url(../svg/SantaUnionWhite.svg);
  background-repeat: no-repeat;
  background-size: 4000px;
  background-position: 25% 17%;
  opacity:1; */

}


/* gradient background on content */

.content {

  background-image: linear-gradient(-45deg, #282D4D 15%, #000 85%);

}



/* ----------------------------------------------- */
/* HOME */


/* ----------------------------------------------- */
/* WORK ITEM */



#work-item-info {
  margin:4em 0 4em 0;
  text-align:left;
}

.work-item-extra {
  opacity:0;
}


#work-item {
  background:#000000;
  background:var(--black);
}

#work-client {
  font-size: 3em;
  line-height: 1.2em;
  font-family: 'Alphadot-Rigid';
  color: var(--red);

}

.work-sub {
  font-size: 1em;
  color:var(--red2);

  display: inline-block;
  margin-right: 0.5em;
  margin-top: 0.1em;
  margin-bottom: 0.2em;

}

.work-sub-background {
  color:var(--grey1);
  text-align: left;
  margin-top:1.5em;
}


.work-sub-background p  {
  color:var(--lightblue);
  font-size:1em;
  display: inline-block;



}



span#work-sub-client {
  font-family: 'Alphadot-Rigid';
  font-size: 1em;
  color: var(--red3);
}

.work-sub span {
  color: var(--white);
  color: var(--grey4);
}

.background-text {
  margin-top:1em;

}

.work-sub span.background {
  color: #bbbbbb !important;

}








/* ----------------------------------------------- */
/* THUMBNAILS (WORK) */

#thumbnail-gallery {
  background: repeating-linear-gradient( -45deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25) 4px, rgba(29, 29, 54, 0.25) 4px, rgba(29, 29, 54, 0.25)  8px);

}

.thumbnail-cell img {
  width:100%;
  height:auto;
}

.thumb-container {
  cursor:pointer;
  position:relative;
  overflow: hidden;
  opacity:0.05;
  margin:0.1rem;
}


.thumb-zoom {
  position:absolute;
  top:0px;
  opacity:1;
}

.thumb-overlay {
  position:absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  background:black;
  opacity:0;

}


#cross {
  position:absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  opacity:0;

}

.thumb-info {
  text-align:left;
  position:absolute;
  top:20px;
  left:0px;

}

.thumb-arrow {
  position:absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
  opacity:1;


}




.thumb-info-client, .thumb-info-campaign {
  opacity:0;
}


.thumb-info h4 {
  font-size:1.8em;
  font-family:'Alphadot-Rigid';
  color:var(--white);

}

.thumb-info p  {
  /* font-family: Montserrat-Medium; */
  font-family: Montserrat-Regular;

  font-size:1em;
  line-height: .5em;
  color:var(--lightblue);
  color:var(--white);


}



.thumb-info p {
}


.move-in {
  transition: all .4s ease-in-out;
  transform: translate(5em, 0em);
  opacity:1;

}

.move-out {
  transition: all .4s ease-in-out;
  transform: translate(0em, 0em);
  opacity:0;
}


.move-in-delay {
  transition-delay: 0.1s;
}


/* Thumbnail Animation */

.zoom-in {
  transition: all .4s ease-in-out;
  transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.zoom-out {
  transition: all .4s ease-in-out;
  transform: scale(1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}


.fade-in {
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
  opacity: 0.75;
}

.fade-out {
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
  opacity: 0;
}



/* Video Holder in Cell */

/* .video-holder, .static-image {
  display:none;
} */







/* ----------------------------------------------- */
/* Buttons */
/* ----------------------------------------------- */


#button-red {
  background-color: var(--red);
	margin-top: 2em;
  padding:0.75em 2em !important;
}

#button-blue {
  background-color: var(--blue);
	margin-top: 2em;
  padding:0.75em 2em !important;
}




#button-not-found {
  background-color: var(--red);
	margin-top: 2em;
  padding:0.75em 2em !important;
}
