/* From Uiverse.io by satyamchaudharydev */ 
/* === removing default button style ===*/
.project-button {
  margin: 0;
  height: auto;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  position: relative;
}

/* Add arrow to the left using ::before */
.project-button::before {
  content: "➔";
  position: absolute;
  left: -1.2em;
  top: 50%;
  transform: translateY(-55%);
  font-size: 1em;
  color: var(--animation-color, #37FF8B);
  transition: color 0.3s, left 0.3s;
  pointer-events: none;
}

/* Animate arrow on hover */
.project-button:hover::before {
  color: var(--animation-color, #37FF8B);
  left: -0.8em;
}

/* button styling */
.project-button {
  --border-right: 6px;
  --text-stroke-color: rgba(255,255,255,0.6);
  --animation-color: #37FF8B;
  --fs-size: 2em;
  letter-spacing: 3px;
  text-decoration: none;
  font-size: var(--fs-size);
  font-family: "Arial";
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
}
/* this is the text, when you hover on button */
.hover-text {
  position: absolute;
  box-sizing: border-box;
  content: attr(data-text);
  color: var(--animation-color);
  width: 0%;
  inset: 0;
  border-right: var(--border-right) solid var(--animation-color);
  overflow: hidden;
  transition: 0.5s;
  -webkit-text-stroke: 1px var(--animation-color);
  white-space: nowrap;
}
/* hide actual text on hover */
.project-button .actual-text {
  color: transparent;
  -webkit-text-stroke: 1px var(--text-stroke-color);
  transition: color 0.5s;
}

.project-button:hover .actual-text {
  color: transparent;
  -webkit-text-stroke: 0px var(--text-stroke-color);
}

/* hover */
.project-button:hover .hover-text {
  width: 100%;
  filter: drop-shadow(0 0 23px var(--animation-color))
}

/* === card style === */
.card {
  background: rgba(34, 34, 34, 0.75);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  padding: 2rem 2.5rem;
  max-width: 600px;
  width: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 90vh;
  margin: 2rem auto;
}

/* === starfield style === */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.8;
  will-change: transform;
}

.card {
  position: relative;
  z-index: 1;
}

/* === GitHub Button Styling === */
/* From Uiverse.io by vinodjangid07 */ 
.Btn {
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition-duration: .4s;
  cursor: pointer;
  position: relative;
  background-color: #414141;
  overflow: hidden;
}

.svgIcon {
  transition-duration: .3s;
}

.svgIcon path {
  fill: white;
}

.text {
  position: absolute;
  color: rgb(255, 255, 255);
  width: 120px;
  font-weight: 600;
  opacity: 0;
  transition-duration: .4s;
}

.Btn:hover {
  width: 110px;
  transition-duration: .4s;
  border-radius: 30px;
}

.Btn:hover .text {
  opacity: 1;
  transition-duration: .4s;
}

.Btn:hover .svgIcon {
  opacity: 0;
  transition-duration: .3s;
}
