﻿header {
  position: fixed;
  width: 100%;
  z-index: 10;
}

#mainSection {
  --duration: 3s;
  --easing: cubic-bezier(.26,.73,.35,.93);
  --fs: 24px;
  --lh: 34px;
  position: relative;
  background-color: #0f1827;
}
#mainSection .claims .claim {
  position: absolute;
  pointer-events: none;
}
#mainSection .claims .claim h1 {
  opacity: 0;
  font-weight: 600;
  color: white;
  font-size: var(--fs);
  line-height: var(--lh);
}
@media (min-width: 576px) {
  #mainSection .claims .claim h1 {
    --fs: 34px;
    --lh: 44px;
  }
}
@media (min-width: 768px) {
  #mainSection .claims .claim h1 {
    --fs: 40px;
    --lh: 50px;
  }
}
@media (min-width: 992px) {
  #mainSection .claims .claim h1 {
    --fs: 56px;
    --lh: 66px;
  }
}
@media (min-width: 1200px) {
  #mainSection .claims .claim h1 {
    --fs: 60px;
    --lh: 70px;
  }
}
#mainSection .claims .claim span {
  display: block;
}
#mainSection .claims .claim.active.claim-1 h1 {
  animation: loadClaimFromLeft var(--duration) var(--easing) 1s forwards;
}
#mainSection .claims .claim.active.claim-2 h1 {
  animation: loadClaimFromBottom var(--duration) var(--easing) 1s forwards;
}
#mainSection .claims .claim.active.claim-3 h1 {
  animation: loadClaimFromRight var(--duration) var(--easing) 1s forwards;
}
#mainSection .claims .claim.active.claim-4 h1 {
  animation: loadClaimFromBottom var(--duration) var(--easing) 1s forwards;
}
#mainSection .claims .claim.active.claim-5 h1 {
  animation: loadClaimFromLeft var(--duration) var(--easing) 1s forwards;
}
#mainSection .claims .claim.claim-1 {
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
}
@media (min-width: 768px) {
  #mainSection .claims .claim.claim-1 {
    right: 36%;
    left: unset;
  }
  #mainSection .claims .claim.claim-1 h1 {
    text-align: right;
  }
}
@media (min-width: 1400px) {
  #mainSection .claims .claim.claim-1 {
    right: 50%;
  }
}
#mainSection .claims .claim.claim-1 span:nth-child(2) {
  font-size: calc(var(--fs) * 1.58);
  line-height: calc(var(--lh) * 1.58);
}
#mainSection .claims .claim.claim-2 {
  bottom: 20%;
  transform: translateX(-50%);
  left: 50%;
  width: 100%;
}
#mainSection .claims .claim.claim-2 h1 {
  text-align: center;
}
#mainSection .claims .claim.claim-2 span:nth-child(2) {
  font-size: calc(var(--fs) * 1.7);
  line-height: calc(var(--lh) * 1.7);
}
#mainSection .claims .claim.claim-2 span:nth-child(4) {
  font-size: calc(var(--fs) * 0.6);
  line-height: calc(var(--lh) * 0.6);
}
#mainSection .claims .claim.claim-3 {
  top: 60%;
  width: max-content;
  left: 50%;
  transform: translateX(-50%);
}
#mainSection .claims .claim.claim-3 h1 {
  margin: auto;
  display: block;
}
@media (min-width: 768px) {
  #mainSection .claims .claim.claim-3 {
    top: 70%;
    transform: translateY(-50%);
    left: 41%;
    width: unset;
    padding-left: 0;
  }
}
#mainSection .claims .claim.claim-3 span:nth-child(2) {
  font-size: calc(var(--fs) * 1.6);
  line-height: calc(var(--lh) * 1.6);
}
#mainSection .claims .claim.claim-4 {
  top: 20%;
  right: 7%;
}
@media (min-width: 768px) {
  #mainSection .claims .claim.claim-4 {
    top: 15%;
    right: 38%;
    transform: translateX(50%);
  }
}
#mainSection .claims .claim.claim-4 h1 {
  text-align: left;
}
#mainSection .claims .claim.claim-4 span:nth-child(2) {
  font-size: calc(var(--fs) * 1.4);
  line-height: calc(var(--lh) * 1.4);
}
#mainSection .claims .claim.claim-5 {
  transform: translateY(-50%);
  left: 10%;
  top: 65%;
}
#mainSection .claims .claim.claim-5 h1 {
  text-align: right;
}
@media (min-width: 768px) {
  #mainSection .claims .claim.claim-5 {
    top: 50%;
    right: 52%;
    left: unset;
  }
}
#mainSection .claims .claim.finalScreen {
  position: absolute;
  width: 100%;
  bottom: 0;
}
#mainSection .claims .claim.finalScreen .finalButtons {
  min-height: 120px;
}
#mainSection .claims .claim.finalScreen .finalButtons a {
  width: 100%;
  height: 100%;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#mainSection .claims .claim.finalScreen .finalButtons > div {
  opacity: 0;
  pointer-events: none;
}
#mainSection .claims .claim.finalScreen a {
  min-height: 80px;
}
@media (min-width: 768px) {
  #mainSection .claims .claim.finalScreen a {
    min-height: 120px;
  }
}
#mainSection .claims .claim.finalScreen .button-4 {
  opacity: 0;
  pointer-events: none;
  min-height: unset;
  font-size: 1rem;
  margin: 30px auto;
}
@media (min-width: 768px) {
  #mainSection .claims .claim.finalScreen .button-4 {
    font-size: 1.25rem;
    margin: 80px auto;
  }
}
#mainSection .claims .claim.finalScreen.active .finalButtons > div, #mainSection .claims .claim.finalScreen.active .button-4 {
  animation: reveal;
  animation-duration: 4s;
  animation-timing-function: var(--easing);
  animation-fill-mode: forwards;
}
#mainSection .claims .claim.finalScreen.active .finalButtons > div.button-1, #mainSection .claims .claim.finalScreen.active .button-4.button-1 {
  animation-delay: 2s;
}
#mainSection .claims .claim.finalScreen.active .finalButtons > div.button-2, #mainSection .claims .claim.finalScreen.active .button-4.button-2 {
  animation-delay: 3s;
}
#mainSection .claims .claim.finalScreen.active .finalButtons > div.button-3, #mainSection .claims .claim.finalScreen.active .button-4.button-3 {
  animation-delay: 4s;
}
#mainSection .claims .claim.finalScreen.active .button-4 {
  animation-delay: 4s;
}
#mainSection .backgrounds {
  --duration: 6s;
  --easing: cubic-bezier(.26,.73,.35,.93);
}
#mainSection .backgrounds .background > div {
  opacity: 0;
}
#mainSection .backgrounds .background.active > div {
  animation: reveal 3s var(--easing) 0s forwards;
}
#mainSection .backgrounds .background.active > div.final {
  animation: reveal 5s var(--easing) 0s forwards;
}
#mainSection .backgrounds .background.active:nth-child(1) .sectionBackground {
  background-position-x: center;
  background-position-y: bottom;
  animation: loadBackgroundFromRight var(--duration) var(--easing) forwards;
}
@media (min-width: 992px) {
  #mainSection .backgrounds .background.active:nth-child(1) .sectionBackground {
    background-position-x: left;
  }
}
#mainSection .backgrounds .background.active:nth-child(2) .sectionBackground {
  background-position-x: center;
  background-position-y: top;
  animation: loadBackgroundZoom var(--duration) var(--easing) forwards;
}
#mainSection .backgrounds .background.active:nth-child(3) .sectionBackground {
  background-position-x: center;
  background-position-y: center;
  animation: loadBackgroundFromLeft var(--duration) var(--easing) forwards;
}
#mainSection .backgrounds .background.active:nth-child(4) .sectionBackground {
  background-position-x: 46%;
  background-position-y: top;
  animation: loadBackgroundZoom var(--duration) var(--easing) forwards;
}
@media (min-width: 768px) {
  #mainSection .backgrounds .background.active:nth-child(4) .sectionBackground {
    background-position-x: center;
  }
}
#mainSection .backgrounds .background.active:nth-child(5) .sectionBackground {
  background-position-x: 46%;
  background-position-y: center;
  animation: loadBackgroundFromTop var(--duration) var(--easing) forwards;
}
@media (min-width: 768px) {
  #mainSection .backgrounds .background.active:nth-child(5) .sectionBackground {
    background-position-x: center;
  }
}
#mainSection .backgrounds .background.active:nth-child(6) .sectionBackground {
  background-position-x: center;
  background-position-y: center;
  animation: loadBackgroundZoomOutNoOpacity 12s var(--easing) forwards;
}
#mainSection .backgrounds .background.active:nth-child(6) .sectionBackground:first-child {
  animation: loadBackgroundZoomOut 12s var(--easing) forwards;
}
#mainSection .backgrounds .background .final .alt {
  opacity: 0 !important;
  transition: opacity 0.5s ease-out !important;
}
#mainSection .backgrounds .background .final .alt.active {
  opacity: 1 !important;
}
#mainSection.finished .skipButton {
  opacity: 0;
  pointer-events: none;
}
#mainSection .skipButton {
  position: absolute;
  right: 15px;
  bottom: 15px;
  opacity: 1;
  transition: opacity 2s ease-out;
}
@media (min-width: 768px) {
  #mainSection .skipButton {
    right: 35px;
    bottom: 35px;
  }
}
#mainSection .skipButton button {
  opacity: 0;
  pointer-events: none;
  animation: reveal 3s var(--easing) 1.5s forwards;
  font-size: 1rem;
}
@media (min-width: 768px) {
  #mainSection .skipButton button {
    font-size: 1.25rem;
  }
}

