@font-face {
  font-family: "Hack Nerd Font";
  src: url("/fonts/HackNerdFontPropo-Regular.ttf") format("truetype");
}

:root {
  --vantablack: #181818;
  --text-color: #ffe9dd;
  --standard-radius: 12px;
  --border-gray: rgba(255, 255, 255, 0.05);
  --bluestra: #698eff;
}

#dot-cursor {
  position: fixed;
  opacity: 0;
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
  transition: opacity 200ms, transform 200ms, width 200ms ease,
    height 200ms ease, background-image 200ms ease, border-radius 200ms ease;
}

.projects-link {
  text-decoration: underline dotted;
  font-weight: bold !important;
  color: var(--bluestra);
}

.projects-link:visited {
  color: var(--bluestra);
}

*:visited {
  text-decoration: none;
}

a {
  text-decoration: none;
  border-radius: var(--standard-radius);
}
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

body {
  background-color: var(--vantablack);
  color: var(--text-color);
  overflow-x: hidden;
  overscroll-behavior: none;
  padding: 0;
  margin: 0;
}

body *,
body button {
  cursor: none !important;
  font-family: "Hack Nerd Font", monospace;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background: #181818;
  display: block;
  padding: 0;
  margin: 0;
}

section {
  min-height: 100vh;
  width: 100vw;
  padding: 0;
  margin: 0;
}

section:not(:first-of-type) > :first-child {
  padding-top: 75px;
}

.splash-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.splash-content {
  display: flex;
  flex-direction: row;
  align-items: top;
  justify-content: center;
  gap: 30px;
}

.splash-content img {
  max-width: 400px;
}

.splash-content p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.glass-box {
  background-color: rgba(24, 24, 24, 0.7);
  padding: 20px 30px;
  border-radius: var(--standard-radius);
  backdrop-filter: blur(5px);
  border: 2px solid var(--border-gray);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.text-content {
  height: fit-content;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.text-content.glass-box {
  margin-top: 20px;
}

.social-icons {
  padding-top: 20px;
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 30px;
  border-radius: var(--standard-radius);
  height: 30px;
}

.social-icons img {
  width: 30px;
  height: 30px;
}

.nav-social-icons {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 100;
  transition: opacity 0.3s ease;
  background-color: rgba(24, 24, 24, 0.7);
  padding: 10px 20px;
  border-radius: var(--standard-radius);
  backdrop-filter: blur(5px);
  border: 2px solid var(--border-gray);
}

.nav-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--standard-radius);
  transition: transform 0.2s, background-color 0.2s;
  border: 1px solid var(--border-gray);
}

.nav-social-icons a:hover {
  background-color: var(--border-gray);
}

.nav-social-icons img {
  width: 24px;
  height: 24px;
}

/* Add animation for social icons transition */
@keyframes slideInFromTop {
  0% {
    transform: translateX(-50%) translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutToTop {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50px);
    opacity: 0;
  }
}

.nav-social-icons.visible {
  animation: slideInFromTop 0.3s ease forwards;
}

.nav-social-icons.hidden {
  animation: slideOutToTop 0.3s ease forwards;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  /* For Firefox */
  scrollbar-width: none;
  scrollbar-color: transparent transparent;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  body * {
    cursor: auto !important; /* Reset cursor on mobile */
  }

  .splash-content {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 15px;
  }

  .splash-content img {
    max-width: 200px;
  }

  .glass-box {
    padding: 15px;
    width: 90vw;
    box-sizing: border-box;
  }

  .text-content {
    text-align: center; /* Center the text inside the box */
  }

  .social-icons {
    justify-content: center; /* Center the icons within their container */
  }

  .nav-social-icons {
    gap: 15px;
    padding: 8px 15px;
  }

  .nav-social-icons a {
    width: 32px;
    height: 32px;
  }

  .project-filter {
    flex-direction: column;
    height: auto;
    gap: 15px;
    padding: 15px 0;
  }

  .filter-pills {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Adjust project layouts */
  .project {
    width: 90% !important; /* Override any JS setting */
  }
}

/* Scroll Prompt Styles */
.scroll-prompt {
  position: fixed;
  bottom: 20px; /* Position slightly above the bottom edge */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0; /* Hidden by default */
  transition: opacity 0.5s ease-in-out;
  z-index: 99; /* Below cursor/nav but above most content */
  color: var(--text-color); /* Use existing text color */
  animation: bounce 2s infinite ease-in-out; /* Subtle bounce */
  pointer-events: none; /* Prevent interaction */
}

.scroll-prompt.visible {
  opacity: 0.7; /* Make it slightly transparent */
}

/* Bounce animation for the prompt */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}
