
.fzt-heading-container {    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    position: relative;
    gap: 25px;
    width: 100%;
}

.fzt-heading-container .fzt-heading-intro-title {
    font-family: var(--soriva-body-font-family);
    font-size: calc(var(--soriva-body-font-size) - 2px);
    font-weight: 600;
    line-height: 1;
    color: var(--soriva-primary-color);
    display: inline-flex;
    justify-content: inherit;
    align-items: inherit;
    text-align: inherit;
    text-wrap: balance;
    text-transform: uppercase;
    padding: 0 10px;
    width: auto;
    position: relative;
}

.fzt-heading-container .fzt-heading-intro-title:before,
.fzt-heading-container .fzt-heading-intro-title:after
{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
}

.fzt-heading-container .fzt-heading-intro-title:before {
    left: 0;
    border-width: 2px 0 2px 2px;
    border-style: solid;
    border-color: currentColor;
    width: 5px;
}

.fzt-heading-container .fzt-heading-intro-title:after {
    right: 0;
    border-width: 2px 2px 2px 0;
    border-style: solid;
    border-color: currentColor;
    width: 5px;
}

.fzt-heading-container .fzt-heading-title .glitch-text:not(:first-child) {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.fzt-heading-container .fzt-heading-title .glitch-text:nth-child(n) {
    animation-play-state: paused !important;
}

.fzt-element-in-viewport .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(n) {
    animation-play-state: running !important;
    animation-iteration-count: 3 !important;
}

.fzt-heading-container .fzt-heading-title .glitch-text:nth-child(1) {
    -webkit-animation: clip 3000ms -300ms linear infinite, glitch1 500ms -364ms linear infinite;
        animation: clip 3000ms -300ms linear infinite, glitch1 500ms -364ms linear infinite;
}

.fzt-heading-container .fzt-heading-title {
    font-family: var(--soriva-h2-font-family);
    font-size: var(--soriva-h2-font-size);
    color: var(--soriva-heading-color);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-align: inherit;
    text-wrap: balance;
    text-transform: uppercase;
    display: inline-flex;
    justify-content: inherit;
    align-items: inherit;
    width: 100%;
}

.fzt-heading-container .fzt-heading-intro-title:empty,
.fzt-heading-container .fzt-heading-title:empty {
    display: none;
}

@keyframes glitch1 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: #fff;
    }
    85% {
      transform: translateX(-4px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(1px);
      color: #AC1212;
    }
    95% {
      transform: translateX(3px);
      color: #fff;
    }
    100% {
      transform: translateX(0);
    }
  }
  
  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(2) {
    -webkit-animation: clip 3000ms -600ms linear infinite, glitch2 500ms -549ms linear infinite;
            animation: clip 3000ms -600ms linear infinite, glitch2 500ms -549ms linear infinite;
  }
  
  @keyframes glitch2 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: #fff;
    }
    85% {
      transform: translateX(-2px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(-4px);
      color: #AC1212;
    }
    95% {
      transform: translateX(-1px);
      color: #fff;
    }
    100% {
      transform: translateX(0);
    }
  }
  
  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(3) {
    -webkit-animation: clip 3000ms -900ms linear infinite, glitch3 500ms -676ms linear infinite;
            animation: clip 3000ms -900ms linear infinite, glitch3 500ms -676ms linear infinite;
  }
  
  @keyframes glitch3 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: var(--soriva-heading-color);
    }
    85% {
      transform: translateX(4px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(-2px);
      color: #AC1212;
    }
    95% {
      transform: translateX(3px);
      color: var(--soriva-heading-color);
    }
    100% {
      transform: translateX(0);
    }
  }

  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(4) {
    -webkit-animation: clip 3000ms -1200ms linear infinite, glitch4 500ms -25ms linear infinite;
            animation: clip 3000ms -1200ms linear infinite, glitch4 500ms -25ms linear infinite;
  }
  
  @keyframes glitch4 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: var(--soriva-heading-color);
    }
    85% {
      transform: translateX(4px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(5px);
      color: #AC1212;
    }
    95% {
      transform: translateX(-4px);
      color: var(--soriva-heading-color);
    }
    100% {
      transform: translateX(0);
    }
  }

  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(5) {
    -webkit-animation: clip 3000ms -1500ms linear infinite, glitch5 500ms -575ms linear infinite;
            animation: clip 3000ms -1500ms linear infinite, glitch5 500ms -575ms linear infinite;
  }
  
  @keyframes glitch5 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: var(--soriva-heading-color);
    }
    85% {
      transform: translateX(5px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(-2px);
      color: #AC1212;
    }
    95% {
      transform: translateX(5px);
      color: var(--soriva-heading-color);
    }
    100% {
      transform: translateX(0);
    }
  }

  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(6) {
    -webkit-animation: clip 3000ms -1800ms linear infinite, glitch6 500ms -328ms linear infinite;
            animation: clip 3000ms -1800ms linear infinite, glitch6 500ms -328ms linear infinite;
  }
  
  @keyframes glitch6 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: var(--soriva-heading-color);
    }
    85% {
      transform: translateX(-3px);
      color: var(--soriva-primary-color);
    }
    90% {
      transform: translateX(5px);
      color: var(--soriva-secondary-color);
    }
    95% {
      transform: translateX(-1px);
      color: var(--soriva-teritary-color);
    }
    100% {
      transform: translateX(0);
    }
  }

  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(7) {
    -webkit-animation: clip 3000ms -2100ms linear infinite, glitch7 500ms -620ms linear infinite;
            animation: clip 3000ms -2100ms linear infinite, glitch7 500ms -620ms linear infinite;
  }
  
  @keyframes glitch7 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: var(--soriva-heading-color);
    }
    85% {
      transform: translateX(0px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(2px);
      color: #AC1212;
    }
    95% {
      transform: translateX(-3px);
      color: var(--soriva-heading-color);
    }
    100% {
      transform: translateX(0);
    }
  }

  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(8) {
    -webkit-animation: clip 3000ms -2400ms linear infinite, glitch8 500ms -255ms linear infinite;
            animation: clip 3000ms -2400ms linear infinite, glitch8 500ms -255ms linear infinite;
  }
  
  @keyframes glitch8 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: var(--soriva-heading-color);
    }
    85% {
      transform: translateX(5px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(2px);
      color: #AC1212;
    }
    95% {
      transform: translateX(-1px);
      color: var(--soriva-heading-color);
    }
    100% {
      transform: translateX(0);
    }
  }

  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(9) {
    -webkit-animation: clip 3000ms -2700ms linear infinite, glitch9 500ms -427ms linear infinite;
            animation: clip 3000ms -2700ms linear infinite, glitch9 500ms -427ms linear infinite;
  }
  
  @keyframes glitch9 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: var(--soriva-heading-color);
    }
    85% {
      transform: translateX(4px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(4px);
      color: #AC1212;
    }
    95% {
      transform: translateX(4px);
      color: var(--soriva-heading-color);
    }
    100% {
      transform: translateX(0);
    }
  }

  .fzt-heading-container .fzt-heading-title .glitch-text:nth-child(10) {
    -webkit-animation: clip 3000ms -3000ms linear infinite, glitch10 500ms -449ms linear infinite;
            animation: clip 3000ms -3000ms linear infinite, glitch10 500ms -449ms linear infinite;
  }
  
  @keyframes glitch10 {
    0% {
      transform: translateX(0);
    }
    80% {
      transform: translateX(0);
      color: var(--soriva-heading-color);
    }
    85% {
      transform: translateX(0px);
      color: #4E9A26;
    }
    90% {
      transform: translateX(5px);
      color: #AC1212;
    }
    95% {
      transform: translateX(0px);
      color: var(--soriva-heading-color);
    }
    100% {
      transform: translateX(0);
    }
  }
  
  @keyframes clip {
      0% {
      -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 120%, 0 120%);
      clip-path: polygon(0 100%, 100% 100%, 100% 120%, 0 120%);
      }
      
      85% {
      -webkit-clip-path: polygon(0 -20%, 100% -20%, 100% 0%, 0 0);
      clip-path: polygon(0 -20%, 100% -20%, 100% 50%, -50% 0%);
      }
      100% {
      -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 120%, 0 120%);
      clip-path: polygon(0 100%, 100% 100%, 100% 120%, 0 120%);
      }
  }