#process {
  background-color: #060606;
  color: white;
  position: relative;
  --easing: cubic-bezier(.26,.73,.35,.93);
}
#process .backgrounds {
  --duration: 6s;
  --easing: cubic-bezier(.26,.73,.35,.93);
}
#process .backgrounds .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.61);
  z-index: 1;
}
@media (min-width: 992px) {
  #process .backgrounds .overlay {
    display: none;
  }
}
#process .backgrounds .background > div {
  opacity: 0;
}
#process .backgrounds .background.active > div {
  animation: reveal 3s var(--easing) 0s forwards;
}
#process .backgrounds .background.active.leave {
  /*> div {
      animation: fadeout 3s var(--easing) 0s forwards;
  }*/
}
#process .backgrounds .background.active.leave .sectionBackground {
  animation: loadBackgroundFromRightReversed var(--duration) var(--easing) forwards;
}
@media (min-width: 992px) {
  #process .backgrounds .background.active.leave .sectionBackground {
    animation: loadBackground3DRotateReversed var(--duration) var(--easing) forwards;
  }
}
#process .backgrounds .background.active .sectionBackground {
  background-blend-mode: lighten;
  background-color: #060606;
  background-position-x: 70%;
  background-position-y: center;
  animation: loadBackgroundFromRight var(--duration) var(--easing) forwards;
}
@media (min-width: 992px) {
  #process .backgrounds .background.active .sectionBackground {
    animation: loadBackground3DRotate var(--duration) var(--easing) forwards;
  }
}
@media (min-width: 992px) {
  #process .backgrounds .background.active .sectionBackground {
    background-position-x: center;
  }
}
#process .slidesContainer {
  position: relative;
}
#process .slidesContainer .slides {
  display: grid;
  align-items: center;
}
#process .slidesContainer .slides .slide {
  grid-column: 1;
  grid-row: 1;
  pointer-events: none;
  perspective: 2000px;
}
#process .slidesContainer .slides .slide > div {
  opacity: 0;
}
#process .slidesContainer .slides .slide.active {
  pointer-events: auto;
}
#process .slidesContainer .slides .slide.active > div {
  opacity: 1;
  animation: loadSlideFromRightMobile 4s var(--easing) forwards;
}
@media (min-width: 992px) {
  #process .slidesContainer .slides .slide.active > div {
    animation: loadSlideFromRight 4s var(--easing) forwards;
  }
}
#process .slidesContainer .slides .slide.active.leave > div {
  animation: loadSlideFromRightMobileReversed 4s var(--easing) forwards;
}
@media (min-width: 992px) {
  #process .slidesContainer .slides .slide.active.leave > div {
    animation: loadSlideFromRightReversed 4s var(--easing) forwards;
  }
}
#process .slidesContainer .slides .slide h1 {
  margin-bottom: 30px;
}
#process .slidesContainer .slides .slide p {
  font-size: 18px;
}
#process .slidesContainer .controls {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
#process .slidesContainer .controls button {
  padding: 0;
  font-size: 1rem;
  transition: opacity 1s;
}
@media (min-width: 768px) {
  #process .slidesContainer .controls button {
    font-size: 1.25rem;
  }
}
#process .slidesContainer .controls button.hidden {
  opacity: 0;
  pointer-events: none;
}

