.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1,
.hero h2 {
  margin: 0;
  font-family: "VT323", monospace;
}

.hoverable {
  transition: transform 0.2s ease;
}

.hoverable:hover {
  transform: translateY(-4px);
}

section {
  flex-direction: row;
}

.hero-container {
  display: flex;
}

.hero-text-container {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 780px) {
  .hero-emoji-container {
    display: none;
  }
}

.skills-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroller {
  width: 700px;
  max-width: 90vw;
}

.scroll-item {
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  padding-block: 10px;
  border-radius: 10px;
}

.project-section {
  flex-direction: column;
  align-items: center;
}

.project-timeline {
  position: relative;
  width: 70vw;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-evenly;
  padding-top: 10px;
}

/* The connecting track line */
.project-timeline::before {
  content: "";
  position: absolute;
  top: 17px;
  /* aligns with center of the dot */
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--color-accent);
}

.project-element {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  transition: transform 0.2s ease;
}

.project-element:hover {
  transform: translateY(-4px);
}

/* Dot marker on the timeline track */
.project-element::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-bg);
  outline: 2px solid var(--color-accent);
  flex-shrink: 0;
}

.project-element a {
  font-family: "VT323", monospace;
  font-size: 1.4rem;
  text-align: center;
}

.project-dates {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 830px) {
  .project-timeline {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .project-timeline::before {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 2px;
    height: auto;
  }

  .project-element {
    margin-block: 20px;
  }

  .learning-hobby-section {
    flex-direction: column;
    align-items: center;
  }
}

.learning-hobby-section {
  justify-content: space-evenly;
}

.fastfetch{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
  gap: 1rem;
  height: max-content;
}
.setup-section{
  flex-direction: column;
  justify-content: center;
}
.fastfetch-arch-ascii {
  font-size: 1.3rem;
  display: flex;
  justify-content: flex-end;
}
.fastfetch-arch-ascii pre {
  margin-right: 10px;
  width: max-content;
}
.fastfetch-dividor{
  background-color: var(--color-accent);
  width: 1px;
  min-height: 100%;
}

.fastfetch-arch-ascii,
.fastfetch-specs {
  width: 50%;
}

@media (max-width: 540px){
  .fastfetch-arch-ascii{
    display: none;
  }

  .fastfetch-dividor{
    display: none;
  }
  .setup-section{
    align-items: center;
  }
  .fastfetch-specs{
    width: max-content
  }

}
.github-section {
  flex-direction: column;
  align-items: center;
}

.contrib-graph {
  width: 80vw;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.contrib-graph svg {
  width: 100%;
  height: auto;
}

.contrib-graph rect[style*="#EEEEEE"] {
  fill: transparent !important;
  stroke: var(--color-accent);
  stroke-width: 0.5;
}

.contrib-graph rect[data-score] {
  rx: 2;
}

.repo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  width: 80vw;
  max-width: 900px;
}

.repo-card {
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.repo-card a {
  font-family: "VT323", monospace;
  font-size: 1.4rem;
  color: var(--color-accent);
  text-decoration: none;
}

.repo-card a:hover {
  text-decoration: underline;
}

.repo-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.repo-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  margin-top: auto;
  padding-top: 6px;
}

.repo-lang {
  color: var(--color-link);
}

.repo-stars {
  color: var(--color-text-muted);
}

.end-section {
  justify-content: space-evenly;
}

.links-section {
  flex-direction: row;
  justify-content: space-evenly;
  padding-bottom: 4rem;
}

.links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.links-list a::before {
  content: "> ";
}

.tag-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.tag-group h2 {
  text-align: center;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag {
  font-family: "Anonymous Pro", monospace;
  font-size: 1rem;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  padding: 2px 10px;
  background-color: transparent;
}

.tag::before {
  content: "[";
  margin-right: 2px;
}

.tag::after {
  content: "]";
  margin-left: 2px;
}
.blog-section{
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 50vh;
}
