
.bg-container{
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    z-index: -99;
}




.bg-pattern-2{
    opacity: 1;
    background-image: url(../img/patterns/2.png);
}

.bg-pattern-3{
    opacity: 1;
    background-image: url(../img/patterns/3.png);
}

.bg-pattern-4{
    opacity: 1;
    background-image: url(../img/patterns/0.png);
}

.bg-pattern-5{
    opacity: 1;
    background-image: url(../img/patterns/0.png);
}

.slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slider-nav {
    position: absolute;
    display: flex;
    z-index: 10;
    gap: 10px;
    justify-content: center;
    left: 50%;
    bottom: 5%;
    transform: translate(-50%, 0);
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #000;
    border: solid 1px #000;
    border-radius: 30px;
    cursor: pointer;
    transition: all .1s;
}

div[data-active="1"] {
    /* background-color: #fff !important; */
}

.slide:first-child {
    z-index: 5 !important;
    animation-duration: 2s;
    clip-path: url(#mySign);
}

.slide:nth-child(2) {
    z-index: 4 !important;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: var(--bgColor);
    background-blend-mode: multiply;
}
.slide.negative{/* background-blend-mode: color-burn; */}

svg {
    overflow: hidden;
    vertical-align: middle;
}

.mysvg {
    /* position: absolute; */
    /* z-index: 90; */
}

#mySign {
    position: absolute;
    /* height: 100%; */
    /* width: 100%; */
}




.slider {
    position: relative;
    height: 100vh;
    overflow: hidden
}

.slide:first-child {
    z-index: 5 !important;
    animation-duration: 2s;
    clip-path: url(#mySign)
}

.slide-left img {
    object-position: right
}

.slide-right img {
    object-position: left
}

.slide:nth-child(2) {
    z-index: 4 !important
}

@keyframes slide {
    from {
        clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%)
    }

    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)
    }
}

.slide:first-child img {
    animation-name: lf;
    animation-duration: 2s;
    transform: translate(0, 0)
}


.slider-nav {
    position: absolute;
    display: flex;
    z-index: 10;
    gap: 10px;
    justify-content: center;
    left: 50%;
    bottom: 5%;
    transform: translate(-50%, 0);
    display: none;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #000;
    border: solid 1px #000;
    border-radius: 30px;
    cursor: pointer;
    transition: all .1s
}

.dot:hover {
    background-color: #fff;
    border: solid 1px #000
}

@keyframes lf {
    from {
        transform: translate(-50px, 0)
    }

    to {
        transform: translate(0, 0)
    }
}

#mySign {
    position: absolute;
    height: 100%;
    width: 100%;
}

#myClipPath {
    position: absolute;
    height: 100%;
    width: 100%;
}
#myClipPath polygon {
    transform: translate(230%, 180%) rotate(0) scale(0);
    animation-name: spin;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    transform-origin: 100%;
}

.mysvg {
    position: absolute;
    z-index: 90;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute
}

.slide-img {
    width: 100%;
    z-index: -1
}

.slide img {
    width: auto;
    height: 100%;
    width: 100%;
    object-fit: cover
}

.slide iframe {
    position: absolute;
    top: 0;
    z-index: 1;
    top: 50%;
    transform: translate(0, -50%);
    height: 50%;
    width: 35%
}

.slide-right iframe {
    right: 5%
}

.slide-left iframe {
    left: 5%
}

#mySign polygon#sign {
    transform: translate(230%, 180%) rotate(0) scale(0);
    animation-name: spin;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    transform-origin: 100%;
}

#mySign polygon#square {
    animation-name: square;
    animation-duration: 1.2s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.55,.06,.68,.19);
}

#mySign polygon#square2 {
    animation-name: square2;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.55,.06,.68,.19);
    /* animation-iteration-count: infinite; */
    animation-delay: var(--delay,0s);
}

.jaws-01{
    /* transition: 1s; */
    animation-name: jaws01;
    animation-duration: 1s!important;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0, 0.5, 0.58, 1);
    transform-origin: 100%;
    /* animation-iteration-count: infinite; */
}

@keyframes jaws01 {
    0% {
        clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0% 50%);
    }
    
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
}

@keyframes spin {
    0% {
        transform: translate(230%, 180%) rotate(0) scale(0)
    }

    50% {
        transform: translate(280%, 150%) rotate(180deg) scale(2);
    }

    100% {
        transform: translate(30%, 240%) rotate(360deg) scale(7)
    }
}

@keyframes square {
    0% {
        transform: translate(50vw, 50vh) rotate(0) scale(0);
    }

    30% {
        transform: translate(50vw, 50vh) rotate(180deg) scale(5,5);
    }

    60% {
        transform: translate(50vw, 50vh) rotate(180deg) scale(15,5);
    }

    100% {
        transform: translate(50vw, 50vh) rotate(180deg) scale(20,20);
    }
}

