@font-face {
  font-family: 'christopherhandregular';
  src: url("/wp-content/themes/ajsmith-understrap/fonts/comesinhandy-webfont.eot");
  src: url("/wp-content/themes/ajsmith-understrap/fonts/comesinhandy-webfont.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/ajsmith-understrap/fonts/comesinhandy-webfont.woff2") format("woff2"), url("/wp-content/themes/ajsmith-understrap/fonts/comesinhandy-webfont.woff") format("woff"), url("/wp-content/themes/ajsmith-understrap/fonts/comesinhandy-webfont.ttf") format("truetype"), url("/wp-content/themes/ajsmith-understrap/fonts/comesinhandy-webfont.svg#christopherhandregular") format("svg");
  font-weight: normal;
  font-style: normal; }
@font-face {
  font-family: 'robotoregular';
  src: url("/wp-content/themes/ajsmith-understrap/fonts/Roboto-Regular-webfont.eot");
  src: url("/wp-content/themes/ajsmith-understrap/fonts/Roboto-Regular-webfont.eot?#iefix") format("embedded-opentype"), url("/wp-content/themes/ajsmith-understrap/fonts/Roboto-Regular-webfont.woff") format("woff"), url("/wp-content/themes/ajsmith-understrap/fonts/Roboto-Regular-webfont.ttf") format("truetype"), url("/wp-content/themes/ajsmith-understrap/fonts/Roboto-Regular-webfont.svg#robotoregular") format("svg");
  font-weight: normal;
  font-style: normal; }
body {
  background: #000;
  /* Forms */ }
  body * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-family: 'robotoregular', Arial,sans-serif; }
  body h1 {
    margin-bottom: 20px;
    padding-bottom: 19px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
    @media (max-width: 800px) {
      body h1 {
        font-size: 24px; } }
  body a {
    color: #FFF; }
    body a:hover {
      color: white;
      text-decoration: underline;
      -webkit-transition: all 0.2s;
      -o-transition: all 0.2s;
      transition: all 0.2s; }
  body .wpcf7 {
    margin: 20px 0 !important; }
  body input[type=text], body input[type=email], body textarea, body input[type=submit] {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(0, 0, 0, 0.6) !important;
    border-radius: 0 !important;
    -webkit-transition: all 0.3s !important;
    -o-transition: all 0.3s !important;
    transition: all 0.3s !important; }
  body .wpcf7-form input[type=text]:focus, body .wpcf7-form input[type=email]:focus, body .wpcf7-form textarea:focus {
    background: #FFF !important;
    border: 1px solid #000; }
  body .wpcf7-form .wpcf7-form-control-wrap input[type=text]:hover, body .wpcf7-form .wpcf7-form-control-wrap input[type=email]:hover, body .wpcf7-form .wpcf7-form-control-wrap textarea:hover {
    background: rgba(255, 255, 255, 0.7); }
  body input[type=submit] {
    color: rgba(255, 255, 255, 0.7) !important; }
  body input[type=submit]:hover {
    color: rgba(0, 0, 0, 0.8) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.6) !important;
    font-weight: 700; }
  body .wrapper {
    padding: 30px 0 0 0; }
  body #content {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.6);
    padding-top: 10px; }
  body .text-wrap {
    margin: 0;
    position: relative;
    width: 100%;
    height: 170px;
    font-size: 190px;
    border-bottom: 0;
    font-weight: 100;
    letter-spacing: 2px;
    position: relative;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    display: inline-block;
    /* -webkit-animation-name: floating;
    	  animation-name: floating;
    -webkit-animation-duration: 10s;
    	  animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    	  animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    	  animation-timing-function: ease-in-out;
     */ }
    @media (max-width: 800px) {
      body .text-wrap {
        height: 99px; } }
    body .text-wrap svg {
      position: absolute;
      width: 100%;
      height: 80%;
      font: bold 100px sans-serif;
      overflow: visible; }
      @media (max-width: 800px) {
        body .text-wrap svg {
          margin-top: 10px;
          height: 60%; } }
      @media (min-width: 1360px) {
        body .text-wrap svg {
          margin-top: -10px;
          height: 100%; } }
      body .text-wrap svg #p-img1 image, body .text-wrap svg #p-img2 image, body .text-wrap svg #p-img3 image, body .text-wrap svg #p-img4 image, body .text-wrap svg #p-img5 image {
        -webkit-animation: ajsmithClipSlide linear infinite 72s;
        animation: ajsmithClipSlide linear infinite 72s;
        width: 180%; }
      body .text-wrap svg .img-layer {
        /* fill: url(#p-img1); */
        -webkit-animation: imageAnimationCycle 80s linear infinite 0s;
        -moz-animation: imageAnimationCycle 80s linear infinite 0s;
        animation: imageAnimationCycle 80s linear infinite 0s; }
      body .text-wrap svg .gradient-layer {
        fill: url(#gr-overlay); }
      body .text-wrap svg .img-layer, body .text-wrap svg .gradient-layer {
        font-size: 72px;
        font-family: 'christopherhandregular'; }
        @media (max-width: 800px) {
          body .text-wrap svg .img-layer, body .text-wrap svg .gradient-layer {
            font-size: 100px; } }
  body .subtext {
    width: 50%;
    margin: 0 auto 15px auto;
    position: relative;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    text-shadow: 1px 1px 8px black; }
    @media (max-width: 800px) {
      body .subtext {
        font-size: 18px;
        width: 80%; } }
    body .subtext a {
      color: rgba(255, 255, 255, 0.8); }
      body .subtext a:hover {
        color: white;
        text-decoration: none; }
  body ul.tech-logos {
    width: 100%;
    float: left;
    text-align: center;
    margin: 0 auto;
    padding: 0; }
    body ul.tech-logos li {
      float: left;
      margin: 0 10px 20px 10px;
      width: 22%;
      list-style-type: none; }
      @media (max-width: 321px) {
        body ul.tech-logos li {
          width: 17%; } }
      @media (max-width: 375px) {
        body ul.tech-logos li {
          width: 18%; } }
      body ul.tech-logos li img {
        width: 100%;
        height: auto;
        padding: 10px;
        -webkit-filter: grayscale(1);
        filter: grayscale(1);
        opacity: 0.9;
        background: #fff; }
    body ul.tech-logos p {
      display: none; }
  body .skills {
    width: 100%;
    margin: 0 auto 20px auto;
    color: rgba(255, 255, 255, 0.8); }
  body .no-cssmask .text-wrap svg .gradient-layer {
    display: none; }

  img.wp-post-image {
    display: none;
  }

  /* Back to Top */
  .cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8) url(../../img/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    border-radius: 35px;
    z-index: 99999;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
  }

  .cd-top.cd-top--show,
  .cd-top.cd-top--fade-out,
  .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
    transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
  }

  .cd-top.cd-top--show {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
  }

  .cd-top.cd-top--fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: .5;
  }

  .cd-top:hover {
    background-color: #000;
    opacity: 1;
  }

  @media only screen and (min-width: 768px) {
    .cd-top {
      right: 20px;
      bottom: 20px;
    }
  }

  @media only screen and (min-width: 1024px) {
    .cd-top {
      height: 60px;
      width: 60px;
      right: 30px;
      bottom: 30px;
    }
  }

