<commit_before>@import './global';

/*
 * VARIABLES
 */

@keyframes swipeLeft {
  0%  {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0,0,0);
  }

  100%{
    opacity: 0;
    visibility: hidden;
    transform: translate3d(200px,0,0);
  }
}

@mixin swipeLeft($t) {
  -webkit-animation: swipeLeft $t ease-in;
     -moz-animation: swipeLeft $t ease-in;
      -ms-animation: swipeLeft $t ease-in;
          animation: swipeLeft $t ease-in;
}

@keyframes swipeRight {
  0%  {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0,0,0);
  }

  100%{
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-200px,0,0);
  }
}

@mixin swipeRight($t) {
  -webkit-animation: swipeRight $t ease-in;
     -moz-animation: swipeRight $t ease-in;
      -ms-animation: swipeRight $t ease-in;
          animation: swipeRight $t ease-in;
}

@keyframes bgAnimation {
  0% {
    left: -35%;
  }

  100% {
    left: 100%;
  }
}

@keyframes imgAnimation {
  0% {
    left: -25%;
  }

  100% {
    left: 100%;
  }
}

@mixin imgAnimation($name, $t) {
  -webkit-animation-name: $name;
  animation-name: $name;

  -webkit-animation-duration: $t;
  animation-duration: $t;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@keyframes wheelRotate {
  0% {
    @include rotate(0deg);
  }

  100% {
    @include rotate(360deg);
  }
}

.wheel-rotate {
  -webkit-animation-name: wheelRotate;
  animation-name: wheelRotate;

  -webkit-animation-duration: 90s;
  animation-duration: 90s;

   -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@mixin bgzoom($t) {
  -webkit-animation-name: kenburns-bottom-left;
  animation-name: kenburns-bottom-left;

  -webkit-animation-duration: $t;
  animation-duration: $t;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@keyframes tag2 {
  0% {opacity: 0;}

  50% {
    opacity: 0;
    margin-top: 200px;
    font-size: 2rem;
  }

  60% {
    opacity: 1;
    margin-top: 0px;
    font-size: 1rem;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@mixin tag2() {
  -webkit-animation: tag2 5s ease-out;
     -moz-animation: tag2 5s ease-out;
      -ms-animation: tag2 5s ease-out;
          animation: tag2 5s ease-out;
}

@keyframes svg {
  0% {
    visibility: visible;
  }
  80% {
    opacity: 1;
  }
  100% {
    visibility: hidden;
    opacity: 0;
  }
}

@mixin svg() {
  -webkit-animation: svg 5s ease-out;
     -moz-animation: svg 5s ease-out;
      -ms-animation: svg 5s ease-out;
          animation: svg 5s ease-out;
}

/*
 * STYLE
 */

#svg-opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000; // == waiting layer bar
  color: $dark-bg;
  background-color: $background;
  text-align: center;
  visibility: hidden;
  svg {
    margin: 30vh auto 0 auto;
  } 
  @include svg();

  .svg-des {
    margin: 0 auto;
    margin-top: 0;
    @include tag2();
    font-size: 1rem;
  }
}

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  .banner-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;

    &.prev {
      // @include swipeLeft(0.3s);
    }

    &.prevLeft {
      @include swipeLeft(0.3s);
    }

    &.prevRight {
      @include swipeRight(0.3s);
    }

    &.active {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0,0,0);
      @include fadeIn(1s);
    }

    &.next {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0,0,0);
    }
  }

  .banner-project {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;

    .banner-img {
      position: relative;
      margin-left: 30%;
      height: 100%;
      overflow: hidden;
      -webkit-clip-path: polygon(0% 0, 100% 0, 100% 100%, 20% 100%);
      clip-path: polygon(0% 0, 100% 0, 100% 100%, 20% 100%);
      img {
        height: 120%;
        @include bgzoom(40s);
        -webkit-animation-delay: $opening-delay;
        animation-delay: $opening-delay;
      }
    }
  }

  // .arrow, 
  // .arrow.arrow-left:before,
  // .arrow.arrow-left:after,
  // .arrow.arrow-right:before,
  // .arrow.arrow-right:after {
  //   // background-color: $color;
  // }

  .banner-title .logo-text,
  .banner-title .logo-text span {
    -webkit-animation-delay: $opening-delay;
    animation-delay: $opening-delay;
  }

  .banner-tags {
    margin-top: 80px;
    div {
      width: auto;
      padding: 16px 50px 16px 50px;
    }

    .tag1 {
      font-size: 1.5rem;
      letter-spacing: 2px;
      @include textZoomIn(1s);
      -webkit-animation-delay: $opening-delay;
      animation-delay: $opening-delay;
    }
  }

  .btn-main {
    background-color: transparent;
    &:before {
      content:'';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      background-color: $dark-bg;
      @include openX(1.2s);
      -webkit-animation-delay: $opening-delay;
      animation-delay: $opening-delay;
    }
  }

  .discovery {
    position: absolute;
    bottom: 20%;
    right: 15%;
  }

  .changepage {
    position: absolute;
    bottom: 72px;
    left: 0;
    width: calc(100% - #{$padding}*2);

    .btn-arrow {
      float: right;
    }
  }
}

.background-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;

  .wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  img {
    height: 100%;
  }

  .border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40px;
    width: 100%;
    background-color: $dark-bg;
  }
}

