@font-face {
  font-family: minecraftFont;
  src: url(/personalWebsite/Fonts/Minecraft.ttf);
}

html,
body {
  /* Removes any sort of gap on all sides */
  margin: 0px;
  min-height: 100%;
  background-color: rgb(0, 0, 0);
}

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 60s linear infinite;
}

.marquee-track h1 {
  padding-right: 4rem;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

h1 {
  color: rgb(221, 221, 221);
  /*
    border: 1px solid rgb(221, 221, 221);
    border-radius: 1px;
    */
  font-family: "Roboto Mono", monospace;
  letter-spacing: 5px;
}
.uou-hover {
  transition: color 0.2s ease;
}

.uou-hover:hover {
  color: rgb(204, 0, 0);
  cursor: default;
}

.navbar {
  padding-top: 25px;
}

.navbar ul {
  list-style-type: none; /* This removes bullet points from hyperlinked basic nav*/
  background-color: black;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  font-family: "Roboto Mono", monospace;
  letter-spacing: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

nav {
  height: 80px;
  display: flex; /* Type of style of display */
  align-items: center;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: rgb(221, 221, 221);
  padding: 0.5rem 0; /* Vertical spacing for easier clicks */
}

.navbar a:hover {
  /* When hovering u can change attributes of ".navbar a"*/
  background-color: rgba(134, 134, 134, 0.541);
  border: 1px solid rgb(221, 221, 221);
  border-radius: 1px;
}

.navbar li {
  float: none;
}

p {
  color: rgb(238, 238, 238);
  font-family: "Roboto Mono", monospace;
}

.last-updated {
  margin: -24px auto 48px;
  text-align: center;
  letter-spacing: 2px;
  font-size: 0.9rem;
  opacity: 0.85;
}

li {
  color: rgb(238, 238, 238);
  font-family: "Roboto Mono", monospace;
}

h3 {
  color: rgb(238, 238, 238);
  font-family: "Roboto Mono", monospace;
}

h2 {
  color: rgb(238, 238, 238);
  font-family: "Roboto Mono", monospace;
  letter-spacing: 4px;
}

.projects {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, 1.2fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(238, 238, 238, 0.2);
}

.project-card:last-of-type {
  border-bottom: none;
}

.project-card.reverse {
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, 1fr);
}

.project-card.reverse .project-media {
  order: 2;
}

.project-media {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(238, 238, 238, 0.2);
  border-radius: 6px;
  padding: 12px;
}

.project-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

.project-content p {
  margin: 10px 0;
}

.project-content h3 a {
  color: rgb(255, 220, 50);
  text-decoration: none;
  font-size: 1.1rem;
}

.project-content h3 a:hover {
  opacity: 0.75;
}

/* ── About / Index page ─────────────────────────────────────── */

.about-hero {
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 0 24px;
  display: flex;
  gap: 48px;
  align-items: center;
}

.about-photo-wrap {
  flex-shrink: 0;
}

.about-photo {
  width: 260px;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  border: 1px solid rgba(238, 238, 238, 0.2);
  display: block;
}

.about-name {
  margin: 0 0 6px;
  font-size: 2rem;
  letter-spacing: 6px;
}

.about-tagline {
  margin: 0 0 20px;
  opacity: 0.55;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.about-bio {
  margin: 0 0 28px;
  line-height: 1.8;
  font-size: 0.95rem;
  opacity: 0.85;
}

.about-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-btn {
  font-family: "Roboto Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 4px;
  background-color: rgb(221, 221, 221);
  color: rgb(0, 0, 0);
  transition: opacity 0.15s;
}

.about-btn:hover {
  opacity: 0.75;
}

.about-btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(221, 221, 221, 0.2);
  transition: opacity 0.15s;
}

.about-btn--icon:hover {
  opacity: 0.75;
}

.social-icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  display: block;
}

.social-icon--invert {
  filter: invert(1);
}

.about-btn--outline {
  background-color: transparent;
  color: rgb(221, 221, 221);
  border: 1px solid rgba(221, 221, 221, 0.5);
}

.about-cards {
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  border: 1px solid rgba(238, 238, 238, 0.2);
  border-radius: 6px;
  padding: 24px 20px;
  background-color: rgba(255, 255, 255, 0.03);
}

.about-card h3 {
  margin: 0 0 14px;
  font-size: 0.85rem;
  letter-spacing: 3px;
  opacity: 0.7;
}

.about-card p {
  margin: 6px 0;
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ── Experience splash screen ─────────────────────────────── */

.exp-splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.exp-splash--exit {
  opacity: 0;
  transform: translateY(-30px);
}

.exp-splash-skip {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Roboto Mono", monospace;
  font-size: 0.7rem;
  color: rgba(238, 238, 238, 0.3);
  letter-spacing: 2px;
  white-space: nowrap;
  pointer-events: none;
}

.exp-splash-terminal {
  font-family: "Roboto Mono", monospace;
  font-size: 0.9rem;
  line-height: 2.2;
  text-align: left;
  min-width: 380px;
}

.exp-splash-line {
  white-space: nowrap;
}

.exp-splash-response {
  color: rgba(238, 238, 238, 0.35);
  font-size: 0.78rem;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s;
  margin-bottom: 6px;
}

/* ── Experience page redesign ──────────────────────────────── */

.exp-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 0;
  text-align: center;
}

.exp-terminal {
  font-family: "Roboto Mono", monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  text-align: left;
  display: inline-block;
}

.exp-prompt {
  color: rgba(238, 238, 238, 0.5);
}

