*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 70%;
}
body{
	padding-left: 150px;
	font-size: 1.6rem;
	font-family: "Open Sans", sans-serif;
	color: #fff;
  background-image: -webkit-linear-gradient(bottom left, #4f5c9b, #475691, #3f5186, #374b7c, #304572, #2e4671, #2c4870, #2b496e, #2e5276, #325a7d, #376384, #3c6c8b);
    background-image: -o-linear-gradient(bottom left, #4f5c9b, #475691, #3f5186, #374b7c, #304572, #2e4671, #2c4870, #2b496e, #2e5276, #325a7d, #376384, #3c6c8b);
    background-image: linear-gradient(to top right, #4f5c9b, #475691, #3f5186, #374b7c, #304572, #2e4671, #2c4870, #2b496e, #2e5276, #325a7d, #376384, #3c6c8b);
 
}
main {
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6, p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
  margin: 0 auto 14px;
  color: #ffffff;
}
.slide h1,.slide h2,.slide h3,.slide h4,.slide h5,.slide h6,.slide p {
  width: 90%;
  max-width: 400px;
}
h1, h2, h3, h4, h5, h6{
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
}
h1{font-size: 4rem}
h2 {font-size: 2.2rem;}
h3{font-size: 1.6rem;}
h4{font-size: 1.4rem;}
h5{font-size: 1.25rem;}
h6{font-size: 1rem}
p {
  font-size: 1.4rem;
  line-height: 1.4;
}
span{
	font-size: 1.6rem;
	font-family: 'Quicksand', sans-serif;
	font-weight: 300;
}
a{
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
a.back-top{
  display: none;
  position: fixed;
  right: 40px;
  bottom: 10px;
}
a.back-top img{
  filter: invert(1);
  transform: rotateZ(90deg);
  max-width: 64px;
  opacity: .3;
  transition: .25s ease-in-out
}
  a.back-top:hover img{opacity: 1}
nav.side {
  height: 100vh;
  width: 150px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  outline: none;
  padding-top: 30px;
  text-align: center;
}
.side .logo{
	width: 120px; height: 120px;
}
.side .menu li{
	display: block;
	width: 100%;
	height: 90px;
}
.side .menu a{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	text-transform: capitalize;
	text-decoration: none;
	transition: .3s ease all;
}
	.side .menu a:hover > span{
		opacity: 1;
	}
	.side .menu a.active{
		background: #fff;
		color: #000;
	}
	.side .menu a.active > span{
		opacity: 1;
	}
.side .menu a svg{
	position: relative;
	top: 16%;
	transition: all .3s ease;
}
	.side .menu a:hover svg, .side .menu a.active svg{
		top: 0;
	}
.side .menu a span{
	position: relative;
	top: 7px;
	transition: .3s ease all;
	opacity: 0;
	width: 100%;
}
.side .social{
	margin-top: 50px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 40px 40px;
	justify-items: center;
}
.side .social li{
	display: inline;
}
.side .social li a{
	text-decoration: none;
	color: #fff;
}
footer{
	font-size: 14px;
	position: absolute;
	bottom: 40px;
	width: 100%;
	padding: 10px;
}
footer span{
	text-align: center;
}

main {
  color: #fff;
}
article{
  padding: 50px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.cta{text-align: center;}
.cta a{cursor: pointer}
@media all and (max-width: 1157px){
  nav.side{
    width: 80px;
  }
  body{padding-left: 80px;}
  .side .logo{
    width: 64px; height: 64px;
  }
  .side .social {
    display: block;
  }
  .side .social li{display: block; width: 100%; margin-top: 10px;}
  article{padding: 5.2%;}
  footer{
    display: none;
  }
}
@media all and (min-width: 511px){
  #burger-menu{display: none;}
}
@media all and (max-width: 510px){
  body{padding-left: 0 !important;}
  article{margin-top:25px;}
  nav.side{display: none;}
  .hamburger-container{
    width: 100%;
  }
  .hamburger {
    position: absolute;
    top:0;
    right: 0;
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; 
  z-index: 999;
}
  .hamburger:hover {
    opacity: 0.7; 
  }
  .hamburger.active:hover {
    opacity: 0.7;
  }
  .hamburger.active .hamburger-inner,
  .hamburger.active .hamburger-inner::before,
  .hamburger.active .hamburger-inner::after {
    background-color: #fff; 
  }
  .project-burger .hamburger.active .hamburger-inner,
  .project-burger .hamburger.active .hamburger-inner::before,
  .project-burger .hamburger.active .hamburger-inner::after {
    background: #fff;
  }
.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative; 
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; 
}
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: #fff;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.15s ease; 
  }
  .project-burger .hamburger-inner, .project-burger .hamburger-inner::before, .project-burger .hamburger-inner::after{background: rgb(43,73,110);}
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; 
  }
  .hamburger-inner::before {
    top: -10px; 
  }
  .hamburger-inner::after {
    bottom: -10px; 
  }
  .hamburger .hamburger-inner {
  top: auto;
  bottom: 0;
  transition-duration: 0.13s;
  transition-delay: 0.13s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}
  .hamburger .hamburger-inner::after {
    top: -20px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear; 
  }
  .hamburger .hamburger-inner::before {
    transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); 
  }

.hamburger.active .hamburger-inner {
  transform: translate3d(0, -10px, 0) rotate(-45deg);
  transition-delay: 0.22s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 
}
  .hamburger.active .hamburger-inner::after {
    top: 0;
    opacity: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear; 
  }
  .hamburger.active .hamburger-inner::before {
    top: 0;
    transform: rotate(-90deg);
    transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1); 
  }

  nav.side {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    outline: none;
    padding-top: 30px;
    text-align: center;
    background: rgba(43,73,110,0.94);
    animation: fadeIn .6s;
  }
  nav.side.out{animation: fadeOut .6s;}
  .side .logo{
    width: 80px; height: 80px;
  }
  .side .menu li{
    display: block;
    width: 100%;
    height: 90px;
  }
  .side .menu li:nth-child(1){animation: slideInLeft .65s ease-in-out 0s forwards}
  .side .menu li:nth-child(2){animation: slideInLeft 0.85s ease-in-out 0s forwards}
  .side .menu li:nth-child(3){animation: slideInLeft 1.2s ease-in-out 0s forwards}
  .side .menu li:nth-child(4){animation: slideInLeft 1.4s ease-in-out 0s forwards}
  .side .menu a{
    flex-direction: row !important;
  }
    .side .menu a:hover > span{
      opacity: 1;
    }
    .side .menu a.active{
      background: #fff;
      color: #000;
    }
    .side .menu a.active > span{
      opacity: 1;
    }
  .side .menu a svg{
    position: relative;
    top: 0;
    margin-right: 20px;
    transition: all .3s ease;
  }
  .side .menu a span{
    position: relative;
    top: 0px;
    transition: .3s ease all;
    opacity: 1;
    width: auto !important;
  }
  .side .social{
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40px 40px;
    justify-items: center;
  }
  .side .social li{
    display: inline;
  }
  .side .social li a{
    text-decoration: none;
    color: #fff;
  }
  footer{
    font-size: 14px;
    position: absolute;
    bottom: 40px;
    width: 100%;
    padding: 10px;
  }
  footer span{
    text-align: center;
  }
}
#loading {
  display: none;
  width: 120px; height: 80px;
  position: relative;
  margin: 0 auto;
}
#loading img{width: 120px;}
















