/* floating button */

.floating-wpp{
    position: fixed;
    bottom: 0;
    right: 0;
    font-size: 100%;
    font-family: sans-serif;
}

.floating-wpp .floating-wpp-button img{
    cursor: pointer;
    margin: 0 0 5vw 0;
    position: absolute;
    width: 5vw;
    bottom: 0;
    right: 0;
    transition: 0.2s ease-in-out;
    filter: drop-shadow(0px 0px 7px #7cffaf);
    animation: bounce 1.2s infinite 20s;
    animation-direction: alternate;
}

@keyframes bounce{
     0% {
        transform: translateY(0);
        height: 5vw;
    }
    
     5% {
        transform: translateY(0);
        height: 5vw;
    }
    
     10% {
        transform: translateY(0);
        height: 5vw;
    }
    
     15% {
        transform: translateY(0);
         height: 5vw;
    }
    
     20% {
        transform: translateY(0);
        height: 5vw;
    }
    
     25% {
        transform: translateY(0);
        height: 5vw;
    }
    
     30% {
        transform: translateY(0);
        height: 5vw;
    }
    
     35% {
        transform: translateY(0);
        height: 5vw;
    }

     40% {
        transform: translateY(0);
        height: 5vw;
    }
    
     45% {
        transform: translateY(0);
        height: 5vw;
    }
    
     50% {
        transform: translateY(0);
        height: 5vw;
    }
    
     55% {
        transform: translateY(0);
        height: 5vw;

    }
    
     60% {
        transform: translateY(0);
        height: 5vw;
    }
    
     65% {
        transform: translateY(0);
        height: 5vw;
    }
    
     70% {
        transform: translateY(0);
         height: 4.9vw;
    }
    
     75% {
        transform: translateY(0);
        height: 4.8vw;
    }
    
     80% {
        transform: translateY(0);
        height: 4.7vw;
    }
    
     85% {
        transform: translateY(0);
        height: 4.6vw;
    }
    
     90% {
        transform: translateY(0);
        height: 4.7vw;
    }

     95% {
        transform: translateY(-7%);
        height: 4.8vw;
    }
    
     100% {
        transform: translateY(-8%);
        height: 5vw;
    }
}

.floating-wpp .floating-wpp-button img:hover{
    /*transform: scale(1.10);*/
    animation-play-state: paused;
    filter: drop-shadow(0 0 7px #7cffaf)
            drop-shadow(0 0 7px #7cffaf)
            drop-shadow(0 0 7px #7cffaf);
}

.floating-wpp .floating-wpp-popup{
    border-radius: 8px;
    background-color: #eae6e3;
    position: absolute;
    overflow: hidden;
    top: 0;
    opacity: 0;
    transition: bottom 0.3s ease-in-out, opacity 0.5s ease-in-out;
}

.floating-wpp .floating-wpp-popup.active{
    padding: 0 12px 12px 12px;
    position: relative;
    width: 30vw;
    height: auto;
    top: -9.5vw;
    opacity: 0.98;
    filter: drop-shadow(0 0 5px #7cffaf)
            drop-shadow(0 0 5px #7cffaf);
}

.floating-wpp .floating-wpp-popup .floating-wpp-message{
    background-color: #fff;
    text-align: center;
    font-size: 2.5vw;
    padding: 8px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.floating-wpp .floating-wpp-popup.active .floating-wpp-message{
    opacity: 1;
}

.floating-wpp .floating-wpp-popup .floating-wpp-head {
    text-align: right;
    font-family: sans-serif;
    color: #fff;
    margin: 0 -15px 10px -15px;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.floating-wpp .floating-wpp-input-message{
    background-color: #fff;
    margin: 10px -15px -15px -15px;
    font-size: 1.5vw;
    padding: 0 1vw;
    display: flex;
    align-items: center;
}

.floating-wpp .floating-wpp-input-message textarea{
    border-radius: 6px;
    padding: 5px;
    margin: 10px 0;
    height: 7vw;
    width: 100%;
    max-width: 100%;
    font-family: inherit;
    font-size: inherit;
    resize: none;
}

.floating-wpp .floating-wpp-btn-send{
    margin-left: 12px;
    font-size: 0;
    cursor: pointer;
}

@media (max-width:720px){
    .floating-wpp .floating-wpp-button img{
        width: 20vw;
        margin: 0 0 11vw 0;
        animation: bounce 3s infinite 15s;
    }
    
    .floating-wpp{
        font-size: 180%;
    }
    
    .floating-wpp .floating-wpp-popup .floating-wpp-message{
        font-size: 5.5vw;
    }
    
    .floating-wpp .floating-wpp-input-message textarea{
        height: 30vw;
        width: 150%;
        font-size: 4vw;
    }
    
    .floating-wpp .floating-wpp-popup.active{
        width: 80vw;
        margin: 0 3vw 0 0;
        height: auto;
        top: -25vw;
    }
    
    floating-wpp .floating-wpp-button img:active{
    }
    
    .floating-wpp .floating-wpp-btn-send{
        position: relative;
        margin-left: 10vw;
        right: 4vw;
    }
    
    @keyframes bounce{
         0% {
            transform: translateY(0);
            height: 20vw;
        }

         5% {
            transform: translateY(0);
            height: 20vw;
        }

         10% {
            transform: translateY(-3);
            height: 20vw;
        }

         15% {
            transform: translateY(-2);
            height: 20vw;
        }

         20% {
            transform: translateY(-1);
            height: 20vw;
        }

         25% {
            transform: translateY(0);
            height: 20vw;
        }

         30% {
            transform: translateY(0);
            height: 20vw;
        }

         35% {
            transform: translateY(0);
            height: 20vw;
        }

         40% {
            transform: translateY(0);
            height: 20vw;
        }

         45% {
            transform: translateY(0);
            height: 20vw;
        }

         50% {
            transform: translateY(0);
            height: 20vw;
        }

         55% {
            transform: translateY(0);
            height: 20vw;

        }

         60% {
            transform: translateY(0);
            height: 20vw;
        }

         65% {
            transform: translateY(0);
            height: 20vw;
        }

         70% {
            transform: translateY(0);
            height: 20vw;
        }

         75% {
            transform: translateY(0);
            height: 19vw;
        }

         80% {
            transform: translateY(0);
            height: 18vw;
        }

         85% {
            transform: translateY(-2%);
            height: 20vw;
        }

         90% {
            transform: translateY(-3%);
            height: 20vw;
        }

         95% {
            transform: translateY(0);
            height: 19vw;
        }

         100% {
            transform: translateY(0);
            height: 20vw;
        }
    }
}