.exp-typed {
  color: rgba(238, 238, 238, 0.85);
}

.exp-cursor {
  color: rgba(238, 238, 238, 0.7);
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.exp-output {
  color: rgba(238, 238, 238, 0.35);
  font-size: 0.78rem;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s;
  margin-top: 2px;
}

.exp-subtitle {
  font-size: 0.8rem;
  letter-spacing: 4px;
  opacity: 0.4;
  margin: 16px 0 0;
  text-transform: lowercase;
}

.exp-timeline {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px 80px;
  position: relative;
}


.exp-entry {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
}

.exp-entry:last-child {
  margin-bottom: 0;
}

.exp-index {
  flex-shrink: 0;
  width: 40px;
  font-family: "Roboto Mono", monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(238, 238, 238, 0.12);
  letter-spacing: 2px;
  padding-top: 22px;
  padding-right: 12px;
  text-align: center;
  position: relative;
}

.exp-index::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 32px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(238, 238, 238, 0.3);
  border: 1px solid rgba(238, 238, 238, 0.15);
}

.exp-card {
  flex: 1;
  border: 1px dashed rgba(238, 238, 238, 0.12);
  border-radius: 4px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

.exp-card:hover {
  border-color: rgba(238, 238, 238, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.exp-card-header {
  margin-bottom: 20px;
}

.exp-card-header h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-tag {
  font-family: "Roboto Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: rgba(238, 238, 238, 0.5);
  border: 1px solid rgba(238, 238, 238, 0.12);
  border-radius: 2px;
  padding: 3px 8px;
}

.exp-card-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}

.exp-card-body .project-media {
  padding: 8px;
}

.exp-card-body:not(:has(.project-media)) {
  grid-template-columns: 1fr;
}

.exp-card-body--wrap {
  display: block;
}

.exp-card-body--wrap p,
.exp-card-body--wrap ul {
  font-family: "Roboto Mono", monospace;
  color: rgba(238, 238, 238, 0.85);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 10px;
}

.exp-card-body--wrap ul {
  padding-left: 18px;
}

.exp-card-body--wrap li {
  font-size: 0.82rem;
  line-height: 1.7;
  opacity: 0.75;
}

.exp-media-float {
  float: right;
  width: 380px;
  margin: 0 0 16px 24px;
}

.exp-text p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.85;
}

.exp-label {
  font-size: 0.8rem !important;
  letter-spacing: 1px;
  opacity: 0.55 !important;
  margin-top: 14px !important;
}

.exp-tools {
  font-size: 0.75rem !important;
  letter-spacing: 2px;
  opacity: 0.45 !important;
  margin-top: 14px !important;
  border-top: 1px solid rgba(238, 238, 238, 0.08);
  padding-top: 10px;
}

.exp-text ul {
  margin: 4px 0 10px;
  padding-left: 18px;
}

.exp-text li {
  font-size: 0.82rem;
  line-height: 1.7;
  opacity: 0.75;
}

.exp-more {
  display: inline-block;
  margin-top: 16px;
  font-family: "Roboto Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: rgb(255, 220, 50);
  text-decoration: none;
  transition: opacity 0.15s;
}

.exp-more:hover {
  opacity: 0.65;
}

/* ── Language logo strip ─────────────────────────────────────── */

.exp-lang-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(238, 238, 238, 0.08);
}

.exp-lang-strip img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.exp-lang-strip img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

/* ── Expanded card sections ──────────────────────────────────── */

.exp-section {
  margin-top: 20px;
}

.exp-section--two-col {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  align-items: start;
}

.exp-section--reverse {
  grid-template-columns: 3fr 2fr;
}

.exp-section-text p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.85;
  color: rgb(238, 238, 238);
  font-family: "Roboto Mono", monospace;
}

.exp-section-text ul {
  margin: 4px 0 10px;
  padding-left: 18px;
}

.exp-section-text li {
  font-size: 0.82rem;
  line-height: 1.7;
  opacity: 0.75;
  color: rgb(238, 238, 238);
  font-family: "Roboto Mono", monospace;
}

.exp-section-divider {
  margin: 24px 0;
  border: none;
  border-top: 1px solid rgba(238, 238, 238, 0.08);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .project-card,
  .project-card.reverse {
    grid-template-columns: 1fr;
  }

  .project-card.reverse .project-media {
    order: 0;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery img {
    height: auto;
  }

  .about-hero {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
    padding: 0 16px;
  }

  .about-photo {
    width: 220px;
    height: 270px;
  }

  .about-intro {
    width: 100%;
    text-align: center;
  }

  .about-name {
    font-size: 1.6rem;
    letter-spacing: 3px;
  }

  .about-tagline {
    font-size: 0.8rem;
  }

  .about-bio {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .about-cards {
    grid-template-columns: 1fr;
    margin-top: 32px;
    padding: 0 16px 60px;
  }

  .scroll-indicator {
    right: 12px;
    height: 170px;
    width: 16px;
    padding: 2px;
  }

  .exp-timeline::before {
    display: none;
  }

  .exp-index {
    display: none;
  }

  .exp-entry {
    gap: 0;
  }

  .exp-card-body {
    grid-template-columns: 1fr;
  }

  .exp-media-float {
    float: none;
    width: 100%;
    margin: 0 0 16px 0;
  }

  .marquee-track h1 {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
  }

  .about-links {
    flex-direction: column;
    align-items: stretch;
  }

  .about-btn,
  .about-btn--outline {
    text-align: center;
  }

  .about-btn--icon {
    align-self: flex-start;
  }
}