#park-bg {
  position: absolute;
  bottom: 38px;
  // left: -50%;
  height: 100%;
  @include imgAnimation(bgAnimation,300s);
}

#park {
  position: absolute;
  bottom: 38px;
  // left: -60%;
  height: 100%;
  @include imgAnimation(imgAnimation,120s);
}

#park-wheel {
  position: absolute;
  bottom: 6.25%;
  left: 25%;
  width: 30%;
  height: auto;
}

@media screen and (max-width: 1023px) {
  .background-image {
    display: none;
  }

  .home .banner-project .banner-img {
    margin: 0;
    -webkit-clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
    img {
      height: 100%;
      margin-left: 0%;
    }
  }

  .changepage .btn-arrow:nth-child(2).left {
    float: left;
  }

  .changepage .left {
    margin-left: -24px;
  }
  .changepage .right {
    margin-right: -24px;
  }
}

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

  .home {
    .banner-tags {
      div {
        padding: 16px 20px;
      }
    }

    .changepage {
      width: calc(100% - 20px*2);
      bottom: 20px;
    }
  }

  .changepage .left {
    margin-left: -20px;
  }
  .changepage .right {
    margin-right: -20px;
  }
}

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

  .home {
    .banner-tags {
      margin-top: 20px;
      div {
        padding: 8px 20px;
      }
    }
  }
}<commit_msg>polygon 15%<commit_after>@import './global';

/*
 * VARIABLES
 */

@keyframes swipeLeft {
  0%  {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0,0,0);
  }

  100%{
    opacity: 0;
    visibility: hidden;
    transform: translate3d(200px,0,0);
  }
}

@mixin swipeLeft($t) {
  -webkit-animation: swipeLeft $t ease-in;
     -moz-animation: swipeLeft $t ease-in;
      -ms-animation: swipeLeft $t ease-in;
          animation: swipeLeft $t ease-in;
}

@keyframes swipeRight {
  0%  {
    visibility: visible;
    opacity: 1;
    transform: translate3d(0,0,0);
  }

  100%{
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-200px,0,0);
  }
}

@mixin swipeRight($t) {
  -webkit-animation: swipeRight $t ease-in;
     -moz-animation: swipeRight $t ease-in;
      -ms-animation: swipeRight $t ease-in;
          animation: swipeRight $t ease-in;
}

@keyframes bgAnimation {
  0% {
    left: -35%;
  }

  100% {
    left: 100%;
  }
}

@keyframes imgAnimation {
  0% {
    left: -25%;
  }

  100% {
    left: 100%;
  }
}

