/*
** The actual styling for the website
*/
html {
  font-size: 10px;
}

@media only screen and (max-width: 400px) {
  html {
    font-size: 9.411px;
    /* The right ratio */
  }
}

html,
body {
  height: 100%;
}

body {
  background: #111111;
  font-family: "Titillium Web", sans-serif;
  font-size: 1.7rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.765;
  color: #777;
  margin: 0;
  padding: 0;
}

* {
  user-select: none;
}

a {
  color: white;
  transition: all 0.3s ease-in-out;
}

a:hover,
a:active {
  outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  text-rendering: optimizeLegibility;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  margin-top: 6rem;
  margin-bottom: 1.4rem;
}

@media only screen and (max-width:600px) {

  h1,
  .h1,
  h2,
  .h2,
  h3,
  .h3,
  h4,
  .h4 {
    margin-top: 5.1rem;
  }
}

h1,
.h1 {
  font-size: 3.6rem;
  line-height: 1.25;
  letter-spacing: -0.15rem;
}

@media only screen and (max-width:600px) {

  h1,
  .h1 {
    font-size: 3.3rem;
    letter-spacing: -0.07rem;
  }
}

h2,
.h2 {
  font-size: 3rem;
  line-height: 1.3;
}

h3,
.h3 {
  font-size: 2.4rem;
  line-height: 1.25;
}

h4,
.h4 {
  font-size: 2.1rem;
  line-height: 1.286;
}

p.lead {
  font-family: "Titillium Web", sans-serif;
  font-size: 2.4rem;
  line-height: 1.55;
  margin-bottom: 3.6rem;
  color: #777;
}

@media only screen and (max-width: 1200px) {
  p.lead {
    font-size: 2.2rem;
  }
}

@media only screen and (max-width: 1000px) {
  p.lead {
    font-size: 2.1rem;
  }
}

@media only screen and (max-width: 800px) {
  p.lead {
    font-size: 1.9rem;
  }
}

em,
i,
strong,
b {
  font-size: inherit;
  line-height: inherit;
  font-style: normal;
  font-weight: normal;
}

em,
i {
  font-family: "Titillium Web", sans-serif;
}

ol {
  list-style: decimal;
}

ul {
  list-style: disc;
}

li {
  display: list-item;
}

ol,
ul {
  margin-left: 1.7rem;
}

input,
textarea,
select,
pre,
blockquote,
figure,
table,
p,
ul,
ol,
dl,
form {
  margin-bottom: 3rem;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #050505;
  z-index: 800;
  height: 100%;
  width: 100%;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10rem;
  height: 10rem;
  margin: -5rem 0 0 -5rem;
  padding: 0;
}

#loader:before {
  content: "";
  animation: pulse 1.1s infinite linear;
  display: block;
  border-radius: 50%;
  width: 10rem;
  height: 10rem;
  background: #fff;
}

@keyframes pulse {
  0% {
    transform: scale(0)
  }

  100% {
    transform: scale(1);
    opacity: 0
  }
}

.display-1 {
  font-family: "Domine", sans-serif;
  font-size: 4em;
  line-height: 1.35;
  letter-spacing: 0;
  color: #000000;
  letter-spacing: -0.03rem;
  margin-top: 0;
  margin-bottom: 4.8rem;
}

.display-1--light {
  color: #ffffff;
}

.subhead {
  font-family: "Titillium Web", sans-serif;
  font-size: 1.55rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  color: #4f79f1;
  margin-top: 0;
  margin-bottom: 2.15rem;
}

.subhead::before {
  content: "/ ";
  display: inline-block;
  right: 1.15rem;
  position: relative;
}

@media only screen and (max-width: 1400px) {
  .display-1 {
    font-size: 5.6rem;
  }
}

@media only screen and (max-width: 1200px) {
  .display-1 {
    font-size: 5.2rem;
  }
}

