* 
{
 margin: 0; padding: 0; 
-webkit-box-sizing: border-box;
box-sizing:border-box;
-moz-box-sizing:border-box;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-moz-backface-visibility: hidden;
}

@font-face 
{
  font-family: "Proxima Nova";
  src: url("fonts/proximanova-regular-webfont.eot");
  src: local("☺"),
    url("fonts/proximanova-regular-webfont.woff") format("woff"),
    url("fonts/proximanova-regular-webfont.otf") format("opentype"),
    url("fonts/proximanova-regular-webfont.svg#proximanova-regular-webfont") format("svg");
}

/* ———————————————   GLOBAL TYPOGRAPHY   ——————————————— */

body 
{
  font-family: 'Proxima Nova', sans-serif;
  color: #222;
  -webkit-font-smoothing: antialiased;
  font-smooth: antialiased;
  -moz-font-smoothing: antialiased;
  position: relative;
  background: white;
}

a 
{
  text-decoration: none;
}

a:hover 
{
  cursor: pointer;
}

/* ———————————————   TYPOGRAPHY   ——————————————— */

h1
{
  color: #222;
  font-weight: 700;
  font-size: 12pt;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
  display: block;
  float: left;
}

h1:before 
{
  content:'';
  background: url('img/logo.png') center center no-repeat;
  background-size: 30px;
  display: inline-block;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-right: 30px;
}

h1:hover:before 
{
  -webkit-animation: wiggle 2s linear;
  animation: wiggle 2s linear;
  -moz-animation: wiggle 2s linear;
}

h2 
{
  color: white;
  font-weight: 500;
  font-size: 30pt;
  letter-spacing: .2em;
  text-align: left;
  text-transform: uppercase;
  line-height: 1em;
  opacity: 1;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
}

h3 
{
  color: white;
  font-weight: 300;
  font-size: 10pt;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
  line-height: 2em;
  opacity: 1;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
}

.sub h2 
{
  color: #222;
  font-weight: 500;
  font-size: 30pt;
  letter-spacing: .2em;
  text-align: left;
  text-transform: uppercase;
  line-height: 1em;
  opacity: 1;
  margin: 0px 0px 40px 56px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
}

.sub h3 
{
  color: #222;
  font-weight: 300;
  font-size: 10pt;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
  line-height: 2em;
  opacity: 1;
  margin-left: 56px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
}

.sub h6 
{
  color: #222;
  font-weight: 700;
  font-size: 12pt;
  letter-spacing: .15em;
  text-align: left;
  text-transform: uppercase;
  line-height: 2em;
  opacity: 1;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
}

header h5 
{
  display: block;
  float: right;
  color: #222;
  font-weight: 300;
  font-size: 10pt;
  letter-spacing: .1em;
  text-align: right;
  text-transform: uppercase;
  line-height: 2em;
  margin-left: 40px;
  opacity: 1;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  -moz-transition: all .2s ease;
}

footer h5 
{
  display: inline-block;
  color: #222;
  font-weight: 300;
  font-size: 10pt;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
  line-height: 2em;
  opacity: 1;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  -moz-transition: all .2s ease;
}

footer a:nth-of-type(3) 
{
  margin: 0px 40px;
}

div.social a 
{
	margin: 0;
}

h5:hover 
{
  opacity: .5;
}


/* ———————————————   HEADER NAV   ——————————————— */

header 
{
  width: 100%;
  height: 65px;
}

nav 
{
  max-width: 1100px;
  height: 30px;
  margin: 35px auto;
  padding: 0px 40px;
  text-align: right;
}

/* ———————————————   CASES   ——————————————— */


.hero-case 
{
  width: 100%;
  height: 700px;
  position: relative;
  overflow: hidden;
}

.small-case
{
  width: 50%;
  height: 350px;
  position: relative;
  vertical-align: middle;
  float: left;
  overflow: hidden;
}

.hero-case section 
{
  width: 100%;
  max-width: 1000px;
  height: auto;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  bottom: 100px;
  padding: 0px 5%;
}

