:root {
  /*css - переменные*/
  --main: #DB394E;
  --main-opacity-7: rgba(219, 57, 78, 0.07);
  --main-opacity-14: rgba(219, 57, 78, 0.14);
  --main-opacity-40: rgba(219, 57, 78, 0.4);
  --main-opacity-50: rgba(219, 57, 78, 0.5);
  --hover: #C62A3E;
  --chess-hover: #FFDCA8;
}
/* применение var(--color-blue); */

/*стили на главной*/

.head {
  display: flex;
  align-items: center;
}

.head__logo {
  margin: 0 20px 0 0;
  flex-shrink: 0;
}

/*стили профиль игрока*/

.player__content {
  width: 76%;
}

.player--coach .player__content {
  width: calc(100% - 225px);
}

.player__img {
  width: 24%;
  height: auto;
}

.player--coach .player__img {
  width: 225px;
  height: 225px;
}

.player__achievements {
  display: flex;
  align-items: center;
  grid-gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.player__achievement {
  position: relative;
}

.player__badge {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}

.player__bests {
  font-size: 18px;
  line-height: 20px;
}

.player__parameter {
  font-size: 12px;
  line-height: 14px;
}

.player__value {
  font-size: 22px;
  line-height: 24px;
}

.player__season {
  font-size: 12px;
  line-height: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 20px;
}

.progression {
  padding: 20px;
}

.progression__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 10px;
}

.progression__item {
  display: flex;
  grid-gap: 20px;
  width: 100%;
}

.progression__text {
  width: 50%;
  text-align: right;
  font-size: 14px;
  line-height: 20px;
  color: var(--gray);
}

.progression__info {
  width: 50%;
  display: flex;
  align-items: center;
  margin: 0 52px 0 0;
  height: 20px;
}

.progress__wrap {
  position: relative;
}

.progression__line {
  height: 5px;
  width: 100%;
  background: var(--main);
  border-radius: 5px;
  overflow: hidden;
  display: block;
}

.progression__line--red {
  background-color: var(--red);
}

.progression__percent {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  width: 37px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -52px;
  top: calc(50% - 10px);
}

.comment__item {
  padding: 40px 0;
  border-bottom: 1px solid var(--light-gray-1);
  display: flex;
  align-items: center;
  grid-gap: 75px;
}

.comment__item:first-child {
  padding: 20px 0 40px;
}

.comment__match {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 355px;
  flex-shrink: 0;
}

.comment__date {
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  margin: 0 0 5px;
}

.comment__field {
  font-size: 12px;
  line-height: 16px;
  margin: 0 0 25px;
}

.comment__teams {
  display: flex;
  align-items: stretch;
}

.comment__team {
  width: calc((100% - 55px) / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comment__logo {
  border-radius: 3px;
  margin: 0 0 5px;
}

.comment__name {
  font-size: 12px;
  line-height: 16px;
}

.comment__score {
  width: 57px;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5px;
}

.comment__score-main {
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
}

.comment__score-additional {
  font-size: 12px;
  line-height: 14px;
  color: var(--gray);
}

.comment__text {
  font-size: 12px;
  line-height: 16px;
  flex-grow: 1;
  padding: 20px;
  background: var(--dark-white);
  position: relative;
}

.comment__text:before {
  content: url("/img/quote.svg");
  position: absolute;
  left: 4px;
  top: -8px;
}

.text-bold {
  font-weight: 700;
}
