@charset "UTF-8";
/*
Main CSS file
Theme Name: Spark-is-digital
Style URI: http://www.sparkisdigital.com/
Date: Feb 2018
Version: 1.0
Author: Derek Dixon
*/

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

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Nunito Sans', sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
  text-align: left;
  z-index: 0;
  background: #fff;
  overflow: hidden, auto;
  color: #423d39;
}


/* Type */

@font-face {
  font-family: 'ZonaPro-Bold';
  src: url('font/zonapro-bold-webfont.woff2') format('woff2'), url('font/zonapro-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

p {
  font-weight: 400;
  margin: 19px 0;
  clear: both;
}

.array2img p, .array3img p, .array4img p {
  margin: 0 0 19px 0;
  padding: 0 0 0 19px;
  float:left;
  clear:none;
}
.array2img p{width:50%;}
.array3img p{width:66.66%;}
.array4img p{width:75%;}

sup {
  font-size: 12px;
  margin: 0 2px;
}

h1, h2, h3 {
  font-family: "ZonaPro-Bold", sans-serif;
  font-weight: normal;
  line-height: 1.3;
}

.orange {
  color: #ff8200;
}

.spanlink {
  text-decoration: underline;
  display: inline-block;
  cursor: pointer;
}
.spanlink:hover {
  color: #423d39;
}

h3, p {
  font-size: 19px;
  line-height: 1.4;
}

h1 {
  font-size: 3.5em;
}

h2 {
  font-size: 1.25em;
}

b {
  font-weight: 700;
}

ol {
  font-size: 12px;
}

ol li {
  margin-right: 19px;
  float: left;
}
ol > li {
  list-style-type: none;
  counter-increment: item;
}

ol > li:before {
  padding-right: 1px;
  display: inline-block;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
}
.caption {
  font-size: 14px;
  margin-top:-30px;
  position:absolute;
  color: #9a9997;
}


/* LAYOUT */

section {
  max-width: 1024px;
  display: block;
  margin: 0 auto;
  padding: 2em 5%;
  clear: both;
}
.sectioncase {
  background: #f0f0f0;
}
.sectionorange {
background: #1e5799; /* Old browsers */
background: -moz-linear-gradient(bottom, #ff8200 0%, #ffd400 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(bottom, #ff8200 0%,#ffd400 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to top, #ff8200 0%,#ffd400 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd400', endColorstr='#ff8200',GradientType=0 ); /* IE6-9 */
}

.sectionfull {
  max-width: 100%;
  max-width: 11800px;
  padding: 0;
}

#filler {
  position: absolute;
  background-color: rgba(55, 53, 52, 0.65);
  min-width: 100%;
  height: 100vh;
  max-height: none;
  visibility: hidden;
  margin: -2em 0 0 -5%;
}

#header {
  width: 100%;
  max-width: none;
  height: 50vh;
  max-height: 500px;
  min-height: 300px;
  background-image: url('img/Intro.jpg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: cover;
  background-color: rgba(55, 53, 52, 1);
}

#header h1, #header h2 {
  margin: 0 0 10px 0;
  color: #fff;
  width: 45%;
  max-width: 1200px;
}
.arrow {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom:19px;
  display: none;
}

.centered {
  position: relative;
  top: 25%;
  /* transform: translate(0, -50%);*/
}

.array1img, .array2img, .array3img, .array4img {
  display: table;
  margin: 38px 0;
}
.array1img img {
  width: 100%;
  display: block;
}
.array2img img {
  width: 50%;
  display: block;
  float: left;
}
.array3img img {
  width: 33.33%;
  display: block;
  float: left;
}
.array4img img {
  width: 25%;
  display: block;
  float: left;
}
.array2img .videoWrapper {
  width: 50%;
  display: block;
  float: left;
}
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 0px;
	height: 0;
  margin: 38px 0;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.videoWrapper ~ * {
background: transparent;
}

.greyback {
  padding: 38px 5%;
  background-color: #423d39;
  width: 100%;
  max-width: none;
  color: #fff;
}

.exiting {
  font-size: 2.5em;
  font-family: "ZonaPro-Bold", sans-serif;
  font-weight: normal;
}

/* Footer */

#footer {
  background-color: #272624;
  color: #fff;
  width: 100%;
  max-width: none;
  padding: 19px 5%;
  font-size: 16px;
line-height: 1.5;
}

#footer a {
  color: #fff;
  text-decoration: none;
  padding: 0.5em;
}

#footer a:hover {
  color: #ff8200;
}

#footer ul li {
  float: left;
  list-style: none;
  font-family: "ZonaPro-Bold", sans-serif;
}
#footer div {
  padding: 19px 0 38px 0;
}
#footer p {
  font-size: 12px;
  float: right;
  margin-top: 5px;
}

/* Back */
.back {
  vertical-align: middle;
  top: 0;
  left: 0;
  position: relative;
  overflow: hidden;
  z-index: 3;
  background-color: transparent;
}

button {
  display: inline-block;
  padding: 20px 40px;
  font-size: 1em;
  background-color: white;
  border: #ff8200 1px solid;
  color:#ff8200;
  margin: 0 20px 10px 0;
  cursor: pointer;
}

button:hover {
  border-color: #000;
  color:#000;
}

