:root {
  --bg-color: #2B2B30;
  --text-color: #F58C7F;
  --thin-text-color: #FFC8C2;
  --icon-color: #ADBF97;
}

.color-primary {
  color: #F58C7F;
}
.color-primary-light {
  color: #FFC8C2;
}
.color-accent {
  color: #ADBF97;
}
.color-secondary {
  color: #009FB7;
}

.caveat-brush-regular {
  font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 150%;
}

.averia-libre-light {
  font-family: "Averia Libre", system-ui;
  font-weight: 300;
  font-style: normal;
}

.averia-libre-regular {
  font-family: "Averia Libre", system-ui;
  font-weight: 400;
  font-style: normal;
}

.averia-libre-bold {
  font-family: "Averia Libre", system-ui;
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  background-image: url('/images/plaid.png');
  background-repeat: repeat;
  background-blend-mode: multiply;
  color: var(--text-color);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.profile-pic {
  width: 310px;
  height: 160px;
  border-radius: 0%;
  object-fit: cover;
  border: 6px solid rgba(43, 43, 48, 0.2);
  transition: all 0.3s ease;
}

.link-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-card:hover {
  /* transform: translateY(-5px); */
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.icon {
  transition: all 0.3s ease;
}

.link-card:hover .icon {
  transform: scale(1.2);
  color: #8CD8E3;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0% {
      transform: translateY(0) rotate(0deg) scale(0.5);
      opacity: 0;
  }
  5% {
      transform: translateY(-50px) rotate(0deg) scale(1.0);
      opacity: 0.1;
  }
  100% {
      transform: translateY(-1000px) rotate(0deg) scale(0.9);
      opacity: 0;
  }
}

.info-box {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-left: 3px solid var(--icon-color);
}

.social-icons a {
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.3);
}

/* Generate random circles for background */
.generate-circles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.pulsating-box {
  animation: glowWave 4s infinite;
}

@keyframes glowWave {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 20px 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.border-trace::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px; /* match your card radius */
  box-sizing: border-box;
  pointer-events: none;

  /* Gradient border using a mask trick */
  border: 3px solid transparent;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(209, 77, 77, 0.224), rgba(255, 255, 255, 0.8));
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 3px; /* same as border thickness */

  /* Animation */
  clip-path: inset(0 100% 0 0); /* start hidden */
  animation: drawBorder 10s linear infinite; /* slower: 10s */
}

@keyframes drawBorder {
  0% {
    clip-path: inset(0 100% 0 0); /* hidden */
  }
  25% {
    clip-path: inset(0 0 0 0); /* fully visible */
  }
  50% {
    clip-path: inset(100% 0 0 0); /* start hiding from top */
  }
  75% {
    clip-path: inset(0 0 0 100%); /* hide from right */
  }
  100% {
    clip-path: inset(0 100% 0 0); /* back to hidden */
  }
}