
/* ============================================================================================== */
/* svgEffects                                                                                     */
/* ============================================================================================== */

.svgEffects {
/*     overflow: hidden; */
    display: block;
    width: 0;
    height: 0;
/*     overflow: visible; */

/*     border:  1px solid #c17; */
}

.js-gooey-bg {
    /* overflow: visible;
    color: #fcf; */
}

.gooey {
    position: relative;
    text-decoration: none;
    z-index: 1;
}

.gooey__obj {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin-bottom: 3px;
    z-index: 2;
}

.gooey__obj-inner {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 50%;
    margin: auto;
    animation: rotateanm var(--duration) cubic-bezier(.86,0,.07,1) infinite;
}

.gooey__obj-inner::before {
    position: absolute;
    content: "";
    background-color: currentColor;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    transition: 2s cubic-bezier(.45,.05,.55,.95);
    transition-property: width, height, background, left, top, right, bottom, transform;
}

/* a:hover + .gooey-bg .gooey__obj-inner::before {
    transition-duration: 0.5s;
}

a:hover + .gooey-bg .gooey__obj:nth-child(1) .gooey__obj-inner::before {
    width: 120%;
    height: 120%;
    transform: translate(-25%, -25%);
} */

.gooey-bg {
    position: relative;
    width: 100%;
    height: 100%;
    filter: url('#gooey-effect');
    z-index: 1;
    mix-blend-mode: multiply;
    pointer-events: none;

/*     border: 1px solid #000; */
}

.gooey__obj:nth-child(1) .gooey__obj-inner {
    animation-timing-function: linear;
}

.gooey__obj:nth-child(1) .gooey__obj-inner::before, .GooeyS1 .gooey__obj-inner::before {
    width: 100%;
    height: 97.5%;
    transition-duration: 0.5s;

/*     border: 1px solid #c17; */
}

.gooey__obj:nth-child(2) .gooey__obj-inner::before, .GooeyS2 .gooey__obj-inner::before {
    left: var(--l);
    top: var(--t);
    width: calc(var(--size) * 1);
    height: calc(var(--size) * 1);

/*     border: 1px solid #cf0; */
}

.gooey__obj:nth-child(3) .gooey__obj-inner::before, .GooeyS2 .gooey__obj-inner::before {
    left: var(--l);
    top: var(--t);
    width: calc(var(--size) * 2);
    height: calc(var(--size) * 2);

    
}




@keyframes rotateanm {
    0% {
        transform: rotate(0deg);
    }
    
    100% {
        transform: rotate(-360deg);
    }
}


