html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(16, 185, 129, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #030712;
}

::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fade-up 0.6s ease-out;
}

.headshot {
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.headshot:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.gallery-card .caption {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-card:hover .caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card .img-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .img-overlay {
  opacity: 1;
}
