/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 15 feb 2023, 10:16:35
    Author     : sal
*/

@keyframes rotateLogo {
    0% {
        transform: rotate(-360deg) scale(0.0);
        animation-timing-function: linear;
    }
    15% {
        transform: rotate(0deg) scale(1.0);
        animation-timing-function: linear;
    }     
    45%{
        transform:scale(0.8);
        animation-timing-function: ease-in-out;
    }
    55%{
        transform:scale(0.8);
        animation-timing-function: ease-in-out;
    }  
    85% {
        transform: rotate(0deg)  scale(1.0);
        animation-timing-function: linear;
    }    
    100% {
        transform: rotate(-360deg) scale(0.0);
        animation-timing-function: ease-in;
    }
}





.ball1 {
    height: 280px;
    border-radius: 0%;
    background-size: cover;

    position: relative;
    top: 0;    
    z-index: 11;
    -webkit-animation: jump 1s infinite;
    -moz-animation: jump 1s infinite;
    -o-animation: jump 1s infinite;
    -ms-animation: jump 1s infinite;
    animation: jump1 1.9s infinite;
    cursor: pointer;
}

@keyframes jump1 {
    0% {
        top: -10%;
        animation-timing-function: ease-in;
    }
    50% {
        top: -2%px;
        height: 280px;
        transform: scale(1.0, 0.90);
        animation-timing-function: ease-out;
    }
    55% {
        top: 0; 
        transform: scale(1.0, 0.80);
        animation-timing-function: ease-in;
    }
    65% {
        top: -5%; 
        height: 280px;
        transform: scale(1.0);
        animation-timing-function: ease-out;
    }
    95% {
        top: -9%;        
        animation-timing-function: ease-in;
    }
    100% {
        top: -10%;
        animation-timing-function: ease-in;
    }
}

.ballShadow1 {
    position: relative;
    left: 50%;
    bottom: 10px;
    z-index: 10;
    margin-left: -140px;
    width: 280px;
    height: 75px;
    background: rgba(20, 20, 20, .1);
    box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
    border-radius: 30px / 40px;    
    -webkit-transform: scaleY(.3);
    -moz-transform: scaleY(.3);
    -ms-transform: scaleY(.3);
    -o-transform: scaleY(.3);
    transform: scaleY(.3);
    -webkit-animation: shrink 1s infinite;
    -moz-animation: shrink 1s infinite;
    -o-animation: shrink 1s infinite;
    -ms-animation: shrink 1s infinite;
    animation: shrink1 1.9s infinite;
}

/*Ombreggiatura */
@keyframes shrink1 {
    0% {
        bottom: 0;
        margin-left: -70px;
        width: 140px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        animation-timing-function: ease-in;
    }
    50% {
        bottom: 30px;
        margin-left: -5px;
        width: 10px;
        height: 10px;
        background: rgba(20, 20, 20, .9);
        box-shadow: 0px 0 10px 10px rgba(20,20,20,.9);
        border-radius: 10px / 10px;
        animation-timing-function: ease-out;
    }
    100% {
        bottom: 0;
        margin-left: -70px;
        width: 140px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        animation-timing-function: ease-in;
    }
}    





.ball2 {
    height: 280px;
    border-radius: 0%;
    background-size: cover;

    position: relative;
    top: 0;    
    z-index: 11;
    -webkit-animation: jump2 1.7s infinite;
    -moz-animation: jump2 1.7s infinite;
    -o-animation: jump2 1.7s infinite;
    -ms-animation: jump2 1.7s infinite;
    animation: jump2 1.7s infinite;
    cursor: pointer;
}

@keyframes jump2 {
    0% {
        top: -10%;
        animation-timing-function: ease-in;
    }
    50% {
        top: -2%px;
        height: 280px;
        transform: scale(1.0, 0.90);
        animation-timing-function: ease-out;
    }
    55% {
        top: 0; 
        transform: scale(1.0, 0.80);
        animation-timing-function: ease-in;
    }
    65% {
        top: -5%; 
        height: 280px;
        transform: scale(1.0);
        animation-timing-function: ease-out;
    }
    95% {
        top: -9%;        
        animation-timing-function: ease-in;
    }
    100% {
        top: -10%;
        animation-timing-function: ease-in;
    }
}

