.box > .content {
  margin: 5rem 1rem 0 1rem;
}

#credits {
  background-color: rgb(var(--navy) / 0.6);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#credits .credit {
  padding: 1rem 1rem 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  flex-direction: row;
  min-width: 30rem;
}

#credits .credit h2 {
  flex-basis: 100%;
}

#credits .credit .body {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  margin: 0 0 0.5rem 0.5rem;
  
}

.credit .info {
  margin-left: 1.5rem;
}

.credit .name {
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0.25rem 0 0 0;
}

.credit .image {
  max-width: 7rem;
  max-height: 7rem;
  min-width: 7rem;
  min-height: 7rem;
  border-radius: 50%;
  background-color: gray;
}

.links {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.5rem;
}
.link {
  opacity: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.5rem;
  background-color: rgb(var(--bsky));
}
.link:not(:first-of-type) {
  margin-left: 0.5rem;
}
.link:hover {
  opacity: 1;
  transition: all ease-in-out 0.3s;
}
.link:active {
  filter: brightness(60%);
}
.link img {
  margin: 0.5rem;
  height: 18px;
  width: 18px;
}
#twitter.link img, #bsky.link img {
  filter: grayscale(1) contrast(1.5) brightness(30);
}

/* UTILITY */
.text-left {
  text-align: left;
}

@media screen and (width < 1366px) {
  .box > .content > div {
    display: block;
  }
  #sidebar {
    flex-direction: row;
    padding-bottom: 5rem;
  }
  #sidebar #download-links {
    text-align: right;
  }
}

@media only screen and (orientation: portrait) and (width < 600px),
only screen and (orientation: landscape) and (width < 700px),
only screen and (orientation: portrait) and (width < 400px) {
  #credits .credit {
    padding: 1rem 0rem 1rem 0.5rem;
    min-width: unset;
  }
  #credits .credit .body {
    margin-left: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.25rem;
  }
}

@media screen and (height < 750px)  {
  .box > .content {
    margin-top: 5rem;
  }
}