/* Fzt With Gradient  - Heading */

.fzt-with-gradient .fzt-heading-container .fzt-heading-intro-title {
    font-weight: 700;
    background-image: linear-gradient(90deg, var(--soriva-gradient-color) 20%, var(--soriva-primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fzt-with-gradient  .fzt-heading-container .fzt-heading-intro-title:before {
    border-color: var(--soriva-gradient-color);
}

.fzt-with-gradient  .fzt-heading-container .fzt-heading-intro-title:after {
    border-color: var(--soriva-primary-color);
}

/* Responsive */

/* Laptop, 1281px and up */
@media (min-width: 1281px) and (max-width: 1440px) {
    .fzt-heading-container .fzt-heading-title {
        font-size: var(--soriva-h3-font-size);
    }
}

/* Tablets - Landscape, 1025px and up */
@media (min-width: 1025px) and (max-width: 1280px) {
    .fzt-heading-container .fzt-heading-title {
        font-size: var(--soriva-h3-font-size);
    }
}

/* Tablets - Portrait, 768px and up */
@media (min-width: 768px) and (max-width: 1024px) {
    .fzt-heading-container .fzt-heading-title {
        font-size: var(--soriva-h3-font-size);
    }
}

/* Mobile - Landscape, less than 767px */
@media (min-width: 576px) and (max-width: 767px) {
    .fzt-heading-container .fzt-heading-title {
        font-size: calc(var(--soriva-h3-font-size) - 10px);
    }
}

/* Mobile - Portrait, less than 575px */
@media (max-width: 575px) {
    .fzt-heading-container .fzt-heading-title {
        font-size: calc(var(--soriva-h3-font-size) - 10px);
    }
}

/* Small Mobile - Portrait, less than 479px */
@media (max-width: 479px) {
    .fzt-heading-container .fzt-heading-title {
        font-size: var(--soriva-h4-font-size);
    }
}