body {
  overflow-x: hidden;
  font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.7rem;
  color: #5c6f81;
}

p {
  line-height: 1.5;
}

a {
  color: #0066b9;
}

a:hover {
  color: #0082ec;
  text-decoration: none;
}

.text-primary {
  color: #fed136 !important;
}

h1
 {
  font-weight: 800;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

h3,
h2
 {
  font-weight: 800;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 1px;
}

h4,
h5,
h6 {
  font-weight: 600;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 1px;
}

.white-txt {
  color: #fff;
}

.padding-lg-t-b {
  padding-bottom: 120px;
  padding-top: 120px;
  }
.padding-lg-t {padding-top: 120px;}
.padding-lg-b {padding-bottom: 120px;}

.padding-md-t-b {
  padding-bottom: 60px;
  padding-top: 60px;
  }
.padding-md-t {padding-top: 60px;}
.padding-md-b {padding-bottom: 60px;}

.padding-sm-t-b {
  padding-bottom: 30px;
  padding-top: 30px;
  }
.padding-sm-t {padding-top: 30px;}
.padding-sm-b {padding-bottom: 30px;}


h2.section-heading {
  font-size: 4rem;
  line-height: 3.6rem;
  margin-top: 0;
  margin-bottom: 15px;
}

h3.section-subheading {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 75px;
  text-transform: none;
}


@media (max-width: 576px) {
  h2.section-heading {
    font-size: 3rem;
    line-height: 2.8rem;
    margin-bottom: 5px;
    margin-top: 0;
  }
}

.darker-bg {
  background-image: linear-gradient(to bottom, #eaeaea, #ffffff);
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.btn {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  }

.btn-xl {
  font-size: 2rem;
  padding: 10px 30px;
}

.btn-primary {
  background-color: #0066b9;
  border-color: #0066b9;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: #0082ec !important;
  border-color: #0082ec !important;
  color: white;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}

.btn-previous {
 margin-right: 20px;
 background-color: #4b6981;
 border-color: #4b6981;
}

#mainNav {
  background-color: #212529;
}

#mainNav .navbar-toggler {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  right: 0;
  padding: 8px;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid;
  background-color: #000;
  font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
}

#mainNav .navbar-brand {
  color: #fff;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}
#mainNav .navbar-brand span {
  font-weight: 400;
  letter-spacing: 0;
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #fec503;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 1rem;
  font-weight: 400;
  padding: 0.75rem 0;
  letter-spacing: 1px;
  color: white;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fed136;
}

@media (min-width: 992px) {
  #mainNav {
    padding-top: 25px;
    padding-bottom: 25px;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    font-size: 1.3rem;
    transition: all 0.3s;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1rem 1rem !important;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
      background: linear-gradient(0deg, #0066b9, #091a46);
      background-size: 600% 600%;
      color:white;
    -webkit-animation: wave-gradient 10s ease infinite;
    -moz-animation: wave-gradient 10s ease infinite;
    -o-animation: wave-gradient 10s ease infinite;
    animation: wave-gradient 10s ease infinite;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25rem;
    padding: 12px 0;
  }
}

.typed {
  background-color: #0082ec;
  padding-left: 15px;
  padding-right: 15px;
}

.masthead {
  text-align: center;
  color: white;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  background-size: cover;
}

.intro-text {
  padding-top: 70px;
  padding-bottom: 0;
}

.intro-text-inner {
  padding-top: 50px;
  padding-bottom: 0;
}

