/* css styles */
.grid-image {
  width: 250px;          /* fixed width */
  height: 250px;         /* fixed height */
  object-fit: cover;     /* crop the image to fill box without stretching */
  object-position: center; /* crop from the center */
  display: block;        /* remove inline spacing */
}


.project-grid {
  column-count: 3;          /* number of columns */
  column-gap: 20px;         /* gap between columns */
}

.project-card {
  display: inline-block;    /* important for masonry column layout */
  width: 100%;              /* fills column width */
  margin-bottom: 20px;      /* vertical spacing */
  text-align: center;       /* centers the title horizontally */
}

.project-card img {
  width: 100%;
  height: auto;             /* natural height, keeps aspect ratio */
  display: block;
  object-fit: cover;
  object-position: center;
  margin-bottom: 10px;      /* space between image and title */
}

.project-card-title {
  display: flex;
  justify-content: center;  /* horizontal centering */
  align-items: center;      /* vertical centering */
  text-align: center;
  font-weight: bold;
  font-size: 1em;
}

h1 { font-weight: bold; font-size: 24pt; } /* Bold large font */
strong, b { font-weight: bold; } /* Ensure bold is bold */

/* Resume download button */
.resume-download {
  background: #6f42c1;          /* change hex for color */
  color: #ffffff !important;
  border: 0;
  border-radius: 999px;          /* pill shape */
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-block;
}

.resume-download:hover {
  filter: brightness(0.92);
}

.resume-download:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
}

/* Two-column resume layout */
.resume-layout {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 28px;
  align-items: start;
}

.resume-sidebar {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
}

.resume-main h3 {
  margin-top: 1.2rem;
}

/* Mobile: stack columns */
@media (max-width: 900px) {
  .resume-layout {
    grid-template-columns: 1fr;
  }
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding-left: 0;
}


.experience-points {
  list-style: none;
  padding-left: 0;
  margin-top: 0.5rem;
}

.experience-points li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.experience-points li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #6f42c1;
  font-weight: bold;
}


.two-column-list {
  columns: 2;
  column-gap: 20px;
  font-size: 12px;
  
}


.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #6f42c1, transparent);
  margin: 24px 0;
}

/*align prof exp and education headers*/
.resume-main { padding-top: 18px; }

.tag-list li {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.1;
}

/* Skill bucket colors (MATCHING HTML) */

.tag--proto {
  background: rgba(0, 172, 193, 0.16);
  color: rgb(0, 172, 193);
}

.tag--mfg {
  background: rgba(25, 118, 210, 0.14);
  color: rgb(25, 118, 210);
}

.tag--test {
  background: rgba(255, 143, 0, 0.16);
  color: rgb(255, 143, 0);
}

.tag--code {
  background: rgba(180, 89, 89, 0.14);
  color: rgb(163, 50, 122);
}

.tag--cad {
  background: rgba(156, 39, 176, 0.14);
  color: rgb(156, 39, 176);
}

.tag--lab {
  background: rgba(46, 125, 50, 0.14);
  color: rgb(46, 125, 50);
}

.tag--lead {
  background: rgba(84, 110, 122, 0.16);
  color: rgb(84, 110, 122);
}


/* Optional: make tag "keys" look identical but a touch smaller */
.tag-key li { font-size: 0.85rem; }

/* Tighter spacing for tag rows in the experience column */
.resume-main .tag-list {
  margin: 0.35rem 0 0.6rem;
}

.tag-legend-title {
  font-weight: 700;
  font-size: 0.78rem;   /* smaller title */
  margin-bottom: 6px;
  color: #333;
}


/* Floating skill legend (light, compact) */
.tag-legend {
  position: fixed;
  top: 72px;          /* slightly closer to top */
  right: 14px;
  z-index: 9999;

  padding: 8px 9px;  /* reduced height */
  border-radius: 12px;

  background: #ffffff;                     /* pure light theme */
  border: 1px solid rgba(0, 0, 0, 0.08);   /* subtle border */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

  max-width: 200px;   /* smaller footprint */
}
 

@media (prefers-color-scheme: dark) {
  .tag-legend {
    background: rgba(229, 223, 223, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  }
}

/* so it doesn't show up on phones */
/*@media (max-width: 700px) {
  .tag-legend {
    display: none;
  }
}*/

.tag-legend .tag-list {
  margin: 0;
  gap: 5px;
}

.tag-legend .tag-list li {
  font-size: 0.72rem;    /* smaller text */
  padding: 4px 8px;     /* shorter height */
  font-weight: 600;
}

.tag-legend .tag-list li {
  opacity: 0.9;
}