.back button {
  background-color: rgba(55, 53, 52, 0.75);
}

.back button:hover, .back button:hover .arrowleft {
  border-color: #fff;
  color:#fff;
}

.arrowleft {
    border: solid #ff8200;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 0.3em;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    margin-right:10px;
}

.arrowright {
    border: solid #000;
    border-width: 0 1px 1px 0;
    display: none;
    padding: 0.3em;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    float:right;
    margin-right: 5px;

}

/* Logo */

/* The animation code */
@keyframes logo_in {
    from {top: -64px;}
    to {top: 0px;}
}
@keyframes logo_move {
    from {top: 0px;}
    to {top: -64px;}
}

.logo {
  width: 172px;
  height: 65px;
  display: inline-block;
  vertical-align: middle;
  top: 0;
  left: 0;
  position: relative;
  overflow: hidden;
  z-index: 3;
  background-color: transparent;
}

.logo--color .logo__img {
  position: absolute;
  left: 0;
  width: auto;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
  animation-name: logo_in;
  animation-duration: 0.2s;
  top: 0;
}

.logo--color:hover .logo__img {
  top: -64px;
  animation-name: logo_move;
  animation-duration: 0.3s;
}

#bug {
  margin: 0 auto;
  height: 62px;
  float:right;
  position: relative;
  z-index: 5;
}



/*  _______________________________________

	NEW PORTFOLIO THUMBS INDEX
    _______________________________________  */
.box {
  width: 33.33%;
  padding: 0;
  float: left;

}
.box ~ {

}
.box span {
  width: 100%;
  height: 100%;
  left: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
          overflow: hidden;
}
.box span img {
  min-height: 105%;
  left: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
opacity: 0.1;
filter: blur(5px);
animation: blur_loop 10s linear infinite;
}
.box a {
  width: 100%;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  padding: 20px;
  color: white;
  text-decoration: none;
  z-index: 10;
}
.box a:hover {border-bottom: #ff8200 5px solid;}

.box a h3, .box a p { padding: 5px 8px; margin: 0; color: #423d39;}
.box a h3 {font-size: calc(1.2em + 0.8vw);padding-bottom: 0;}
.box a p {font-size: calc(12px + 0.2vw); padding-top: 0;}
.box a:hover h3, .box a:hover p {display: none;}

.box a:hover + span img{
opacity: 1;
height: 105%;
animation: blur_out 0.2s ease, img_move 0.2s ease;
filter: blur(0px);
}
.sixteen-nine {
  position: relative;
}
.sixteen-nine:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 56.25%;
}
.sixteen-nine > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@media only screen and (max-width: 680px) {
  .box{
    width: 100%;
  }
  .box a h3, .box a p { background:rgba(255,255,255,0.9); }
  .box span img {opacity: 0.85;  filter: blur(5px);}
}
@media only screen and (min-width: 681px) and (max-width: 950px) {
  .box{
    width: 50%;
  }
}

@media only screen and (min-width: 1500px) {
  .box {
    width: 25%;
  }
}

@media only screen and (min-width: 1800px) {
  .box {
    width: 25%;
  }
}

/* The animation code */
@keyframes blur_out {
    from {filter: blur(8px);}
    to {filter: blur(0px);}
}
@keyframes blur_loop {
    60% {filter: blur(5px);}
    50% {filter: blur(0.5px);}
    40% {filter: blur(5px);}
}
@keyframes img_move {
    100% {height: 105%;}
    50% {height: 110%;}
    0% {height: 105%;}
}


/*  _______________________________________

	Media Queries
    _______________________________________  */

@media only screen and (max-width: 800px) {
  #header h1, #header h2 {
    width: 95%;
  }
  #header {
    background-repeat: no-repeat;
    background-position: right top;
    height: 100vh;
    max-height: none;
  }
  #filler {
    visibility: visible;
  }
  .centered {
    top: 38px;
    /* transform: translate(0, -35%);*/
  }
  h1 {
    font-size: 12vw;
  }
  h2 {
    font-size: 4vw;
  }
  .arrow {
    display: block;
  }
}

@media only screen and (max-width: 750px) {
  #footer ul {
   display:none;
  }
}

@media only screen and (max-width: 700px) {
  .array1img img, .array2img img, .array3img img, .array4img img, .array2img p, .array3img p, .array4img p  {
    width: 100%;
    float: none;
  }
  .array2img p, .array3img p, .array4img p  {
    margin: 19px 0;
    padding: 0;
  }
  h3, p {
    font-size: 17px;
  }
  .centered {
    top: 38px;
    /* transform: translate(0, -35%);*/
  }
  h1 {
    font-size: 10.5vw;
  }
  h2 {
    font-size: 4vw;
  }
}

@media only screen and (min-height: 331px) and (max-height: 414px) {
  .centered {
    top: 19px;
    /* transform: translate(0, -35%);*/
  }
}

@media only screen and (max-width: 330px) {
  .centered {
    top: 38px;
    /* transform: translate(0, -50%); */
  }
  .arrow {
    display: block;
  }
}

@media only screen and (max-height: 330px) {
  .logo {
    display: none;
  }
  h1 {
    font-size: 8vw;
  }
  h2 {
    font-size: 2.5vw;
  }
}
