.game-credits {
  z-index: 1;
  display: none;
  position: absolute;
  inset: 0;
  background-color: black;

  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding: 2rem 0;
}

.game-credits .text-primary {
  font-size: 2rem;
  color: white;
}

.game-credits .text-secondary {
  color: rgb(168, 168, 168);
  font-weight: 500;
  margin: 1rem;
  font-size: 2rem;
}

.game-credits .text-secondary.last-element {
  margin-top: 3rem;
}

.game-credits .link {
  text-decoration: none;
  transition: 0.2s ease color;
}

.game-credits .link:hover {
  color: #ff7e00;
}

.game-credits .content {
  width: 550px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.game-credits .content .credit {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 0.1em 0;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border 0.2s ease;
}

.game-credits .content .credit:hover {
  border-color: white;
}

.game-credits .content .credit .asset-name {
  font-weight: 700;
}

.game-credits .content .credit .asset-name,
.game-credits .content .credit .author {
  color: white;
}

.game-credits .content .credit .author {
  text-decoration: none;
  transition: color 0.2s ease;
}

.game-credits .content .credit .author:hover,
.game-credits .back:hover {
  color: #ff7e00;
}

.game-credits .back {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 57px;

  cursor: pointer;
  border: none;
  background-color: transparent;
  font-size: 2.5rem;
  color: white;
}
