/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.3.6,
* Autoprefixer: v10.3.1
* Browsers: last 4 version
*/

:root {
  --contact-text-color: black;
  --contact-textbox-text-color: black;
  --contact-textbox-color: rgb(237, 237, 253);

  --content-width: 75vw;
  --content-height: 75vh;

  --input-width: 96%;
  --input-width-mobile-s: 400px;
  --input-width-mobile-xs: 285px;
}

* {
  margin: 0;
  padding: 0;
}

  /*
* ===================================================================================== very small =====================================================================================
*/
@media screen {
  /* Scroll Down */

.scroll-down {
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: 47%;
  margin-top: -8%;
}

.chevron {
  position: absolute;
  width: 20px;
  margin-left: -6px;
  height: 2px;
  opacity: 0;
  -webkit-transform: scale3d(0.5, 0.5, 0.5);
          transform: scale3d(0.5, 0.5, 0.5);
  -webkit-animation: move 3s ease-out infinite;
          animation: move 3s ease-out infinite;
}

.chevron:first-child {
  -webkit-animation: move 3s ease-out 1s infinite;
          animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  -webkit-animation: move 3s ease-out 2s infinite;
          animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.chevron:before {
  left: 0;
  -webkit-transform: skew(0deg, 30deg);
      -ms-transform: skew(0deg, 30deg);
          transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  -webkit-transform: skew(0deg, -30deg);
      -ms-transform: skew(0deg, -30deg);
          transform: skew(0deg, -30deg);
}

@-webkit-keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  67% {
    opacity: 1;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
            transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  67% {
    opacity: 1;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
            transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

.text-scroll-down {
  display: block;
  margin-top: -3px;
  margin-left: -15px;
  font-family: "Roboto";
  font-size: 10px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  -webkit-animation: pulse 2s linear alternate infinite;
          animation: pulse 2s linear alternate infinite;
}

.text-scroll-down-2 {
  display: block;
  margin-top: 73px;
  margin-left: -24px;
  font-family: "Roboto";
  font-size: 8px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  -webkit-animation: pulse 2s linear alternate infinite;
          animation: pulse 2s linear alternate infinite;
}


@-webkit-keyframes pulse {
  to {
    opacity: 1;
  }
}


@keyframes pulse {
  to {
    opacity: 1;
  }
}


.layer_4 {
  z-index: 2;
}


.content {
  font-family: 'Roboto', sans-serif;
  /*background-image: linear-gradient(to bottom, #ff6666 10%, var(--contact-textbox-color) 80%);*/
}

/* form wrapper */
.wp-block-contact-form-7-contact-form-selector {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow-x: overlay;
}

/* form output wrapper */
.wpcf7-response-output {
  border: none !important;
}

#submit-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}


.content > p {
  text-align: left;
}

body {
  background-image: none;
  overflow-y: hidden;
  font-family: 'Roboto', sans-serif;
}

body > main {
  background-image: url('/assets/img/parallax/0.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position-y: 40%;
  background-color: white;
  padding: 0;
}

body > header {
  position: fixed;
  background-color: rgba(255, 255, 255, 0);
  z-index: 1;
}

div.layer > img {
  height: 100%;
  width: 100%;
}

div.parallax {
  margin: 0 !important;
  max-width: 100%;
  padding: 0;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-perspective: 100px;
          perspective: 100px;
  -webkit-perspective-origin: 50% 50%;
          perspective-origin: 50% 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;

  /* responsive parallax fix */
  padding-top: 45vh;

}

/* Hide scrollbar for Chrome, Safari and Opera */
div.parallax::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
div.parallax {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


.layer {
  position: absolute;
  width: 100vw;
}

/* content & contact layer */
.layer_5 {
  position: relative;
  bottom: 0;
  padding-top: 0;
}

.layer_4 {
  position: absolute;
}

.layer_3 {
  position: absolute;
  -webkit-transform: translateZ(-100px) scale(2);
          transform: translateZ(-100px) scale(2);

}

.layer_2 {
  position: absolute;
  -webkit-transform: translateZ(-200px) scale(3);
          transform: translateZ(-200px) scale(3);

}

.layer_1 {
  position: absolute;
  -webkit-transform: translateZ(-300px) scale(4);
          transform: translateZ(-300px) scale(4);
  
}


/*
*                                                                                ----- Curtain -----
*/
#curtain {
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%; /*20.11 - 110%*/
  width: 100vw;
  opacity: 1;
  padding-bottom: 35%;
  margin-top: -31%;/*20.11 correction*/

  /*curtain effect background layer*/
  background: linear-gradient(rgb(51, 51, 51), 40%, white);
  
  /*content adjustments*/
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

/*
*                                                                                ----- Content -----
*/

#content-wrapper {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.content {
  height: var(--content-height);
  width: var(--content-width);
  font-family: 'Roboto', sans-serif;
  border-radius: 12px;
  justify-self: flex-end;
  padding-top: 40%;
}

.content > p {
  color: var(--contact-text-color);
  font-size: 1.2rem;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

.content > h1{
  font-weight: bold;
  padding-top: 3%;
  margin-bottom: 9%;
  color: var(--contact-text-color);
  font-size: 2rem;
}


/*                                                      bottom part
                                                                      -------------------------------------------------------------- */
.content-bottom {
  margin-top: calc(var(--content-height) * 0.05);
  font-size: calc(var(--content-height) * 0.035);
  /*display: flex;
  flex-direction: column;*/
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0;
}
}

  /*
* ===================================================================================== small phone =====================================================================================
*/
@media screen and (min-width: 375px){
  #scroll-down-layer {
    padding-top: 3vh;
  }

  div.parallax {
    padding-top: 40vh;
  }
}

  /*
* ===================================================================================== phone =====================================================================================
*/
@media screen and (min-width: 481px){
  #scroll-down-layer {
    padding-top: 10vh;
  }

  div.parallax {
    padding-top: 28vh;
  }
}

  /*
* ===================================================================================== tablet/small laptops =====================================================================================
*/
@media screen and (min-width: 767px){

  #scroll-down-layer {
    padding-top: 10vh;
  }

  div.parallax {
    padding-top: 37vh;
  }

  .content > h1 {
    font-size: 4rem;
    margin-bottom: 4%;
  }

  .content > p {
    font-size: 2rem;
  }

}

  /*
* ===================================================================================== laptop M - L=====================================================================================
*/
@media screen and (min-width: 1024px){
  body > main {
    background-position-y: 26%;
  }
  
  #scroll-down-layer {
    padding-top: 25vh;
  }

  div.parallax {
    padding-top: 25vh;
  }

  @media screen and (orientation: portrait) {
    #scroll-down-layer {
      padding-top: 13vh;
    }  
    .chevron {
      width: 25px;
      height: 6px;
      margin-left: -10px;
      margin-top: 12px;
    }

    .text-scroll-down {
      font-size: 1.2rem;
      margin-left: -18px;
    }

    .text-scroll-down-2 {
      font-size: 1.2rem;
      margin-left: -36px;
    }

  }

}



  /*
* ===================================================================================== desktop and above =====================================================================================
*/
@media screen and (min-width: 1920px){


/* Scroll Down */

.scroll-down {
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: 47%;
  margin-top: 13%;
}

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  margin-top: 25px;
  margin-left: -6px;
  opacity: 0;
  -webkit-transform: scale3d(0.5, 0.5, 0.5);
          transform: scale3d(0.5, 0.5, 0.5);
  -webkit-animation: move 3s ease-out infinite;
          animation: move 3s ease-out infinite;
}

