body {
  font-family: "Source Sans Pro", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.intro h1 {
    color: #538d4e;
    margin-top: 3rem;
    text-align:  center;
    font-size: 1.5rem;
    font-style: italic;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  

  /* “glass” dark header */
  background: rgba(18, 18, 19, 0.75);
  backdrop-filter: blur(10px);

  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.site-header a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  
  transition: background 0.2s;
}


/* inner container keeps items near the sides on wide screens */
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;

  padding: 14px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}


.brand-name {
  font-family: monospace, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #138b08;
  font-size: x-large;

  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(173, 173, 173, 0.08);
  transform: translateY(-1px);
  
  margin-left: 6px;
  background: rgba(110, 117, 134, 0.16);
  border: 1px solid rgba(83, 91, 110, 0.16);

}

.brand-name:hover {
  background: rgba(173, 173, 173, 0.08);
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}


/* nav (right) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* consistent link styling (don’t let global a:link override header) */
.nav-link {
  font-family: "Source Sans Pro", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;

  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;

  padding: 10px 12px;
  border-radius: 10px;

  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover {
  background: rgba(173, 173, 173, 0.08);
  color: #1dad10;
  transform: translateY(-1px);
}

/* looks like a button, but stays subtle */
.nav-link {
  margin-left: 6px;
  background: rgba(110, 117, 134, 0.16);
  border: 1px solid rgba(83, 91, 110, 0.16);
  color: rgba(255, 255, 255, 0.92);
}

.nav-link:hover {
  background: rgba(83, 141, 78, 0.25);
}

/* small screens: tighten spacing and allow wrapping if needed */
@media (max-width: 520px) {
  .nav-inner {
    padding: 12px 14px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-link {
    padding: 9px 10px;
    font-size: 0.9rem;
  }
}




main a:link { color: #138b08; font-weight: bold; }
main a:visited { color: rgb(13, 78, 199); }
main a:hover { color: black; }
main a:active { color: pink; }


#about {
  display: flex;
  font-size: large;
  justify-content: center;
  padding: 1rem;
}

.about-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    margin-top: 3rem;
    gap: 2rem;
    align-items: center;

    background-color: #c3cac7;
    padding: 2rem;
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;

    border: 2px solid #538d4e;

}

.intro-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;  
  border: 2px solid #538d4e;  
}


#experience {
  display: flex;
  font-size: large;
  justify-content: center;
  padding: 3rem;
}

.experience-card {
  background-color: #c3cac7;
  padding: 2rem;
  border-radius: 12px;
  max-width: 1000px;
  width: 100%;
  border: 2px solid #538d4e;
  margin-bottom: 4rem;

  color: #121213;
  line-height: 1.6;
}

.experience-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.experience-card ul {
  padding-left: 1.2rem;
}

.experience-card li::marker {
  color: #538d4e;
}

#projects {
  display: flex;
  font-size: large;
  justify-content: center;
  padding: 3rem;
}
.projects-card {
  background-color: #c3cac7;
  padding: 2rem;
  border-radius: 12px;
  max-width: 1000px;
  width: 100%;
  border: 2px solid #538d4e;
  margin-bottom: 4rem;

  color: #121213;
  line-height: 1.6;
}

.projects-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.projects-card ul {
  padding-left: 1.2rem;
}

.projects-card li::marker {
  color: #538d4e;
}

#contact {
  display: flex;
  font-size: large;
  justify-content: center;
  padding: 3rem;
  margin-bottom: 5rem;
}

.contact-card {
  background-color: #c3cac7;
  padding: 2rem;
  border-radius: 12px;
  max-width: 1000px;
  width: 100%;
  border: 2px solid #538d4e;

  color: #121213;
  line-height: 1.6;
}

.contact-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.contact-card ul {
  padding-left: 1.2rem;
}

.contact-card li::marker {
  color: #538d4e;
}



#name-wordle {
  font-family: sans-serif, Arial, Helvetica;
}
#name-wordle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 2rem; 
    gap: .5rem;
}

.wordle-row {
    display: grid;
    grid-template-columns: repeat(5, 61px); /* 5 tiles */
    gap: .5rem;
}

.wordle-title {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 61px;
  gap: 0.5rem;
  margin-top: 2rem;
  justify-content: center;
}

#name-wordle .tile {
    width: 62px;
    height: 62px;
    display: flex;
    border: 1px solid #494949;

    align-items: center; /* centers vertically */
    justify-content: center;

    background-color: transparent;
    
    font-size: 2.2rem;
    font-weight: bold;
    color: transparent;
}

/* what's rotated */
#name-wordle .tile .flip {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 2.2rem;
  font-weight: bold;
  border: 2px solid #494949;

  color: white; /* hidden before reveal */

  background-color: transparent;

  transform-style: preserve-3d;
  transform-origin: center;
  transform: rotateX(90deg); /* flipped down initially */
}


.tile .flip.reveal {
    animation: flip-in 1s ease forwards;
    color: white;
}

#name-wordle .flip.reveal.green  { background-color: #538d4e; }
#name-wordle .flip.reveal.yellow { background-color: #c9b458; }
#name-wordle .flip.reveal.gray   { background-color: #404040; }


@keyframes flip-in {
  0% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}