@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-20px);
    }
    100% {
        transform: translatey(0px);
    }
}

.slide {
    -webkit-animation: slide 0.5s forwards;
    -webkit-animation-delay: 2s;
    animation: slide 0.5s forwards;
    animation-delay: 2s;
}

@-webkit-keyframes slide {
    100% {
        left: 0;
    }
}

@keyframes slide {
    100% {
        left: 0;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.8) rotate(0);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes riseUp {
    0% {
        transform: translate(0, 10%);
        opacity: 0;
    }
    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes loadingMotion {
    0% {
        -webkit-transform: translateX(0) scale(1);
        transform: translateX(0) scale(1);
    }
    25% {
        -webkit-transform: translateX(-50px) scale(0.3);
        transform: translateX(-50px) scale(0.3);
    }
    50% {
        -webkit-transform: translateX(0) scale(1);
        transform: translateX(0) scale(1);
    }
    75% {
        -webkit-transform: translateX(50px) scale(0.3);
        transform: translateX(50px) scale(0.3);
    }
    100% {
        -webkit-transform: translateX(0) scale(1);
        transform: translateX(0) scale(1);
    }
}

.zoomIn {
    opacity: 0;
    animation: zoomIn 0.25s ease-in-out forwards 1s;
}

.zoomOut {
    animation: zoomIn 0.5s reverse forwards;
}

.riseUp {
    opacity: 0;
    animation: riseUp 0.5s ease-in-out forwards 0.5s;
}

.riseUp0 {
    opacity: 0;
    animation: riseUp 0.5s ease-in-out forwards 0.5s;
    animation-delay: 1s;
}

.riseUp1 {
    opacity: 0;
    animation: riseUp 0.5s ease-in-out forwards 0.5s;
    animation-delay: 1.5s;
}

.riseUp2 {
    opacity: 0;
    animation: riseUp 0.5s ease-in-out forwards 0.5s;
    animation-delay: 2s;
}

.riseUp3 {
    opacity: 0;
    animation: riseUp 0.5s ease-in-out forwards 0.5s;
    animation-delay: 2.5s;
}

.riseUp4 {
    opacity: 0;
    animation: riseUp 0.5s ease-in-out forwards 0.5s;
    animation-delay: 3s;
}

.riseUp5 {
    opacity: 0;
    animation: riseUp 0.5s ease-in-out forwards 0.5s;
    animation-delay: 3.5s;
}

#modalscreen {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 1;
}

#modalscreen.addAnimation {
    z-index: 0;
    transform: scale(1);
}

#modalscreen.addAnimation #myModal {
    animation: blowUpModal .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

#modalscreen.addAnimation #container {
    z-index: 1;
    animation: blowUpContent .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

#modalscreen.addAnimation.out {
    animation: blowUpContent .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

#modalscreen.addAnimation.out #myModal {
    animation: blowUpModalTwo .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

#modalscreen.addAnimation.out #container {
    animation: blowUpContentTwo .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
}

@keyframes blowUpContent {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    99.9% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(0);
    }
}

@keyframes blowUpContentTwo {
    0% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes blowUpModal {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes blowUpModalTwo {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}


/**
* Hand gesture animation (pinch-zoom)
*/

.hand-pinch-gesture-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.4); */
}

.hand-pinch-gesture {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    position: absolute;
    pointer-events: none;
    z-index: 99;
}

.hand-pinch-gesture:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300%;
    height: 300%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.hand-pinch-gesture svg {
    width: 100%;
    height: auto;
    overflow: visible;
    animation: 8s hand-gesture-entrance infinite;
}

.hand-pinch-gesture svg g[id="arrows"] {
    transform: translate(-3%, 25%) rotate(-55deg);
    animation: 8s arrow-show infinite;
}

.hand-pinch-gesture svg g[id^="arrow-"] {
    opacity: 0;
}

.active.hand-pinch-gesture svg g[id="arrow-right"] {
    animation: 2s hand-arrow-right infinite;
}

.active.hand-pinch-gesture svg g[id="arrow-left"] {
    animation: 2s hand-arrow-left infinite;
}

.hand-pinch-gesture [class^="ripple"] {
    position: absolute;
    width: 30%;
    height: 30%;
    background: white;
    border-radius: 50%;
    opacity: 0;
    z-index: 0;
    animation: 8s ripple-show infinite;
}

.hand-pinch-gesture .ripple-top {
    top: -11%;
    left: 46%;
}

.hand-pinch-gesture .ripple-bottom {
    top: 21%;
    left: 7%;
}

[data-animate=off] .hand-pinch-gesture svg,
[data-animate=off] .hand-pinch-gesture [class^="ripple"],
[data-animate=off] .hand-pinch-gesture g[id^="arrow"],
.hand-pinch-gesture[data-animate=off] svg,
.hand-pinch-gesture[data-animate=off] [class^="ripple"],
.hand-pinch-gesture[data-animate=off] g[id^="arrow"] {
    display: none;
    animation: unset !important;
}

@keyframes hand-gesture-entrance {
    0% {
        transform: translate3d(-100%, 50%, 0) rotate(-25deg) scale(1);
        opacity: 0;
    }
    15% {
        transform: translate3d(0, 0, 0) rotate(0) scale(1);
    }
    17% {
        opacity: 1;
        transform: scale(0.94);
    }
    18% {
        transform: scale(0.95);
    }
    18%,
    100% {
        transform: scale(0.95);
    }
}

@keyframes ripple-show {
    0%,
    16% {
        opacity: 0;
        transform: scale(0.5);
    }
    18% {
        opacity: 0.25;
        transform: scale(1);
        animation-timing-function: ease-out;
    }
    30%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes arrow-show {
    0%,
    16% {
        opacity: 0;
    }
    18%,
    100% {
        opacity: 1;
    }
}

@keyframes hand-arrow-right {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(50%, 0);
        opacity: 0;
    }
}

@keyframes hand-arrow-left {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
}


/**
* END: Hand gesture animation (pinch-zoom)
*/

@keyframes videobgfadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.videobgfadein {
    opacity: 0;
    animation: videobgfadein 0.5s ease-in-out forwards 0.5s;
}