/*-------------
PAGE : HOME
---------------*/
#home{
	overflow-y: hidden;
}
.cd-hero {
  font-size: 1.6rem;
  font-family: "Open Sans", sans-serif;
  color: #2c343b;
}

.cd-hero a {
  text-decoration: none;
}
/* Slider */
.cd-hero {
  position: relative;
  height: 100vh;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0px);
          transform: translateZ(0px);
  will-change: transform;
  -webkit-transform: translateX(100%);
      -ms-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slide.slide--selected {
  /* this is the visible slide */
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}

.slide.slide--move-left {
  /* slide hidden on the left */
  -webkit-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
          transform: translateX(-100%);
}

.slide.slide--is-moving,
.slide.slide--selected {
  /* the slide--is-moving class is assigned to the slide which is moving outside the viewport */
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}

.slider {
    height: 100vh;
  }

/* Slide style */
.slide {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: -webkit-linear-gradient(bottom left, #4f5c9b, #475691, #3f5186, #374b7c, #304572, #2e4671, #2c4870, #2b496e, #2e5276, #325a7d, #376384, #3c6c8b);
    background-image: -o-linear-gradient(bottom left, #4f5c9b, #475691, #3f5186, #374b7c, #304572, #2e4671, #2c4870, #2b496e, #2e5276, #325a7d, #376384, #3c6c8b);
    background-image: linear-gradient(to top right, #4f5c9b, #475691, #3f5186, #374b7c, #304572, #2e4671, #2c4870, #2b496e, #2e5276, #325a7d, #376384, #3c6c8b);
}

.content.content--full-width,
.content.content--half-width {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  top: 0;
  text-align: center;
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
}
.content.content--full-width:not(.content--img),
.content.content--half-width:not(.content--img) {
	top: 40%;
	z-index: 999999;
}
.content h2, .content p, .btn, .content--img img {
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
}

.content.content--img {
  /* hide image on mobile device */
  display: none;
}

.content--img img {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  z-index: 1;
  width: 160%;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
}

.content.content--bg-video {
  /* hide video on mobile device */
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.content--bg-video video {
  /* you won't see this element in the html, but it will be injected using javascript */
  display: block;
  min-height: 100%;
  min-width: 100%;
  max-width: none;
  height: auto;
  width: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
}
button{border: none;}
.btn {
  display: inline-block;
  padding: 1.2em 1.4em;
  margin-top: .8em;
  background-color: rgba(212, 68, 87, 0.9);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.btn.btn--secondary {
  background-color: rgba(22, 26, 30, 0.8);
}

.btn:nth-of-type(2) {
  margin-left: 1em;
}

.btn:hover {
  background-color: #d44457;
}

.btn.btn--secondary:hover {
  background-color: #161a1e;
}

@media only screen and (min-width: 768px) {
  .slide:nth-of-type(2),
  .slide:nth-of-type(3),
  .slide:nth-of-type(4) {
    background-image: none;
  }
  .content.content--bg-video {
    display: block;
  }
  .content.content--half-width {
    width: 45%;
  }
  .content.content--half-width:first-of-type {
    left: 5%;
  }
  .content.content--half-width:nth-of-type(2) {
    right: 5%;
    left: auto;
  }
  .content.content--img {
    display: block;
  }
  .content h2, .content p {
    max-width: 520px;
  }
  .content h2 {
    font-size: 2.4em;
  }
  .btn {
    font-size: 1.4rem;
  }
}

@media only screen and (min-width: 1170px) {
  .content h2, .content p {
    margin-bottom: 20px;
  }
  .content h2 {
    font-size: 3.2em;
  }
  .content p {
    font-size: 1.6rem;
  }
}

/* Single slide animation */
@media only screen and (min-width: 768px) {
  .content.content--half-width {
    opacity: 0;
    -webkit-transform: translateX(40px);
        -ms-transform: translateX(40px);
            transform: translateX(40px);
  }
  .slide--move-left .content.content--half-width {
    -webkit-transform: translateX(-40px);
        -ms-transform: translateX(-40px);
            transform: translateX(-40px);
  }
  .slide--selected .content.content--half-width {
    /* this is the visible slide */
    opacity: 1;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
  }
  .slide--is-moving .content.content--half-width {
    /* this is the slide moving outside the viewport 
    wait for the end of the transition on the <li> parent before set opacity to 0 and translate to 40px/-40px */
    -webkit-transition: opacity 0s 0.5s, -webkit-transform 0s 0.5s;
    transition: opacity 0s 0.5s, -webkit-transform 0s 0.5s;
    transition: opacity 0s 0.5s, transform 0s 0.5s;
    transition: opacity 0s 0.5s, transform 0s 0.5s, -webkit-transform 0s 0.5s;
  }
  .slide--from-left.slide--selected .content.content--half-width:nth-of-type(2),
  .slide--from-right.slide--selected .content.content--half-width:first-of-type {
    /* this is the selected slide - different animation if it's entering from left or right */
    -webkit-transition: opacity 0.4s 0.2s, -webkit-transform 0.5s 0.2s;
    transition: opacity 0.4s 0.2s, -webkit-transform 0.5s 0.2s;
    transition: opacity 0.4s 0.2s, transform 0.5s 0.2s;
    transition: opacity 0.4s 0.2s, transform 0.5s 0.2s, -webkit-transform 0.5s 0.2s;
  }
  .slide--from-left.slide--selected .content.content--half-width:first-of-type,
  .slide--from-right.slide--selected .content.content--half-width:nth-of-type(2) {
    /* this is the selected slide - different animation if it's entering from left or right */
    -webkit-transition: opacity 0.4s 0.4s, -webkit-transform 0.5s 0.4s;
    transition: opacity 0.4s 0.4s, -webkit-transform 0.5s 0.4s;
    transition: opacity 0.4s 0.4s, transform 0.5s 0.4s;
    transition: opacity 0.4s 0.4s, transform 0.5s 0.4s, -webkit-transform 0.5s 0.4s;
  }
  .content--full-width h2,
  .content--full-width p,
  .content--full-width .btn {
    -webkit-transform: translateX(100px);
        -ms-transform: translateX(100px);
            transform: translateX(100px);
  }
  .slide--move-left .content--full-width h2,
  .slide--move-left .content--full-width p,
  .slide--move-left .content--full-width .btn {
    -webkit-transform: translateX(-100px);
        -ms-transform: translateX(-100px);
            transform: translateX(-100px);
  }
  .slide--selected .content--full-width h2,
  .slide--selected .content--full-width p,
  .slide--selected .content--full-width .btn {
    /* this is the visible slide */
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
  }
  .slide--is-moving .content--full-width h2,
  .slide--is-moving .content--full-width p,
  .slide--is-moving .content--full-width .btn {
    /* this is the slide moving outside the viewport 
    wait for the end of the transition on the li parent before set translate to 100px/-100px */
    -webkit-transition: -webkit-transform 0s 0.5s;
    transition: -webkit-transform 0s 0.5s;
    transition: transform 0s 0.5s;
    transition: transform 0s 0.5s, -webkit-transform 0s 0.5s;
  }
  .slide--selected h2 {
    -webkit-transition: -webkit-transform 0.5s 0.2s;
    transition: -webkit-transform 0.5s 0.2s;
    transition: transform 0.5s 0.2s;
    transition: transform 0.5s 0.2s, -webkit-transform 0.5s 0.2s;
  }
  .slide--selected p {
    -webkit-transition: -webkit-transform 0.5s 0.3s;
    transition: -webkit-transform 0.5s 0.3s;
    transition: transform 0.5s 0.3s;
    transition: transform 0.5s 0.3s, -webkit-transform 0.5s 0.3s;
  }
  .slide--selected .btn {
    -webkit-transition: background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
    transition: background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
    transition: transform 0.5s 0.4s, background-color 0.2s 0s;
    transition: transform 0.5s 0.4s, background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
  }
}

/* Slider navigation */
.nav {
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 2;
  text-align: center;
  height: 55px;
  background-color: rgba(0, 1, 1, 0.5);
}

.nav nav, .nav ul, .nav li, .nav a {
  height: 100%;
}

.nav nav {
  display: inline-block;
  position: relative;
}

.marker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 100%;
  color: #d44457;
  background-color: #ffffff;
  -webkit-box-shadow: inset 0 2px 0 currentColor;
          box-shadow: inset 0 2px 0 currentColor;
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
}

.marker.marker--item-2 {
  -webkit-transform: translateX(100%);
      -ms-transform: translateX(100%);
          transform: translateX(100%);
}

.marker.marker--item-3 {
  -webkit-transform: translateX(200%);
      -ms-transform: translateX(200%);
          transform: translateX(200%);
}

.marker.marker--item-4 {
  -webkit-transform: translateX(300%);
      -ms-transform: translateX(300%);
          transform: translateX(300%);
}

.marker.marker--item-5 {
  -webkit-transform: translateX(400%);
      -ms-transform: translateX(400%);
          transform: translateX(400%);
}

.nav ul::after {
  clear: both;
  content: "";
  display: table;
}

.nav li {
  display: inline-block;
  width: 60px;
  float: left;
}

.nav .cd-selected a {
  color: #2c343b;
}

.nav .cd-selected a:hover {
  background-color: transparent;
}

.nav a {
  display: block;
  position: relative;
  padding-top: 35px;
  font-size: 1rem;
  font-weight: 700;
  color: #a8b4be;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.nav a::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  top: 8px;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  background: url(../img/cd-icon-navigation.svg) no-repeat 0 0;
}

.nav a:hover {
  background-color: rgba(0, 1, 1, 0.5);
}

.nav li:first-of-type a::before {
  background-position: 0 0;
}

.nav li.cd-selected:first-of-type a::before {
  background-position: 0 -24px;
}

.nav li:nth-of-type(2) a::before {
  background-position: -24px 0;
}

.nav li.cd-selected:nth-of-type(2) a::before {
  background-position: -24px -24px;
}

.nav li:nth-of-type(3) a::before {
  background-position: -48px 0;
}

.nav li.cd-selected:nth-of-type(3) a::before {
  background-position: -48px -24px;
}

.nav li:nth-of-type(4) a::before {
  background-position: -72px 0;
}

.nav li.cd-selected:nth-of-type(4) a::before {
  background-position: -72px -24px;
}

.nav li:nth-of-type(5) a::before {
  background-position: -96px 0;
}

.nav li.cd-selected:nth-of-type(5) a::before {
  background-position: -96px -24px;
}

@media only screen and (min-width: 768px) {
  .nav {
    height: 80px;
  }
  .marker,
  .nav li {
    width: 95px;
  }
  .nav a {
    padding-top: 48px;
    font-size: 1.1rem;
    text-transform: uppercase;
  }
  .nav a::before {
    top: 18px;
  }
}


















/*-------------
PAGE : ABOUT
---------------*/
#about>article{
  display: flex;
  flex-direction: row;
}
#about img{
  width: 100%;
  max-width: 1024px;
  margin-top: 50px;
  margin-left: 50px;
}
ul.skills li{
  display: inline-block;
  padding: 15px; 
  text-align: center;
}
ul.skills li object{
  width: 100px;
  opacity: 0.3;
  filter: invert(1);
  transition: .21s ease-in-out all;
}
ul.skills li span{
  display: block;
  margin-top: 8px;
  opacity: 0;
  transition: .21s ease-in-out all;
}
  ul.skills li:hover object{
    opacity: 1;
  }
  ul.skills li:hover span{
    opacity: 1;
    animation: fadeInUp .21s ease-in-out 0s forwards;
  }
@media all and (max-width: 560px){
  #about>article{
    flex-direction: column-reverse;
  }
  #about img{margin: 0;}
}



















/*-------------
PAGE : PORTFOLIO
---------------*/
#portfolio .category{
  margin-top: 30px;
}
#portfolio .category li{
  position: relative;
  display: inline-block;
  margin: 20px;
}
#portfolio .category li:after{
  content: '';
  display: block;
  margin: auto;
  margin-top: 5px;
  height: 0.1em;
  width: 0px;
  background: transparent;
  transition: width .4s ease, background-color .4s ease;
}
#portfolio .category li.active:after{
  width: 100%;
  background: #fff;
}
#portfolio .category li a{
  width: 100%;
  color: #fff;
  cursor: pointer;
  font-weight: 400;
}
#portfolio .projects {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 15px;
  justify-items: center;
  align-items: center;
}
#portfolio .projects li{
  display: none;
  position: relative;
  overflow: hidden;
  width: 300px; height: 300px;
}
#portfolio .projects li figure img{
  display: block;
  width: 300px; height: 300px;
  transition: .45s ease-in-out all;
  opacity: 1;
}
  #portfolio .projects li:hover figure img{
    opacity: .3;
    transform: scale(1.05);
  }
