.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5em;
  min-height: 100vh;
  width: 100%;
  flex-direction: column;
}

.hero__container {
  display: flex;
  flex-wrap: wrap;
  gap: 25em;
  width: 100%;
}

.hero__name {
  font-size: 5em;
  font-weight: 800;
}

.hero__col {
  display: flex;
  flex-direction: column;
  /* flex: 1; */
  flex: 1 1 0;
  /* flex-basis: 0 thay vì auto */
  min-width: 0;
  box-sizing: border-box;
}

.hero__portrait {
  width: 280px;
  height: 380px;
  border-radius: 24px;
  background: var(--muted);
  z-index: 50;

  position: fixed;
  background-image: url('../images/me.png');
  background-size: cover;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__eyebrow {
  color: var(--muted);
}

.hero__meta {
  color: var(--muted);
}

.nav {
  position: fixed;
  bottom: 0;
  border-radius: 100px;
  gap: 2.5em;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  box-sizing: border-box;
  background: var(--surface);

  left: 50%;
  transform: translate(-50%, -50%);

  padding: 24px;
}

.nav a {
  transition: transform .15s ease;

  /* vì nav nằm ở đáy,
      item phải phình lên trên,
      không phình xuống dưới (sẽ bị tràn khỏi màn hình). 
    */
  transform-origin: bottom;
}

.nav a:hover {
  color: #3A2FE0;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-right {
  text-align: right;
}


.skills__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {

  /* từ tablet trở lên */
  .skills__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* Option 10 — Live Terminal background */
.hero__terminal {
  position: absolute;
  top: 48px;
  left: 56px;
  z-index: 1;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 540px;
  pointer-events: none;
  user-select: none;
}

.hero__terminal .term__prompt {
  color: #2FBF8F;
}

.hero__terminal .term__ai {
  color: var(--accent);
}

.hero__terminal .term__cmd {
  color: var(--ink);
}

.hero__terminal .term__out {
  color: #9A988F;
  padding-left: 16px;
}

.hero__terminal .term__caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--ink);
  vertical-align: -2px;
  animation: heroCaret 1s steps(1) infinite;
}

@keyframes heroCaret {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}