@charset "UTF-8";



/* Pre-Loader */
@keyframes rotateSquare {
    0% {
        rotate: 0deg;

    }

    25% {

        rotate: 90deg;
    }


    50% {
        rotate: 180deg;
    }

    75% {
        rotate: 270deg;
    }

    100% {
        rotate: 360deg;
    }

}

@keyframes rotateFilling {
    from {
        height: 0%;
    }

    to {
        height: 100%;
    }
}

@keyframes mouveCircleLoading {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(-2px);
    }

}


/* Animazioni tourtle */

@keyframes swim {
    0% {
        transform: translate(0);
        pointer-events: none;
    }

    7% {
        transform: translate(-20px, -150px) rotate(-30deg);
    }

    15% {
        transform: translate(-80px, -350px) rotate(-90deg);
    }

    25% {
        transform: translate(-220px, -280px) rotate(-160deg);
    }

    50% {
        transform: translate(-190px, 150px) rotate(-180deg);
    }

    75% {
        transform: translate(-80px, 350px) rotate(-280deg);
    }

    100% {
        transform: translate(0) rotate(-360deg);
        pointer-events: none;
    }
}

@keyframes finMoveRight {
    from {
        transform: rotate(6deg) translateY(-4px);
    }

    to {
        transform: rotate(-6deg) translateY(4px);
    }
}

@keyframes finMoveLeft {
    from {
        transform: rotate(-6deg) translateY(4px);
    }

    to {
        transform: rotate(6deg) translateY(-4px);
    }
}

@keyframes tail {
    from {
        transform: skew(20deg);

    }

    to {
        transform: skew(-20deg);

    }
}


@keyframes messageAnimation {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 0.75;
    }

    100% {
        opacity: 0;
        display: none;
    }
}


/* Animazioni tourtle End*/


/* Animazione delle card in contact */

@keyframes bgBox {
    from {
        height: 0%;
    }

    to {
        height: 100%;
    }
}

/* Animazione delle card in contact END */

/* Animazione della box Shadow in Project
 sono le onde che si muovono
laterali */

@keyframes shadows {
    0% {
        box-shadow: 0px 0px 30px 50px var(--shadow-colors2);

    }

    5% {
        box-shadow: 0px 0px 30px 150px var(--shadow-colors2);

    }

    15% {
        box-shadow: 0px 0px 30px 300px var(--shadow-colors2);

    }


    30% {
        box-shadow: 0px 0px 30px 400px var(--shadow-colors2);

    }

    45% {
        box-shadow: 0px 0px 30px 500px var(--shadow-colors2);

    }

    60% {
        box-shadow: 0px 0px 30px 650px var(--shadow-colors2);


    }

    75% {
        box-shadow: 0px 0px 30px 750px var(--shadow-colors2);

    }


    85% {
        box-shadow: 0px 0px 30px 850px var(--shadow-colors2);

    }

    95% {
        box-shadow: 0px 0px 30px 950px var(--shadow-colors2);

    }

    100% {
        box-shadow: 0px 0px 30px 950px var(--shadow-colors2);


    }

}

@media screen and (width >=768px) {


    @keyframes swim {
        0% {
            transform: translate(0);
            pointer-events: none;
        }

        15% {
            transform: translate(-120px, -440px) rotate(-60deg);
        }

        25% {
            transform: translate(-440px, -350px) rotate(-180deg);
        }

        50% {
            transform: translate(-400px, 350px) rotate(-190deg);
        }

        75% {
            transform: translate(-180px, 330px) rotate(-320deg);
        }

        100% {
            transform: translate(0) rotate(-360deg);
            pointer-events: none;
        }
    }


    @keyframes shadows {
        0% {
            box-shadow: 0px 0px 30px 200px var(--shadow-colors2);

        }

        5% {
            box-shadow: 0px 0px 30px 400px var(--shadow-colors2);

        }

        15% {
            box-shadow: 0px 0px 30px 550px var(--shadow-colors2);

        }


        30% {
            box-shadow: 0px 0px 30px 650px var(--shadow-colors2);

        }

        45% {
            box-shadow: 0px 0px 30px 750px var(--shadow-colors2);

        }

        60% {
            box-shadow: 0px 0px 30px 850px var(--shadow-colors2);


        }

        75% {
            box-shadow: 0px 0px 30px 950px var(--shadow-colors2);

        }


        85% {
            box-shadow: 0px 0px 30px 1050px var(--shadow-colors2);

        }

        95% {
            box-shadow: 0px 0px 30px 1150px var(--shadow-colors2);

        }

        100% {
            box-shadow: 0px 0px 30px 1250px var(--shadow-colors2);


        }

    }
}



