/**Colors***********************************************/

.colorChanging {
    color: rgb(237, 51, 47);
    background-image: -webkit-linear-gradient(92deg, #FF4F4D, #A11210);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: colorChangeRotate 15s infinite linear;
}

.colorChangeHover:hover {
    color: #1A4268;
    background-image: -webkit-linear-gradient(92deg, #F725EB, #4E78FE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: colorChangeRotate 5s infinite linear;
}

@-webkit-keyframes colorChangeRotate {
    from {
        -webkit-filter: hue-rotate(0deg);
    }
    to {
        -webkit-filter: hue-rotate(-360deg);
    }
}

/* ripple effect********************************************/

.ripple {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active:after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

/**Movements********************************************/

:root {
    --big: -15vw;
    --med: 5vw;
    --small: -.1vw;
    --tiny: .5vw;
}

.bounceInLeft {
    -webkit-animation-name: bounceInLeft;
    -webkit-animation: bounceInLeft 1.5s;
    animation-name: bounceInLeft;
}

@-webkit-keyframes bounceInLeft {
    from, 40%, 65%, 90%, to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        -webkit-transform: translate3d(var(--big), 0, 0);
        transform: translate3d(var(--big), 0, 0);
    }
    60% {
        opacity: 1;
        -webkit-transform: translate3d(var(--med), 0, 0);
        transform: translate3d(var(--med), 0, 0);
    }
    75% {
        -webkit-transform: translate3d(var(--small), 0, 0);
        transform: translate3d(var(--small), 0, 0);
    }
    90% {
        -webkit-transform: translate3d(var(--tiny), 0, 0);
        transform: translate3d(var(--tiny), 0, 0);
    }
    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.bouncyBox:hover {
    animation-name: bouncyBox;
    animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
}

@keyframes bouncyBox {
    0% {
        transform: scale(1, 1) translateY(0);
    }
    10% {
        transform: scale(1.1, .9) translateY(0);
    }
    30% {
        transform: scale(.9, 1.1) translateY(-100px);
    }
    50% {
        transform: scale(1.05, .95) translateY(0);
    }
    57% {
        transform: scale(1, 1) translateY(-7px);
    }
    64% {
        transform: scale(1, 1) translateY(0);
    }
    100% {
        transform: scale(1, 1) translateY(0);
    }
}

.bouncyBoxContainer {
    background-color: #c1c1c1;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/**LOADING********************************************************/

.blobs {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes blob-left-top-anim {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    33% {
        transform: scale(0.9) translate(-65px, 0);
    }
    62% {
        transform: scale(0.7) translate(-65px, -65px);
    }
    94% {
        transform: scale(1.1) translate(0, 0);
    }
}

@keyframes blob-right-top-anim {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    33% {
        transform: scale(0.9) translate(65px, 0);
    }
    64% {
        transform: scale(0.7) translate(65px, -65px);
    }
    96% {
        transform: scale(1.1) translate(0, 0);
    }
}

@keyframes blob-left-bottom-anim {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    33% {
        transform: scale(0.9) translate(-65px, 0);
    }
    66% {
        transform: scale(0.7) translate(-65px, 65px);
    }
    98% {
        transform: scale(1.1) translate(0, 0);
    }
}

@keyframes blob-right-bottom-anim {
    0% {
        transform: scale(1.1) translate(0, 0);
    }
    33% {
        transform: scale(0.9) translate(65px, 0);
    }
    68% {
        transform: scale(0.7) translate(65px, 65px);
    }
    100% {
        transform: scale(1.1) translate(0, 0);
    }
}

.blob {
    position: absolute;
    background: #853950;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    color: white;
    font-size: 30px;
    border-radius: 100%;
    margin-top: -50px;
    margin-left: -50px;
    animation: blob-left-top-anim cubic-bezier(0.770, 0.000, 0.175, 1.000) 4s infinite;
}

.blob:nth-child(2) {
    animation-name: blob-right-top-anim;
}

.blob:nth-child(3) {
    animation-name: blob-left-bottom-anim;
}

.blob:nth-child(4) {
    animation-name: blob-right-bottom-anim;
}