@mixin imgAnimation($name, $t) {
  -webkit-animation-name: $name;
  animation-name: $name;

  -webkit-animation-duration: $t;
  animation-duration: $t;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@keyframes wheelRotate {
  0% {
    @include rotate(0deg);
  }

  100% {
    @include rotate(360deg);
  }
}

.wheel-rotate {
  -webkit-animation-name: wheelRotate;
  animation-name: wheelRotate;

  -webkit-animation-duration: 90s;
  animation-duration: 90s;

   -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@mixin bgzoom($t) {
  -webkit-animation-name: kenburns-bottom-left;
  animation-name: kenburns-bottom-left;

  -webkit-animation-duration: $t;
  animation-duration: $t;

  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@keyframes tag2 {
  0% {opacity: 0;}

  50% {
    opacity: 0;
    margin-top: 200px;
    font-size: 2rem;
  }

  60% {
    opacity: 1;
    margin-top: 0px;
    font-size: 1rem;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@mixin tag2() {
  -webkit-animation: tag2 5s ease-out;
     -moz-animation: tag2 5s ease-out;
      -ms-animation: tag2 5s ease-out;
          animation: tag2 5s ease-out;
}

@keyframes svg {
  0% {
    visibility: visible;
  }
  80% {
    opacity: 1;
  }
  100% {
    visibility: hidden;
    opacity: 0;
  }
}

@mixin svg() {
  -webkit-animation: svg 5s ease-out;
     -moz-animation: svg 5s ease-out;
      -ms-animation: svg 5s ease-out;
          animation: svg 5s ease-out;
}

/*
 * STYLE
 */

#svg-opening {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000; // == waiting layer bar
  color: $dark-bg;
  background-color: $background;
  text-align: center;
  visibility: hidden;
  svg {
    margin: 30vh auto 0 auto;
  } 
  @include svg();

  .svg-des {
    margin: 0 auto;
    margin-top: 0;
    @include tag2();
    font-size: 1rem;
  }
}

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  .banner-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;

    &.prev {
      // @include swipeLeft(0.3s);
    }

    &.prevLeft {
      @include swipeLeft(0.3s);
    }

    &.prevRight {
      @include swipeRight(0.3s);
    }

    &.active {
      opacity: 1;
      visibility: visible;
      transform: translate3d(0,0,0);
      @include fadeIn(1s);
    }

    &.next {
      opacity: 0;
      visibility: hidden;
      transform: translate3d(0,0,0);
    }
  }

  .banner-project {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;

    .banner-img {
      position: relative;
      margin-left: 30%;
      height: 100%;
      overflow: hidden;
      -webkit-clip-path: polygon(0% 0, 100% 0, 100% 100%, 15% 100%);
      clip-path: polygon(0% 0, 100% 0, 100% 100%, 15% 100%);
      img {
        height: 120%;
        @include bgzoom(40s);
        -webkit-animation-delay: $opening-delay;
        animation-delay: $opening-delay;
      }
    }
  }

  // .arrow, 
  // .arrow.arrow-left:before,
  // .arrow.arrow-left:after,
  // .arrow.arrow-right:before,
  // .arrow.arrow-right:after {
  //   // background-color: $color;
  // }

  .banner-title .logo-text,
  .banner-title .logo-text span {
    -webkit-animation-delay: $opening-delay;
    animation-delay: $opening-delay;
  }

  .banner-tags {
    margin-top: 80px;
    div {
      width: auto;
      padding: 16px 50px 16px 50px;
    }

    .tag1 {
      font-size: 1.5rem;
      letter-spacing: 2px;
      @include textZoomIn(1s);
      -webkit-animation-delay: $opening-delay;
      animation-delay: $opening-delay;
    }
  }

  .btn-main {
    background-color: transparent;
    &:before {
      content:'';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      background-color: $dark-bg;
      @include openX(1.2s);
      -webkit-animation-delay: $opening-delay;
      animation-delay: $opening-delay;
    }
  }

  .discovery {
    position: absolute;
    bottom: 20%;
    right: 15%;
  }

  .changepage {
    position: absolute;
    bottom: 72px;
    left: 0;
    width: calc(100% - #{$padding}*2);

    .btn-arrow {
      float: right;
    }
  }
}

.background-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;

  .wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  img {
    height: 100%;
  }

  .border {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40px;
    width: 100%;
    background-color: $dark-bg;
  }
}

#park-bg {
  position: absolute;
  bottom: 38px;
  // left: -50%;
  height: 100%;
  @include imgAnimation(bgAnimation,300s);
}

#park {
  position: absolute;
  bottom: 38px;
  // left: -60%;
  height: 100%;
  @include imgAnimation(imgAnimation,120s);
}

#park-wheel {
  position: absolute;
  bottom: 6.25%;
  left: 25%;
  width: 30%;
  height: auto;
}

@media screen and (max-width: 1023px) {
  .background-image {
    display: none;
  }

  .home .banner-project .banner-img {
    margin: 0;
    -webkit-clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
    img {
      height: 100%;
      margin-left: 0%;
    }
  }

  .changepage .btn-arrow:nth-child(2).left {
    float: left;
  }

  .changepage .left {
    margin-left: -24px;
  }
  .changepage .right {
    margin-right: -24px;
  }
}

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

  .home {
    .banner-tags {
      div {
        padding: 16px 20px;
      }
    }

    .changepage {
      width: calc(100% - 20px*2);
      bottom: 20px;
    }
  }

  .changepage .left {
    margin-left: -20px;
  }
  .changepage .right {
    margin-right: -20px;
  }
}

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

  .home {
    .banner-tags {
      margin-top: 20px;
      div {
        padding: 8px 20px;
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.1529708367402562, 'fraction_numerical': 0.050422458435541016, 'mean_word_length': 2.2158194566170026, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6244251', 'n_tokens_mistral': 6254, 'n_tokens_neox': 5498, 'n_words': 1205}