
nav ul li a {
  position: relative;
  overflow: hidden;
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
  left: 0;
}
@keyframes gradientAnimation {
  0% { background-position: 0% 0%; }
  25% { background-position: 100% 100%; }
  50% { background-position: 0% 100%; }
  75% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.neon-gradient {
  background: linear-gradient(45deg, #1405e9, #eeff00, #ff0000, #d400ff, #2600ff);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientAnimation 5s infinite ease-in-out;
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.bounce {
  animation: bounce 1s ease;
}

/* Custom Tailwind Classes for Animations */
@keyframes typewriter {
  from {
    width: 0;
  }   
   
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}


.gradient-text {
  background: linear-gradient(to right, red, blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.animate-floating-slow {
  animation: float 4s ease-in-out infinite;
}

/* Simple hover effect */
img:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
}

/* Keyframes for slow floating effect */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
.typewriter p {
  animation: typewriter 4s steps(40, end) 1s 1 normal both,
    blink 500ms steps(40, end) infinite;
}

.blinking-cursor::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 1em;
  background-color: #0f0;
  margin-left: 2px;
  animation: blink 1s steps(2, start) infinite;
}

.terminal-body {
  overflow-y: auto;
  max-height: 210px;
}

@keyframes fill {
  from {
      width: 0%;
  }
  to {
      width: var(--progress);
  }
}

.progress-bar {
  transition: width 1s ease;
  width: 0; /* Start at 0% width */
  height: 100%;
  background-color: inherit; /* Ensure the color is inherited */
}

/* Blinking indicator */
.blink {
  animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
  display: none;
}
.curve {
  content: '';
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: 100%;
  background-color: #0f0f10;
  height: 85%;
}
#terminal-container {
    background: rgba(15, 15, 15, 0.8); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
}

#terminal-header {
    background: rgba(50, 50, 50, 0.7); /* Semi-transparent header */
}

header {
    background: rgba(50, 50, 50, 0.7); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
}

.gradient-text {
    background: linear-gradient(45deg, red, blue);
    -webkit-background-clip: text;
    color: transparent;
}

@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

/* Custom CSS for tree structure */
.tree ul {
  padding-top: 20px;
  position: relative;
  transition: all 0.5s;
}

.tree li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 5px 0 5px;
  transition: all 0.5s;
}

.tree li::before, .tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 2px solid #4CAF50;
  width: 50%;
  height: 20px;
}

.tree li::after {
  right: auto;
  left: 50%;
  border-left: 2px solid #4CAF50;
}

.tree li:only-child::after, .tree li:only-child::before {
  display: none;
}

.tree li:only-child {
  padding-top: 0;
}

.tree li:first-child::before, .tree li:last-child::after {
  border: 0 none;
}

.tree li:last-child::before { 
  border-right: 2px solid #4CAF50;
  border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
  border-radius: 5px 0 0 0;
}

.tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 2px solid #4CAF50;
  width: 0;
  height: 20px;
}

.tree li span {
  border: 2px solid #4CAF50;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  display: inline-block;
  border-radius: 5px;
  transition: all 0.5s;
}

.tree li span:hover, .tree li span:hover + ul li span {
  background: #4CAF50;
  color: #fff;
  border: 2px solid #4CAF50;
}

.tree li span:hover + ul li::after, .tree li span:hover + ul li::before, .tree li span:hover + ul::before, .tree li span:hover + ul ul {
  border-color: #4CAF50; /* Example style */
}