.ballShadow2 {
    position: relative;
    left: 50%;
    bottom: 10px;
    z-index: 10;
    margin-left: -140px;
    width: 280px;
    height: 75px;
    background: rgba(20, 20, 20, .1);
    box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
    border-radius: 30px / 40px;    
    -webkit-transform: scaleY(.3);
    -moz-transform: scaleY(.3);
    -ms-transform: scaleY(.3);
    -o-transform: scaleY(.3);
    transform: scaleY(.3);
    -webkit-animation: shrink2 1.7s infinite;
    -moz-animation: shrink2 1.7s infinite;
    -o-animation: shrink2 1.7s infinite;
    -ms-animation: shrink2 1.7s infinite;
    animation: shrink2 1.7s infinite;
}

/*Ombreggiatura */
@keyframes shrink2 {
    0% {
        bottom: 0;
        margin-left: -70px;
        width: 140px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        animation-timing-function: ease-in;
    }
    50% {
        bottom: 30px;
        margin-left: -5px;
        width: 10px;
        height: 10px;
        background: rgba(20, 20, 20, .9);
        box-shadow: 0px 0 10px 10px rgba(20,20,20,.9);
        border-radius: 10px / 10px;
        animation-timing-function: ease-out;
    }
    100% {
        bottom: 0;
        margin-left: -70px;
        width: 140px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        animation-timing-function: ease-in;
    }
}   



.ball3 {
    height: 280px;
    border-radius: 0%;
    background-size: cover;

    position: relative;
    top: 0;    
    z-index: 11;
    -webkit-animation: jump3 2.3s infinite;
    -moz-animation: jump3 2.3s infinite;
    -o-animation: jump3 2.3s infinite;
    -ms-animation: jump3 2.3s infinite;
    animation: jump3 2.3s infinite;
    cursor: pointer;
}

@keyframes jump3 {
    0% {
        top: -10%;
        animation-timing-function: ease-in;
    }
    50% {
        top: -2%px;
        height: 280px;
        transform: scale(1.0, 0.90);
        animation-timing-function: ease-out;
    }
    55% {
        top: 0; 
        transform: scale(1.0, 0.80);
        animation-timing-function: ease-in;
    }
    65% {
        top: -5%; 
        height: 280px;
        transform: scale(1.0);
        animation-timing-function: ease-out;
    }
    95% {
        top: -9%;        
        animation-timing-function: ease-in;
    }
    100% {
        top: -10%;
        animation-timing-function: ease-in;
    }
}

.ballShadow3 {
    position: relative;
    left: 50%;
    bottom: 10px;
    z-index: 10;
    margin-left: -140px;
    width: 280px;
    height: 75px;
    background: rgba(20, 20, 20, .1);
    box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
    border-radius: 30px / 40px;    
    -webkit-transform: scaleY(.3);
    -moz-transform: scaleY(.3);
    -ms-transform: scaleY(.3);
    -o-transform: scaleY(.3);
    transform: scaleY(.3);
    -webkit-animation: shrink3 2.3s infinite;
    -moz-animation: shrink3 2.3s infinite;
    -o-animation: shrink3 2.3s infinite;
    -ms-animation: shrink3 2.3s infinite;
    animation: shrink3 2.3s infinite;
}

/*Ombreggiatura */
@keyframes shrink3 {
    0% {
        bottom: 0;
        margin-left: -70px;
        width: 140px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        animation-timing-function: ease-in;
    }
    50% {
        bottom: 30px;
        margin-left: -5px;
        width: 10px;
        height: 10px;
        background: rgba(20, 20, 20, .9);
        box-shadow: 0px 0 10px 10px rgba(20,20,20,.9);
        border-radius: 10px / 10px;
        animation-timing-function: ease-out;
    }
    100% {
        bottom: 0;
        margin-left: -70px;
        width: 140px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        animation-timing-function: ease-in;
    }
}   



    


/* Animations */

@-webkit-keyframes jump {
    0% {top: 0;
        -webkit-animation-timing-function: ease-in;
    }
    40% {}
    50% {top: 140px;
        height: 140px;
        -webkit-animation-timing-function: ease-out;
    }
    55% {top: 160px; height: 120px; border-radius: 70px / 60px;
        -webkit-animation-timing-function: ease-in;}
    65% {top: 120px; height: 140px; border-radius: 70px;
        -webkit-animation-timing-function: ease-out;}
    95% {
        top: 0;        
        -webkit-animation-timing-function: ease-in;
    }
    100% {top: 0;
        -webkit-animation-timing-function: ease-in;
    }
}