/* Movimento bolle  */
@keyframes bubbleTopLeft {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20vw, 35vh);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes bubbleBottomLeft {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(25vw, -35vh);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes bubbleTopRight {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-18vw, 30vh);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes bubbleBottomRight {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-14vw, -28vh);
    }

    100% {
        transform: translate(0, 0);
    }
}


/* Apparizione Bolle */

@keyframes apparizioneBolle {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;

    }
}


/* Impatto quando le bolle si tocano */

@keyframes rejectSpace {

    0% {
        border-top-left-radius: 90%;
        transform: translate(var(--collision-x),
                var(--collision-y)) scale(0.95);
    }


    10% {
        border-top-right-radius: 90%;
    }

    15% {
        border-bottom-right-radius: 90%;

    }

    30% {
        border-bottom-left-radius: 90%;

    }

    45% {
        border-top-right-radius: 70%;
    }


    60% {
        border-top-left-radius: 75%;
    }

    75% {

        border-bottom-right-radius: 85%;

    }

    90% {
        border-bottom-left-radius: 80%;
    }

    100% {


        transform: translate(0, 0) scale(1);
    }
}

/* desk */
@media screen and (width >=1280px) {


    @keyframes swim {
        0% {
            transform: translate(0);
            pointer-events: none;
        }

        15% {
            transform: translate(-120px, -460px) rotate(-60deg);
        }

        25% {
            transform: translate(-640px, -380px) rotate(-180deg);
        }

        50% {
            transform: translate(-600px, 250px) rotate(-190deg);
        }

        75% {
            transform: translate(-180px, 300px) rotate(-320deg);
        }

        100% {
            transform: translate(0) rotate(-360deg);
            pointer-events: none;
        }
    }


    @keyframes shadows {
        0% {
            box-shadow: 0px 0px 30px 150px var(--shadow-colors2);

        }

        5% {
            box-shadow: 0px 0px 30px 250px var(--shadow-colors2);

        }

        15% {
            box-shadow: 0px 0px 30px 350px var(--shadow-colors2);

        }


        30% {
            box-shadow: 0px 0px 30px 450px var(--shadow-colors2);

        }

        45% {
            box-shadow: 0px 0px 30px 550px var(--shadow-colors2);

        }

        60% {
            box-shadow: 0px 0px 30px 650px var(--shadow-colors2);


        }

        75% {
            box-shadow: 0px 0px 30px 750px var(--shadow-colors2);

        }


        85% {
            box-shadow: 0px 0px 30px 950px var(--shadow-colors2);

        }

        95% {
            box-shadow: 0px 0px 30px 1250px var(--shadow-colors2);

        }

        100% {
            box-shadow: 0px 0px 30px 1480px var(--shadow-colors2);


        }

    }


    /* Movimento bolle  */
    @keyframes bubbleTopLeft {
        0% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(50vw, 40vh);
        }

        100% {
            transform: translate(0, 0);
        }
    }

    @keyframes bubbleBottomLeft {
        0% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(60vw, -15vh);
        }

        100% {
            transform: translate(0, 0);
        }
    }

    @keyframes bubbleTopRight {
        0% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(-50vw, 30vh);
        }

        100% {
            transform: translate(0, 0);
        }
    }

    @keyframes bubbleBottomRight {
        0% {
            transform: translate(0, 0);
        }

        50% {
            transform: translate(-58vw, -60vh);
        }

        100% {
            transform: translate(0, 0);
        }
    }

}