#creations {
  --image-width: 60vw;
  display: flex;
  align-items: center;
  color: white;
}
#creations .background {
  pointer-events: none;
}
#creations .sectionBackground {
  background-position-x: center;
  background-position-y: center;
}
@media (min-width: 768px) {
  #creations .container {
    width: var(--image-width);
  }
}
#creations .ima-gallery {
  /*.galleryItems {
      .galleryImage img {
          max-width: calc(var(--image-width) - 24px)
      }
  }*/
}
#creations .ima-gallery .galleryBoundaries {
  display: none;
}

#demand {
  background-color: #09101a;
  color: white;
  display: flex;
  align-items: center;
}
#demand .background .sectionBackground {
  background-position-y: center;
}
#demand .silouethes {
  position: absolute;
  left: 39%;
  bottom: 25%;
  display: grid;
  align-items: end;
}
#demand .silouethes .silouethe {
  max-height: 500px;
  width: 300px;
  grid-column: 1;
  grid-row: 1;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}
#demand .silouethes .silouethe.active {
  opacity: 1;
}
#demand .backgroundCanvas {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#demand .backgroundCanvas > div > img {
  height: 100vh;
  width: auto;
  transform: translateX(36vw);
}
@media (min-width: 576px) {
  #demand .backgroundCanvas > div > img {
    transform: none;
  }
}

