.about-me-card {
  width: 95vw;
  max-width: 900px;
  height: auto;
  background: rgba(201, 201, 201, 0.5);
  border-radius: 10px;
  box-shadow:
    inset 5px 5px 10px rgba(0, 0, 0, 0.25),
    inset -5px -5px 10px rgba(0, 0, 0, 0.25),
    inset -5px 5px 10px rgba(0, 0, 0, 0.25),
    inset 5px -5px 10px rgba(0, 0, 0, 0.25),
    0px 0px 15px rgba(100, 150, 255, 0.3);
  padding: 1rem;
  margin: 1rem;
}

.my-image {
  max-width: 13rem;
  max-height: 13rem;
  border-radius: 50%; 
  border: 3px solid rgba(255, 255, 255, 0.5); 
  box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.5); 
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(100, 170, 255, 0.7);
  border-radius: 4px;
}

.about-text {
  text-align: center;
  color: #FFF;
}

.img-container.glitch {
  position: relative;
  animation: glitch-skew 2s infinite;
}

.img-container.glitch::before,
.img-container.glitch::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  opacity: 0.6;
  z-index: -1;
}

.img-container.glitch::before {
  clip-path: polygon(0% 0%, 100% 0%, 100% 45%, 0% 45%);
  animation: glitch-anim 2s infinite;
  background: linear-gradient(rgba(255, 0, 0, 0.2), rgba(255, 0, 0, 0.2));

}

.img-container.glitch::after {
  clip-path: polygon(0% 55%, 100% 55%, 100% 100%, 0% 100%);
  animation: glitch-anim 2s infinite;
  background: linear-gradient(rgba(0, 255, 0, 0.2), rgba(0, 255, 0, 0.2));
}

@keyframes glitch-anim {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  3% {
    transform: translateY(-3%) scale(1.1);
  }
  6% {
    transform: translateY(3%) scale(0.9);
  }
  9% {
    transform: translateY(-1%) scale(0.98);
  }
  12% {
    transform: translateY(1%) scale(1.02);
  }
}

@keyframes glitch-skew {
  0%, 100% {
    transform: skew(0);
  }
  2% {
    transform: skew(3deg);
  }
  4% {
    transform: skew(-3deg);
  }
  6% {
    transform: skew(1deg);
  }
  8% {
    transform: skew(-1deg);
  }
}