#portfolio .projects li figcaption{
  position: absolute;
  top: 50%;
  left: 50%; 
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  opacity: 0;
  transition: .45s ease-in-out all;
}
  #portfolio .projects li:hover figcaption{
    opacity: 1;
  }
#portfolio .projects li figcaption h3{font-size: 2.125rem;}
#portfolio .projects li figcaption span{
  color: #fff;
  text-transform: uppercase;
}
@media all and (max-width: 500px){
  #portfolio .category li{margin: 5px;}
}

.touch #portfolio .projects li figcaption{
  position: absolute;
  left: 0; 
  transform: translate(0%, 45%);
  bottom: 0;
  text-align: left;
  z-index: 1;
  opacity: 1;
  transition: .45s ease-in-out all;
  width: 100%;
  background: #fff;
  padding: 10px;
}
.touch #portfolio .projects li figcaption h3{font-size: 2.125rem;color: #000;}
.touch #portfolio .projects li[data-category="null"] figcaption {display: none;}
.touch #portfolio .projects li figcaption span{
  color: #000;
  text-transform: uppercase;
}
















/*-------------
PAGE - PROJECT
---------------*/
#project header {
  position: relative;
  margin-bottom: 80px;
  height: 300px
}
#project header h1,
#project header p{
  color: #19191a;
}
#project header section{
  position: relative;
  max-width: 100%;
}
#project header section .text{
  position: relative;
  padding-left: 5.2%;
  padding-top: 50px;
  max-width: 50%;
}
#project header section .demo {
  position: absolute;
  right: 0;
  top: 0;
}
#project header  .mockup{
    position: absolute;
    right: 0;
    width: 990px;
}
#project header iframe {
    position: absolute;
    right: 0;
    margin-top: 100px;
    margin-right: 100px;
    width: 735px;
    height: 415px;
}
#project header section .demo .fx{position: relative; height: 450px;}
#project header section .demo .fx svg{
  position: absolute;
    bottom: -184px;
    right: 0;
  z-index: -1;
  margin-right: 260px;
}
#project header section .demo .fx .innerfix{
  position: absolute;
  bottom: -184px; right: 0;
  width: 260px;
  height: 254px;
  background: #fff;
  z-index: -1;
}
#project .back{
  height: 380px;
  width: 100%;
  position: absolute;
  top: 0; left: 0;
  background: #fff;
  z-index: -1;
}
@media all and (max-width: 1814px) {
  #project header .mockup{width: 900px;}
}
@media all and (max-width: 1655px) {
  #project header iframe{width: 700px;}
}
@media all and (max-width: 1632px) {
  #project header .mockup{width: 800px;}
}
@media all and (max-width: 1620px) {
  #project header iframe{width: 500px;}
}
@media all and (max-width: 1502px) {
  .fx{display: none;}
  .back{display: none;}
  #project header{height: auto;margin-bottom: 0;}
  #project header section{
    display: flex;
    flex-direction: row;
    background: #fff;
  }
  #project header section .text{position: relative;max-width:100%;}
  #project header section .demo{position: relative;}
  #project header .mockup{position: relative;max-width: 500px;top: 0 !important;}
  #project header iframe{position: relative;max-width: 500px;top: 0 !important;}
}
@media all and (max-width: 876px) {
  h1{text-align: center;}
  #project header section{
    flex-wrap: wrap
  }
  #project header section .text{padding-right: 5.2%; padding-bottom: 50px;}
  #project header section .mockup{max-width: 100%; top: -150px !important;}
  #project header section .has-iframe{
    height: 400px;
    width: 100%;
  }
  #project header section iframe{
    margin-top: 0;
    margin-right: 0;
    position: absolute; max-width: 100%;
    width: 100%; height: 100%;
  }
}
@media all and (max-width: 524px){
  #project header section .mockup{display: none;}
}










