.avatar-parent {
  position: absolute;
  top: 0;
  width: 1344px;
  height: 768px;
  overflow: hidden;
}

.avatar-container {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2147483647;
  
  border-radius: 50%;
  overflow: hidden; 
  margin: 0.5em;
}

.avatar-xyz {
  width: 150px;
  height: 150px;
  border-radius: 50%; /* Make the element a circle */
  background-image: url('talk-head/bg/office1-300x300.png'); /* Specify the URL of your background image */
  background-size: cover; /* Cover the entire content area without distortion */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent the image from repeating */
  border: 2px solid #fff; /* Add a white border with a width of 2px */
  overflow: hidden; /* Clip the inner content */ 
  clip-path: circle(50% at 50% 50%);
  background-clip: content-box;
  box-sizing: border-box;
}
.avatar-xyz.selected {
  border: 5px solid purple;
}

.avatar-container .emoji {
  font-size: 90px;
  position: absolute;
  right: 0px;
  opacity: 0;
}

.pulsate {
  animation: pulsate 1s ease-in-out infinite alternate;
}

@keyframes pulsate {
  0% {
    background-color: white; /* Start with the initial color */
  }
  100% {
    background-color: transparent; /* End with a darker or lighter color */
  }
}

@keyframes circleGrow {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }
}

.avatar-container::before,
.avatar-container::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255, 0);
  transform-origin: center center;
  transform: translate(-50%, -50%);
}

.loading::before,
.loading::after {
  background-color: rgb(255, 255, 255, 1);
  animation: circleGrow 2s infinite;
}

.avatar-container::before {
  animation-delay: 0.5s; /* delay second circle by 1s */
}