@-moz-keyframes jump {
    0% {top: 0;
        -moz-animation-timing-function: ease-in;
    }
    40% {}
    50% {top: 140px;
        height: 140px;
        -moz-animation-timing-function: ease-out;
    }
    55% {top: 160px; height: 120px; border-radius: 70px / 60px;
        -moz-animation-timing-function: ease-in;}
    65% {top: 120px; height: 140px; border-radius: 70px;
        -moz-animation-timing-function: ease-out;}
    95% {
        top: 0;        
        -moz-animation-timing-function: ease-in;
    }
    100% {top: 0;
        -moz-animation-timing-function: ease-in;
    }
}

@-o-keyframes jump {
    0% {top: 0;
        -o-animation-timing-function: ease-in;
    }
    40% {}
    50% {top: 140px;
        height: 140px;
        -o-animation-timing-function: ease-out;
    }
    55% {top: 160px; height: 120px; border-radius: 70px / 60px;
        -o-animation-timing-function: ease-in;}
    65% {top: 120px; height: 140px; border-radius: 70px;
        -o-animation-timing-function: ease-out;}
    95% {
        top: 0;        
        -o-animation-timing-function: ease-in;
    }
    100% {top: 0;
        -o-animation-timing-function: ease-in;
    }
}

@-ms-keyframes jump {
    0% {top: 0;
        -ms-animation-timing-function: ease-in;
    }
    40% {}
    50% {top: 140px;
        height: 140px;
        -ms-animation-timing-function: ease-out;
    }
    55% {top: 160px; height: 120px; border-radius: 70px / 60px;
        -ms-animation-timing-function: ease-in;}
    65% {top: 120px; height: 140px; border-radius: 70px;
        -ms-animation-timing-function: ease-out;}
    95% {
        top: 0;        
        -ms-animation-timing-function: ease-in;
    }
    100% {top: 0;
        -ms-animation-timing-function: ease-in;
    }
}



@-webkit-keyframes shrink {
    0% {
        bottom: 0;
        margin-left: -30px;
        width: 60px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        -webkit-animation-timing-function: ease-in;
    }
    50% {
        bottom: 30px;
        margin-left: -10px;
        width: 20px;
        height: 5px;
        background: rgba(20, 20, 20, .3);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.3);
        border-radius: 20px / 20px;
        -webkit-animation-timing-function: ease-out;
    }
    100% {
        bottom: 0;
        margin-left: -30px;
        width: 60px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        -webkit-animation-timing-function: ease-in;
    }
}

@-moz-keyframes shrink {
    0% {
        bottom: 0;
        margin-left: -30px;
        width: 60px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        -moz-animation-timing-function: ease-in;
    }
    50% {
        bottom: 30px;
        margin-left: -10px;
        width: 20px;
        height: 5px;
        background: rgba(20, 20, 20, .3);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.3);
        border-radius: 20px / 20px;
        -moz-animation-timing-function: ease-out;
    }
    100% {
        bottom: 0;
        margin-left: -30px;
        width: 60px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        -moz-animation-timing-function: ease-in;
    }
}

@-o-keyframes shrink {
    0% {
        bottom: 0;
        margin-left: -30px;
        width: 60px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        -o-animation-timing-function: ease-in;
    }
    50% {
        bottom: 30px;
        margin-left: -10px;
        width: 20px;
        height: 5px;
        background: rgba(20, 20, 20, .3);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.3);
        border-radius: 20px / 20px;
        -o-animation-timing-function: ease-out;
    }
    100% {
        bottom: 0;
        margin-left: -30px;
        width: 60px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        -o-animation-timing-function: ease-in;
    }
}

@-ms-keyframes shrink {
    0% {
        bottom: 0;
        margin-left: -30px;
        width: 60px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        -ms-animation-timing-function: ease-in;
    }
    50% {
        bottom: 30px;
        margin-left: -10px;
        width: 20px;
        height: 5px;
        background: rgba(20, 20, 20, .3);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.3);
        border-radius: 20px / 20px;
        -ms-animation-timing-function: ease-out;
    }
    100% {
        bottom: 0;
        margin-left: -30px;
        width: 60px;
        height: 75px;
        background: rgba(20, 20, 20, .1);
        box-shadow: 0px 0 20px 35px rgba(20,20,20,.1);
        border-radius: 30px / 40px;
        -ms-animation-timing-function: ease-in;
    }
}
   