/* WhatsApp icon inside pulse button */
.whatsapp-pulse a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	text-decoration: none;
	transition: color 0.3s;
	position: relative;
}

.whatsapp-pulse a:hover {
	color: #fff;
}

.whatsapp-pulse .fab.fa-whatsapp {
	font-size: 3.2rem;
	line-height: 1;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wh-api {
    position: fixed; /* Fix the position */
    bottom: 20px; /* At the bottom of the screen */
    left: 20px; /* Position on the left */
    z-index: 9999; /* Ensure it is in front of everything */
}

.wh-fixed {
	margin-left: 1px;
}

.wh-fixed.whatsapp-pulse > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

.whatsapp-pulse a::before {
	content: "Chat with me";
	display: block;
	position: absolute;
	left: 70px;
	top: 50%;
	transform: translateY(-50%);
	height: 40px;
	background: #000;
	color: #fff;
	font-weight: 400;
	font-size: 15px;
	border-radius: 30px;
	width: 0;
	opacity: 0;
	padding: 0;
	transition: opacity 0.4s, width 0.4s, padding 0.5s;
	padding-top: 7px;
	box-shadow: 0 1px 15px rgba(32, 33, 36, 0.28);
	white-space: nowrap;
	overflow: hidden;
}

.whatsapp-pulse a:hover::before {
	opacity: 1;
	width: auto;
	padding-top: 7px;
	padding-left: 10px;
	padding-right: 10px;
	width: 100px;
}

/* animacion pulse */

.whatsapp-pulse {
	width: 60px;
	height: 60px;
	left: 10px;
	bottom: 20px;
	background: rgba(16, 180, 24, 0.88);
	position: fixed !important;
	text-align: center;
	color: #ffffff;
	cursor: pointer;
	border-radius: 50%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

@media (max-width: 992px) {
	.whatsapp-pulse {
		bottom: 20px;
		left: 15px;
	}
}

.whatsapp-pulse:before {
	position: absolute;
	content: " ";
	z-index: -1;
	bottom: -15px;
	left: -15px;
	background-color: rgba(16, 180, 24, 0.5);
	width: 90px;
	height: 90px;
	border-radius: 100%;
	animation-fill-mode: both;
	-webkit-animation-fill-mode: both;
	opacity: 0.6;
	-webkit-animation: pulse 1s ease-out;
	animation: pulse 1.8s ease-out;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

@-webkit-keyframes pulse {
	0% {
		-webkit-transform: scale(0);
		opacity: 0;
	}
	25% {
		-webkit-transform: scale(0.3);
		opacity: 1;
	}
	50% {
		-webkit-transform: scale(0.6);
		opacity: 0.6;
	}
	75% {
		-webkit-transform: scale(0.9);
		opacity: 0.3;
	}
	100% {
		-webkit-transform: scale(1);
		opacity: 0;
	}
}

@keyframes pulse {
	0% {
		transform: scale(0);
		opacity: 0;
	}
	25% {
		transform: scale(0.3);
		opacity: 1;
	}
	50% {
		transform: scale(0.6);
		opacity: 0.6;
	}
	75% {
		transform: scale(0.9);
		opacity: 0.3;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}
