.profile {
  display: grid;
  grid-template-rows: repeat(2, max-content);
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.profile-info {
  display: grid;
  grid-template-rows: repeat(2, max-content);
  grid-template-columns: max-content;
  gap: 1rem;
  justify-content: center;
  justify-items: center;
}

img.avatar {
  height: 150px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

.profile-info .info {
  display: grid;
  grid-template-rows: repeat(3, max-content);
  font-family: 'Circe Bold', sans-serif;
}

.profile-name {
  font-size: 1.5em;
  color: var(--main-orange);
  justify-self: center;
}

.profile-info .info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85em;
  min-width: 120px;
  padding: 5px 10px;
  margin: 4.5px;
  color: var(--main-brown);
  border: 0.1rem solid var(--main-brown);
  border-radius: 2em;
}

.profile-divider-with-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  margin: 2rem auto 1.5rem auto;
  color: var(--main-brown);
  font-family: 'Circe Bold', sans-serif;
  font-size: 1.1em;
  opacity: 0.7;
}

.profile-divider-with-title span {
  padding: 0 1.2em;
  background: var(--main-bg);
  white-space: nowrap;
  z-index: 1;
}

.profile-divider-with-title::before,
.profile-divider-with-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--main-brown);
  opacity: 0.3;
}

.profile-games {
  font-family: 'Circe Bold', sans-serif;
  max-width: 1100px;
  display: flex;
  padding: 0;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-self: center;
}

.profile-game {
  display: grid;
  grid-template-rows: min-content 1.1rem min-content;
  gap: 8px;
  width: 310px;
  height: 250px;
  justify-items: center;
  align-items: center;
}

img.profile-img {
  border-width: 3px;
}

.profile-game a.profile-game-name {
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: var(--main-brown);
}

.profile-game a.play {
  width: 5.6em;
  height: 1.6em;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-game {
  text-align: center;
}

.profile-game.game-promo-code {
  grid-template-rows: max-content 1.1rem min-content 1.3em min-content min-content;
  height: 330px;
}

.price.game-promo-price {
  grid-template-columns: repeat(2, max-content);
  max-width: 100%;
  justify-content: center;
}

.price .final.game-promo-final-price {
  color: var(--main-dark-grey);
  font-size: 0.95em;
}

.price .main.game-promo-price {
  margin-right: 0;
  width: min-content;
  font-size: 0.85em;
}

.game-promo-code .game-discounted-price {
  display: flex;
  font-family: 'Circe Bold', sans-serif;
  color: var(--main-orange);
  font-size: 1.4em;
  height: min-content;
  margin-top: -0.5em;
}

.game-promo-code .description-promo-code {
  font-family: 'Circe Bold', sans-serif;
  color: var(--main-dark-grey);
  display: flex;
  margin-top: -0.6em;
  font-size: 0.9em;
}

a.promo-link {
  margin-top: 0.5em;
}

.profile-game.game-promo-code a.buy {
  margin-top: -0.5em;
  font-size: 1em;
  height: 1.45em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--main-orange);
}

.profile-game.game-promo-code .discount-label {
  display: flex;
  position: absolute;
  background-image: url("/static/img/discount_label.85d478b70907.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 4.3em;
  width: 4.3em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  top: -7%;
  right: -4%;
}

.promo-code-image-container {
  position: relative;
}

