* {
  box-sizing: border-box;
}

body {
  background: #044343;
margin: 0;
padding: 0;
overflow-x: hidden;
}

.projectimages {
  overflow-y: scroll;
  height: -webkit-fill-available;
}

.mouse-icon {
  margin-top: 2%;
  animation: slideInFromBottom 3s ease-out;
  opacity: 0.8;
}

.mouse-icon2 {
    transform: scaleX(1.2);
  transform: scaleY(0.8);
  margin-top: 0;
  margin-bottom: 40px;
  width: 100%;
opacity: 0.7;
}

.mouse-icon3 {
      transform: scaleX(1.2);
  transform: scaleY(0.8);
  margin-top: 0;
  margin-bottom: 40px;
  width: 100%;
opacity: 0.5;
}

.mouse-icon .arrow {
  width: 35px;
  height: 35px;
  display: block;
  border-bottom: 4px solid #e4e4e4;
  border-right: 4px solid #e4e4e4;
      border-radius: 3px;
  transform: rotate(45deg);
  position: relative;
  margin: 0 auto;
  animation: arrowAnim 1.8s infinite;
}
.mouse-icon .arrow.arrow-01 {
  animation-delay: 0.3s;
      border-radius: 5px;
        width: 40px;
  height: 40px;
  top: 10px;
}
.mouse-icon .arrow.arrow-02 {
  animation-delay: 0.4s;
     border-bottom: 3px solid #e4e4e4;
  border-right: 3px solid #e4e4e4;
}
.mouse-icon .arrow.arrow-03 {
  animation-delay: 0.5s;
  border-radius: 3px;
   border-bottom: 2px solid #e4e4e4;
  border-right: 2px solid #e4e4e4;
   width: 25px;
  height: 25px;
}
@keyframes scrollAnim {
  from {
    top: 5px;
  }
  to {
    top: 15px;
    opacity: 0;
  }
}
@keyframes arrowAnim {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}



@keyframes scrollAnim {
  from { 
    top: 5px;
  }
  to {
    top: 15px;
    opacity: 0;
  }
}


@keyframes arrowAnim {
  0% {
    opacity: 0;
  }
  50% { 
    opacity: 0.9;
  }
  100% { 
    opacity: 0;
  }
}






/* Center the loader */
#loader {
  position: absolute;
  left: 48%;
  top: 40%;
  border: 16px solid #e4e4e4;
  border-radius: 50%;
  border-top: 16px solid #045757;
  border-right: 16px solid #222222;
  border-bottom: 16px solid #044343;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  transition: all 1s ease;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

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







/*   EMBEDDING WEBSITES WITH IFRAME */
.projectwindow {
  height: 44vh;
  width: 80%;
  margin-left: 10%;
  border: 2px solid #045757;
  border-radius: 4px;
}

/* CONTACT PAGE */
.title {
      margin-top: 130px;
      transition: 0.4s;
}
.dividingline {
  width: 100%;
  height: 20px;
  background-color: #045757;
  z-index: 1;
}

.topinfotext {
padding-bottom: 3%;
}

.topinfo {
  padding-bottom: 3%;
  width: 100%;
  text-align: center;
display: inline-block;

}


.contacttext {
  color: #e4e4e4;
  font-size: 1.4em;
   font-family: 'Abel', 'Futura', sans-serif;
   font-weight: lighter;
display: inline-block;
padding-top: 3%;
   margin-top: 0;
   margin-bottom: 0;
   width: 35%;
   text-align: center;
   letter-spacing: 1.8px;
   text-shadow: 2px 2px 8px #222222;
   animation: 1.4s ease-out 0s 1 fadein;
}

.contact_left {
  padding-left: 5%;
}
.contact_right {
  padding-right: 5%;
}

/* contact info above top section */
h8 {
  color: #e4e4e4;
  font-size: 1.2em;
   font-family: 'Abel', sans-serif;
   font-weight: lighter;
   padding: 0 15px;
   transition: all 0.4s ease;
}

.contactinfobar {
width: 100%;
height: auto;
background-color: #044343;
}

.contactinfo-home-left {
  text-align: left;
  float: left;
  display: inline;
}

.contactinfo-home-right {
  text-align: right;
  float: right;
  display: inline;
}
#section0 {
  height: 100vh;
  padding-top: 0;
}
#section1 {
      background: #045757;
      height: 100vh;
}


#section5 {
    padding-top: 24vh;
    background: #044343;
}

.section {
height: 100vh;
    padding-top: 20vh;
}

#section2 {

  padding-bottom: 0;
}


#moveDown{
  top: 20px;
  left: 20px;
  position:fixed;
  z-index:999;
  font-size: 3em;
}