.hero__title {
  font-size: 190px;
  border-bottom: 0;
  font-weight: 100;
  letter-spacing: 2px;
  font-family: 'christopherhandregular';
  position: relative;
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1;
  display: inline-block;
  -webkit-animation-name: floating;
  animation-name: floating;
  -webkit-animation-duration: 40s;
  animation-duration: 40s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out; }

@-webkit-keyframes floating {
  from {
    -webkit-transform: translate(0, 0px) rotateY(-12deg);
    transform: translate(0, 0px) rotateY(-12deg); }
  65% {
    -webkit-transform: translate(0, 15px) rotateY(10deg) rotateX(10deg);
    transform: translate(0, 15px) rotateY(10deg) rotateX(10deg); }
  to {
    -webkit-transform: translate(0, 0px) rotateY(-12deg);
    transform: translate(0, 0px) rotateY(-12deg); } }
@keyframes floating {
  from {
    -webkit-transform: translate(0, 0px) rotateY(-12deg);
    transform: translate(0, 0px) rotateY(-12deg); }
  65% {
    -webkit-transform: translate(0, 15px) rotateY(10deg) rotateX(10deg);
    transform: translate(0, 15px) rotateY(10deg) rotateX(10deg); }
  to {
    -webkit-transform: translate(0, 0px) rotateY(-12deg);
    transform: translate(0, 0px) rotateY(-12deg); } }
/* ANIMATIONS */
@-webkit-keyframes ajsmithClipSlide {
  	/*  BEFORE TRYING TO ALTERNATE DIRECTION
  	
  	0% {
  		animation-timing-function: ease-in;
  		transform: translate(-193px, -45px)
      }
     100% {
  	   transform: translate(-344px, -45px)       
  	} */
  0% {
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    -webkit-transform: translate(-193px, -45px);
    transform: translate(-193px, -45px); }
  50% {
    -webkit-transform: translate(-344px, -45px);
    transform: translate(-344px, -45px); }
  100% {
    -webkit-transform: translate(-193px, -45px);
    transform: translate(-193px, -45px); } }
@keyframes ajsmithClipSlide {
  	/*  BEFORE TRYING TO ALTERNATE DIRECTION
  	
  	0% {
  		animation-timing-function: ease-in;
  		transform: translate(-193px, -45px)
      }
     100% {
  	   transform: translate(-344px, -45px)       
  	} */
  0% {
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    -webkit-transform: translate(-193px, -45px);
    transform: translate(-193px, -45px); }
  50% {
    -webkit-transform: translate(-344px, -45px);
    transform: translate(-344px, -45px); }
  100% {
    -webkit-transform: translate(-193px, -45px);
    transform: translate(-193px, -45px); } }
