
.whatsapp-button {
position: fixed;
bottom: 70px;
right: 20px;
background-color: #FF0000;
color: white;
padding: 10px 15px;
border-radius: 50px;
display: flex;
align-items: center;
text-decoration: none;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
z-index: 9999;
animation: pulse 2s infinite;
font-family: Arial, sans-serif;
transition: transform 0.2s ease;
}
.whatsapp-button:hover {
transform: scale(1.05);
}
.whatsapp-icon {
width: 30px;
height: 30px;
margin-right: 10px;
}
.whatsapp-icon img {
width: 100%;
height: 100%;
filter: brightness(0) invert(1);
transition: transform 0.3s ease-in-out;
}
.whatsapp-button:hover .whatsapp-icon img {
animation: swing 0.8s ease-in-out;
}
@keyframes swing {
0% { transform: rotate(0deg); }
30% { transform: rotate(20deg); }
60% { transform: rotate(-15deg); }
100% { transform: rotate(0deg); }
}
.whatsapp-text {
font-weight: bold;
font-size: 14px;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.9);
}
60% {
box-shadow: 0 0 0 25px rgba(255, 0, 0, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
}
}
