html {
  height: 100%;
  width: 100%;
}

body {
  background-color: black;
  color: white;
  font-family: "JetBrains Mono", monospace;
}

.Name {
  margin-bottom: 0;
}

.Subtitle {
  margin-top: 0;
  color: gray;
} 

.Why, .What, .How {
  margin-bottom: 0.2rem;
  text-decoration: underline;
}

.WhyExplanation, .HowExplanation {
  margin-top: 0;
  padding-left: 2.5rem;
  width: 75%;
}

.WhatExplanation {
  margin-top: 0;
  margin-bottom: 0.2rem;
  margin-left: 0.4rem;
}

.TitleRow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.TitleRow h2 {
  margin: 0;
}

.ImageLink img {
  width: auto;
  display: block;
}

.GithubLink {
  height: 2em;
}

.HomeLink {
  filter: invert(100%);
  height: 1.7em;
}

a:not(.ImageLink) {
  color: #5877a3;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.2s ease;
}

a:not(.ImageLink)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.01);
  transform-origin: left;
  transition: transform 0.35s ease;
}

a:not(.ImageLink):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

a:not(:hover, .ImageLink)::after {
  transform: scaleX(0);
  transform-origin: right;
}
