/* Custom Fonts */
@font-face {
  font-family: 'JosefinSansLight';
  src: url('/fonts/JosefinSans-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'JosefinSansBold';
  src: url('/fonts/JosefinSans-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'JosefinSansSemiBold';
  src: url('/fonts/JosefinSans-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'JosefinSansRegular';
  src: url('/fonts/JosefinSans-Regular.ttf') format('truetype');
}

/* Re-use */
.mobile-only { 
  display: none;
}


body {
  font: 14px 'JosefinSansLight', Helvetica, Arial, sans-serif;
  margin: 0;
	--color-text: white;
	--color-bg: #1d1d1e;
	--color-link: #000;
	--color-link-hover: #dc6e25;
	--aspect-ratio: 1/1.5;
	--imgwidthmax: 500px;
	--size-title: 10rem;
	--font-weight-title: 400;
	color: var(--color-text);
	background-color: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; 
}

/* Background canvas */
#background-canvas {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-color: #1d1d1e;
  display: none;
}

/* Standard layout */
.sq-layout {
	padding: 5vw;
  margin: 0 auto;
  max-width: 2500px;
}

a {
  color: #00B7FF;
}

/* Logo section */
.logo {
  color: white;
  font-size: 40px;
  font-family: 'JosefinSansRegular';
}

.logo:hover {
  color: white;
}

/* Menu Hamburger button */
.nav-but-wrap{ 
  position: relative;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  transition : all 0.3s ease-out;
}

.menu-icon {
  height: 30px;
  width: 30px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  text-align: center;
}

.menu-icon-close {
  cursor: pointer;
  text-align: center;
  display: inline-block;
  margin: 15px 0;
  float: right;
}

.menu-icon__line, .close-icon {
  height: 2px;
  width: 30px;
  display: block;
  background-color: #fff;
  margin-bottom: 7px;
  cursor: pointer;
  -webkit-transition: background-color .5s ease, -webkit-transform .2s ease;
  transition: background-color .5s ease, -webkit-transform .2s ease;
  transition: transform .2s ease, background-color .5s ease;
  transition: transform .2s ease, background-color .5s ease, -webkit-transform .2s ease;
}

.menu-icon__line-left {
  width: 30px;
  margin-bottom: 7px;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.close-icon-left {
  margin-bottom: 7px;
  background-color: #fff;
  transform: translate(2px, 4px) rotate(45deg);
  width: 15px;
  -webkit-transform: translate(2px, 4px) rotate(45deg);
}

.menu-icon__line-right {
  width: 30px;
  float: right;
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  -ms-transition: all 200ms linear;
  transition: all 200ms linear;
}

.close-icon-right {
  margin-bottom: 7px;
  background-color: #fff;
  width: 15px;
  float: right;
  -webkit-transform: translate(-3px, -3.5px) rotate(45deg);
  transform: translate(-3px, -3.5px) rotate(45deg);
}

.close-icon-middle {
  background-color: #fff;
  -webkit-transform: translate(0px, 0px) rotate(-45deg);
  transform: translate(0px, 0px) rotate(-45deg);
}

.menu-icon:hover .menu-icon__line-left,
.menu-icon:hover .menu-icon__line-right {
  width: 30px;
}

.nav {
  position: fixed;
  z-index: 100;
}

.nav:before, .nav:after {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 21, 26,0.6);
  border-bottom-left-radius: 100%;
  border-bottom-right-radius: 100%;
  z-index: -1;
  -webkit-transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  transition: transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, -webkit-transform cubic-bezier(0.77, 0, 0.175, 1) 0.6s, border-radius linear 0.8s;
  -webkit-transform: translateY(-100%);
          transform: translateY(-100%);
}

.nav:after {
  background: rgba(9,9,12,1);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}

.nav:before {
  -webkit-transition-delay: .2s;
          transition-delay: .2s;
}

.nav__content {
  position: fixed;
  visibility: hidden;
  text-align: right;
  top: 25%;
  margin-top: 20px;
  -webkit-transform: translate(0%, -50%);
          transform: translate(0%, -50%);
  width: 100%;
  padding: 0 5vw;
}

.nav__list {
  position: relative;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.nav__list-item, .nav__list-item-style{
  position: relative;
  display: block;
  -webkit-transition-delay: 0.8s;
          transition-delay: 0.8s;
  opacity: 0;
  text-align: center;
  color: #fff;
  overflow: hidden; 
  font-size: 7vh;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 3px;
  -webkit-transform: translate(0%, 40px);
          transform: translate(0%, 40px);
  -webkit-transition: opacity .2s ease, -webkit-transform .3s ease;
  transition: opacity .2s ease, -webkit-transform .3s ease;
  transition: opacity .2s ease, transform .3s ease;
  transition: opacity .2s ease, transform .3s ease, -webkit-transform .3s ease;
  margin-top: 0;
  margin-bottom: 0;
}

.nav__list-item-style {
  font-size: 5vh;
}

.nav__list-item a, .nav__list-item-style a{ 
  position: relative;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  overflow: hidden; 
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
  font-weight: 700;
  z-index: 2;
  display: inline-block;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  margin: 10px 0; 
  float: right;
}

.nav__list-item a:after, .nav__list-item-style a:after{ 
  position: absolute;
  content: '';
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  background-color: #8167a9;
  z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear; 
}

.nav__list-item a:hover:after, .nav__list-item-style a:hover:after{ 
  height: 6px;
  opacity: 0.7;
  left: 0;
  width: 100%;
}

.nav__list-item a:hover, .nav__list-item-style a:hover{
  color: rgba(255,255,255,1);
}

.nav__list-item a:focus, .nav__list-item-style a:focus{
  color: rgba(255,255,255,1);
}

.nav__list-item.active-nav a{
  color: rgba(255,255,255,1);
}

.nav__list-item.active-nav a:after{ 
  height: 6px;
  opacity: 0.7;
  left: 0;
  width: 100%;
}

.work-sub {
  opacity: 0;
}

.main-menu {
  right: 0px;
  width: auto;
  position: absolute;
}

.work-menu, .work-menu-2 {
  top: 7vh;
}

body.nav-active .nav__content {
  visibility: visible;
}

body.nav-active .menu-icon__line {
  background-color: #fff;
  -webkit-transform: translate(0px, 0px) rotate(-45deg);
          transform: translate(0px, 0px) rotate(-45deg);
}

body.nav-active .menu-icon__line-left {
  width: 15px;
  -webkit-transform: translate(2px, 4px) rotate(45deg);
          transform: translate(2px, 4px) rotate(45deg);
}

body.nav-active .menu-icon__line-right {
  width: 15px;
  float: right;
  -webkit-transform: translate(-3px, -3.5px) rotate(45deg);
          transform: translate(-3px, -3.5px) rotate(45deg);
}

body.nav-active .menu-icon:hover .menu-icon__line-left,
body.nav-active .menu-icon:hover .menu-icon__line-right {
  width: 15px;
}

body.nav-active .nav {
  visibility: visible;
}

body.nav-active .nav:before, body.nav-active .nav:after {
  -webkit-transform: translateY(0%);
          transform: translateY(0%);
  border-radius: 0;
}

body.nav-active .nav:after {
  -webkit-transition-delay: .1s;
          transition-delay: .1s;
}

body.nav-active .nav:before {
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}

body.nav-active .nav__list-item {
  opacity: 1;
  -webkit-transform: translateY(0%);
          transform: translateY(0%);
  -webkit-transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
  transition: opacity .3s ease, color .3s ease, -webkit-transform .3s ease;
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
  transition: opacity .3s ease, transform .3s ease, color .3s ease, -webkit-transform .3s ease;
}

body.nav-active .nav__list-item:nth-child(0) {
  -webkit-transition-delay: 0.7s;
          transition-delay: 0.7s;
}

body.nav-active .nav__list-item:nth-child(1) {
  -webkit-transition-delay: 0.8s;
          transition-delay: 0.8s;
}

body.nav-active .nav__list-item:nth-child(2) {
  -webkit-transition-delay: 0.9s;
          transition-delay: 0.9s;
}

body.nav-active .nav__list-item:nth-child(3) {
  -webkit-transition-delay: 1s;
          transition-delay: 1s;
}

body.nav-active .nav__list-item:nth-child(4) {
  -webkit-transition-delay: 1.1s;
          transition-delay: 1.1s;
}

body.nav-active .nav__list-item:nth-child(5) {
  -webkit-transition-delay: 1.2s;
          transition-delay: 1.2s;
}

body.nav-active .nav__list-item:nth-child(6) {
  -webkit-transition-delay: 1.3s;
          transition-delay: 1.3s;
}

body.nav-active .nav__list-item:nth-child(7) {
  -webkit-transition-delay: 1.4s;
          transition-delay: 1.4s;
}

body.nav-active .nav__list-item:nth-child(8) {
  -webkit-transition-delay: 1.5s;
          transition-delay: 1.5s;
}

body.nav-active .nav__list-item:nth-child(9) {
  -webkit-transition-delay: 1.6s;
          transition-delay: 1.6s;
}

body.nav-active .nav__list-item:nth-child(10) {
  -webkit-transition-delay: 1.7s;
          transition-delay: 1.7s;
}

.work-sub {
  display: none;
  transform: translate(0, 0);
}

/* Footer section */
.footer-container {
  padding: 5.5vw 0 0 0;
}

.footer-title {
  font-family: 'JosefinSansBold';
}

.footer-text {
  font-size: 20px;
}

/* Section container */
#header {
  position: fixed;
  top: 5vw;
  left: 5vw;
  width: calc(100vw - 10vw);
  z-index: 97;
  mix-blend-mode: difference;
}

.top-header {
  background: transparent;
  padding: 0;
  position: relative;
  top: 0;
}

/* Utilities */
.absolute-element {
  position: absolute;
}

.z-index-99 {
  position: relative;
  z-index: 99;
}

.no-margin {
  margin: 0;
}

.row {
  margin-bottom: 0 !important;
}

.float-right {
  float: right;
}

.align-vertical {
  display: flex;
  align-items: center;
}

.josesan-light {
  font-family: 'JosefinSansLight';
}

.josesan-bold {
  font-family: 'JosefinSansBold';
}

.josesan-semibold {
  font-family: 'JosefinSansSemiBold';
}

.josesan-regular {
  font-family: 'JosefinSansRegular';
}

.icon {
  margin-right: 30px;
}

.small-header {
  font-family: 'JosefinSansRegular';
  letter-spacing: 1px;
  margin-bottom: 5px;
  font-size: 10px;
}

.small-header span {
  border-bottom: 1px solid white;
  padding-bottom: 4px;
  letter-spacing: 1.5px;
}

.info-text {
  font-family: 'JosefinSansLight';
  letter-spacing: 1.5px;
  line-height: 140%;
  margin-top: 15px;
  font-size: 14px;
}

.average-header {
  font-family: 'JosefinSansRegular';
  font-size: 30px;
  line-height: 130%;
}

/* Back to top plugin */
.progress-wrap {
  position: fixed;
  right: 50px;
  bottom: 50px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset  0 0 0 2px rgba(255,255,255,0.2);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap::after {
  position: absolute;
  content: '\2191';
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  color: #ecedf3;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap:hover::after {
  opacity: 0;
}

.progress-wrap::before {
  position: absolute;
  content: '\2191';
  text-align: center;
  line-height: 46px;
  font-size: 24px;
  opacity: 0;
  background-image: linear-gradient(298deg, #da2c4d, #f8ab37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  z-index: 2;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap:hover::before {
  opacity: 1;
}

.progress-wrap svg path { 
  fill: none; 
}

.progress-wrap svg.progress-circle path {
  stroke: #ecedf3;
  stroke-width: 4;
  box-sizing:border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
} 

.background-content {
	opacity: 0.03;
	font-size: 19vw;
	position: absolute;
  font-weight: bold;
  font-family: 'JosefinSansBold';
}

.scroll-section {
  min-height: 800px;
}

.background-banner {
	position: relative;
	width: 680px;
	margin: auto;
}

.background-banner img {
	width: inherit;
}

/* Mobile devices */
@media only screen and (min-width: 320px) and (max-width: 479px) {
  .main-menu {
    width: auto;
    position: relative;
  }

  .menu-icon-close, .nav__list-item a, .nav__list-item-style a {
    float: none;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only { 
    display: block;
  }

  .nav__content {
    top: 45%;
  }

  .nav__list {
    overflow: auto;
    height: 85vh;
  }

	.scroll-section {
		min-height: 500px;
	}

  .background-banner {
    width: 350px;
  }

  .background-content {
    font-size: 100px;
  }

  .footer-background-content {
    font-size: 80px;
    margin-top: 150px;
  }

  .footer-title {
    font-size: 20px;
  }
  
  .footer-text {
    font-size: 16px;
  }

  .row .col {
    margin: 20px 0;
    text-align: left;
    padding: 0;
  }

  .nav__list-item, .nav__list-item-style {
    font-size: 40px;
  }

  .progress-wrap {
    bottom: 25px;
    right: 20px;
  }
}

/* Mobile-landscape (and larger) */
@media only screen and (min-width: 480px) and (max-width: 767px){
  .main-menu {
    width: auto;
    position: relative;
  }

  .menu-icon-close, .nav__list-item a, .nav__list-item-style a {
    float: none;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only { 
    display: block;
  }

  .nav__content {
    top: 45%;
  }

  .nav__list {
    overflow: auto;
    height: 85vh;
  }

	.scroll-section {
		min-height: 500px;
	}

  .footer-text {
    font-size: 16px;
  }

  .nav__list-item, .nav__list-item-style {
    font-size: 30px;
  }

  .row .col {
    margin: 20px 0;
    text-align: left;
    padding: 0;
  }

  footer .container {
    width: 100%;
  }
}

/* Tablet-portrait (and larger) */
@media only screen and (min-width: 768px) and (max-width: 991px){
  .main-menu {
    width: auto;
    position: relative;
  }

  .menu-icon-close, .nav__list-item a, .nav__list-item-style a {
    float: none;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only { 
    display: block;
  }

  .nav__content {
    top: 45%;
  }

  .nav__list {
    overflow: auto;
    height: 85vh;
  }

	.scroll-section {
		min-height: 500px;
	}

  .footer .container {
    width: 90%;
  }

  .footer-title {
    font-size: 20px;
  }
  
  .footer-text {
    font-size: 16px;
  }


  .nav__list-item, .nav__list-item-style {
    font-size: 60px;
  }
}

/* Tablet-landscape (and larger) */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
  .main-menu {
    width: auto;
    position: relative;
  }

  .menu-icon-close, .nav__list-item a, .nav__list-item-style a {
    float: none;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only { 
    display: block;
  }

  .nav__content {
    top: 45%;
  }
  
  .nav__list {
    overflow: auto;
    height: 85vh;
  }

	.scroll-section {
		min-height: 600px;
	}

  .footer .container {
    width: 80%;
  }
}

/* Tablet-landscape iPad Pro */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: landscape) {
    .main-menu {
      width: auto;
      position: relative;
    }
  
    .menu-icon-close, .nav__list-item a, .nav__list-item-style a {
      float: none;
    }
  
    .desktop-only {
      display: none;
    }
  
    .mobile-only { 
      display: block;
    }
  
    .nav__content {
      top: 45%;
    }

    .nav__list {
      overflow: auto;
      height: 85vh;
    }

    .scroll-section {
      min-height: 800px;
    }
  }

/* For desktop devices */
@media only screen and (min-width: 1500px) {
  #header {
    left: 12vw;
    width: calc(100vw - 24vw);
  }

  .nav__content {
    padding: 0 12vw;
  }
  
  .sq-layout {
      padding: 5vw 12vw;
  }

  .background-content {
    font-size: 260px;
  }
}

@media only screen and (min-width: 2000px) {
  .background-content {
    font-size: 300px;
  }
}