.case-overlay:before 
{
  content: '';
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
  margin-left: -0.25em;
}

.case-overlay section 
{
  max-width: 300px;
  padding: 0px 20%;
  -webkit-transition: all .7s ease;
  transition: all .7s ease;
  -moz-transition: all .7s ease;
}

.case-overlay img 
{
  display: inline-block;
  position: absolute;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  -moz-transition: all .2s ease;
  right: 60px;
  top: -60px;
  width: 60px;
  height: 60px;
  opacity: 0;
}

.case-overlay:before, .case-overlay section 
{
  display: inline-block;
  vertical-align: middle;
}

.case-overlay 
{
  width:100%;
  height:100%;
  position: relative;
  overflow: hidden;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
  background: rgba(0,0,0,.6);
}

.case-overlay:hover h2, .case-overlay:hover h3 
{
  opacity: 0;
}

.case-overlay:hover section 
{
  padding: 200px 20% 0px 20%;
}

.case-overlay:hover 
{
  background: rgba(0,0,0,0);
}

.small-case:hover 
{
  background-size: 120%;
}

.case-overlay:hover img 
{
  top: 30px;
  opacity: 1;
}

.small-background 
{
  width: 101%;
  height: 101%;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  -moz-transform: translateY(-50%) translateX(-50%);
  z-index: -1;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.small-case:hover .small-background 
{
  width: 110%;
  height: 110%;
}

.hero-background 
{
  width: 101%;
  height: 101%;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  -moz-transform: translateY(-50%) translateX(-50%);
  z-index: -1;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-case:hover .hero-background 
{
  width: 110%;
  height: 110%;
}

/* ———————————————   ARTICLE   ——————————————— */


.sub 
{
  max-width: 1000px;
  height: auto;
  padding: 0px 40px;
  margin: 0px auto;
  opacity: 1;
}

.sub a 
{
  color: #222;
}

.sub a:hover 
{
  opacity: .5;
}

.sub h3:hover 
{
  opacity: .5;
}

.sub h2:hover 
{
  opacity: .5;
}

.sub section 
{
  margin-top: 200px;
  padding-left: 56px;
}

.sub section a 
{
  width: 33%;
  display: block;
  height: auto;
  position: relative;
  float: left;
}

.sub section a:after
{
  content: '';
  display: block;
  clear: both;
}

.sub section a img 
{
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
}

.sub section a:hover img 
{
  width: 40px;
  height: 40px;
  position: absolute;
  left: 20px;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;
}

.tw-before, .fb-before, .ig-before 
{
  margin-top: 120px;
}

.tw-before:before 
{
  content:'';
  background: url(/img/twitter.png) center center no-repeat;
  background-size: 20px;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0px 37px 0px -55px;
  vertical-align: middle;

}

.fb-before:before 
{
  content:'';
  background: url(/img/facebook.png) center center no-repeat;
  background-size: 20px;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0px 37px 0px -55px;
  vertical-align: middle;

}

.ig-before:before 
{
	content:'';
	background: url(/img/instagram.png) center center no-repeat;
	background-size: 20px;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0px 37px 0px -55px;
	vertical-align: middle;
}

/* ———————————————   FOOTER   ——————————————— */


footer 
{
  width: 100%;
  height: 700px;
  text-align: center;
  margin: 0px auto;
  padding-top: 230px;
  clear: both;
}

footer img 
{
  display: block;
  margin: 0px auto 120px auto;
  width: 50px;
  height: 50px;
}

footer .logo:hover 
{
  -webkit-animation: wiggle 2s linear;
  animation: wiggle 2s linear;
  -moz-animation: wiggle 2s linear;
}

footer .social 
{
  /*width: 350px;*/
  height: auto;
  margin: 60px auto;
}

footer .social img 
{
  display: inline-block;
  margin: 25px;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  -moz-transition: all .2s ease;
  opacity: 1;
}

footer .social img:hover 
{
  opacity: .5;
}

/* ———————————————   ANIMATIONS   ——————————————— */

.animate 
{
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
 
/*=== Optional Delays, change values here  ===*/
.one 
{
-webkit-animation-delay: 0.4s;
-moz-animation-delay: 0.4s;
animation-delay: 0.4s;
}
 
.two 
{
-webkit-animation-delay: 1.7s;
-moz-animation-delay: 1.7s;
animation-delay: 1.7s;
}
 
.three 
{
-webkit-animation-delay: 2.3s;
-moz-animation-delay: 2.3s;
animation-delay: 2.3s;
}
 
.four 
{
-webkit-animation-delay: 3.3s;
-moz-animation-delay: 3.3s;
animation-delay: 3.3s;
}

.five 
{
-webkit-animation-delay: 4.0s;
-moz-animation-delay: 4.0s;
animation-delay: 4.0s;
}

.six
 {
-webkit-animation-delay: 4.7s;
-moz-animation-delay: 4.7s;
animation-delay: 4.7s;
}

@-webkit-keyframes fadeInUp 
{
  from 
  {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
 
  to 
  {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp 
{
  from 
  {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
 
  to
  {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
 
.fadeInUp 
{
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes wiggle
{
  0%, 7% 
  {
    -webkit-transform: rotateZ(0);
  }
  15% 
  {
    -webkit-transform: rotateZ(-15deg);
  }
  20% 
  {
    -webkit-transform: rotateZ(10deg);
  }
  25% 
  {
    -webkit-transform: rotateZ(-10deg);
  }
  30%
  {
    -webkit-transform: rotateZ(6deg);
  }
  35% 
  {
    -webkit-transform: rotateZ(-4deg);
  }
  40%, 100% 
  {
    -webkit-transform: rotateZ(0);
  }
}

@keyframes wiggle 
{
  0%, 7% 
  {
    transform: rotateZ(0);
  }
  15%
  {
    transform: rotateZ(-15deg);
  }
  20%
  {
    transform: rotateZ(10deg);
  }
  25% 
  {
    transform: rotateZ(-10deg);
  }
  30% 
  {
    transform: rotateZ(6deg);
  }
  35% 
  {
    transform: rotateZ(-4deg);
  }
  40%, 100% 
  {
    transform: rotateZ(0);
  }
}

@-moz-keyframes wiggle 
{
  0%, 7% 
  {
    -moz-transform: rotateZ(0);
  }
  15% 
  {
    -moz-transform: rotateZ(-15deg);
  }
  20% 
  {
    -moz-transform: rotateZ(10deg);
  }
  25% 
  {
    -moz-transform: rotateZ(-10deg);
  }
  30% 
  {
    -moz-transform: rotateZ(6deg);
  }
  35% 
  {
    -moz-transform: rotateZ(-4deg);
  }
  40%, 100% 
  {
    -moz-transform: rotateZ(0);
  }
}


/* ———————————————   MEDIA QUERIES   ——————————————— */


@media screen and (max-width: 1000px) 
{
  .small-case 
  {
    width: 100%;
  }
  .sub section a 
  {
    width: 100%;
    height: 150px;
  }
  h2, .sub h2 
  {
  font-size: 16pt;
  }
}

@media screen and (max-width: 640px) 
{
  header 
  {
    height: 100px;
  }
  nav 
  {
    padding: 0 20px;
  }
  nav h1 
  {
    float: none;
  }
  header h5 
  {
    float: left;
    margin: 20px 15px 0px 0px;
  }
  .hero-case 
  {
    height: 500px;
  }
  .hero-case section 
  {
    padding: 0px 20%;
  }
  .small-case
  {
    height: 250px;
  }
  .sub h3 
  {
    margin-left: 33px;
  }
  .sub h2 
  {
    margin: 0px 0px 40px 32px;
  }
  .fb-before:before 
  {
    margin: 0px 27px 0px -47px;
  }
  .tw-before:before 
  {
    margin: 0px 27px 0px -47px;
  }
  .fadeInUp 
  {
    -webkit-animation-name: noAnimation;
    animation-name: noAmination;
  }
}

