@keyframes wave {
  from {
    box-shadow: 0 0 0 0 rgb(37, 211, 102);
  }
  to {
    box-shadow: 0 0 20px 15px rgba(37, 211, 102, 0);
  }
}

.whats-container {
  max-height: 300px;
  height: auto;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whats-email {
  width: 60px;
  height: 60px;
  background: #4cc370;
  border-radius: 100%;
  overflow: hidden;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: all 300ms cubic-bezier(0.4, 0.0, 0.2, 1),
  height 300ms cubic-bezier(0.4, 0.0, 0.2, 1),
  box-shadow 300ms cubic-bezier(0.4, 0.0, 0.2, 1),
  border-radius 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.whats-email:not(.whats-expand) {
  cursor: pointer;
}

.whats-email:not(.whats-expand):hover {
  background: #47aa66;
  animation: wave 500ms ease-in-out;
}

.whats-from {
  position: absolute;
  bottom: 19px;
  right: 21px;
  transition: opacity 200ms 100ms cubic-bezier(0.0, 0.0, 0.2, 1);
}

.whats-from-contents {
  transform-origin: 0 0;
  transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.whats-to {
  opacity: 0;
  position: absolute;
  transition: opacity 100ms cubic-bezier(0.4, 0.0, 1, 1);
}

.whats-to-contents {
  transform: scale(0.55);
  transform-origin: 0 0;
  transition: transform 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
}

.whats-avatar {
  width: 30px;
  height: 30px;
  position: relative;
  left: 6px;
  top: 4px;
}

.whats-me {
  background-image: url("https://www.svgrepo.com/show/106976/whatsapp.svg");
  background-size: cover;
}

.whats-name {
  font-size: 14px;
  line-height: 32px;
  margin-left: 10px;
}

.whats-top {
  background: #f0f2f5;
  display: flex;
  align-items: center;
  height: 60px;
  transition: height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
  width: 300px;
}

.whats-avatar-large {
  border-radius: 21px;
  width: 42px;
  height: 42px;
  margin-left: 12px;
}

.whats-name-large {
  color: #080c0f;
  font-size: 16px;
  margin-left: 20px;
}

.whats-x-touch {
  width: 50px;
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
}

.whats-x {
  background: #f6b2b2;
  border-radius: 10px;
  height: 20px;
  position: relative;
  width: 20px;
}

.whats-x-touch:hover .whats-x {
  background: #ff7b7b;
}

.whats-line1 {
  background: #ffffff;
  height: 12px;
  position: absolute;
  transform: translateX(9px) translateY(4px) rotate(45deg);
  width: 2px;
}

.whats-line2 {
  background: #ffffff;
  height: 12px;
  position: absolute;
  transform: translateX(9px) translateY(4px) rotate(-45deg);
  width: 2px;
}

.whats-bottom {
  width: 300px;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #444247;
  font-size: 14px;
}

.whats-fondo{
  position: absolute;
  z-index: -1;
  filter: opacity(4%);
}


.whats-row {
  align-items: center;
  display: flex;
}

.whats-twitter {
  margin-left: 16px;
  height: 30px;
  position: relative;
  width: 30px;
}

.whats-medium {
  margin-left: 16px;
  width: 30px;
  cursor: pointer;
}

.whats-link {
  margin-left: 16px;
}

.whats-link a {
  color: #444247;
  text-decoration: none;
}

.whats-link a:hover {
  color: #777579;
}

.whats-email.whats-expand {
  background: white;
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.16);
  height: 300px;
  width: 300px;
}

.whats-expand .whats-from {
  opacity: 0;
  transition: opacity 100ms cubic-bezier(0.4, 0.0, 1, 1);
}

.whats-expand .whats-from-contents {
  transform: scale(1.91);
}

.whats-expand .whats-to {
  opacity: 1;
  transition: opacity 200ms 100ms cubic-bezier(0.0, 0.0, 0.2, 1);
}

.whats-expand .whats-to-contents {
  transform: scale(1);
}


/*Burbuja*/
.whats-bubble {
  position: relative;
  max-width: 200px;
  background-color: #fff;
  padding: 6px 15px;
  margin-left: 15px;
  font-size: 1em;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.3), 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2);
}

.whats-bubble::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  bottom: 100%;
  left: 1.5em;
  border: 0.75rem solid transparent;
  border-top: none;
  border-bottom-color: #fff;
  filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
}

.whats-input {
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  color: #607D8B;
  background-color: #F9FAFB;
  border: none;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  outline: none;
  transition: box-shadow 0.3s ease-in-out;
}

.whats-input::placeholder {
  color: #90A4AE;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.send-button {
  display: inline-block;
  cursor: pointer;
  animation: pulse 1.5s infinite;
  outline-color: #1abc9c;
}



