﻿
.wrapperWhatsApp {
    position: fixed;
    display: flex;
    right: 100px;
    bottom: 10px;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    grid-gap: 10px;
}

.wrapperWhatsApp:hover .cartel {
    opacity: 1;
    visibility: visible;
}

.wrapperWhatsApp img {
    width: 64px;
    cursor: pointer;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.07)) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.07)) drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.07)) drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.07)) drop-shadow(0px 16px 32px rgba(0, 0, 0, 0.07)) drop-shadow(0px 32px 64px rgba(0, 0, 0, 0.07));
}

.wrapperWhatsApp img:hover {
    filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.35));
    transform: scale(1.1);
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.cartel {
    background: #1C3648;
    color: white;
    padding: 10px;
    cursor: default;
    pointer-events: none;
    border-radius: 10px;
    position: absolute;
    bottom: 100%;
    margin-bottom: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cartel::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #1C3648;
}

.cartel > p {
    margin: 0px;
}


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

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}


@media only screen and (max-width: 744px) {

    .wrapperWhatsApp {
/*        bottom: 10px;*/
/*        right: 20px;*/
    }

        .wrapperWhatsApp img {
/*            width: 40px;*/
        }
}
