.gif-popup {
  /* border: 4px solid green; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.gif-popup img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 15px;
  box-shadow: 0 0 20px #000;
  animation: scaleUp 0.4s ease-out;
}

@keyframes scaleUp {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 38px;
  color: #fff;
  background-color: #0186a8;
  transition: all 0.4s ease;
  padding: 0;
  border: none;
  text-decoration: none;
}

.preview-btn i {
  font-size: 1.2rem;
  transition: transform 0.4s ease;
}

.preview-btn span {
  display: none;
  margin-left: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.preview-btn:hover {
  width: auto;
  padding: 0 16px;
  background-color: #6c757d;
}

.preview-btn:hover span {
  display: inline;
}

.preview-btn:hover i {
  transform: rotateY(360deg);
}

.github-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 38px;
  /* border-radius: 25%; */
  color: #fff;
  background-color: #0186a8;
  transition: all 0.4s ease;
  padding: 0;
  border: none;
  text-decoration: none;
}

.github-btn i {
  font-size: 1.2rem;
  transition: transform 0.4s ease;
}

/* Sadece yazıyı gizle, ikon kalsın */
.github-btn span {
  display: none;
  margin-left: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Hover olduğunda yazıyı göster, butonu genişlet */
.github-btn:hover {
  width: auto;
  padding: 0 16px;
  background-color: #24292e;
}

.github-btn:hover span {
  display: inline;
}

.github-btn:hover i {
  transform: rotateY(360deg);
}
.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.65rem;
  font-weight: 500;
  border-radius: 12px;
  white-space: nowrap;
}
.field-container {
  font-size: 1rem;
  font-weight: 500;
  color: #0186a8;
  text-decoration: underline;
}
.card {
  color: white;
  border: 4px solid transparent;
  border-image: linear-gradient(90deg, transparent, #0186a8);
  border-image-slice: 1;
  padding: 10px;
  background: rgba(14, 49, 67, 0.25);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2.3px);
  -webkit-backdrop-filter: blur(6.3px);
}

/* project section yıldızların sectionı */
.project-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.span-star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #0186a8;
  border-radius: 100%;
  animation: animate 3s linear infinite;
}

@keyframes animate {
  0% {
    transform: rotate(315deg) translateX(0);
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: rotate(315deg) translateX(-1000px);
    opacity: 0;
  }
}

.span-star::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 1px;
  background: linear-gradient(90deg, #0186a8, transparent);
}

.span-star:nth-child(1) {
  top: 0;
  right: 0;
  left: initial;
  animation-delay: 0;
  animation-duration: 1s;
}

.span-star:nth-child(2) {
  top: 0;
  right: 80px;
  left: initial;
  animation-delay: 0.2s;
  animation-duration: 3s;
}
.span-star:nth-child(3) {
  top: 80px;
  right: 0px;
  animation-delay: 0.4s;
  animation-duration: 2s;
}
.span-star:nth-child(4) {
  top: 0;
  right: 180px;
  left: initial;
  animation-delay: 0.6s;
  animation-duration: 1.5s;
}
.span-star:nth-child(5) {
  top: 0;
  right: 400px;
  left: initial;
  animation-delay: 0.8s;
  animation-duration: 2.5s;
}
.span-star:nth-child(6) {
  top: 0;
  right: 600px;
  left: initial;
  animation-delay: 1s;
  animation-duration: 3s;
}
.span-star:nth-child(7) {
  top: 300px;
  right: 0px;
  left: initial;
  animation-delay: 1.2s;
  animation-duration: 1.75s;
}
