﻿.whatsapp_main {
    position: fixed;
    bottom: 30px;
    z-index: 10;
    height: 51px;
    right: -580px;
}

.whatsapp_container {
    position: relative;
    display: inline-block;
    /* container ko align karne ke liye */
}

.whatsapp_img {
    width: 14%;
    /* Desktop view ke liye width set kiya hai */
    position: relative;
    z-index: 2;
    /* Image ko front mein rakhne ke liye */
}

.whatsapp_effect {
    margin-left: 24px;
    border-radius: 50px;
    position: absolute;
    top: 0;
    left: 10;
    width: 43px;
    height: 100%;
    z-index: 1;
    /* Effect ko image ke peeche rakhne ke liye */
    animation: glowing 1300ms infinite;
}

.whatsapp_text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -100px; /* Position the text initially */
    color: transparent; /* Make text transparent initially */
    font-weight: bold;
    animation: blink 1300ms infinite; /* Match blinking speed with .whatsapp_effect */
}

@keyframes blink {
    0% {
        color: transparent; /* Make text transparent */
    }

    50% {
        color: white; /* Change text color to white */
    }

    100% {
        color: transparent; /* Make text transparent again */
    }
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 5px #FFF;
    }

    50% {
        box-shadow: 0 0 50px #FFF;
    }

    100% {
        box-shadow: 0 0 5px #FFF;
    }
}

@media only screen and (max-width:600px) {
    .whatsapp_img {
        width: 14%;
        /* Mobile devices ke liye width */
    }
}
