@keyframes pop {
    0% {
      transform: scale(0);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
@keyframes zoomOut {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(0);
    }
  }


/* Typing animation */
.typing::after {
    content: '';
    animation: typing 1s steps(5, end) infinite;
}

@keyframes typing {
    0% {
        content: '.';
    }
    25% {
        content: '..';
    }
    50% {
        content: '...';
    }
    75% {
        content: '..';
    }
    100% {
        content: '.';
    }
}

/* contact me */
.popup {
    display: none;
    position: absolute;
    background-color: var(--first-color);
    color: #fff;
    border-radius: 0.5rem;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    z-index: 1000;
    animation: pop 0.3s ease-in-out;
  }
  
.popup.show {
  display: block;
  animation: pop 0.3s ease-in-out;
}
  
.popup.hide {
  animation: zoomOut 0.3s ease-in-out;
  display: none;
}
  
.popup:hover {
  background-color: var(--first-color-alt);
}


.chat-head-intro {
  display: none;
  position: absolute;
  right: 80px; 
  bottom: 20px;
  background-color: var(--first-color);
  color: #fff;
  border-radius: 0.5rem;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  animation: pop 0.3s ease-in-out;
}

.chat-head-intro.show {
  display: block;
  animation: pop 0.3s ease-in-out;
}

.chat-head-intro.hide {
  animation: zoomOut 0.3s ease-in-out forwards;
}