//Little Fragment
.fragment-wrapper {
  .fragment-block {
    position: relative;
    width: 100%;
    display: table;
    margin-bottom: 160px;

    .fragment-item {
      display: table-cell;
      width: 49%;
    }

    .fragment-text {
      vertical-align: middle;
      position: relative;
      z-index: 100;
      .wrap-frag-text {
        padding-top: 50px;
        padding-bottom: 70px;
        color: #222;
        .title {
          font-family: "Muli", sans-serif;
          font-size: 70px;
          font-weight: 800;
          line-height: 1.3;
          letter-spacing: .2px;
          margin-bottom: 25px;
        }
        .desc {
          font-family: "Muli", sans-serif;
          color: #999;
          font-size: 15px;
          font-weight: 400;
          line-height: 1.8;
          letter-spacing: 0.2px;
          margin-bottom: 35px;
          margin-left: 3px;
        }
      }
    }
    .fragment-img {
      position: relative;
      background: #eee;
      width: 51%;
      height: 100%;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
    }
  }
}

.fragment,
.fragment__piece {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.fragment {
  -webkit-transition: transform 0.2s ease-out;
  transition: transform 0.2s ease-out;
}

.fragment__piece {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 0%;
}

@media only screen and(max-width: 991px) {
  .fragment-wrapper .fragment-block .fragment-img {
    position: absolute;
    width: 100%;
    height: 100%!important;
    top: 0;
    left: 0;
    z-index: 1;
    &:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, .85);
    }
  }
  .fragment-wrapper .fragment-block {
    margin-bottom: 80px;
  }
  .fragment-wrapper .fragment-block .fragment-item {
    width: 100%;
  }
  .fragment-wrapper .fragment-block .fragment-text .wrap-frag-text {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    position: relative;
    z-index: 9;
    color: #222;
    padding: 50px 40px;
  }
  .fragment-wrapper .fragment-block .fragment-text .wrap-frag-text .a-btn-4,
  .fragment-wrapper .fragment-block .fragment-text .wrap-frag-text .desc{
    color: #222;
  }
  .fragment-wrapper .fragment-block .fragment-text .wrap-frag-text .title{
    font-size: 50px;
  }
}

@media only screen and(max-width: 480px) {
  .fragment-wrapper .fragment-block .fragment-text .wrap-frag-text .title {
    font-size: 50px;
  }
  .fragment-wrapper .fragment-block {
    margin-bottom: 60px;
  }
}


@media only screen and(max-width: 360px) {
  .fragment-wrapper .fragment-block .fragment-text .wrap-frag-text {
    padding: 30px 20px 40px;
  }
  .fragment-wrapper .fragment-block .fragment-text .wrap-frag-text .title {
    font-size: 30px;
  }
}

// PARALLAX SHOWCASE
.parallax-showcase-wrapper {
  .s-back-switch {
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
  }
  .parallax-showcase-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 200px;
  }
  .parallax-showcase-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
  }

  .title {
    color: #ffffff;
    font-size: 90px;
    font-weight: 800;
    letter-spacing: .2px;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  .desc {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 1.7;
  }
  a {
    margin-top: 30px;
  }
}

@media only screen and(max-width: 991px) {
  .parallax-showcase-wrapper {
    .parallax-showcase-item {
      padding-left: 100px;
    }
    .title {
      font-size: 70px;
    }
    .desc {
      font-size: 18px;
    }
  }
}

@media only screen and(max-width: 768px) {
  .parallax-showcase-wrapper {
    .parallax-showcase-item {
      padding-left: 0;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
    }
    .parallax-showcase-content {
      padding: 0 15px;
      text-align: center;
    }
    .title {
      font-size: 35px;
    }
    .desc {
      font-size: 16px;
    }
  }
}

// GLITCH EFFECT
.glitch-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  padding: 0 1em;
  width: 100%;
  max-width: 1200px;
  margin: 40vh auto 0;
  .glitch-item:last-of-type{
    margin-bottom: 10vh;
  }
}