/*-------------
PAGE - CONTACT
---------------*/
#contact form{
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.col-2{
  display: flex;
  flex-direction: row;
  gap: 20px;
}
@media all and (max-width: 790px){
  .col-2{flex-wrap: wrap;}
}
.input{
  position: relative;
  width: 100%;
  margin-top: 50px;
}
.input label{
  position: absolute;
  top: 17px; left: 20px;
  transition: .25s all ease;
}
.input input{
  height: 50px;
}
.input textarea{
  resize: vertical;
  min-height: 120px
}
.border {
    border: .1em solid #4f5c9b!important;
    opacity: 0;
}
.input input,
.input textarea{
  width: 100%;
  color: #fff;
  background: rgba(0,0,0,0.1);
  border: none;
  padding: 20px;
}
.input input ~.border,
.input textarea ~ .border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.1em;
  transition: 0.5s;
}
.input input:focus ~ label,
.input textarea:focus ~ label {
  top: -20px; left: 0;
}
.input input.active ~ label,
.input textarea.active ~ label {
  top: -20px; left: 0;
}
.input input:focus ~ .border,
.input textarea:focus ~ .border {
  width: 100%;
  opacity: 1
}
.message{
  width: 100%;
  padding: 15px;
  color: #fff; 
}
.message.success{
  background: #2cc66f;
}
.message.error{
  background: #dd5d6f;
}















/*-------------
ATNIMATIONS
---------------*/
.animated{
  opacity: 0;
  animation: fadeInUp .6s ease-in-out 0s forwards;
}
.delay-100{animation-delay: 100ms}
.delay-200{animation-delay: 200ms}
.delay-300{animation-delay: 300ms}
.delay-400{animation-delay: 400ms}
.delay-500{animation-delay: 500ms}
.delay-600{animation-delay: 600ms}
.delay-700{animation-delay: 700ms}


@keyframes fadeInUp {
  from { 
    opacity: 0;
    -webkit-transform: translate3d(0, 50%, 0);
    transform: translate3d(0, 50%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeIn {
  from { 
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from { 
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
@keyframes slideInLeft {
  from { 
    opacity: 0;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}