@import url("https://fonts.googleapis.com/css2?family=Boldonse&display=swap");

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

html {
  scroll-behavior: smooth;
}

.boldonse-regular {
  font-family: "Boldonse", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {
  background: #020617;
  background-image: radial-gradient(
      circle at 50% -20%,
      rgba(120, 119, 198, 0.3),
      rgba(255, 255, 255, 0)
    );
  background-size: 100% 100%;
  background-attachment: fixed;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle, transparent 10%, black 60%);
  mask-image: radial-gradient(circle, transparent 10%, black 60%);
  pointer-events: none;
  z-index: -1;
}



.scroll-watcher {
  height: 2px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to right, #ef4444, #d946ef, #9333ea);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5), 0 0 20px rgba(147, 51, 234, 0.3);
  transform: scaleX(0);
  transform-origin: left;
  animation: scroll-watcher 1s linear forwards;
  animation-timeline: scroll();
  display: none;
}

@keyframes scroll-watcher {
  to {
    transform: scaleX(1);
  }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}


.tabs .indicator {
  width: 80px;
  height: 1.5px;
  background-color: white;
  transition: width 0.3s ease-in-out;
}

.indicator.active {
  width: 100px;
}

.tab:hover .indicator {
  width: 100px;
}

.tab:not(:has(.indicator.active)) {
  /* Your styles here */
  opacity: 0.6; /* Example: Reduce opacity */
}

.tab:hover {
  opacity: 1;
}

/* DEMO-SPECIFIC STYLES */
.typewriter h1 {
  color: #fff;
  font-size: small;
  text-align: end;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: 0.15em solid rgb(255, 0, 0); /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: rgb(255, 0, 0);
  }
}