.chevron:first-child {
  -webkit-animation: move 3s ease-out 1s infinite;
          animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  -webkit-animation: move 3s ease-out 2s infinite;
          animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}

.chevron:before {
  left: 0;
  -webkit-transform: skew(0deg, 30deg);
      -ms-transform: skew(0deg, 30deg);
          transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  -webkit-transform: skew(0deg, -30deg);
      -ms-transform: skew(0deg, -30deg);
          transform: skew(0deg, -30deg);
}

@-webkit-keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  67% {
    opacity: 1;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
            transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
  67% {
    opacity: 1;
    -webkit-transform: translateY(40px);
            transform: translateY(40px);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
            transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

.text-scroll-down {
  display: block;
  font-family: "Roboto";
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  -webkit-animation: pulse 2s linear alternate infinite;
          animation: pulse 2s linear alternate infinite;
}

.text-scroll-down-2 {
  display: block;
  margin-top: 75px;
  margin-left: -34px;
  font-family: "Roboto";
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  -webkit-animation: pulse 2s linear alternate infinite;
          animation: pulse 2s linear alternate infinite;
}

@-webkit-keyframes pulse {
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}


.layer_4 {
  z-index: 2;
}


.content {
  font-family: 'Roboto', sans-serif;
  /*background-image: linear-gradient(to bottom, #ff6666 10%, var(--contact-textbox-color) 80%);*/
}

/* form wrapper */
.wp-block-contact-form-7-contact-form-selector {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow-x: overlay;
}

/* form output wrapper */
.wpcf7-response-output {
  border: none !important;
}

#submit-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}


.content > p {
  text-align: left;
}

body {
  background-image: none;
  overflow-y: hidden;
  font-family: 'Roboto', sans-serif;
}

body > main {
  background-image: url('/assets/img/parallax/0-1.png');
  background-size: 100%;
  padding: 0;
}

body > header {
  position: fixed;
  background-color: rgba(255, 255, 255, 0);
  z-index: 1;
}

div.layer > img {
  height: 100%;
  width: 100%;
}

/* Hide scrollbar for Chrome, Safari and Opera */
div.parallax::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
div.parallax {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.layer {
  position: absolute;
  width: 100vw;
}

/* content & contact layer */
.layer_5 {
  position: relative;
  bottom: 0;
}

.layer_4 {
  position: absolute;
}

.layer_3 {
  position: absolute;
  -webkit-transform: translateZ(-100px) scale(2);
          transform: translateZ(-100px) scale(2);

}

.layer_2 {
  position: absolute;
  -webkit-transform: translateZ(-200px) scale(3);
          transform: translateZ(-200px) scale(3);

}

.layer_1 {
  position: absolute;
  -webkit-transform: translateZ(-300px) scale(4);
          transform: translateZ(-300px) scale(4);
  
}


/*
*                                                                                ----- Curtain -----
*/
#curtain {
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 110%;
  width: 100vw;
  opacity: 0;
  padding-bottom: 5%;

  /*curtain effect background layer*/
  background-color: var(--contact-textbox-color);
  
  /*content adjustments*/
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

/*
*                                                                                ----- Content -----
*/

#content-wrapper {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.content {
  height: var(--content-height);
  width: var(--content-width);
  font-family: 'Roboto', sans-serif;
  border-radius: 12px;
  justify-self: flex-end;
  bottom: 50%;
  position: sticky;
  padding-top: 0;
}

.content > p {
  color: var(--contact-text-color);
  font-size: 2.5rem;
  padding-left: calc(var(--content-height) * 0.13);
  padding-right: calc(var(--content-height) * 0.13);
  text-align: left;
}

.content > h1{
  font-weight: bold;
  padding-top: 3%;
  margin-bottom: 3%;
  color: var(--contact-text-color);
  padding-left: calc(var(--content-height) * 0.13);
  padding-right: calc(var(--content-height) * 0.13);
  font-size: 4rem;
}


/*                                                      bottom part
                                                                      -------------------------------------------------------------- */
.content-bottom {
  margin-top: calc(var(--content-height) * 0.05);
  font-size: calc(var(--content-height) * 0.035);
  /*display: flex;
  flex-direction: column;*/
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0;
}

}

@media screen and (min-width: 1920px) {
  div.parallax {
    margin: 0 !important;
    max-width: 100%;
    padding: 0;
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-perspective: 100px;
            perspective: 100px;
    -webkit-perspective-origin: 50% 50%;
            perspective-origin: 50% 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding-top: 6vh;
  }

  .layer_5 {
    position: absolute;
  }

  #curtain {
    margin-top: 0;
  }
  #scroll-down-layer {
    padding-top: 0;
  }

}

@media screen and (min-width: 2056px) {
  .content > h1 {
    font-size: 5.5rem;
    margin-bottom: 35px;
  }

  .content > p {
    font-size: 3.5rem;
  }

}