body {
  margin: 0;
  padding-top: 4rem;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;

  background: #000;
  color: #fff;
}

.bodyContent {
  max-width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 2rem;
}

a {
  color: unset;
  text-decoration: none;
}

.imgLoaded+.imgAlt {
  display: none;
}

/* @font-face {
  font-family: Bahnschrift-VF;
  src: url(/Bahnschrift-VF.ttf);
} */

.title {
  align-self: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1rem;

  text-align: center;
  font-size: 4.5rem;
  font-weight: bold;
}

/* -------------------------------- */

.cardContainer {
  max-width: 100%;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.cardContainer>a {
  display: flex;
}

/* -------------------------------- */

.card {
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-width: 1px;
  border-style: solid;
  border-color: #555;
  transition: background-color 0.3s;
  cursor: pointer;
}

.card:hover {
  background-color: rgba(127, 127, 127, 0.33);
}

.card>img {
  width: 100%;
  object-fit: contain;
  overflow: hidden;
}

.cardWide {
  height: 20rem;
  width: 40rem;
  max-width: min(100vw, 100%);
  max-height: 50vw;
}

.cardSquare {
  height: 20rem;
  width: 20rem;
  max-width: 100vw;
  max-height: 100vw;
}

.cardSquare>img {
  max-width: 12rem;
}

.cardTitle {
  font-family: Bahnschrift-VF, Bahnschrift, sans-serif;
  text-align: center;
}

.cardWide>.cardTitle {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: bold;
}

.cardSquare>.cardTitle {
  margin-top: 1rem;
  color: #888;
  font-size: 2rem;
}

/* -------------------------------- */

.footer {
  width: 100%;
  background: rgba(127, 127, 127, 0.2);
  padding-top: 3rem;
  padding-bottom: 2rem;
  padding-left: min(3rem, 5vw);
  padding-right: min(3rem, 5vw);
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 1.8rem;

  font-size: 1.2rem;
}

.footer a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.projects {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 1.2rem;
  row-gap: 1.2rem;
}

.projects>a {
  height: 6rem;
  max-height: calc(((100vw - 4rem) * 0.3 - 2rem - 1.2rem));
  min-height: 2.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border: 1px solid #555;
  box-sizing: border-box;
  border-radius: 3rem;
  transition: background-color 0.3s;
}

.projects>a:hover {
  background-color: rgba(127, 127, 127, 0.33);
}

.links {
  display: flex;
  column-gap: 3.6rem;
  row-gap: 2.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.follow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 2.4rem;
  row-gap: 1.2rem;
}

.follow>a {
  transition: transform 0.3s;
}

.follow>a:hover {
  transform: scale(1.125);
}

.repo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 1.2rem;
}

.repo>a {
  color: #888;
}

.repo>a:hover {
  color: #fff;
  transition: color 0.3s;
}