.intro-text .intro-lead-in {
  font-size: 30px;
  line-height: 22px;
  margin-bottom: 30px;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.intro-text .intro-heading {
  font-size: 56px;
  font-weight: 700;
  line-height: 64px;
  margin-bottom: 0;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.intro-text-inner .intro-lead-in {
  font-size: 22px;
  line-height: 22px;
  margin-bottom: 25px;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.intro-text-inner .intro-heading {
  font-size: 30px;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 25px;
  font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
}

@media (min-width: 768px) {
.intro-text {
    padding-top: 100px;
    padding-bottom: 0;
  }
.intro-text .intro-lead-in {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 25px;
  }
.intro-text .intro-heading {
    font-size: 75px;
    font-weight: 700;
    line-height: 75px;
  }
.intro-text-inner {
    padding-top: 150px;
    padding-bottom: 50px;
  }
.intro-text-inner .intro-heading {
    font-size: 56px;
    font-weight: 700;
    line-height: 56px;
    margin-bottom: 30px;
  }
}

.service-heading {
  margin: 15px 0;
  text-transform: none;
}


.portfolio-item-home {
  background-color: #fff;
  box-shadow: 5px 5px 20px rgba(80, 80, 80, 0.3);
  margin-top: 30px;
  text-decoration: none;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

.portfolio-item-home:hover {
  background-color: #0066b9;
  box-shadow: 5px 5px 20px rgba(4, 117, 196, 0.5);
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

.portfolio-item-home img {
  opacity: 1;
  -webkit-transition: all 900ms ease-out;
  -moz-transition: all 900ms ease-out;
  -o-transition: all 900ms ease-out;
  transition: all 900ms ease-out;
}

.portfolio-item-home:hover img {
  opacity: 0.75;
  -webkit-transition: all 500ms ease-out;
  -moz-transition: all 500ms ease-out;
  -o-transition: all 500ms ease-out;
  transition: all 500ms ease-out;
}

.portfolio-item-home:hover .portfolio-caption-home {
  color: #fff;
  text-decoration: none;
}

.portfolio-caption-home {
  padding: 30px 30px 30px 60px;
  color: #5c6f81;
}

.portfolio-caption-home span {
  font-weight: 600;
  font-size: 1.6rem;
}

.portfolio-item {
  margin: 0 0 20px;
  padding: 0;
}

.portfolio-item.inner-item {
  right: 0;
  margin: 0 0;
}

.portfolio-link {
  position: relative;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(254, 209, 54, 0.9);
}

.portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

.portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

.portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

.portfolio-link .portfolio-hover .portfolio-hover-content h3,
.portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

.portfolio-caption {
  padding: 20px;
  margin: 0 0 20px;
  background-color: #fff;
}

.portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

.portfolio-caption p {
  font-size: 16px;
  margin: 0;
  font-family: 'Droid Serif', 'Helvetica Neue', Arial, sans-serif;
}

@media (max-width: 576px) {
  .portfolio-item-home {
    margin: 30px 0 0 0;
  }
  .portfolio-caption-home {
    padding: 25px 20px 5px 20px;
    color: #5c6f81;
  }
}


/* ====== Other works =================== */
.img-hover-zoom {
  overflow: hidden;
}
.img-hover-zoom img {
  transition: transform .3s ease;
}
.img-hover-zoom:hover img {
  transform: scale(1.2);
  cursor: pointer;
}


/* ====== Timeline =================== */
.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: '';
  background-color: #e9ecef;
}

.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline > li:after, .timeline > li:before {
  display: table;
  content: ' ';
}

.timeline > li:after {
  clear: both;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #fed136;
}

.timeline > li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline > li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading {
  text-transform: none;
}

.timeline .timeline-body > ul,
.timeline .timeline-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 90px;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    width: 83%;
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
  .timeline > li .timeline-image {
    left: 90px;
    width: 100px;
    height: 100px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
}

@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}




#contact {
  background-color: #eaeaea;
  background-repeat: no-repeat;
  background-position: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  padding: 20px;
}

.form-group input.form-control {
  height: auto;
}

.form-group textarea.form-control {
  height: 248px;
}

.form-control {
  border-color: #bbb;
  box-shadow: none;
}

.form-control:focus {
  border-color: #0082ec;
  box-shadow: none;
}

section#contact ::-webkit-input-placeholder {
  font-weight: 500;
  color: #999;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

section#contact :-moz-placeholder {
  font-weight: 500;
  color: #999;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

section#contact ::-moz-placeholder {
  font-weight: 500;
  color: #999;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

section#contact :-ms-input-placeholder {
  font-weight: 500;
  color: #999;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.footer {
  padding: 25px 0;
  text-align: center;
}

.copyright {
  font-size: 70%;
  line-height: 40px;
  text-transform: none;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.quicklinks {
  font-size: 70%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  font-size: 20px;
  line-height: 50px;
  display: block;
  width: 50px;
  height: 50px;
  transition: all 0.3s;
  color: white;
  border-radius: 100%;
  outline: none;
  background-color: #0066b9;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
  background-color: #0082ec;
}




/* WAVES -------------------- */
.waves-area {
  position:relative;
  text-align:center;
  color:white;
  background: linear-gradient(0deg, #0066b9, #001750);
  background-size: 600% 600%;

-webkit-animation: wave-gradient 10s ease infinite;
-moz-animation: wave-gradient 10s ease infinite;
-o-animation: wave-gradient 10s ease infinite;
animation: wave-gradient 10s ease infinite;
}

@-webkit-keyframes wave-gradient {
    0%{background-position:82% 0%}
    50%{background-position:19% 100%}
    100%{background-position:82% 0%}
}
@-moz-keyframes wave-gradient {
    0%{background-position:82% 0%}
    50%{background-position:19% 100%}
    100%{background-position:82% 0%}
}
@-o-keyframes wave-gradient {
    0%{background-position:82% 0%}
    50%{background-position:19% 100%}
    100%{background-position:82% 0%}
}
@keyframes wave-gradient {
    0%{background-position:82% 0%}
    50%{background-position:19% 100%}
    100%{background-position:82% 0%}
}
.inner-waves {
  height:400px;
  width:100%;
  margin: 0;
  padding: 0;
}

.inner-waves-inner {
  height:80px;
  width:100%;
  margin: 0;
  padding: 0;
}


.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position:relative;
  width: 100%;
  height:10vh;
  margin-bottom:-10px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}
.waves-inner {
  position:relative;
  width: 100%;
  height:5vh;
  margin-bottom:-10px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

/* Waves Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% {
    transform: translate3d(85px,0,0);
  }
}
/* Waves Shrinking for mobile */
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
}



.owl-pagination {
  position: relative;
  line-height: 60px !important;
}

.owl-prev, .owl-next {
  display: block !important;
  position: absolute;
  top: 35%;
  width: 30px;
  height: 120px;
  font-size: 60px !important;
  line-height: 60px;
  color: #fff;
  border: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: auto;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  opacity: .5
}

/*.owl-prev, .owl-next {
  display: inline-block;
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 120px;
  font-size: 60px !important;
  line-height: 60px;
  color: #fff;
  border: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  margin: auto;
  -webkit-transition: all 200ms ease-out;
  -moz-transition: all 200ms ease-out;
  -o-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  opacity: .5
}*/

.owl-prev {
  left: -40px;
}

.owl-next {
  right: -40px;
}

.owl-carousel:hover .owl-prev:hover, .owl-carousel:hover .owl-next:hover {
  background-color: #0082ec;
  opacity: 1;
}

.owl-outer-nav:after {
  content: "";
  position: absolute;
  top: 0;
  left: -15%;
  width: 130%;
  height: 100%;
  z-index: 0
}



.no-padding {
  padding: 0;
}



#pig {
    width: 570px;
    height: 600px;
    position: relative;
    margin: 2em auto;
    box-sizing: content-box;
}
#pig ul,
#pig li,
#pig b,
#pig li:after,
#pig li:before {
    display: block;
    box-sizing: none;
    position: absolute;
}
#head:after,
#body:after,
#pig li b:after,
#pig li b:before,
#pig li:after,
#pig li:before {
    content: '';
    display: block;
    position: absolute;
    box-sizing: content-box;
}
#head {
    height: 400px;
    overflow: hidden;
    position: relative;
    width: 500px;
    z-index: 7;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}
