@import url("color-palette.css");

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}

.homepage {
  background-color: var(--dark-blue-grey);
  color: var(--white);
}

/*----------------------------------
  SMALL CTAs styling and animation
------------------------------------*/
span > a {
  color: var(--robin-s-egg);
}

span > a:hover {
  opacity: 0.6;
}

/*----------------------------------
  SERVICES -- ANIMATION & STYLING
------------------------------------*/

.services {
  z-index: 0;
  background: #ff3232;
  /* Old browsers */
  background: linear-gradient(to left, #18183c 50%, #79d0c2 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.slider-fill {
  z-index: 0;
  background: #ffffff;
  /* Old browsers */
  background: linear-gradient(to left, #ffffff 50%, #ffc107 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.slider-fill-antenna {
  z-index: 0;
  background: #ffffff;
  /* Old browsers */
  background: linear-gradient(to left, #ffffff 50%, #4dc8da 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.slider-fill-mhc {
  z-index: 0;
  background: #ffffff;
  /* Old browsers */
  background: linear-gradient(to left, #ffffff 50%, var(--mhc-green) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.slider-fill-kona {
  z-index: 0;
  background: #ffffff;
  /* Old browsers */
  background: linear-gradient(to left, #ffffff 50%, var(--kona-blue) 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.filled {
  background-position: left bottom;
}

.scrollbar-antenna {
  background-color: #44b3c3;
}

.scrollbar-mhc {
  background-color: var(--mhc-green);
}

/*
/////////////////////////////////////////////
---------------------------------------------
  HOMEPAGE & GLOBAL BUTTONS -- styling & animation
---------------------------------------------
/////////////////////////////////////////////
*/

.link {
  outline: none;
  text-decoration: none;
  position: relative;

  line-height: 1;
  display: inline-block;
  -webkit-transition: width 0.4s 0.3s;
  transition: width 0.4s 0.3s;
}

.link--one {
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  line-height: 1.1;
  color: #fff;
  -webkit-transition: width 0.4s 0.3s;
  transition: width 0.4s 0.3s;
}

.link--one:hover {
  color: #fff;
}

.link--one::after {
  content: "";
  position: absolute;
  height: 160px;
  width: 100%;
  top: 80%;
  margin-top: -10px;
  right: 0;
  background: rgba(103, 252, 230, 0.2);
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  -webkit-transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.link--one:hover::after {
  -webkit-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0);
}

.link--one:hover::before {
  width: 100%;
}

.line-one {
  background-color: #ff3035;
  width: 600px;
  height: 68px;
  margin-right: 20px;
}

.link--services::after {
  background: rgb(74, 189, 172);
  z-index: -1;
}

.link--projects {
  color: var(--robin-s-egg);
}

.link--projects:hover {
  text-decoration: none;
  color: var(--robin-s-egg);
}

.section div.more div.content:hover {
  background-image: none;
}

div.hire-us a {
  padding-left: 0;
  width: 400px;
}

/* All projects link  */

.link--allProjects {
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  line-height: 2.3;
  -webkit-transition: width 0.4s 0.3s;
  transition: width 0.4s 0.3s;
}

.link--allProjects:hover {
  /*color: #fff;*/
}

.link--allProjects::after {
  content: "";
  position: absolute;
  height: 760px;
  width: 100%;
  top: -30%;
  margin-top: -10px;
  right: 0;
  background: rgba(103, 252, 230, 0.2);
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  -webkit-transition: -webkit-transform 0.4s;
  transition: transform 0.4s;
  -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.link--allProjects:hover::after {
  -webkit-transform: translate3d(50%, 0, 0);
  transform: translate3d(50%, 0, 0);
}

div.see-our-projects:hover {
  background-image: none;
}

.link--allProjects:hover::before {
  width: 100%;
}

.link-allProjects {
  background-color: #ff3035;
  width: 600px;
  height: 168px;
  margin-right: 20px;
}

div.see-our-projects.standalonethere {
  margin-top: 150px !important;
  width: 306px;
  height: 49px;
}

/* --------------------------------------------------
    Some homepage main title fixes / pattern fixes
--------------------------------------------------- */

@media screen and (min-width: 767px) {
  div.main div.wrapper div.content {
    /*width: 635px;*/
    padding-left: 0px;
    margin: 25px auto;
    font-size: 20px;
    line-height: 2;
    text-align: center;
  }

  div.main div.wrapper div.title {
    width: 50%;
    padding-left: 0px;
    font-size: 85px;
    text-align: center;
    line-height: 1.2;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1200px) {
  div.main div.wrapper {
    width: 100%;
  }

  div.main div.wrapper div.illustration {
    position: absolute;
    padding-left: 0px;
    top: 294px;
  }

  div.services {
    width: 90%;
    margin: 150px auto;
  }
}

div.main div.title {
  width: 50%;
  font-weight: normal;
  text-transform: none;
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
  div.services {
    width: 90%;
    margin: 150px auto;
  }
}

div.main div.wrapper span {
  /*width: 571px;*/
  color: var(--robin-s-egg);
}

.pattern-7 {
  fill: #69ccbc;
}

.illustration-sm {
  width: 100%;
  float: left;
  padding: 5%;
}

.illustration-sm img {
  width: 100%;
}

@media screen and (min-width: 991px) {
  .illustration-sm {
    width: 50%;
    float: left;
    padding: 10% 10% 0 0;
  }
}

@media screen and (max-width: 991px) {
  .illustration-sm {
    padding: 10% 15% 0;
  }
}

/*///////////////////////////////////////////
/////////////////////////////////////////////
            O U R    W O R K
/////////////////////////////////////////////
////////////////////////////////////////////*/

.project-wrapper .project {
  height: 400px;
}

.project-wrapper .project img {
  height: 450px;
  transition: 0.5s ease;
  max-width: 90%;
}

a.section.project:hover img {
  height: 470px;
  transition: 0.5s ease;
}

a.section.project {
  transition: 0.2s ease;
}

a.section.project:hover {
  transition: 0.5s ease;
}

.project-wrapper .section div.illustration {
  z-index: 0;
}

@media screen and (max-width: 991px) {
  .project-wrapper .project {
    height: auto;
  }

  .project-wrapper .project img {
    width: 70%;
  }
  .project-wrapper .project img {
    height: 100% !important;
    transition: 0.5s ease;
    margin-bottom: 55px;
  }
  a.section.project:hover img {
    width: 90%;
    transition: 0.5s ease;
    margin-bottom: 55px;
  }
}

@media screen and (max-width: 767px) and (min-width: 576px) {
  .section div.content div.title {
    margin-top: 60px;
  }
  a.section.project:hover img {
    width: 90%;
    transition: 0.5s ease;
    margin-bottom: 55px;
  }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
  .section div.content div.title {
    margin-top: 60px;
  }
  a.section.project:hover img {
    width: 90%;
    transition: 0.5s ease;
    margin-bottom: 55px;
  }
}

/*///////////////////////////////////////////
/////////////////////////////////////////////
              C A R E E R S
/////////////////////////////////////////////
////////////////////////////////////////////*/

a.section.careers {
  transition: 0.2s ease;
  padding: 30px 0;
}

a.section.careers:hover {
  background-color: var(--seafoam-blue-two);
  transition: 0.2s ease;
}

.section.careers div.illustration.float-left {
  z-index: 0;
}

a.section.careers .link {
  opacity: 0;
  transform: translate(0, 10px);
}

a.section.careers:hover .link {
  opacity: 1;
  color: #ffffff;
  transition: 0.4s ease;
  transform: translate(0, 0);
}

a.section.careers img {
  transition: 0.4s ease;
}

a.section.careers:hover img {
  transform: rotate(6deg);
  transition: 0.5s ease;
}

@media screen and (max-width: 991px) {
  a.section.careers .link {
    opacity: 1;
    color: #ffffff;
    transition: 0.4s ease;
    transform: translate(0, 10px);
  }
}

a.section.careers .title,
a.section.careers .text,
a.section.careers .illustration {
  transition: 0.4s ease;
}

a.section.careers:hover .title,
a.section.careers:hover .text,
a.section.careers:hover .illustration {
  transition: 0.4s ease;
  transform: translate(0, -10px);
}

.section div.content div.more {
  margin-top: 25px;
}

/*   Single project fixes   */