/* top section with large logo + intro */
.topsection {
  background-color: #045757;
  width: 100%;
  height: 100vh;
  text-align: center;

}


.homepageline {
height:2px;
margin-top: 30px;
margin-bottom: 24px;
margin-left: auto;
margin-right: auto;
  background:-moz-linear-gradient(left, #045757 0%,#e4e4e4 50%,#045757 100%);
  background:-webkit-linear-gradient(left, #045757 0%,#e4e4e4 50%,#045757 100%);
  background:linear-gradient(left, #045757 0%,#e4e4e4 50%,#045757 100%);
  width:40%;
  display:block;
  opacity: 0.6;
  animation: 3s ease-out 0s 1 fadein;
}

h6 {
  color: #e4e4e4;
  font-size: 1.6em;
   font-family: 'Abel', sans-serif;
   font-weight: normal;
   padding-top: 85px;
   margin-top: 0;
   margin-bottom: 0;
   letter-spacing: 1.5px;
   text-shadow: 2px 2px 6px #222222;
   animation: 1.4s ease-out 0s 1 fadein;
}




h7 {
  color: #e4e4e4;
  font-size: 1.4em;
    font-family: 'Abel', sans-serif;
   font-weight: lighter;
   padding-top: 40px;
   margin-top: 0;
   width: 200px;
   text-shadow: 2px 2px 8px #222222;
   animation: 1.4s ease-out 0s 1 fadein;
}

h10 {
  text-shadow: 1px 1px 1px #222222;
  font-size: 1.1em;
  font-weight: lighter;
  letter-spacing: 1.1px;
}

.animtitle {
  width: 100%;

}

.basictext {
  font-size: 1.2em;
  color: #e4e4e4;
  transition: 0.3s;
  text-shadow: 1px 1px 1px #222222;
}

h5 {
  letter-spacing: 1.5px;
  margin: 0;
  width: 100%;
  text-align: center;
 color: #e4e4e4;
    background: #222222;
  font-size: 1.6em;
   font-family: 'Abel', 'Futura', sans-serif;
   font-weight: lighter;
   padding-top: 15px;
   padding-bottom: 15px;
   text-shadow: 2px 2px 3px #045757;
}
h9 {
  letter-spacing: 1.5px;
  margin: 0;
  width: 100%;
  display: inline-block;
  text-align: center;
 color: #e4e4e4;
    background: #222222;
  font-size: 1.6em;
   font-family: 'Abel', 'Futura', sans-serif;
   font-weight: lighter;
   padding-top: 15px;
   padding-bottom: 15px;
   text-shadow: 2px 2px 3px #045757;
}
.largelogo {
display: inline-block;
  height: auto;
  width: 100%;
  background-color: #222222;
transition: all 0.5s ease-out;
}

.logogif {
  height: inherit;
  width: auto;
  margin-left: auto;
margin-right: auto;
transition: all 1s ease-out;
}


.logoshell {
  padding-top: 130px;
  margin-bottom: 0px;
  transition: padding 0.4s ease;
      animation: slideInFromBottom 1s ease;
}

.line {
  height: 5px;
  width: 20%;
  background-color: #e4e4e4;
  transition: all 0.5s ease-out;
}

.leftline {
  display: inline;
  float: left;
  position: relative;
  margin-bottom: 1px;
  background-image: -webkit-gradient(linear, left top, right top, from(#e4e4e4), to(#045757));
background-image: -webkit-linear-gradient(left, #e4e4e4, #045757);
background-image: -moz-linear-gradient(left, #e4e4e4, #045757);
background-image: -ms-linear-gradient(left, #e4e4e4, #045757);
background-image: -o-linear-gradient(left, #e4e4e4, #045757);
animation: 3s ease-out 0s 1 slideInFromRight;
}

.rightline {
  margin-top: 0;
  float: right;
  position: relative;
  display: inline-block;
  background-image: -webkit-gradient(linear, left top, right top, from(#045757), to(#045757));
background-image: -webkit-linear-gradient(left, #045757, #e4e4e4);
background-image: -moz-linear-gradient(left, #045757, #e4e4e4);
background-image: -ms-linear-gradient(left, #045757, #e4e4e4);
background-image: -o-linear-gradient(left, #045757, #e4e4e4);
animation: 3s ease-out 0s 1 slideInFromLeft;
}

/* footer */
footer {
      display: inline-block;
    width: 100%;
    margin-top: 10%;
  border-top: 1px solid #e4e4e4;
  padding-top: 20px;
}


/* @header */
.header {
  background: #222222;
  position: absolute;
  top: 0;
  height: 20%;
  width: 100%;
  padding: 8px 2%;
  color: #e4e4e4;
  overflow: initial;
  z-index: 999;
  animation: 1s ease-out 0s 1 fadeInDown;
      -webkit-transition: all 0.7s ease;  
    -moz-transition: all 0.7s ease;  
      -o-transition: all 0.7s ease; 
         transition: all 0.7s ease; 
}
.header.fixed{
    bottom:auto;
    top:0;
    margin-top: 0;
}


.logo {
  width: 28%;
}

.site-branding img {
  min-width: 200px;
      height: 90%;
    width: auto;
  transition: 1s ease;
}

.headerimage {
  width: 100%;
}

/* @hero */
.hero {
  padding: 0 35% 5% 5%;
  transition: all 1s ease;
}

.inner {
  color: #e4e4e4;
  padding-left: 5%;
  transition: all 1s ease;
}

.inner h1 {
  font-size: 4vw;
  color: #e4e4e4;
  font-family: 'Abel', sans-serif;
  font-weight: bold;
  transition: all 1s ease;
}

p {
  font-family: 'Abel', sans-serif;
  font-weight: lighter;
  letter-spacing: 0.8px;
}

.service-block {
  padding: 2em;
  display: inline-block;
  transition: all 0.7s ease-out;
  width: 24.5%;
}
.animsection {
  padding: 2em;
  background: #222222;
}
.shortanims {
  width: 100%;
    transition: 0.6s ease-out;
    border: 3px solid #045757;
    animation: 3s ease-in 0s 1 bounceIn;

}

.shortanims:hover {
  transform: scale(1.8);
}


/* ABOUT ME page */

.prismbutton {
  font: url("https://fonts.googleapis.com/css?family=Source+Sans+Pro");
  width: 320px;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  perspective: 500px;
  -webkit-perspective: 500px;
    box-shadow: 0 0 10px rgba(34, 34, 34, 0.01);
}

.prismbutton .prismdiv {
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: 0.25s;
  -webkit-transition: 0.25s;
}

.prismbutton:hover .prismdiv {
  transform: rotateX(-90deg);
}

.prismbutton:hover {
  box-shadow: 0 0 10px rgba(34, 34, 34,  1);
}

.prismspan {
  width: 100%;
  height: 100%;
  position: absolute;
  box-sizing: border-box;
  border: 5px solid #e4e4e4;
  font-family: 'Source Sans Pro',sans-serif;
  line-height: 50px;
  font-size: 14pt;
  text-align: center;
  text-transform: uppercase;
}

.prismspan:nth-child(1) {
  color: #e4e4e4;
  transform: translate3d(0, 0, 30px);
  -webkit-transform: translate3d(0, 0, 30px);
}

.prismspan:nth-child(2) {
  color: #045757;
  background: #e4e4e4;
  transform: rotateX(90deg) translate3d(0, 0, 30px);
  -webkit-transform: rotateX(90deg) translate3d(0, 0, 30px);
  font-weight: 600;
}



/* featured work columns */
.workcolumns {
background: #FFF;

}

.column {
width: 100%;
margin: 0;
    display: inline-block;
    transition: width 0.7s ease-out;
}

.column-right {
  float: right;
}

.column-left {
  float: left;
}

/* dropdown nav */
.hamburger {
  display: none;

}
.fa-bars {
  font-size: 2.6em;
  padding-top: 65%;
padding-right: 15px;
  text-decoration: none;
  color: #FFF;
  text-align: right;
  display: inline-block;
  float: right;
  opacity: 0.7;
  transition: 0.4s ease;

}

.fa-bars:hover {
  opacity: 1;
  text-shadow: 1px 1px 3px #608182;
}

.fa-close {
  font-size: 2.6em;
  padding-top: 65%;
padding-right: 15px;
  text-decoration: none;
  color: #FFF;
  opacity: 0.7;
  transition: 0.4s ease;
}

.fa-close:hover {
  opacity: 1;
  text-shadow: 1px 1px 3px #608182;

}


    
/* ANIMATING HAMBURGER LINES */
#nav-icon3 {
  width: 55px;
  height: 35px;
  opacity: 0.8;
  position: relative;
  margin-top: 50%;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon3:hover {
  opacity: 1;
}

#nav-icon3 span {
  display: block;
  position: absolute;
  height: 9px;
  width: 100%;
  background: #e4e4e4;
  border-radius: 9px;
  opacity: inherit;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

/* Icon 3 */

#nav-icon3 span:nth-child(1) {
  top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
  top: 18px;
}

#nav-icon3 span:nth-child(4) {
  top: 36px;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}


/* @primary-menu */


.arrows {
  opacity: 0.7;
  color: #e4e4e4;
}
.primary-menu {
  float: right;
  position: relative;
  padding-top: 0;
}

.primary-menu ul {
  padding: 0;
  margin: 0;

}

.primary-menu li {
  padding: 0;
  margin: 0 0.7em;
  list-style: none;
  display: inline;
  font-size: 1.6em;
  font-family: 'Abel', sans-serif;
  transition: padding 0.5s ease;
}



.primary-menu li a {
  text-decoration: none;
  color: #E4E4E4;
   text-shadow: 2px 2px 4px #045757;
   opacity: 0.7;
   border-top: 4px solid #045757;
  border-bottom: 4px solid #045757;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 5px;
  border-top-style: double;
  border-bottom-style: double;
  padding: 14px 4px;
  margin: 0 20px;
  letter-spacing: 1.6pt;
   transition: all 0.4s ease;
}

.primary-menu li a:active {
  text-decoration: none;
  color: #E4E4E4;
   text-shadow: 2px 2px 4px #045757;
   opacity: 0.1;
}

.activeLink {
  text-decoration: none;
  color: #E4E4E4;
   text-shadow: 2px 2px 4px #045757;
   opacity: 0.1;
}

.primary-menu li a:hover {
  color: #E4E4E4;
   text-shadow: 2 2 5px #222222;
   background-color: #044343;
   opacity: 1;
   border-bottom: solid 2px #e4e4e4;
   border-top: solid 2px #e4e4e4;
     border-bottom-right-radius: 8px;
  border-top-left-radius: 8px;
  padding: 6px 4px; 
}

/* featured work */
.featured-work {
  margin-left: auto;
  margin-right: auto;
  padding-top: 2%;
  color: #E4E4E4;
  width: 85%;
}

.blocktext-work {
  color: #e4e4e4;
  font-size: 1.2em;
    font-family: 'Abel', sans-serif;
    font-weight: lighter;
    text-align: justify;
    width: 85%;
    padding-right: 10%;
    float: right;
}

.blocktext-full {
  color: #e4e4e4;
  font-size: 1.2em;
    font-family: 'Abel', sans-serif;
    font-weight: lighter;
        margin-right: auto;
            margin-left: auto;
    text-align: center;
    width: 85%;
}

#menu {
      padding-top: 7vh;
}

.fullproj_half {
  width: 49%;
  display: inline-block;
  vertical-align: top;
}

.proj_image {
    width: 49%;
    padding: 2% 5%;
    vertical-align: middle;
}

.firstproject {
    width: 80%;
}

.featuredworkimage {
  width: 85%;
  opacity: 1;
  z-index: 1;
  transition: all 0.4s ease;
  border: 2px solid #e4e4e4;
}

.featuredworkimage2 {
      width: 100%;
    height: auto;
  opacity: 1;
  z-index: 1;
  border: 2px solid #e4e4e4;
  transition: all 0.4s ease;
}


/* BORDER ANIMATION FOR IMAGES */
button {
  background: none;
  border: 0;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 0px #222222;
  color: #222222;
  font-size: inherit;
  font-weight: 700;
  position: relative;
  vertical-align: middle;
}
button::before, button::after {
  box-sizing: inherit;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
}
.draw {
  transition: color 0.25s;
}
.draw::before, .draw::after {
  border: 4px solid transparent;
  width: 0;
  height: 0;
}
.draw::before {
  top: 0;
  left: 0;
}
.draw::after {
  bottom: 0;
  right: 0;
}
.draw:hover {
  color: #e4e4e4;
}
.draw:hover::before, .draw:hover::after {
  width: 100%;
  height: 100%;
}
.draw:hover::before {
  border-top-color: #e4e4e4;
  border-right-color: #e4e4e4;
  transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
}
.draw:hover::after {
  border-bottom-color: #e4e4e4;
  border-left-color: #e4e4e4;
  transition: border-color 0s ease-out 0.5s, width 0.25s ease-out 0.5s, height 0.25s ease-out 0.75s;
}
.buttons {
  isolation: isolate;
}




.img-wrap2:hover:before {
    background: rgba(0, 0, 0, .4);
}

.featuredworkimage:hover {
  opacity: 0.7;
}

.featuredworkimage2:hover {
  opacity: 0.7;
}

.workdescription {
    font-family: 'Abel', sans-serif;
    font-weight: lighter;
    letter-spacing: 0.8px;
    display: inline;
    width: 25%;
    padding-top: 10%;
    visibility: hidden;
    opacity: 0;
      transform: translateX(-200px);
      transition: 0.8s ease;
     text-shadow: 2 2 5px #222222;
}

.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.visible {
  visibility: visible;
  opacity: 1;
  width: 80%;
  padding-top: 0;
  transform: translateX(0px);
}

.centeredimg {
  display: block;
  width: 80%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.img-wrap:hover ~ .workdescription {
  visibility: visible;
  opacity: 1;
    transform: translateX(-50px);
}

.featuredworkimage:hover ~ .textoverlay {
  visibility: visible;
  opacity: 1;
  transform: scaleY(1);
}
.featuredworkimage2:hover ~ .textoverlay {
  visibility: visible;
  opacity: 1;
  transform: scaleY(1);
}
.img-wrap2:hover ~ .textoverlay {
  visibility: visible;
  opacity: 1;
  transform: scaleY(1);
}

.textoverlay:hover {
  visibility: visible;
  opacity: 1;
}

.img-wrap2:hover ~ .featuredworkimage2 {
opacity: 0.5;
}

.draw:hover ~ .featuredworkimage2 {
opacity: 0.5;
}

.img-wrap {
  width: 60%;
 position: relative;
}

.img-wrap2 {
  position: relative;
    overflow: hidden;

    /* Only the -webkit- prefix is required these days */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

.img-wrap2:before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background .35s ease-out;
}

.img-wrap:hover:before {
    background: rgba(0, 0, 0, .5);
}


.img-wrap3 {
  width: 35%;
 position: relative;
 transition: all 0.4s ease;
}

.textoverlay {
 position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: #222222;
    text-shadow: 2 2 4px #e4e4e4;
    font-size: 1.6em;
      letter-spacing: 0.8px;
    font-family: 'Abel', sans-serif;
      font-weight: normal;
      letter-spacing: 0.8px;
    -webkit-transform: translateY(88%);
            transform: translateY(88%);

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
}

.img-wrap2:hover .textoverlay {
    -webkit-transform: translateY(60%);
            transform: translateY(60%);
}

.overlay_title {
    -webkit-transform: translateY( -webkit-calc(-100% - 10px) );
            transform: translateY( calc(-100% - 10px) );

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
}


.img-wrap2:hover .overlay_title {
    -webkit-transform: translateY(0);
            transform: translateY(0);
}

img.uscpic.featuredworkimage2 {
    width: 70vw;
    max-height: 600px;
    height: auto;
}
.uscpic {
   width: 70vw;
    max-height: 600px;
    height: auto;
}

/*
#UnityEmbed {
      margin-left: 36%;
      transition: all 0.5s ease;
}
*/

#unityPlayer {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.projectlink {
    display: block;
    padding: 1% 0;
    width: 350px;
    text-decoration: none;
    color: #e4e4e4;
    font-family: 'Abel', sans-serif;
    font-weight: lighter;
    text-align: center;
    font-size: 1.6em;
    background-color: #045757;
    letter-spacing: 1.2px;
    text-shadow: 1px 1px 2px #222222;
    margin-left: auto;
    margin-right: auto;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    transition: 0.4s ease-out;
}

.projectlink:hover {
    width: 400px;
    font-size: 1.6em;
    letter-spacing: 2.8px;
    text-shadow: 1px 1px 4px #222222;
}

h3 {
  font-family: 'Abel', sans-serif;
  font-weight: lighter;
  letter-spacing: 1.2px;
  font-size: 1.4em;
  color: #e4e4e4;
  text-align: right;
    margin-right: 10%;
  text-shadow: 1px 1px 2px #222222;
}

h2 {
  font-family: 'Abel', 'Futura', sans-serif;
  font-weight: bold;
  color: #222222;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 2px #045757;
  text-align: right;
  transition: all 0.4s ease;
  padding-right: 3%;
}

h4 {
  display: inline-block;
  width: 100%;
      color: #e4e4e4;
    font-size: 1.2em;
    font-family: 'Abel', sans-serif;
    font-weight: lighter;
    text-align: center;
    margin: 0;
    padding: 15px 0px;
    transition: all 0.4s ease;
}

/* BACK TO TOP BUTTON - js code has been changed to allow for 'fullpage.js' so some values are obsolete */
.cd-top {
  z-index: 999;
  height: 60px;
  width: 60px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  border-radius: 1px;
  box-shadow: 0 0 5px rgba(34, 34, 34, 0.8);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background:  rgba(34, 34, 34, 0.6) url(https://codyhouse.co/demo/back-to-top/img/cd-top-arrow.svg) no-repeat center 50%;
  -webkit-transition: all 0.7s ease-out;
  -moz-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  opacity: 1;
}



.btn-cont {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 50px;
}
.btn-cont .btn {
  position: relative;
  padding: 20px 70px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  -webkit-font-smoothing: antialiased;
}
.btn-cont .btn:hover {
  border: none;
}
.btn-cont .btn:hover .line-1 {
  animation: move1 1500ms infinite ease;
}
.btn-cont .btn:hover .line-2 {
  animation: move2 1500ms infinite ease;
}
.btn-cont .btn:hover .line-3 {
  animation: move3 1500ms infinite ease;
}
.btn-cont .btn:hover .line-4 {
  animation: move4 1500ms infinite ease;
}
.btn-cont .line-1 {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  background-color: white;
  left: 0;
  bottom: 0;
}
.btn-cont .line-2 {
  content: "";
  display: block;
  position: absolute;
  height: 1px;
  background-color: white;
  left: 0;
  top: 0;
}
.btn-cont .line-3 {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  background-color: white;
  right: 0;
  top: 0;
}
.btn-cont .line-4 {
  content: "";
  display: block;
  position: absolute;
  height: 1px;
  background-color: white;
  right: 0;
  bottom: 0;
}
@keyframes move1 {
  0% {
    height: 100%;
    bottom: 0;
  }
  54% {
    height: 0;
    bottom: 100%;
  }
  55% {
    height: 0;
    bottom: 0;
  }
  100% {
    height: 100%;
    bottom: 0;
  }
}
@keyframes move2 {
  0% {
    width: 0;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes move3 {
  0% {
    height: 100%;
    top: 0;
  }
  54% {
    height: 0;
    top: 100%;
  }
  55% {
    height: 0;
    top: 0;
  }
  100% {
    height: 100%;
    top: 0;
  }
}
@keyframes move4 {
  0% {
    width: 0;
    right: 0;
  }
  55% {
    width: 100%;
    right: 0;
  }
  100% {
    width: 0;
    right: 100%;
  }
}




/* button with border animation */
.container {
  z-index: 99;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0;
  flex-wrap: wrap;
}
.container .button-wrapper {
  overflow: hidden;
}
.container .button-wrapper .button {
  position: relative;
  text-transform: uppercase;
  color: #e4e4e4;
  border: solid 2px #e4e4e4;
  padding: 10px 30px;
  z-index: 1;
}
.container .button-wrapper .button::before {
  position: absolute;
  border-bottom: solid 2px;
  content: '';
  min-height: 10px;
  min-width: 100px;
  z-index: 200;
  left: 50%;
  transform: translateX(-50%);
  top: 60%;
  opacity: 1;
  transition-duration: 0.5s;
}
.container .button-wrapper .button::after {
  position: absolute;
  content: '';
  width: 600px;
  height: 160px;
  border-radius: 50%;
  background-color: #044343;
  top: -120%;
  left: -30%;
  z-index: -10;
  transition-duration: 2s;
}
.container .button-wrapper .button:hover:after {
  width: 0;
  height: 50px;
}
.container .button-wrapper .button:hover:before {
  opacity: 0;
}

.button-wrapper .button:hover .text {
    text-shadow: 1px 1px 2px #044343;
    letter-spacing: 2pt;
}

.text {
  font-family: 'Abel', sans-serif;
  font-size: 1.4em;
  letter-spacing: 1.4pt;
  transition: all 0.4s ease;
}




/* ANIMATIONS */


/*simple fade-in */
@keyframes fadein{
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
}

@-webkit-keyframes fadein{
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
}

/* slides sidebar into page on load */
@keyframes slideInFromBottom {
 0% {
   transform: translateY(100%);
 }
 100% {
   transform: translateY(0);
 }
}

@keyframes slideInFromLeft {
 0% {
   transform: translateX(100%);
 }
 100% {
   transform: translateX(0);
 }
}
@keyframes slideInFromRight {
 0% {
   transform: translateX(-100%);
 }
 100% {
   transform: translateX(0);
 }
}


@keyframes flickerAnimation {
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-o-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:0; }
  100% { opacity:1; }
}
.flashingicon {
   -webkit-animation: flickerAnimation 3s infinite, slideInFromBottom 2s;
   -moz-animation: flickerAnimation 3s infinite, slideInFromBottom 2s;
   -o-animation: flickerAnimation 3s infinite, slideInFromBottom 2s;
    animation: flickerAnimation 3s infinite, slideInFromBottom 2s;
    color: #e4e4e4;
    padding: 40px;
    margin-bottom: 20px;
text-shadow: 2px 2px 10px #222222;

}



/* For nav changing - tablet size (sm) ------------------------------------------- */
@media screen and (max-width: 95em){
  .hamburger {
    display: inline-block;
    float: right;
  }
.section {
height: 100vh;
    padding-top: 15vh;
}
.header {
  padding: 8px 5%;
    height: 16%;
}  
  
#nav-icon3 {
  margin-top: 70%;
}
  .site-branding img {
        height: 90%;
    width: auto;
    min-width: 80px;
  }
#loader {
  left: 38%;
    top: 30%;
}

.primary-menu li a:hover {
  text-decoration: none;
  color: #E4E4E4;
   text-shadow: 2px 2px 4px #222222;
   opacity: 1;
   border-top: 3px solid #e4e4e4;
  border-bottom: 3px solid #e4e4e4;
     border-bottom-right-radius: 0;
  border-top-left-radius: 0;
  background: #044343;
  letter-spacing: 0.3em;
  padding: 1em;
  margin: 0 20px;
}

.primary-menu li a:active {
  text-decoration: none;
  color: #E4E4E4;
   text-shadow: 2px 2px 4px #222222;
   opacity: 1;
   border-top: 3px solid #e4e4e4;
  border-bottom: 3px solid #e4e4e4;
  background: #045757;
  letter-spacing: 0.25em;
  padding: 1em;
  margin: 0 20px;
}

.activeLink {
  text-decoration: none;
  color: #E4E4E4;
   text-shadow: 2px 2px 4px #222222;
   opacity: 1;
   border-top: 2px solid #e4e4e4;
  border-bottom: 2px solid #e4e4e4;
  background: #045757;
  letter-spacing: 0.25em;
  padding: 1em;
  margin: 0 20px;
}

  .primary-menu {
    display: block;
    float: none;
    height: 0;
    transition: height 0.5s ease-out;
    overflow: hidden;
      transition: 0.4s;
      background: #222222;
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;
  }
  .primary-menu.show {
    height: 60vh;
    overflow: auto;
    padding-top: 3%;
  }

  .primary-menu li {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }

  .primary-menu li a {
    display: block;
    padding: 1em;
    text-align: center;
    border-top: 3px solid #045757;
  border-bottom: 3px solid #045757;
   border-bottom-right-radius: 0;
  border-top-left-radius: 0;
  }

  .logogif {
    width: 80%;
    height: auto;
  }

  .line {
    height: 5px;
    width: 25%;
  }

  .arrows {
    display: none;
  }
  .shortanims:hover {
    transform: scale(1.2);

  }
  .service-block {
    width: 49%;
  }
  
img.uscpic.featuredworkimage2 {
    width: 88vw;
}
.uscpic {
  width: 88vw;
  height: auto;
}

.img-wrap2:hover .textoverlay {
    -webkit-transform: translateY(70%);
            transform: translateY(70%);
}
  
  .textoverlay {
    font-size: 1em;
    letter-spacing: 0.8px;
  text-shadow: 2px 2px 5px #e4e4e4;
    -webkit-transform: translateY(88%);
            transform: translateY(88%);
}
  
  .workdescription {
      font-family: 'Abel', sans-serif;
      font-weight: lighter;
      letter-spacing: 0.8px;
      visibility: visible;
      display: inline;
    width: 85%;
    padding-top: 3%;
      opacity: 1;
            margin-right: auto;
    margin-left: auto;
    transform: translateX(0px);
        transition: 0.8s ease;
  }
  h2 {
      margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
}
.hero .inner h1 {
    font-size: 5vw;
    padding-top: 12%;

  }
.inner {
  padding-left: 14%;
}
  .featuredworkimage2 {
height: auto;
width: 90vw;
  transition: all 0.4s ease;
}



 #section2 {
  padding-bottom: 0;
}
.title {
      margin-top: 130px;
}


.featured-work {
  padding-left: 2%;
  margin: 0;
}

}

/* For mobile screens (sm) ------------------------------------------- */
@media screen and (max-width: 48em){
  .service-block {
    width: 100%;
  }
  .fullproj_half {
  width: 100%;
}

h3 {
  letter-spacing: 1.2px;
  text-shadow: 2px 2px 8px #222222;
  font-size: 1.1em;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  margin-right: 0px;
}
  .blocktext-full {
  color: #e4e4e4;
  font-size: 1em;
    font-family: 'Abel', sans-serif;
    font-weight: lighter;
        margin-right: auto;
            margin-left: auto;
    text-align: center;
    width: 90%;
}
  #menu {
      padding-top: 2vh;
}
  
#nav-icon3 {
  margin-top: 30%;
}
  .primary-menu.show {
    height: 80vh;
    width: 100vw;
    overflow: auto;
    margin-right: 0px;
    padding-top: 1%;
  }

.primary-menu li a:hover {
 letter-spacing: 0.2em; 
}

.title {
      margin-top: 130px;
}

.basictext {
  font-size: 1.1em;
}


.contacttext {
  font-size: 1.2em;
   font-family: 'Abel', 'Futura', sans-serif;
display: inline-block;
padding-top: 2%;
width: 100%;
   letter-spacing: 1.4px;
}

.contact_left {
    padding-left: 0;
}
.contact_right {
  padding-right: 0;
  width: 100%;
}


.projectlink {
  padding: 2% 0;
  width: 280px;
  font-size: 1.2em;
}

.projectlink:hover {
  width: 380px;
  font-size: 1.4em;
  letter-spacing: 1.6px;
}

.proj_image {
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.animsection {
  overflow-y: scroll;
  height: -webkit-fill-available;
}

.mouse-icon .arrow.arrow-01 {
      border-radius: 2px;
           border-bottom: 4px solid #e4e4e4;
  border-right: 4px solid #e4e4e4;
        width: 40px;
  height: 40px;
  top: 0;
}
.mouse-icon .arrow.arrow-02 {
  border-radius: 2px;
     border-bottom: 3px solid #e4e4e4;
  border-right: 3px solid #e4e4e4;
  top: -10px;

}
.mouse-icon .arrow.arrow-03 {
  border-radius: 2px;
   border-bottom: 2px solid #e4e4e4;
  border-right: 2px solid #e4e4e4;
   width: 25px;
  height: 25px;
top: -12px;
}
.mouse-icon {
  margin-top: 4%;
}

.mouse-icon2 {
      transform: scaleX(0.9);
  transform: scaleY(0.7);
}

.mouse-icon3 {
      transform: scaleX(0.9);
  transform: scaleY(0.7);

}

h4 {
    font-size: 1em;
    padding: 10px 0px;
}

h10 {
  display: inline-block;
  padding-top: 6%;
  font-size: 1em;
}

  .workdescription {
      font-family: 'Abel', sans-serif;
      font-weight: lighter;
      letter-spacing: 0.8px;
      visibility: visible;
      display: inline;
    width: 85%;
    padding-top: 3%;
      opacity: 1;
            margin-right: auto;
    margin-left: auto;
    transform: translateX(0px);
        transition: 0.8s ease;
  }
  
  .featuredworkimage2 {
height: auto;
width: 95vw;
  transition: all 0.4s ease;
}

.section {
height: 100vh;
    padding-top: 10vh;
}
  
.img-wrap2 {
  position: relative;
    overflow: hidden;

    /* Only the -webkit- prefix is required these days */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

.img-wrap2::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background .35s ease-out;
}

.img-wrap2:hover:before {
    background: rgba(0, 0, 0, .5);
}

.img-wrap3 {
  width: 40%;
 position: relative;
 transition: all 0.4s ease;
}



  .visibleoverlay {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(40%);
            transform: translateY(40%);
  }

h2 {
      margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
    font-size: 1.4em;
    text-align: center;
    margin-top: 0;
}

h8 {
  color: #e4e4e4;
  font-size: 1.1em;
   font-family: 'Abel', sans-serif;
   font-weight: lighter;
   padding: 0 5px;
}

p {
  margin: 0;
}

  h6 {
    font-size: 1.2em;
     font-weight: lighter;
     padding-top: 50px;
     margin-top: 0;
     letter-spacing: 1.5px;
     text-shadow: 2px 2px 8px #222222;
     transition: all 0.5s ease-out;
  }

  h7 {
    font-size: 1em;
     padding-top: 15px;
     margin-top: 0;
     width: 200px;
     text-shadow: 2px 2px 6px #222222;
     transition: all 0.5s ease-out;
  }



.shortanims {
  width: 100%;
}
.shortanims:hover {
  transform: none;
}

.logoshell {
  padding-top: 80px;

}

.homepageline {
  width: 60%;
}

.site-branding img {
      height: 90%;
    width: auto;
  min-width: 80px;
}

.line {
  height: 4px;
  width: 30%;
}


.logogif {
  width: 100%;
  height: auto;
  transition: all 1s ease;
}

.column {
  display: block;
  width: 100%;
text-align: center;
margin: 0;
}

.featuredworkimage {
    width: 90%;
}

.featured-work {
  padding: 2%;
  margin-top: 15%;
}

  .hero {
   
    padding-right: 15%;
  }
  .hero .inner {
    text-align: center;
  }

  .hero .inner h1 {
    font-size: 5vw;
    padding-top: 12%;
  }

.overlay_title {
    -webkit-transform: translateY( -webkit-calc(-100% - 10px) );
            transform: translateY( calc(-100% - 10px) );

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
}


.img-wrap2:hover .overlay_title {
    -webkit-transform: translateY(0);
            transform: translateY(0);
}


 #section2 {
  padding-bottom: 0;
}
.textoverlay {
      text-align: center;
 position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 5px;
    color: #222222;
    text-shadow: 2 2 5px #e4e4e4;
    font-size: 0.9em;
    font-family: 'Abel', sans-serif;
      font-weight: lighter;
      letter-spacing: 0.8px;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
}

.img-wrap2:hover .textoverlay {
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
}

.blocktext-work {
  width: 95%;
  padding-right: 5%;
  text-align: center;
  font-size: 1em;
}

.cd-top {
  bottom: 20px;
  left: 20px;
}

  .header {
    padding-left: 0;
    padding-right: 5%;
    padding-top: 5px;
    padding-bottom: 0;
    height: 10%;
  }
}