.glitch-item {
  margin: 0 0 40vh;
  position: relative;
}

.glitch-item:nth-child(odd) {
  margin-top: -40vh;
}

.glitch-wrapper .title {
  position: absolute;
  margin: 0;
  font-size: 50px;
  color: var(--color-title);
  font-family: 'Muli', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .2px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  text-decoration: none;
  left: -50px;
}

.glitch-item:nth-child(odd) .title {
  top: 10%;
  right: -50px;
  text-align: right;
  left: auto;
}

.glitch-wrapper {
  --color-text: #454847;
  --color-bg: #1d2121;
  --color-link: #454847;
  --color-link-hover: #fff;
  --color-info: #454847;
  --glitch-width: 40vmax;
  --glitch-height: calc(40vmax * 1.25);
  --color-title: #fff;
  --color-subtitle: #30efbf;
  .glitch-1 {
    --gap-horizontal: 20px;
    --gap-vertical: 2px;
    --time-anim: 2.25s;
    --blend-mode-1: none;
    --blend-mode-2: none;
    --blend-mode-3: none;
    --blend-mode-4: none;
    --blend-mode-5: none;
    --blend-color-1: transparent;
    --blend-color-2: transparent;
    --blend-color-3: transparent;
    --blend-color-4: transparent;
    --blend-color-5: transparent;
  }
  .glitch-2 {
    --gap-horizontal: 5px;
    --gap-vertical: 10px;
    --time-anim: 2s;
    --blend-mode-1: none;
    --blend-mode-2: none;
    --blend-mode-3: luminosity;
    --blend-mode-4: none;
    --blend-mode-5: none;
    --blend-color-1: transparent;
    --blend-color-2: transparent;
    --blend-color-3: #4d8c60;
    --blend-color-4: transparent;
    --blend-color-5: #c9b09a;
  }
  .glitch-3 {
    --gap-horizontal: 20px;
    --gap-vertical: 2px;
    --time-anim: 2.25s;
    --blend-mode-1: none;
    --blend-mode-2: none;
    --blend-mode-3: multiply;
    --blend-mode-4: none;
    --blend-mode-5: none;
    --blend-color-1: transparent;
    --blend-color-2: transparent;
    --blend-color-3: #af4563;
    --blend-color-4: transparent;
    --blend-color-5: transparent;
  }
  .glitch-4 {
    --gap-horizontal: 5px;
    --gap-vertical: 20px;
    --time-anim: 5s;
    --blend-mode-1: none;
    --blend-mode-2: exclusion;
    --blend-mode-3: hard-light;
    --blend-mode-4: overlay;
    --blend-mode-5: none;
    --blend-color-1: transparent;
    --blend-color-2: #52f1cd;
    --blend-color-3: #525df1;
    --blend-color-4: #f19b52;
    --blend-color-5: transparent;
  }
  .glitch-5 {
    --gap-horizontal: 50px;
    --gap-vertical: 100px;
    --time-anim: 2.25s;
    --blend-mode-1: none;
    --blend-mode-2: none;
    --blend-mode-3: none;
    --blend-mode-4: overlay;
    --blend-mode-5: overlay;
    --blend-color-1: transparent;
    --blend-color-2: transparent;
    --blend-color-3: transparent;
    --blend-color-4: #000;
    --blend-color-5: #8d16f2;
  }
  .glitch-6 {
    --gap-horizontal: 3px;
    --gap-vertical: 70px;
    --time-anim: 2.25s;
    --blend-mode-1: none;
    --blend-mode-2: none;
    --blend-mode-3: overlay;
    --blend-mode-4: none;
    --blend-mode-5: none;
    --blend-color-1: transparent;
    --blend-color-2: transparent;
    --blend-color-3: rgba(255,255,255,0.2);
    --blend-color-4: transparent;
    --blend-color-5: transparent;
  }
  .glitch {
    position: relative;
    width: var(--glitch-width);
    max-width: 400px;
    height: var(--glitch-height);
    max-height: calc(400px * 1.25);
    overflow: hidden;
    margin: 0 auto;
  }

  .glitch-item:hover {
    cursor: pointer;
  }

  .glitch-img {
    position: absolute;
    top: calc(-1 * var(--gap-vertical));
    left: calc(-1 * var(--gap-horizontal));
    width: calc(100% + var(--gap-horizontal) * 2);
    height: calc(100% + var(--gap-vertical) * 2);
    background: no-repeat 50% 0;
    background-color: var(--blend-color-1);
    background-size: cover;
    transform: translate3d(0,0,0);
    background-blend-mode: var(--blend-mode-1);
  }

  /* Set the background colors for the glitch images*/
  .glitch-img:nth-child(2) {
    background-color: var(--blend-color-2);
    background-blend-mode: var(--blend-mode-2);
  }

  .glitch-img:nth-child(3) {
    background-color: var(--blend-color-3);
    background-blend-mode: var(--blend-mode-3);
  }

  .glitch-img:nth-child(4) {
    background-color: var(--blend-color-4);
    background-blend-mode: var(--blend-mode-4);
  }

  .glitch-img:nth-child(5) {
    background-color: var(--blend-color-5);
    background-blend-mode: var(--blend-mode-5);
  }

  /* Hide all images except the first one */
  .glitch-img:nth-child(n+2) {
    opacity: 0;
  }

  /* Hovers */

  /* On hover we show the 2nd, 3rd, 4th and 5th image*/
  .glitch:hover .glitch-img:nth-child(n+2) {
    opacity: 1;
  }

  /* Hover animations for horizontal case */
  .glitch:hover .glitch-img:nth-child(2) {
    transform: translate3d(var(--gap-horizontal),0,0);
    animation: glitch-anim-1-horizontal var(--time-anim) infinite linear alternate;
  }

  .glitch:hover > .glitch-img:nth-child(3) {
    transform: translate3d(calc(-1 * var(--gap-horizontal)),0,0);
    animation: glitch-anim-2-horizontal var(--time-anim) infinite linear alternate;
  }

  .glitch:hover > .glitch-img:nth-child(4) {
    transform: translate3d(0, calc(-1 * var(--gap-vertical)), 0) scale3d(-1,-1,1);
    animation: glitch-anim-3-horizontal var(--time-anim) infinite linear alternate;
  }

  /* Hover animations for vertical case */
  .glitch-3l:hover .glitch-img:nth-child(2) {
    transform: translate3d(0, var(--gap-vertical), 0);
    animation: glitch-anim-1-vertical var(--time-anim) infinite linear alternate;
  }

  .glitch-3:hover > .glitch-img:nth-child(3) {
    transform: translate3d(0, calc(-1 * var(--gap-vertical)), 0);
    animation: glitch-anim-2-vertical var(--time-anim) infinite linear alternate;
  }

  .glitch-3:hover > .glitch-img:nth-child(4) {
    transform: translate3d(calc(-1 * var(--gap-horizontal)), 0, 0) scale3d(-1,-1,1);
    animation: glitch-anim-3-vertical var(--time-anim) infinite linear alternate;
  }

  /* Hover flash animation on last image */
  .glitch:hover > .glitch-img:nth-child(5) {
    animation: glitch-anim-flash 0.5s steps(1,end) infinite;
  }
  /* Animations */

  /* Horizontal */
  @keyframes glitch-anim-1-horizontal {
    0% {
      -webkit-clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
      clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
    }
    10% {
      -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
      clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
    }
    20% {
      -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
      clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
    }
    30% {
      -webkit-clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
      clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
    }
    40% {
      -webkit-clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
      clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
    }
    50% {
      -webkit-clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
      clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
    }
    60% {
      -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
      clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
    }
    70% {
      -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
      clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
    }
    80% {
      -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
      clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }
    90% {
      -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
      clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }
    100% {
      -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
      clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
    }
  }

  @keyframes glitch-anim-2-horizontal {
    0% {
      -webkit-clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
      clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
    }
    15% {
      -webkit-clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
      clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
    }
    22% {
      -webkit-clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
      clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
    }
    31% {
      -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
      clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }
    45% {
      -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
      clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
    }
    51% {
      -webkit-clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
      clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
    }
    63% {
      -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
      clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }
    76% {
      -webkit-clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
      clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
    }
    81% {
      -webkit-clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
      clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
    }
    94% {
      -webkit-clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
      clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
    }
    100% {
      -webkit-clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
      clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
    }
  }

  @keyframes glitch-anim-3-horizontal {
    0% {
      -webkit-clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
      clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
    }
    5% {
      -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
      clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
    }
    10% {
      -webkit-clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
      clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
    }
    25% {
      -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
      clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }
    27% {
      -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
      clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
    }
    30% {
      -webkit-clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
      clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
    }
    33% {
      -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
      clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
    }
    37% {
      -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
      clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
    }
    40% {
      -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
      clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
    }
    45% {
      -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
      clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
    }
    50% {
      -webkit-clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
      clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
    }
    53% {
      -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
      clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
    }
    57% {
      -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
      clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
    }
    60% {
      -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
      clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
    }
    65% {
      -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
      clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
    }
    70% {
      -webkit-clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
      clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
    }
    73% {
      -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
      clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }
    80% {
      -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
      clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
    }
    100% {
      -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
      clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
    }
  }

  /* Vertical */
  @keyframes glitch-anim-1-vertical {
    0% {
      -webkit-clip-path: polygon(2% 0, 5% 0, 5% 100%, 2% 100%);
      clip-path: polygon(2% 0, 5% 0, 5% 100%, 2% 100%);
    }
    10% {
      -webkit-clip-path: polygon(15% 0, 15% 0, 15% 100%, 15% 100%);
      clip-path: polygon(15% 0, 15% 0, 15% 100%, 15% 100%);
    }
    20% {
      -webkit-clip-path: polygon(10% 0, 20% 0, 20% 100%, 10% 100%);
      clip-path: polygon(10% 0, 20% 0, 20% 100%, 10% 100%);
    }
    30% {
      -webkit-clip-path: polygon(1% 0, 2% 0, 2% 100%, 1% 100%);
      clip-path: polygon(1% 0, 2% 0, 2% 100%, 1% 100%);
    }
    40% {
      -webkit-clip-path: polygon(33% 0, 33% 0, 33% 100%, 33% 100%);
      clip-path: polygon(33% 0, 33% 0, 33% 100%, 33% 100%);
    }
    50% {
      -webkit-clip-path: polygon(44% 0, 44% 0, 44% 100%, 44% 100%);
      clip-path: polygon(44% 0, 44% 0, 44% 100%, 44% 100%);
    }
    60% {
      -webkit-clip-path: polygon(50% 0, 20% 0, 20% 100%, 50% 100%);
      clip-path: polygon(50% 0, 20% 0, 20% 100%, 50% 100%);
    }
    70% {
      -webkit-clip-path: polygon(70% 0, 70% 0, 70% 100% 70%, 70% 100%);
      clip-path: polygon(70% 0, 70% 0, 70% 100% 70%, 70% 100%);
    }
    80% {
      -webkit-clip-path: polygon(80% 0, 80% 0, 80% 100% 80%, 80% 100%);
      clip-path: polygon(80% 0, 80% 0, 80% 100% 80%, 80% 100%);
    }
    90% {
      -webkit-clip-path: polygon(50% 0, 55% 0, 55% 100%, 50% 100%);
      clip-path: polygon(50% 0, 55% 0, 55% 100%, 50% 100%);
    }
    100% {
      -webkit-clip-path: polygon(70% 0, 80% 0, 80% 100%, 70% 100%);
      clip-path: polygon(70% 0, 80% 0, 80% 100%, 70% 100%);
    }
  }

  @keyframes glitch-anim-2-vertical {
    0% {
      -webkit-clip-path: polygon(25% 0, 30% 0, 30% 100%, 25% 100%);
      clip-path: polygon(25% 0, 30% 0, 30% 100%, 25% 100%);
    }
    15% {
      -webkit-clip-path: polygon(3% 0, 3% 0, 3% 100%, 3% 100%);
      clip-path: polygon(3% 0, 3% 0, 3% 100%, 3% 100%);
    }
    22% {
      -webkit-clip-path: polygon(5% 0, 20% 0, 20% 100%, 5% 100%);
      clip-path: polygon(5% 0, 20% 0, 20% 100%, 5% 100%);
    }
    31% {
      -webkit-clip-path: polygon(20% 0, 20% 0, 20% 100%, 20% 100%);
      clip-path: polygon(20% 0, 20% 0, 20% 100%, 20% 100%);
    }
    45% {
      -webkit-clip-path: polygon(40% 0, 40% 0, 40% 100%, 40% 100%);
      clip-path: polygon(40% 0, 40% 0, 40% 100%, 40% 100%);
    }
    51% {
      -webkit-clip-path: polygon(52% 0, 59% 0, 59% 100%, 52% 100%);
      clip-path: polygon(52% 0, 59% 0, 59% 100%, 52% 100%);
    }
    63% {
      -webkit-clip-path: polygon(60% 0, 60% 0, 60% 100%, 60% 100%);
      clip-path: polygon(60% 0, 60% 0, 60% 100%, 60% 100%);
    }
    76% {
      -webkit-clip-path: polygon(75% 0, 75% 0, 75% 100%, 75% 100%);
      clip-path: polygon(75% 0, 75% 0, 75% 100%, 75% 100%);
    }
    81% {
      -webkit-clip-path: polygon(65% 0, 40% 0, 40% 100%, 65% 100%);
      clip-path: polygon(65% 0, 40% 0, 40% 100%, 65% 100%);
    }
    94% {
      -webkit-clip-path: polygon(45% 0, 50% 0, 50% 100%, 45% 100%);
      clip-path: polygon(45% 0, 50% 0, 50% 100%, 45% 100%);
    }
    100% {
      -webkit-clip-path: polygon(14% 0, 33% 0, 33% 100%, 14% 100%);
      clip-path: polygon(14% 0, 33% 0, 33% 100%, 14% 100%);
    }
  }

  @keyframes glitch-anim-3-vertical {
    0% {
      -webkit-clip-path: polygon(1% 0, 3% 0, 3% 100%, 1% 100%);
      clip-path: polygon(1% 0, 3% 0, 3% 100%, 1% 100%);
    }
    5% {
      -webkit-clip-path: polygon(10% 0, 9% 0, 9% 100%, 10% 100%);
      clip-path: polygon(10% 0, 9% 0, 9% 100%, 10% 100%);
    }
    10% {
      -webkit-clip-path: polygon(5% 0, 6% 0 6% 100%, 5% 100%);
      clip-path: polygon(5% 0, 6% 0 6% 100%, 5% 100%);
    }
    25% {
      -webkit-clip-path: polygon(20% 0, 20% 0, 20% 100%, 20% 100%);
      clip-path: polygon(20% 0, 20% 0, 20% 100%, 20% 100%);
    }
    27% {
      -webkit-clip-path: polygon(10% 0, 10% 0, 10% 100%, 10% 100%);
      clip-path: polygon(10% 0, 10% 0, 10% 100%, 10% 100%);
    }
    30% {
      -webkit-clip-path: polygon(30% 0, 25% 0, 25% 100%, 30% 100%);
      clip-path: polygon(30% 0, 25% 0, 25% 100%, 30% 100%);
    }
    33% {
      -webkit-clip-path: polygon(15% 0, 16% 0, 16% 100%, 15% 100%);;
      clip-path: polygon(15% 0, 16% 0, 16% 100%, 15% 100%);
    }
    37% {
      -webkit-clip-path: polygon(40% 0, 39% 0, 39% 100%, 40% 100%);;
      clip-path: polygon(40% 0, 39% 0, 39% 100%, 40% 100%);
    }
    40% {
      -webkit-clip-path: polygon(20% 0, 21% 0, 21% 100%, 20% 100%);
      clip-path: polygon(20% 0, 21% 0, 21% 100%, 20% 100%);
    }
    45% {
      -webkit-clip-path: polygon(60% 0, 55% 0, 55% 100%, 60% 100%);
      clip-path: polygon(60% 0, 55% 0, 55% 100%, 60% 100%);
    }
    50% {
      -webkit-clip-path: polygon(30% 0, 31% 0, 31% 100%, 30% 100%);
      clip-path: polygon(30% 0, 31% 0, 31% 100%, 30% 100%);
    }
    53% {
      -webkit-clip-path: polygon(70% 0, 69% 0, 69% 100%, 70% 100%);
      clip-path: polygon(70% 0, 69% 0, 69% 100%, 70% 100%);
    }
    57% {
      -webkit-clip-path: polygon(40% 0, 41% 0, 41% 100%, 40% 100%);
      clip-path: polygon(40% 0, 41% 0, 41% 100%, 40% 100%);
    }
    60% {
      -webkit-clip-path: polygon(80% 0, 75% 0, 75% 100%, 80% 100%);
      clip-path: polygon(80% 0, 75% 0, 75% 100%, 80% 100%);
    }
    65% {
      -webkit-clip-path: polygon(50% 0, 51% 0, 51% 100%, 50% 100%);
      clip-path: polygon(50% 0, 51% 0, 51% 100%, 50% 100%);
    }
    70% {
      -webkit-clip-path: polygon(90% 0, 90% 0, 90% 100%, 90% 100%);
      clip-path: polygon(90% 0, 90% 0, 90% 100%, 90% 100%);
    }
    73% {
      -webkit-clip-path: polygon(60% 0, 60% 0, 60% 100%, 60% 100%);
      clip-path: polygon(60% 0, 60% 0, 60% 100%, 60% 100%);
    }
    80% {
      -webkit-clip-path: polygon(100% 0, 99% 0, 99% 100%, 100% 100%);
      clip-path: polygon(100% 0, 99% 0, 99% 100%, 100% 100%);
    }
    100% {
      -webkit-clip-path: polygon(70% 0, 71% 0, 71% 100%, 70% 100%);
      clip-path: polygon(70% 0, 71% 0, 71% 100%, 70% 100%);
    }
  }

  @keyframes glitch-anim-text {
    0% {
      opacity: 1;
      transform: translate3d(-10px,0,0) scale3d(-1,-1,1);
      -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
      clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
    }
    10% {
      -webkit-clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
      clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
    }
    20% {
      -webkit-clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
      clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
    }
    35% {
      -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
      clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
    }
    50% {
      -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
      clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
    }
    60% {
      -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
      clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }
    70% {
      -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
      clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }
    80% {
      -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
      clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
    }
    90% {
      transform: translate3d(-10px,0,0) scale3d(-1,-1,1);
    }
    100% {
      opacity: 1;
      transform: translate3d(0,0,0) scale3d(1,1,1);
      -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
  }

  /* Flash */
  @keyframes glitch-anim-flash {
    0% {
      opacity: 0.2;
      transform: translate3d(var(--gap-horizontal), var(--gap-vertical), 0);
    }
    33%, 100% {
      opacity: 0;
      transform: translate3d(0,0,0);
    }
  }

}
@media only screen and(max-width: 768px) {
  .glitch-wrapper {
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    .glitch {
      width: 100%;
      max-width: none;
    }
    .glitch-item {
      width: 100%;
      margin: 0;
      margin-bottom: 40px;
    .title {
      font-size: 30px;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      -o-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      text-align: center;
      }
    }
  }
}