:root {
  --bg-color: black;
  --text-color: white;
  --card-bg: linear-gradient(to bottom, #1a1a1a, #000);
  --card-shadow: rgba(0,0,0,1);
  --gradient-colors: linear-gradient(to right, #fff371, #ff8e43, #ff4848, #ff8e43, #fff371);
  --nav-bg: linear-gradient(to bottom, #000, #1a1a1a);
  --nav-link-color: white;
  --nav-link-hover: #ff8e43;
  --nav-divider: white;
}

body.light-mode {
  --bg-color: white;
  --text-color: black;
  --card-bg: linear-gradient(to bottom, #fff, #ddd);
  --card-shadow: rgba(0,0,0,0.1);
  --gradient-colors: linear-gradient(to right, #7FDBFF, #39A2DB, #4A90E2, #39A2DB, #7FDBFF);
  --nav-bg: linear-gradient(to bottom, #f0f0f0, #d6d6d6);
  --nav-link-color: black;
  --nav-link-hover: #3399FF;
  --nav-divider: black;
}


html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg-color);
    color: var(--text-color);
}

#particles-js {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgb(26, 26, 26);
    z-index: 0;
    filter: blur(1px);
    pointer-events: none;
}


#particles-js canvas {
    filter: drop-shadow(0 0 6px #ffffff);
}

.title-text-v1 {
    text-align: center;
    font-size: 30px;
    font-family: Roboto, sans-serif;
    font-weight: bold;
    color: white;
    position: relative;
    margin-top: -35%;
    text-shadow: 0px 0px 10px rgba(255,255,255,0.55);
}

.unhighlightable {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.My-Name {
    text-align: center;
    font-size: 50px;
    font-family: Roboto, sans-serif;
    font-weight: bold;
    color: white;
    position: relative;
    margin-top: -60px;
    text-shadow: 0px 0px 10px rgba(255,255,255,0.55);
}

.basic-text-v1 {
    text-align: center;
    font-size: 15px;
    font-family: Roboto, sans-serif;
    font-weight: normal;
    color: rgb(207, 207, 207);
    position: relative;
    animation: fade-in 1s ease-out forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.thank-you {
    text-align: center;
    font-size: 20px;
    font-family: Roboto, sans-serif;
    color: white;
    position: relative;
    margin-bottom: 50px;
    margin-top: -60px;
    text-shadow: 0px 0px 10px rgba(255,255,255,0.55);
}

.basic-card {
  position: relative;
  background: var(--card-bg);
  box-shadow: 1px 0px 26px -11px var(--card-shadow);
  margin: 150px auto 0 auto;
  padding: 20px;
  overflow-x: visible;
  overflow: visible;
}

.basic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #1A1A1A, #ffffff, #1A1A1A);
}

.gradient-text {
    background: var(--gradient-colors);
    background-size: 200%;
    background-clip: text;
    font-size: 30px;
    font-weight: bold;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
    text-shadow: 0px 0px 10px #FFA243;
}

@keyframes animate-gradient {
    to {
        background-position: 200%;
    }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to bottom, #000000, #1a1a1a);
  display: flex;
  align-items: center;
  padding: 0 30px;
  z-index: 999;
  overflow: hidden;
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(to right, #ffffff, #ffffff, #ffffff);
}

.navbar .logo {
  font-size: 28px;
  font-weight: bold;
  color: #ffaa00;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 20px;
}

.nav-links li {
  position: relative;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.nav-links li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 1px;
  background-color: #ffffff;
}

.nav-links li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ff8e43;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
  }
}

#about {
  position: relative;
  top: 32px;
}

#projects {
  position: relative;
  top: -90px;
}

.email-text-v2 {
  position: relative;
  display: block;
  color: white;
  font-size: 20px;
  opacity: 0.5;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: max-content;
  margin: 0 auto;
}

.email-text-v2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: white;
  transition: all 0.4s ease;
}

.email-text-v2:hover {
  opacity: 1;
  transform: scale(1.05);
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.email-text-v2:hover::after {
  width: 100%;
}

hr.new1 {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #131313, white, #131313);
  margin-top: 60px;
  width: 0%;
}

hr.new1.animate {
  animation: animate-line 1s forwards;
}

@keyframes animate-line {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}