* {
  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: "NutinoBlack";
  src: url(fonts/nunito/Nunito-Black.woff) format('woff'),
    url(fonts/funito/Nunito-Black.html) format('truetype');
}

@font-face {
  font-family: "NutinoBold";
  src: url(fonts/nunito/Nunito-Bold.woff) format('woff'),
    url(fonts/nunito/Nunito-Bold.ttf) format('truetype');
}

@font-face {
  font-family: "NutinoMedium";
  src: url(fonts/nunito/Nunito-Regular.woff) format('woff'),
    url(fonts/nunito/Nunito-Regular.ttf) format('truetype');
}

@font-face {
  font-family: "OrbitronBlack";
  src: url(fonts/orbitron/Orbitron-Black.ttf) format('ttf'),
    url(fonts/orbitron/Orbitron-Black.ttf) format('truetype');
}

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

body {
  font-family: 'NutinoBold', sans-serif;
  color: rgb(241, 241, 241);
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  position: relative;
  background: #1e1e1e;

}

a {
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

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

h1 {

  color: rgb(255, 255, 255);
  font-weight: 1700;
  font-size: 12pt;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
  display: block;
  float: left;

}

hr.footer {

  border-top: 1px dotted rgb(200, 200, 200);
  width: 100%;
  margin-bottom: 10px;
}


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

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

h2 {
  color: rgb(255, 255, 255);
  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: rgb(255, 255, 255);
  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;
}

h7 {
  color: rgb(255, 255, 255);
  font-weight: 300;
  font-size: 14pt;
  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: rgb(246, 246, 246);
  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 h7 {
  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 ol {
  text-decoration: none;
  list-style: none;
  display: inline-flex;
  /* flex-direction: row-reverse; */
}

header ol li {
  text-decoration: none;
}

header h5 {
  display: block;
  /* float: right; */
  color: rgb(251, 251, 251);
  font-weight: 300;
  font-size: 13pt;
  letter-spacing: .1em;
  /* text-align: right; */
  text-transform: lowercase;
  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;

}

div.social img {
  color: aliceblue;

}

h5:hover {
  opacity: .5;
}


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

header {
  width: 100%;
  height: 105px;
  /* background-color: brown; */
}

nav {

  max-width: 1000px;
  /* width: 50%; */
  height: 30px;
  margin: 20px auto;
  padding: 0px 40px;
  text-align: right;
}

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


.hero-case {
  background-color: rgb(53, 53, 53);
  width: 100%;
  height: 700px;
  position: relative;
  overflow: hidden;
}

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

.small-case-team {
  outline: 0.2px dotted #0d0d13;
}

.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,
.case-overlay-team:before {
  content: '';
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
  margin-left: -4em;
}



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

.case-overlay-team section {
  padding: 200px 20%;
  opacity: 1;
}

.case-overlay-team img,
.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,
.case-overlay-team:before,
.case-overlay-team section {
  display: inline-block;
  vertical-align: middle;
}

.case-overlay-team section {
  opacity: 0;
}

.small-bg {
  width: 100%;
  height: 100%;
  background-color: #1a1a24;

}

.small-bg-image {
  height: 58%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 75%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.case-overlay,
.case-overlay-team {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  -moz-transition: all .5s ease;

}

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


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


.case-overlay-team:hover h2,
.case-overlay-team:hover h3 {
  opacity: 1;
}
.case-overlay-team:hover h7 {
  opacity: 1;
}

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

.case-overlay-team:hover section {
  padding: 0px 20% 0px 20%;
  opacity: 1;
}

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

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

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

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

.small-background,
.small-background-team {
  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-background-team {
  width: 105%;
  height: 105%;
}

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

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

.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 h7: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/twnew.png) center center no-repeat;
  background-size: 20px;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0px 37px 0px -55px;
  vertical-align: middle;

}

.discord-before:before {
  content: '';
  background: url(img/discordnew1.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/fb.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: 200px;
  text-align: center;
  margin: 0px auto;
  padding-top: 20px;
  clear: both;
}

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

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.3s;
  -moz-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.two {
  -webkit-animation-delay: 1.5s;
  -moz-animation-delay: 1.5s;
  animation-delay: 1.5s;
}

.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) {

  nav {
    padding: 0 20px;
    height: 50px;
    text-align: right;
  }

  .small-case,
  .small-case-team {
    width: 100%;
  }

  .sub section a {
    width: 100%;
    height: 150px;
  }

  h2,
  .sub h2 {
    font-size: 16pt;
  }
}

@media screen and (max-width: 640px) {
  header {
    height: 150px;
  }

  nav {
    padding: 0 20px;
    height: 90px;
    text-align: left;
  }

  .small-bg-image {
    height: 50%;
  }

  nav h1 {
    float: none;
  }



  header h5 {
    float: left;
    margin: 0px 30px 0px 0px;
  }

  .hero-case {
    height: 500px;
  }

  .hero-case section {
    padding: 0px 20%;
  }

  .small-case,
  .small-case-team {
    height: 250px;
  }
  .case-overlay-team section {
    opacity: 1;
    padding: 0px 20% 0px 20%;
  }

  .sub h3 {
    margin-left: 33px;
  }
  
  .sub h7 {
    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: noAnimation;
  }*/
}