#head:after,
#body:after,
.ear b,
.tail:after,
.tail:before { box-sizing: content-box; background: #eeb3af
}
#head:after,
#body:after,
.ear b,
.ear b:after,
.eye b,
.feet:after,
.feet:before { box-sizing: content-box; border: 9px solid #5b2323
}
#head:after {
    height: 370px;
    left: 60px;
    top: 8px;
    width: 355px;
}
.ear {
    height: 150px;
    left: 40px;
    top: 3px;
    width: 406px;
}
.ear b {
    height: 130px;
    width: 140px;
    border-radius: 45% 100% 15% 100%;
}
.ear b:nth-child(odd) {
    right: 0;
    border-radius: 100% 45% 100% 15%;
}
.ear b:after {
    border-color: #5b2323 transparent transparent transparent;
    height: 100px;
    left: -23px;
    top: 30px;
    width: 175px;
    border-radius: 100%;
    -moz-transform: rotate(38deg);
    -ms-transform: rotate(38deg);
    -o-transform: rotate(38deg);
    -webkit-transform: rotate(38deg);
    transform: rotate(38deg);
}
.ear b:nth-child(odd):after {
    left: -30px;
    -moz-transform: rotate(-38deg);
    -ms-transform: rotate(-38deg);
    -o-transform: rotate(-38deg);
    -webkit-transform: rotate(-38deg);
    transform: rotate(-38deg);
}
.eye {
    height: 119px;
    left: 123px;
    top: 106px;
    width: 252px;
    z-index: 3;
}
.eye b {
    background: #fff;
    height: 100px;
    width: 90px;
}
.eye b:nth-child(odd) { right: 0 }
.eye b:after,
.eye b:after {
    right: 25px;
    top: 46px;
}
.eye b:nth-child(odd):after { left: 20px }
.nose {
    border: 6px solid #5b2323;
    height: 120px;
    left: 168px;
    top: 224px;
    width: 150px;
    z-index: 2;
}
.nose:after,
.nose:before { top: 49px }
.nose:after { right: 30px }
.nose:before { left: 30px }
.eye b:after,
.nose:after,
.nose:before {
    background: #5b2323;
    content: '';
    display: block;
    height: 30px;
    width: 30px;
    border-radius: 50%;
}
#body:after {
    height: 470px;
    left: 1px;
    top: 90px;
    width: 470px;
    z-index: 5;
    box-sizing: content-box;
}
.feet {
    background: #5b2323;
    left: 77px;
    top: 491px;
    width: 340px;
    z-index: 6;
}
.feet:after,
.feet:before {
    background: #5b2323;
    content: '';
    display: block;
    height: 90px;
    width: 140px;
}
.feet:after {
    right: 0;
    border-radius: 140px 150px 60px 60px;
}
.feet:before {
    -moz-border-radius: 150px 140px 60px 60px;
    -webkit-border-radius: 150px 140px 60px 60px;
    border-radius: 150px 140px 60px 60px;
}
.tail {
    height: 100px;
    left: 455px;
    top: 250px;
    width: 110px;
    z-index: 2;
}
.tail:after,
.tail:before {
    border: solid;
    border-color: #5b2323;
    border-width: 4px 0;
    height: 5px;
    width: 40px;
    box-sizing: content-box;
}
.tail:after {
    border-width: 4px 4px 4px 0;
    border-radius: 0 4px 4px 0;
    right: 0;
    top: 43px;
    box-sizing: content-box;
}
.tail:before {
    left: 54px;
    top: 46px;
    width: 30px;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    z-index: 4;
    box-sizing: content-box;
}
.tail b {
    background: #faa;
    border: 4px solid #5b2323;
    height: 48px;
    width: 48px;
    z-index: 3;
    box-sizing: content-box;
}
.tail b:after {
    background: #fff;
    border: 4px solid #5b2323;
    content: '';
    display: block;
    height: 30px;
    left: 5px;
    top: 5px;
    width: 30px;
    box-sizing: content-box;
}
.tail b:nth-child(even) { left: 35px }
.tail b:nth-child(odd) {
    border-color: transparent transparent #5b2323 transparent;
    left: 15px;
    top: 26px;
    border-radius: 50%;
    height: 41px;
    z-index: 2;
    box-sizing: content-box;
}
.tail b:nth-child(odd):before {
    background: #fff;
    height: 40px;
    left: -10px;
    top: -10px;
    width: 40px;
    box-sizing: content-box;
}
.tail b:nth-child(odd):after {
    border-color: transparent transparent #5b2323 transparent;
    border-radius: 50%;
    height: 23px;
    box-sizing: content-box;
}
.eye b,
.nose,
#head:after,
#body:after,
.tail b:nth-child(even),
.tail b:nth-child(even):after { box-sizing: content-box; border-radius: 50% }
#head:after {
    -moz-box-shadow: inset -15px -30px 0 #5b2323;
    -webkit-box-shadow: inset -15px -30px 0 #5b2323;
    box-shadow: inset -15px -30px 0 #af7575;
    box-sizing: content-box;
}
#body:after {
    -moz-box-shadow: inset -13px -50px 0 #af7575;
    -webkit-box-shadow: inset -13px -50px 0 #af7575;
    box-shadow: inset -13px -50px 0 #af7575;
    box-sizing: content-box;
}
#pig:hover #head {
    -moz-transform: rotate(10deg);
    -ms-transform: rotate(10deg);
    -o-transform: rotate(10deg);
    -webkit-transform: rotate(10deg);
    transform: rotate(10deg);
    box-sizing: content-box;
}
#pig:hover .eye b:after { box-sizing: content-box; border: 3px solid #5b2323
}




