@import url("./baseStyle.css");

#footerHeader {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-sizing: border-box;
  background: var(--bg-color-1);
}

#footerHeader .footerContainer nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

#footerHeader .footerContainer nav ul li a img {
  width: 24px;
  height: 24px;
}

#footerHeader .footerContainer nav ul li a {
  text-decoration: none;
  color: var(--primary-textColor);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
  padding: 5px;
}

#footerHeader .footerContainer nav ul li a.active:before,
#footerHeader .footerContainer nav ul li a:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--primary-color);
  animation: clippath 2s infinite linear;
}
/* inset (top right bottom left) */
@keyframes clippath {
  0% {
    clip-path: inset(0 0 100% 0); /* Top border */
  }
  25% {
    clip-path: inset(0 0 0 100%); /* Right border */
  }
  50% {
    clip-path: inset(100% 0 0 0); /* Bottom border */
  }
  75% {
    clip-path: inset(0 100% 0 0); /* Left border */
  }
  100% {
    clip-path: inset(0 0 100% 0); /* Back to top border */
  }
}
@media screen and (min-width: 980px) {
  #footerHeader {
    display: none;
  }
}
