* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  padding: 30px 40px;
  display: flex;
  gap: 30px;
  z-index: 1000;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease, opacity 0.3s ease;
}

.navbar a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  max-width: 1000px;
}

.hero-image {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.2rem;
  color: #888;
  max-width: 600px;
  font-weight: 300;
  margin-bottom: 20px;
}

.skills-section,
.resume-section,
.contact-section {
  padding: 70px 40px;
  max-width: 1000px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 50px;
  font-weight: 600;
  letter-spacing: -1px;
}

.skill-item {
  margin-bottom: 50px;
  padding-top: 30px;
  position: relative;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
}

.skill-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #fff;
  animation: loadLine 2s ease-in-out infinite;
}

@keyframes loadLine {
  0% { width: 0; }
  50% { width: 100%; }
  100% { width: 100%; }
}

.skill-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.skill-item p {
  color: #888;
  font-size: 0.95rem;
  font-weight: 300;
  max-width: 700px;
}

.job-entry {
  margin-bottom: 60px;
}

.job-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.job-title {
  font-weight: 600;
}

.job-date {
  font-weight: 600;
  font-size: 0.9rem;
}

.resume-section ul {
  list-style: none;
}

.resume-section li {
  color: #888;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.resume-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #fff;
}

.contact-section {
      padding: 100px 40px 80px;
      max-width: 1000px;
      position: relative;
    }

    .contact-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: #333;
    }

    .contact-section::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: #fff;
      animation: loadLine 2s ease-in-out infinite;
    }

    .contact-section p {
      font-size: 1.1rem;
      color: #888;
      margin-bottom: 30px;
      font-weight: 300;
    }

    .contact-section a {
      color: #fff;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 500;
      border-bottom: 2px solid #fff;
      padding-bottom: 2px;
      transition: opacity 0.3s;
    }

    .contact-section a:hover {
      opacity: 0.6;
    }

@media (max-width: 768px) {
  .navbar {
    position: fixed; /* already fixed, just to be sure */
    top: 0;          /* stick to top */
    left: 50%;       /* center horizontally */
    transform: translateX(-50%);
    padding: 12px 16px;
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    z-index: 1000;   /* ensure it stays on top */
    width: 300px;     /* or set a fixed width if you want */
  }

  .navbar a {
    font-size: 11px;
  }

  .hero {
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .skills-section,
  .resume-section,
  .contact-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
}

/*
make highlighting be blue
*/

::selection {
  background: white;
  color: black;
 
}