@keyframes square2 {
    0% {
        transform: translate(-51vw, 50vh) rotate(0) scale(8,0.2);
    }

    30% {
        transform: translate(50vw, 50vh) rotate(0deg) scale(80,0.2);
    }

    60% {
        transform: translate(50vw, 50vh) rotate(0deg) scale(15,5);
    }

    100% {
        transform: translate(50vw, 50vh) rotate(0deg) scale(20,20);
    }
}


#sideText{
    animation-name: sideText;
    animation-duration: 1.5s!important;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.71, 0.01, 0.29, 1);
    /* transform-origin: 100%; */
    /* animation-iteration-count: infinite; */
    /* opacity: 0.5; */
    
}

.negative #sideText{mix-blend-mode: unset;}

#bottomText{
    animation-name: bottomText;
    animation-duration: 1.5s!important;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.71, 0.01, 0.29, 1);
    /* transform-origin: 100%; */
    /* animation-iteration-count: infinite; */
    opacity: 0.5;
    /* mix-blend-mode: overlay; */
}
@keyframes bottomText {
    0% {
        transform: translate3d(100vw, 50vh,0);
    }

    100% {
        transform: translate3d(0vw, 50vh,0);
    }
}

@keyframes sideText {
    0% {
        transform: translate3d(0vw, -100vh,0);
    }

    100% {
        transform: translate3d(0vw, 0vh,0);
    }
}

.invert-color{
    animation-name: invert;
    animation-duration: 1.5s!important;
    /* animation-fill-mode: forwards; */
    animation-timing-function: cubic-bezier(0.71, 0.01, 0.29, 1);
}
@keyframes invert {
    0% {
    }
    9% {
        /* filter: invert(0); */
    }
    10% {
    }
    24% {
    }
    25% {
    }
    61% {
        /* filter: invert(0); */
    }
    62% {
        /* filter: invert(1); */
    }
    90% {
    }
    
    99% {
        /* filter: invert(1); */
    }

    100% {
        /* filter: invert(0); */
    }
}

svg text{
  fill: none;
  stroke: #ff2626;
  stroke-width: .1px;
  /* animation       : 2s pulsate infinite; */
  font-family: var(--ff-main);
  transform-origin: center;
  font-size: x-large;
  mix-blend-mode: overlay;
}

#sideText text{
  fill: none;
  stroke-width: .1px;
  /* animation       : 2s pulsate infinite; */
  font-family: var(--ff-main);
  rotate: 90deg;
  transform-origin: center;
  font-size: x-large;
}

.negative svg text{
  stroke: #ffffff7a;
}

.bg-img-anim1{
    background-image: url(../img/bgs/01.jpg);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    filter: saturate(0);
    /* mix-blend-mode: overlay; */
    opacity: 0.05;
    animation-duration: 2s;
    animation-timing-function: cubic-bezier(0, 0.86, 0.58, 1);
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: none;
    animation-play-state: running;
    animation-name: scaleDown;
    z-index: -20;
}

@keyframes scaleDown {
    0% {
        transform: scale(3);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.05;
    }
}

/* IMAGES */

.anim-svg{
    animation-duration: var(--duration,1s);
    animation-delay: var(--delay,0.2s);
    animation-iteration-count: 1;
    animation-play-state: running;
    /* animation-fill-mode: forwards; */
    animation-direction: normal;
}


.b-t{
    animation-name: b-t;
}
@keyframes b-t {
    0% {
        translate: 0 200px;
        opacity: 0;
    }
    
    100% {
        translate: 0 0px;
        opacity: 1;
    }
}

.t-b{
    animation-name: t-b;
}
@keyframes t-b {
    0% {
        translate: 0 -200px;
        opacity: 0;
    }
    
    100% {
        translate: 0 0px;
        opacity: 1;
    }
}

.l-r{
    animation-name: l-r;
}
@keyframes l-r {
    0% {
        translate: -200px 0;
        opacity: 0;
    }
    
    100% {
        translate: 0 0px;
        opacity: 1;
    }
}

.r-l{
    animation-name: r-l;
}
@keyframes r-l {
    0% {
        translate: 200px 0;
        opacity: 0;
    }
    
    100% {
        translate: 0 0px;
        opacity: 1;
    }
}

.layer-1{translate: calc(var(--clientX) * 0.04) calc(var(--clientY) * 0.02);}
.layer-2{translate: calc(var(--clientX) * 0.03) calc(var(--clientY) * 0.02);}
.layer-3{translate: calc(var(--clientX) * 0.02) calc(var(--clientY) * 0.02);}
.layer-4{translate: calc(var(--clientX) * 0.01) calc(var(--clientY) * 0.01);}
.layer-5{translate: calc(var(--clientX) * 0.005) calc(var(--clientY) * 0.005);}

/* IMAGES */