@media only screen and (max-width: 950px) {
  .display-1 {
    font-size: 4.6rem;
  }
}

@media only screen and (max-width: 800px) {
  .display-1 {
    font-size: 4.2rem;
    margin-bottom: 4.2rem;
  }

  .subhead {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 700px) {
  .display-1 {
    font-size: 4rem;
  }
}

@media only screen and (max-width: 600px) {
  .display-1 {
    font-size: 3.6rem;
  }
}

@media only screen and (max-width: 500px) {
  .display-1 {
    font-size: 3.3rem;
  }

  .subhead {
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 400px) {
  .display-1 {
    font-size: 3rem;
  }
}

.s-home {
  width: 100%;
  height: 100%;
  min-height: 786px;
  background-color: transparent;
  position: relative;
  display: table;
}

.s-home .shadow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.s-home::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  background-color: #000000;
}

.home-content {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  padding-bottom: 15.6rem;
  overflow: hidden;
  position: relative;
}

.home-content h1 {
  font-family: "Expletus Sans", sans-serif;
  font-size: 10rem;
  line-height: 0.75;
  margin-top: 0;
  color: #ffffff;
}

.home-content h1+p {
  font-family: "Titillium Web", sans-serif;
  font-size: 3.6rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2.2rem;
  padding-left: 10rem;
  position: relative;
}

.home-content h1+p::before {
  content: "";
  display: block;
  width: 7.5rem;
  height: 1px;
  background-color: #4f79f1;
  position: absolute;
  left: 0.25rem;
  top: 2.55rem;
}

.home-content__main {
  padding-top: 16rem;
  position: relative;
}

.home-scroll {
  height: 4.8rem;
  position: absolute;
  right: 110px;
  bottom: 6.6rem;
}

.home-scroll__text {
  display: inline-block;
  font-family: "metropolis-semibold", sans-serif;
  font-size: 11px;
  line-height: 4.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: #ffffff;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease-in-out;
  position: relative;
  right: 7.5rem;
}

.home-scroll__icon {
  display: block;
  height: 4.8rem;
  width: 4.8rem;
  background-color: #ffffff;
  background-image: url(../images/icons/icon-arrow-down.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 12px 18px;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
  position: absolute;
  top: 0;
  right: 0;
}

.home-scroll:hover .home-scroll__text {
  border-bottom: 1px solid #ffffff;
}

html.preload .home-content__main {
  opacity: 0;
}

html.loaded .home-content__main {
  animation-duration: 2s;
  animation-name: fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 150%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translate3d(0, -150%, 0);
  }
}

@media only screen and (max-width: 1600px) {
  .home-content h1 {
    font-size: 8.8rem;
  }

  .home-content h1+p {
    font-size: 3.6rem;
  }

  .home-content__main {
    padding-top: 18rem;
  }

  .home-scroll {
    right: 60px;
  }
}

@media only screen and (max-width: 1500px) {
  .home-content h1 {
    font-size: 8.6rem;
  }

  .home-content__main {
    max-width: 1100px;
  }
}

@media only screen and (max-width: 1400px) {
  .home-content h1 {
    font-size: 9.8rem;
  }

  .home-content h1+p {
    font-size: 3rem;
  }

  .home-content h1+p::before {
    top: 2.4rem;
  }

  .home-content__main {
    max-width: 1000px;
  }
}

@media only screen and (max-width: 1200px) {
  .home-content h1 {
    font-size: 7.8rem;
  }

  .home-content h1+p {
    font-size: 2.4rem;
    padding-right: 2rem;
    padding-left: 8rem;
  }

  .home-content h1+p::before {
    width: 5.5rem;
    top: 1.8rem;
  }

  .home-content br {
    display: none;
  }

  .home-content__main {
    max-width: 850px;
  }
}

@media only screen and (max-width: 1000px) {
  .home-content__main {
    max-width: 650px;
    padding-right: 0;
  }
}

@media only screen and (max-width: 900px) {
  .home-content h1 {
    font-size: 7rem;
  }
}

@media only screen and (max-width: 800px) {
  .home-content h1 {
    font-size: 6.5rem;
  }

  .home-content__main {
    max-width: 580px;
  }

  .home-scroll {
    right: 40px;
  }

  .home-scroll__text {
    display: none;
  }
}

@media only screen and (max-width: 700px) {
  .home-content h1 {
    font-size: 5.5rem;
  }

  .home-content h1+p {
    font-size: 2.2rem;
    padding-right: 0;
  }

  .home-content h1+p::before {
    top: 1.6rem;
  }

  .home-content__main {
    max-width: 480px;
  }
}

@media only screen and (max-width: 600px) {
  .home-content h1 {
    font-size: 5.4rem;
  }

  .home-content h1+p {
    padding-top: 3rem;
    padding-left: 0;
  }

  .home-content h1+p::before {
    left: 0;
    top: 0;
  }

  .home-content__main {
    width: auto;
    padding-left: 35px;
    padding-right: 35px;
  }

  .home-scroll {
    right: 30px;
    bottom: 6rem;
  }

  .home-scroll__icon {
    height: 4.2rem;
    width: 4.2rem;
  }
}

@media only screen and (max-width: 500px) {
  .home-content h1 {
    font-size: 5rem;
  }

  .home-content h1+p {
    padding-top: 2.8rem;
  }

  .s-home {
    min-height: 642px;
  }
}

@media only screen and (max-width: 450px) {
  .home-content h1 {
    font-size: 4.6rem;
  }

  .home-content h1+p {
    padding-top: 2.4rem;
  }
}

@media only screen and (max-width: 400px) {
  .s-home {
    min-height: 630px;
  }

  .home-content h1 {
    font-size: 4.2rem;
  }

  .home-content h1+p {
    padding-top: 2.1rem;
  }

  .home-content__main {
    padding-left: 25px;
    padding-right: 25px;
  }

  .home-scroll {
    right: 25px;
  }
}

.s-about {
  padding-top: 16rem;
  padding-bottom: 16rem;
  background-color: #ffffff;
  position: relative;
}

@media only screen and (max-width: 1200px) {
  .s-about {
    padding-top: 15rem;
    padding-bottom: 15rem;
  }
}

@media only screen and (max-width: 800px) {
  .s-about {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

@media only screen and (max-width: 400px) {
  .s-about {
    padding-top: 9.6rem;
  }
}

.s-services {
  padding-top: 16rem;
  padding-bottom: 16rem;
  color: white;
  position: relative;
}

.job a {
  position: relative;
  font-weight: bold;
}

.job p {
  margin-bottom: 1.4rem;
}

.job a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0%;
  width: 0;
  height: 1px;
  background-color: #ffffff;
  transition: width 0.25s ease;
}

.job a:hover::after {
  width: 100%;
  transition: width 0.25s ease;
}

.grey {
  color: #777;
}

@media only screen and (max-width: 1200px) {
  .s-services {
    padding-top: 15rem;
    padding-bottom: 15rem;
  }
}

@media only screen and (max-width: 800px) {
  .s-services {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
}

@media only screen and (max-width: 400px) {
  .s-services {
    padding-top: 9.6rem;
  }
}

.s-works {
  background: #ffffff;
  padding: 16rem 0 0;
  position: relative;
}

.page-projects {
  margin-top: 6rem;
  max-width: none;
  width: 100% !important;
  margin: 6rem auto;
  padding: 0;
}

.page-projects .list-projects {
  margin: 0px;
  list-style: none;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  transition: transform 600ms cubic-bezier(0.7, 0, 0.3, 1) 0ms;
}

.page-projects .list-projects li {
  width: 100%;
}

@media (min-width: 767px) {
  .page-projects .list-projects li {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .page-projects .list-projects li {
    width: 33.333%;
  }
}

.page-projects .project-item a {
  display: block;
  position: relative;
  overflow: hidden;
  color: white;
  text-decoration: none;
}

.page-projects .project-item a:before {
  content: '';
  display: block;
  padding-bottom: 75%;
}

.page-projects .project-item a:not(:hover) .project-name,
.page-projects .project-item a:not(:hover) .project-intro,
.page-projects .project-item a:not(:hover) .project-type {
  color: white !important;
}

.page-projects .project-item a .inner {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  z-index: 3;
  transition: transform 600ms cubic-bezier(0.7, 0, 0.3, 1) 0ms;
}

@media (min-width: 992px) {
  .page-projects .project-item a .inner {
    bottom: 3vw;
    left: 3vw;
    right: 3vw;
  }
}

.page-projects .project-item a .project-type {
  display: block;
  font-family: "Titillium Web", serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  transition: color 400ms cubic-bezier(0.7, 0, 0.3, 1) 0ms;
}

.page-projects .project-item a .project-name,
.page-projects .project-item a .project-intro {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  font-family: "Domine", sans-serif;
  margin: 0px;
  max-width: 80%;
  transition: color 400ms cubic-bezier(0.7, 0, 0.3, 1) 0ms;
}

@media (min-width: 1200px) {

  .page-projects .project-item a .project-name,
  .page-projects .project-item a .project-intro {
    font-size: 3rem;
  }
}

.page-projects .project-item a .project-name {
  margin-bottom: 3px;
}

.page-projects .project-item a .project-color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  transform: translateY(140%) skewY(31deg);
  transition: transform 400ms cubic-bezier(0.7, 0, 0.3, 1) 100ms;
}

.page-projects .project-item a .project-visual {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: transform 400ms cubic-bezier(0.7, 0, 0.3, 1) 0ms, opacity 800ms cubic-bezier(0.7, 0, 0.3, 1);
}

.page-projects .project-item a .project-visual {
  opacity: 1;
}

.page-projects .project-item a:hover .project-color {
  transform: translateY(0%) skewY(0deg);
  transition: transform 500ms cubic-bezier(0.7, 0, 0.3, 1) 0ms;
}

.page-projects .project-item a:hover .project-visual {
  transform: translateY(-10%);
  transition: transform 500ms cubic-bezier(0.7, 0, 0.3, 1) 100ms;
}

@media only screen and (max-width: 1500px) {
  .page-projects {
    width: 1200px;
  }
}

@media only screen and (max-width: 1350px) {
  .page-projects {
    width: 1158px;
  }
}

@media only screen and (max-width: 1300px) {
  .page-projects {
    width: 990px;
  }
}

@media only screen and (max-width: 1200px) {
  .s-works {
    padding: 15rem 0 0rem;
  }
}

@media only screen and (max-width: 1100px) {
  .page-projects {
    width: 100%;
  }
}

@media only screen and (max-width: 800px) {
  .s-works {
    padding: 12rem 0 0;
  }

  .page-projects {
    margin-top: 3rem;
  }
}

@media only screen and (max-width: 400px) {
  .s-works {
    padding: 9.6rem 0 0;
  }

  .page-projects {
    width: auto;
  }
}

.s-contact {
  padding-top: 21rem;
  padding-bottom: 10.2rem;
  background-color: #111111;
  color: rgba(255, 255, 255, 0.3);
  position: relative;
}

.s-contact a {
  color: #ffffff;
  border-bottom: 1px solid transparent;
  display: inline-block;
}

.contact-main {
  margin-top: 4.4rem;
  margin-bottom: 2.8rem;
}

.contact-email {
  display: inline-block;
  font-family: "Titillium Web", sans-serif;
  font-size: 4.4rem;
  line-height: 1.222;
  color: #ffffff;
  padding-top: 1.4rem;
  position: relative;
}

.contact-email::before {
  content: "";
  display: block;
  height: 1px;
  width: 60px;
  background-color: #4f79f1;
  position: absolute;
  top: 0;
  left: 0;
}

.contact-social {
  list-style: none;
  display: inline-block;
  margin: 0 0 0 0.3rem;
  font-size: 3rem;
}

.contact-social li {
  margin-right: 15px;
  padding-left: 0;
  display: inline-block;
}

.contact-social li a {
  color: rgba(255, 255, 255, 0.3);
  border: none !important;
}

.contact-social li a:hover,
.contact-social li a:focus {
  color: #ffffff;
}

.contact-social li:last-child {
  margin: 0;
}

.copyright {
  margin-top: 2.1rem;
  font-size: 1.4rem;
}

.go-top {
  z-index: 600;
  position: absolute;
  bottom: 10.8rem;
  right: 105px;
}

.go-top a {
  text-decoration: none;
  border: 0 none;
  display: block;
  height: 60px;
  width: 60px;
  line-height: 60px;
  text-align: center;
  background: white;
  color: black;
  text-align: center;
  text-transform: uppercase;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.go-top a i {
  font-size: 21px;
  line-height: inherit;
}

.go-top::before {
  content: "";
  display: block;
  width: 1px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -115px;
  left: 50%;
}

.go-top::after {
  content: "back to top";
  display: inline-block;
  width: 120px;
  font-size: 1.2rem;
  line-height: 30px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: rgba(255, 255, 255, 0.25);
  transition: all 0.5s ease-in-out;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  position: absolute;
  left: 45px;
  top: -165px;
}

@media only screen and (max-width: 1600px) {
  .go-top {
    right: 55px;
  }
}

@media only screen and (max-width: 1200px) {
  .s-contact {
    padding-top: 15rem;
  }

  .contact-main {
    margin-top: 13.2rem;
  }

  .contact-email {
    font-size: 5rem;
  }

  .contact-social {
    font-size: 2.8rem;
  }

  .copyright {
    margin-top: 3rem;
  }
}

@media only screen and (max-width: 1000px) {
  .contact-email {
    font-size: 4.2rem;
  }

  .contact-social {
    font-size: 2.4rem;
  }
}

@media only screen and (max-width: 800px) {
  .s-contact {
    padding-top: 12rem;
    padding-bottom: 9rem;
  }

  .contact-secondary,
  .copyright {
    padding-right: 7.8rem;
  }

  .contact-secondary {
    margin-bottom: 1.5rem;
  }

  .contact-email {
    font-size: 3.6rem;
  }

  .go-top {
    right: 35px;
    bottom: 9rem;
  }

  .go-top a {
    height: 48px;
    width: 48px;
    line-height: 48px;
  }

  .go-top a i {
    font-size: 18px;
  }

  .go-top::after {
    font-size: 1.1rem;
    left: calc(24px + 15px);
  }
}

@media only screen and (max-width: 600px) {
  .s-contact {
    padding-bottom: 6rem;
  }

  .contact-main {
    margin-top: 12rem;
  }

  .contact-email {
    font-size: 3rem;
  }

  .contact-social {
    font-size: 2rem;
  }

  .go-top {
    right: 25px;
    bottom: 7.2rem;
  }
}

@media only screen and (max-width: 480px) {
  .copyright {
    margin-top: 0;
  }
}

@media only screen and (max-width: 400px) {
  .s-contact {
    padding-top: 9.6rem;
    padding-bottom: 3rem;
  }

  .contact-main {
    margin-top: 9.6rem;
  }

  .contact-secondary {
    padding: 0;
  }

  .contact-email {
    font-size: 2.4rem;
  }

  .copyright {
    margin-top: 9rem;
    padding: 0;
    text-align: center;
  }

  .copyright span {
    font-size: 14px;
  }

  .go-top {
    bottom: 12rem;
    right: 50%;
    margin-right: -24px;
  }

  .go-top::before,
  .go-top::after {
    display: none;
  }
}