.header-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  width: 60%;
}

#github-avatar {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 3px solid var(--theme-color);
  object-fit: cover;
}

.hero-text h1 {
  margin: 0;
  font-size: 2rem;
}

.hero-text .subtitle {
  font-size: 1rem;
  opacity: 0.8;
}

#githubLink {
  transition: all 0.2s ease;
  width: 11em;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#githubLink a {
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  background-color: #181717;
  color: white;
  border: 1px solid #FAFAFA;
  text-decoration: none;
}

#githubLink a svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

#githubLink:hover a {
  background-color: var(--github-link-hover);
}

#githubLink:active a {
  background-color: var(--github-link-active);
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    width: 90%;
  }

  #github-avatar {
    width: 150px;
    height: 150px;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .hero-text .subtitle {
    font-size: 0.9rem;
    text-align: center;
  }

  #githubLink {
    width: 100%;
    justify-content: center;
  }
}