@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap');


:root {
  --bg: #0d0d1a;           /* almost-black indigo */
  --sidebar-bg: #1a1a2e;   /* deep blue-black */
  --content-bg: #16213e;   /* dark indigo */
  --accent: #FFD700;       /* arcade yellow */
  --text: #f0f0f0;         /* soft light gray */
  --border: #273c75;       /* muted royal blue */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  /* font-family: sans-serif; */
  font-family: 'Noto Sans SC', sans-serif;

  background: var(--bg);
  color: var(--text);
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.center-text {
  text-align: center;
}

/* TOP TABS */
.tabs {
  display: flex;
  justify-content: center;
  background: var(--sidebar-bg);
  border-bottom: 1px solid var(--border);
}
.tabs a {
  padding: 0.8rem 1rem;
  text-decoration: none;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.75rem;
  color: var(--accent);
}
.tabs a:hover {
  background: var(--accent);
  color: var(--sidebar-bg);
}

.layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  /* gap: 1rem; */
}

/* LEFT COLUMN */
.sidebar {
  width: 280px;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  padding: 1rem 1rem 1rem 4rem;
  overflow-y: auto;
}

.avatar {
  width: 200px;            /* choose your square size */
  height: 200px;
  border-radius: 15%;      /* makes it circular */
  object-fit: cover;       /* scale & crop to fill the box */
  object-position: center; /* center the crop */
  border: 3px solid var(--accent);
  margin-bottom: 1rem;
  /* border-radius: 8px; */
  image-rendering: pixelated;
}
.avatar-name {
  font-family: 'Press Start 2P', cursive !important;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #33cc33;
  text-align: center;
  margin: 0.5rem 0 1rem;
  line-height: 1.2;
}
.sidebar h2 {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.pixel-list { list-style: none; }
.pixel-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}
.char-icon {
  width: 24px;
  height: 24px;
  margin-right: 0.5rem;
  image-rendering: pixelated;
}
.skill-ai { background: url('icons/ai.png') no-repeat center; }
.skill-contrast { background: url('icons/contrast.png') no-repeat center; }
.skill-ros { background: url('icons/ros.png') no-repeat center; }
.skill-pixel { background: url('icons/pixel.png') no-repeat center; }
.interest-basketball { background: url('icons/basketball.png') no-repeat center; }
.interest-travel { background: url('icons/travel.png') no-repeat center; }

/* RIGHT COLUMN */
.content {
  flex: 1;
  background: var(--content-bg);
  padding: 1.5rem;
  overflow-y: auto;
  position: relative;
  padding-right: 280px;   /* width of scroll (240px) + 40px gap */
}
.content section { margin-bottom: 2rem; }
.content h1 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.tagline {
  font-size: 1.2rem;
  color: #aaaaaa;
  margin-bottom: 1rem;
}
.content h2 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.content ul { padding-left: 1.2rem; }
.content li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.content a {
  color: var(--accent);
  text-decoration: none;
}
.content a:hover {
  text-decoration: underline;
}
.content p {
  margin-bottom: 1.2rem;
}
.keyword {
  color: #33cc33; /* green */
  /* font-weight: bold; */
}

.mission-scroll {
  position: fixed;
  top: 5rem;         /* adjust to sit below your tabs/nav */
  right: 2rem;       /* distance from the viewportˇ¦s right edge */
  width: 240px;
  background: url('assets/scroll.png') no-repeat center top;
  background-size: cover;
  padding: 3rem 1rem 1rem;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
  z-index: 10;       /* keep it above other content */
}

/* preserve your existing mission-list styling */
.mission-list {
  list-style: none;
  padding: 0;
  padding-left: 0;
  margin-left: 0;
}

.mission-list li {
  margin: 0.6rem 0;
}
.mission-scroll h2 {
  font-family: 'Press Start 2P', cursive;
  font-size: 1rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1rem;
}

.main-sections {
  margin-right: 0;
}
.publications-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-item {
  display: flex;
  align-items: center;     /* centers image and text vertically */
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;               /* space before divider */
  border-bottom: 1px solid var(--border);
}

.pub-image img {
  width: 200px;
  height: auto;
  object-fit: cover;
  border: 2px solid var(--accent);
  margin-right: 1rem;
}

.pub-details h3 {
  margin: 0 0 0.5rem;
}

.pub-details p {
  margin: 0.3rem 0;
  line-height: 1.4;
}

.pub-details ul {
  margin: 0.3rem 0 0.3rem 1.2rem;
}

.pub-details ul li {
  margin-bottom: 0.3rem;
}

/* Experience list styling */
.experience-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.exp-item {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom:1rem;
  padding-bottom: 1rem;               /* space before divider */
  border-bottom: 1px solid var(--border);
}

.exp-thumb img {
  width: 60px;        /* smaller thumbnail */
  height: auto;
  align-items: center;
  object-fit: cover;
  border: 2px solid var(--accent);
  border-radius: 4px;
  margin-right: 1rem;
}

.exp-details p {
  margin: 0 0 0.5rem;
  font-weight: bold;
}

.exp-details ul {
  margin: 0;
  padding-left: 1.2rem;
}

.exp-details li {
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .layout {
    flex-direction: column;  /* stack sidebar above content */
  }
  .sidebar {
    width: 100%;
    padding: 1rem;        /* uniform padding */
  }

  /* Stack avatar + skills in a row filling 100% */
  .sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;     
    margin: 0 1rem 0 0;
    flex-shrink: 0;
    margin-bottom: 1 rem;
    
  }

  .pixel-list {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .content {
    width: 100%;             /* full-width panels */
    padding: 1rem;           
    border-right: none;
    padding-right: 0;
  }
  .mission-scroll {
    display: none;           /* hide on mobile */
  }
  .pub-item, 
  .exp-item {
    flex-direction: column;   /* stack image then details */
    align-items: center;      /* center-align both */
  }
  .pub-image, 
  .exp-thumb {
    margin: 0 0 1rem 0;       /* space below the image */
  }
  .pub-image img,
  .exp-thumb img {
    width: 200px;              /* or any mobile-friendly size */
    height: auto;
  }
  body {
    height: auto;            /* remove the 100vh lock */
    overflow-y: auto;
  }

  /* Disable internal scrolling on those panels */
  .content,
  .sidebar {
    overflow-y: visible;     /* let them grow, not scroll internally */
  }
  .tabs {
    display: none !important;
  }
}