.hovereffect {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
    background: linear-gradient(0deg, #0066b9, #001750);
    background-size: 600% 600%;
  
  -webkit-animation: wave-gradient 4s ease infinite;
  -moz-animation: wave-gradient 4s ease infinite;
  -o-animation: wave-gradient 4s ease infinite;
  animation: wave-gradient 4s ease infinite;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 35%;
  left: 0;
  padding: 0 20px;
}

.hovereffect img {
  display: block;
  position: relative;
  max-width: none;
  width: calc(100% + 20px);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s, -webkit-filter 0.35s;
  transition: opacity 0.35s, transform 0.35s, filter 0.35s;
  -webkit-transform: translate3d(-10px,0,0);
  transform: translate3d(-10px,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hovereffect:hover img {
  opacity: 0.3;
  -webkit-filter: opacity(30) blur(5px);  /* Safari */
  filter: opacity(30) blur(5px);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.hovereffect .title {
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 30px;
  overflow: hidden;
  padding: 0.5em 0;
  background-color: transparent;
}

.hovereffect .title:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  content: '';
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(100%,0,0);
  transform: translate3d(100%,0,0);
}

.hovereffect:hover h2:after {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.hovereffect p {
  color: #FFF;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-100%,0,0);
  transform: translate3d(-100%,0,0);
}

.hovereffect:hover p {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}


.hovereffect h2 {
  color: #FFF;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(100%,0,0);
  transform: translate3d(100%,0,0);
}

.hovereffect:hover h2 {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}










