@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --background-color: #3a3a3a;
  --text-color: #fff;
  --primary-color: #ffff00;
  --border-color: #202020;
  --card-background: #1b1a1a;
  --hover-background: #3d3d3d;
  --online-color: #00ff00;
}



body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
}

.section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1,
h2,
h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

h1 {
  font-size: 3em;
  margin-bottom: 10px;
  line-height: 1.2;
}

h2 {
  font-size: 2em;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-bottom: 25px;
}

h2 small {
  font-size: 11px;
  color: var(--text-color);
}


h3 {
  font-size: 1.5em;
}

/* SVG */
svg {
  fill: #fff;
  width: 20px;
  height: 20px;
}

/* Canvas styles */
#background-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

/* The main content container */
.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Header Styling */
header {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}


.greeting-status {
  position: relative;
  margin-bottom: 10px;
}

.status-content {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.9em;
  color: var(--online-color);
  padding: 2px 6px;
  z-index: 1;
}

.status-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  z-index: -1;
  border-radius: 4px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--online-color);
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.main-heading {
  font-size: 3.5em;
  /* Larger, more impactful */
  margin-bottom: 20px;
  color: var(--text-color);
  /* Ensures text color contrast */
}

/* Specific highlight for name (similar to example) */
.main-heading span {
  color: var(--primary-color);
}

.intro-paragraph {
  font-size: 1.1em;
  margin-top: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  /* Pill shape */
  text-decoration: none;
  color: var(--text-color);
  background-color: var(--card-background);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-button:hover {
  background-color: var(--hover-background);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.social-button .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  filter: invert(var(--theme-icon-invert, 0));
  /* Adjust icon color for light theme */
}

/* Timeline Styling */
.timeline {
  position: relative;
  padding-left: 35px;
  /* Increased padding for better spacing */
  border-left: 3px solid var(--border-color);
  /* Thicker line */
}

.timeline-item {
  margin-bottom: 40px;
  /* More space between items */
  position: relative;
  opacity: 0;
  /* Hidden by default for animation */
  transform: translateY(20px);
  /* Start slightly below for slide-in */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  /* Animation properties */
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -50px;
  /* Adjust to align with the line */
  top: 8px;
  /* Vertical alignment */
  width: 20px;
  /* Larger circle */
  height: 20px;
  /* Larger circle */
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 4px solid var(--background-color);
  /* Thicker border, matches background to cover line */
  box-shadow: 0 0 0 4px var(--primary-color);
  /* Subtle glow effect */
  transition: transform 0.3s ease-in-out;
  /* For hover/active state */
}

.timeline-item:hover::before {
  transform: scale(1.2);
  /* Pop out on hover */
}

.timeline-date {
  font-weight: 700;
  /* Bolder date */
  color: var(--primary-color);
  margin-bottom: 8px;
  /* More space */
  font-size: 1.1em;
  /* Larger date font */
}

.timeline-content {
  background-color: var(--background-color);
  /* Lighter background for content card */
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  /* More space */
  color: var(--text-color);
  font-size: 1.4em;
  font-weight: 600;
}

.timeline-content p {
  margin-bottom: 10px;
  color: var(--text-color);
}

.timeline-content ul {
  margin: 0;
  padding-left: 25px;
  /* More padding for list items */
  list-style-type: disc;
  color: var(--text-color);
}

.timeline-content ul li {
  margin-bottom: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    margin: 20px auto;
    padding: 15px;
  }

  h1 {
    font-size: 2em;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline-item::before {
    left: -40px;
    width: 16px;
    height: 16px;
    top: 6px;
  }

  .timeline-date {
    font-size: 1em;
  }

  .timeline-content h3 {
    font-size: 1.2em;
  }
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.tech-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background-color: var(--border-color);
  color: var(--text-color);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8em;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  text-align: center;
}

.tech-item {
  background-color: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.tech-icon {
  width: 40px;
  height: 40px;
  /* You might need to apply a filter to make icons visible on dark background if they are originally dark */
  filter: invert(var(--theme-icon-invert, 0.8));
  /* Adjust for icon visibility */
}

/* Footer Styling */
.footer {
  position: relative;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9em;
  color: var(--text-color);
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  border-radius: 8px 8px 0 0;
}

/* Media Queries for Responsiveness (Basic Example) */
@media (max-width: 768px) {
  header {
    padding: 20px 10px;
  }

  .main-heading {
    font-size: 2.5em;
  }

  .social-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-button {
    width: 80%;
    margin: 0 auto;
  }

  .section {
    margin: 20px auto;
    padding: 15px;
  }

  .timeline {
    padding-left: 15px;
  }

  .timeline-item::before {
    left: -20px;
  }

  .projects-grid,
  .tech-grid {
    grid-template-columns: 1fr;
    /* Stack columns on small screens */
  }

}