.pseudo-header-border {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  background-image: linear-gradient(to bottom, rgb(143, 36, 225),
    transparent);
  z-index: 100;
}

.header {
  position: static;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 50px;
  width: 99.8%;
  background-image: linear-gradient(to bottom, rgb(0, 0, 0), black);
  border-image: linear-gradient(to bottom, rgb(198, 198, 199)) 1;
  border-top: 1px;
}

p {
  margin: 0 0;
  color: white;
}

.homelink a {
  background: linear-gradient(to right, 
  #00affa 20%,
  #234bea 30%,
  #e6348d 50%,
  #6f00ff 70%,
  #00affa 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 500% auto;
  animation: textgradient 5s ease-in-out infinite alternate;
  transition: 
    color 0.3s ease-in,
    -webkit-text-fill-color 0.3s ease-in,
    background-clip 0.3s ease-in;
  color: transparent;
    /* Initial color (hidden by -webkit-text-fill-color) */
}

.homelink a:hover {
  -webkit-background-clip: initial;
    /* Remove text clipping */
    background-clip: initial;
    -webkit-text-fill-color: initial;
    /* Restore normal text color */
    color: rgb(255, 255, 255);
    /* Set the desired color */
}

.gitlink a {
  background: linear-gradient(to right,
      #00affa 20%,
      #234bea 30%,
      #e6348d 50%,
      #6f00ff 70%,
      #00affa 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 500% auto;
  animation: textgradient 5s ease-in-out infinite alternate;
  transition:
    color 0.3s ease-in,
    -webkit-text-fill-color 0.3s ease-in,
    background-clip 0.3s ease-in;
  color: transparent;
}

.gitlink a:hover {
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  color: rgb(255, 255, 255);
}

@keyframes textgradient {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@media screen and (max-width: 300px) {
  .header {
    flex-direction: column;
    font-size: 14px;
  }
}