#contact {
  background-color: #0f1827;
  color: white;
  display: flex;
  align-items: center;
}
#contact .background .sectionBackground {
  background-position-y: 20%;
  background-position-x: center;
  background-size: cover;
  z-index: 0;
}
#contact .content {
  position: absolute;
  top: 60%;
  left: 50%;
  width: 100%;
  transform: translate(-50%);
}
#contact .content h1 {
  font-size: 2.5rem;
}
@media (min-width: 768px) {
  #contact .content h1 {
    font-size: 3rem;
  }
}
@media (min-width: 992px) {
  #contact .content h1 {
    font-size: 4rem;
  }
}

@keyframes loadClaimFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-5%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes loadClaimFromRight {
  0% {
    opacity: 0;
    transform: translateX(5%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes loadClaimFromBottom {
  0% {
    opacity: 0;
    transform: translateY(20%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes loadClaimFromTop {
  0% {
    opacity: 0;
    transform: translateY(-20%);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes loadSlideFromRight {
  0% {
    opacity: 0;
    transform: rotate3d(0, 100, 0, 0deg) translateX(12%) scale(1.075);
  }
  100% {
    opacity: 1;
    transform: rotate3d(0, 100, 0, 23deg) translateX(4%) scale(1.075);
  }
}
@keyframes loadSlideFromRightReversed {
  0% {
    opacity: 1;
    transform: rotate3d(0, 100, 0, 23deg) translateX(4%) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: rotate3d(0, 100, 0, 0deg) translateX(12%) scale(1.1);
  }
}
@keyframes loadSlideFromRightMobile {
  0% {
    opacity: 0;
    transform: translateX(7%);
  }
  100% {
    opacity: 1;
    transform: translateX(2%);
  }
}
@keyframes loadSlideFromRightMobileReversed {
  0% {
    opacity: 1;
    transform: translateX(2%);
  }
  100% {
    opacity: 0;
    transform: translateX(7%);
  }
}
@keyframes loadBackground3DRotate {
  0% {
    opacity: 0;
    transform: scale(1.05) translateX(2%) rotate3d(0, 1, 0, 0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) translateX(-2%) rotate3d(0, 1, 0, -5deg);
  }
}
@keyframes loadBackground3DRotateReversed {
  0% {
    opacity: 1;
    transform: scale(1.05) translateX(-2%) rotate3d(0, 1, 0, -5deg);
  }
  100% {
    opacity: 0;
    transform: scale(1.05) translateX(2%) rotate3d(0, 1, 0, 0deg);
  }
}
@keyframes loadBackgroundFromRight {
  0% {
    opacity: 0;
    transform: scale(1.05) translateX(2%);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) translateX(-2%);
  }
}
@keyframes loadBackgroundFromRightReversed {
  0% {
    opacity: 1;
    transform: scale(1.05) translateX(-2%);
  }
  100% {
    opacity: 0;
    transform: scale(1.05) translateX(2%);
  }
}
@keyframes loadBackgroundFromLeft {
  0% {
    opacity: 0;
    transform: scale(1.05) translateX(-2%);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) translateX(2%);
  }
}
@keyframes loadBackgroundFromTop {
  0% {
    opacity: 0;
    transform: scale(1.05) translateY(-2%);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) translateY(2%);
  }
}
@keyframes loadBackgroundZoom {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes loadBackgroundZoomOut {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes loadBackgroundZoomOutNoOpacity {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes reveal {
  0% {
    opacity: 0;
    pointer-events: auto;
  }
  100% {
    opacity: 1;
    pointer-events: auto;
  }
}
@keyframes fadeout {
  0% {
    opacity: 1;
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    pointer-events: auto;
  }
}