@-webkit-keyframes imageAnimationCycle {
  0% {
    opacity: 0;
    fill: url(#p-img1); }
  2% {
    opacity: 1;
    fill: url(#p-img1); }
  16% {
    opacity: 1;
    fill: url(#p-img1); }
  18% {
    opacity: 0;
    fill: url(#p-img1); }
  20% {
    opacity: 0;
    fill: url(#p-img2); }
  22% {
    opacity: 1;
    fill: url(#p-img2); }
  36% {
    opacity: 1;
    fill: url(#p-img2); }
  38% {
    opacity: 0;
    fill: url(#p-img2); }
  40% {
    opacity: 0;
    fill: url(#p-img3); }
  42% {
    opacity: 1;
    fill: url(#p-img3); }
  56% {
    opacity: 1;
    fill: url(#p-img3); }
  58% {
    opacity: 0;
    fill: url(#p-img3); }
  60% {
    opacity: 0;
    fill: url(#p-img4); }
  62% {
    opacity: 1;
    fill: url(#p-img4); }
  76% {
    opacity: 1;
    fill: url(#p-img4); }
  78% {
    opacity: 0;
    fill: url(#p-img4); }
  80% {
    opacity: 0;
    fill: url(#p-img5); }
  82% {
    opacity: 1;
    fill: url(#p-img5); }
  96% {
    opacity: 1;
    fill: url(#p-img5); }
  98% {
    opacity: 0;
    fill: url(#p-img5); }
  100% {
    opacity: 0;
    fill: url(#p-img1); } }
@-moz-keyframes imageAnimationCycle {
  0% {
    opacity: 0;
    fill: url(#p-img1); }
  2% {
    opacity: 1;
    fill: url(#p-img1); }
  16% {
    opacity: 1;
    fill: url(#p-img1); }
  18% {
    opacity: 0;
    fill: url(#p-img1); }
  20% {
    opacity: 0;
    fill: url(#p-img2); }
  22% {
    opacity: 1;
    fill: url(#p-img2); }
  36% {
    opacity: 1;
    fill: url(#p-img2); }
  38% {
    opacity: 0;
    fill: url(#p-img2); }
  40% {
    opacity: 0;
    fill: url(#p-img3); }
  42% {
    opacity: 1;
    fill: url(#p-img3); }
  56% {
    opacity: 1;
    fill: url(#p-img3); }
  58% {
    opacity: 0;
    fill: url(#p-img3); }
  60% {
    opacity: 0;
    fill: url(#p-img4); }
  62% {
    opacity: 1;
    fill: url(#p-img4); }
  76% {
    opacity: 1;
    fill: url(#p-img4); }
  78% {
    opacity: 0;
    fill: url(#p-img4); }
  80% {
    opacity: 0;
    fill: url(#p-img5); }
  82% {
    opacity: 1;
    fill: url(#p-img5); }
  96% {
    opacity: 1;
    fill: url(#p-img5); }
  98% {
    opacity: 0;
    fill: url(#p-img5); }
  100% {
    opacity: 0;
    fill: url(#p-img1); } }
@keyframes imageAnimationCycle {
  0% {
    opacity: 0;
    fill: url(#p-img1); }
  2% {
    opacity: 1;
    fill: url(#p-img1); }
  16% {
    opacity: 1;
    fill: url(#p-img1); }
  18% {
    opacity: 0;
    fill: url(#p-img1); }
  20% {
    opacity: 0;
    fill: url(#p-img2); }
  22% {
    opacity: 1;
    fill: url(#p-img2); }
  36% {
    opacity: 1;
    fill: url(#p-img2); }
  38% {
    opacity: 0;
    fill: url(#p-img2); }
  40% {
    opacity: 0;
    fill: url(#p-img3); }
  42% {
    opacity: 1;
    fill: url(#p-img3); }
  56% {
    opacity: 1;
    fill: url(#p-img3); }
  58% {
    opacity: 0;
    fill: url(#p-img3); }
  60% {
    opacity: 0;
    fill: url(#p-img4); }
  62% {
    opacity: 1;
    fill: url(#p-img4); }
  76% {
    opacity: 1;
    fill: url(#p-img4); }
  78% {
    opacity: 0;
    fill: url(#p-img4); }
  80% {
    opacity: 0;
    fill: url(#p-img5); }
  82% {
    opacity: 1;
    fill: url(#p-img5); }
  96% {
    opacity: 1;
    fill: url(#p-img5); }
  98% {
    opacity: 0;
    fill: url(#p-img5); }
  100% {
    opacity: 0;
    fill: url(#p-img1); } }


