@keyframes ripple {
    0% {
      box-shadow: 0 0 0 0 rgba(0, 87, 255, .7), 0 0 0 0 rgba(0, 87, 255, .5);
      border-radius: 60%;
    }
    50% {
      box-shadow: 0 0 0 120px rgba(0,142,206, 0), 0 0 0 240px rgba(0,142,206,0);
      border-radius: 60%;
    }
    100% {
      box-shadow: 0 0 0 240px rgba(0,142,206, 0), 0 0 0 360px rgba(0,142,206,0);
      border-radius: 60%;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .blue-circle {
      animation: none;
    }
    .blue-circle::after {
      display: none;
    }
  }
  

.blue-circle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background-image: url('../img/wp_avatar.png');
    background-size: cover; /* ensure the image covers the whole element */
    background-position: center; /* center the image */
    background-repeat: no-repeat; /* prevent image from repeating */
    border-radius: 50%;
    border: 2px solid rgba(0, 87, 255, 1);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    /* animation: glow 2s ease-in-out infinite; */
    animation: ripple 2s infinite;
    animation-iteration-count: 5;
  }
  
  @keyframes show-bubble {
    0% {
      opacity: 0;
    }
    10%, 90% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  
  .blue-circle::after {
    content: "Hej! W czym mogę pomóc? \A Kliknij mnie!";
    position: absolute;
    top: 0;  /* Adjust these values according to your layout */
    right: 100%; /* This will place the bubble to the left of the icon */
    margin-right: 20px; /* Add some space between the icon and the bubble */
    padding: 10px;
    background-color: #0057ff; 
    color: #fff;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: show-bubble 10s forwards;
    font-size: 20px;
    font-weight: 600;
    width: 250px;
    white-space: normal;
  }
  
  .blue-circle:hover::after {
    opacity: 1;
  }
  
  body:after {
    content: '';
    display: block;
    clear: both;
  }
