@media(min-width: 992px) {
.accordion-header>button.accordion-button.collapsed:before {
    content:""; 
  position:absolute;
    display: inline-block;
    top: 50%;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:0%;
background:#313131;
mix-blend-mode: multiply;
 transition:all 0.5s ease;   
}

.accordion-header>button.accordion-button.collapsed:hover:before {
    content:"";
  position:absolute;
    display: inline-block;
    top: 0%;
    left:0;
    right:0;
    bottom:0;
    height:100%;
}

.accordion-header>button.accordion-button.collapsed:hover{color:white;}
.accordion-header>button.accordion-button.collapsed:hover::after{
filter:contrast(1)}
}
/* Animation */



  .container>.row > div:not(.accordion-item ), div>p, ul:not(.navbar-nav)>li  {
   transform: translateY(50px);
    opacity: 0;
}

 .container>.row > div.in-view, div>p.in-view, ul>li.in-view  {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s, transform 0.8s ease;
}

#headimage .container .row > div {
    transform: translateY(0px);
}
@media (max-width: 767px){
.ppc-right .frame-group-container .frame-container{opacity:1; margin-bottom:5rem;}
}

:root {
    --index: 0;
}

*:nth-child(1) {
    --index: 1;
}

*:nth-child(2) {
    --index: 2;
}

*:nth-child(3) {
    --index: 3;
}

*:nth-child(4) {
    --index: 4;
}

*:nth-child(5) {
    --index: 5;
}

*:nth-child(6) {
    --index: 6;
}

*:nth-child(7) {
    --index: 7;
}

*:nth-child(8) {
    --index: 8;
}

*:nth-child(9) {
    --index: 9;
}

*:nth-child(10) {
    --index: 10;
}

*:nth-child(11) {
    --index: 11;
}

*:nth-child(12) {
    --index: 12;
}

*:nth-child(13) {
    --index: 13;
}

*:nth-child(14) {
    --index: 14;
}

*:nth-child(15) {
    --index: 15;
}

*:nth-child(16) {
    --index: 16;
}

*:nth-child(17) {
    --index: 17;
}

*:nth-child(18) {
    --index: 18;
}

*:nth-child(19) {
    --index: 19;
}

*:nth-child(20) {
    --index: 20;
}

*:nth-child(21) {
    --index: 21;
}

*:nth-child(22) {
    --index: 22;
}

*:nth-child(23) {
    --index: 23;
}

*:nth-child(24) {
    --index: 24;
}

*:nth-child(25) {
    --index: 25;
}

*:nth-child(3) {
    --index: 2;
}

*:nth-child(26) {
    --index: 26;
}

*:nth-child(27) {
    --index: 27;
}

*:nth-child(28) {
    --index: 28;
}

*:nth-child(29) {
    --index: 29;
}

*:nth-child(30) {
    --index: 30;
}

.section .row > div.in-view:nth-child(n) {
    transition-delay: calc(var(--index) * 0.1s);
}

/* splittimg */




:root {
    --transition-speed: 0.5s;
    --transition-step: 0.08s;
}

/* Recommended styles for Splitting */
.splitting .word,
.splitting .char {
  display: inline-block;
}

/* Psuedo-element chars */
.splitting .char {
  position: relative;
}

/**
 * Populate the psuedo elements with the character to allow for expanded effects
 * Set to `display: none` by default; just add `display: block` when you want
 * to use the psuedo elements
 */
.splitting .char::before,
.splitting .char::after {
  content: attr(data-char);
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  transition: inherit;
  user-select: none;
}

/* Expanded CSS Variables */

.splitting {
  /* The center word index */
  --word-center: calc((var(--word-total) - 1) / 2);

  /* The center character index */
  --char-center: calc((var(--char-total) - 1) / 2);

  /* The center character index */
  --line-center: calc((var(--line-total) - 1) / 2);
}

.splitting .word {
  /* Pecent (0-1) of the word's position */
  --word-percent: calc(var(--word-index) / var(--word-total));

  /* Pecent (0-1) of the line's position */
  --line-percent: calc(var(--line-index) / var(--line-total));
}

.splitting .char {
  /* Percent (0-1) of the char's position */
  --char-percent: calc(var(--char-index) / var(--char-total));

  /* Offset from center, positive & negative */
  --char-offset: calc(var(--char-index) - var(--char-center));

  /* Absolute distance from center, only positive */
  --distance: calc(
     (var(--char-offset) * var(--char-offset)) / var(--char-center)
  );

  /* Distance from center where -1 is the far left, 0 is center, 1 is far right */
  --distance-sine: calc(var(--char-offset) / var(--char-center));

  /* Distance from center where 1 is far left/far right, 0 is center */
  --distance-percent: calc((var(--distance) / var(--char-center)));
}


/* Zipping */

span.char:nth-of-type(even),span.word:nth-of-type(even)  {
    --y: 10%;
}
  .char {
    opacity: 0;
    transform: translateY(var(--y, -10%)) scale(0.7);
}

.word {
    opacity: 0;
    transform: translateY(30px) scale(1);
}


.in-view  .char,.in-view .word {
    opacity: 1;
    transform: translateY(0px) scale(1);}


.in-view .char {
	transition: transform var(--transition-speed) calc(var(--transition-speed) + var(--char-index) * var(--transition-step)),
							opacity calc(var(--transition-step) * 0.5) calc(var(--transition-speed) + var(--char-index) * var(--transition-step));
}


 .in-view .word  {
	transition: transform var(--transition-speed) calc(var(--transition-speed) + var(--word-index) * var(--transition-step)),
							opacity calc(var(--transition-step) * 1) calc(var(--transition-speed) + var(--word-index) * var(--transition-step));
}

.in-view h1 [data-scroll="out"] .char {
	opacity: 0;
	transform: translateY(var(--y, 10%)) scale(0.7);
}




.in-view h1>span .char:nth-of-type(even), .in-view span.word:nth-of-type(even) {
	--y: 100%;
}


/* respnsive */

@media (max-width:767px) {
    
    .splitting  .char, .char, .word {
    opacity: 1;
    transform: none;
}
    
}