.test-result {
  display: flex;
  flex-direction: column;

  padding: 70px 0 270px;

  align-items: center;
}

.test-result_theme {
  line-height: 1.5;

  width: 700px;
}

.test-result_theme a {
  font-size: 16px;

  text-decoration: none;

  color: #727272;
}

.test-result_theme-divider {
  color: #ebe6e6;
}

.test-result_details {
  display: flex;

  width: 700px;
  margin-top: 30px;
}

.test-result_score-board {
  padding: 36px 50px 50px 50px;
}

.test-result_score-board__1-3 {
  background: linear-gradient(
  106.49deg,
  #ff767b 15.81%,
  #ff8183 37.9%,
  #ff9390 65.66%,
  #ffc4b4 100%
  );
}

.test-result_score-board__1-3 .test-result_max-score {
  color: #e85a5f;
}

.test-result_score-board__4-6 {
  background: linear-gradient(
  287.23deg,
  #f6d365 0%,
  #fbb27a 32.73%,
  #fca880 58.53%,
  #fda085 83.18%
  );
}

.test-result_score-board__4-6 .test-result_max-score {
  color: #e07a5c;
}

.test-result_score-board__7-9 {
  background: linear-gradient(
  284.02deg,
  #fffa7d -5%,
  #f5d969 20.03%,
  #f2ce57 49.45%,
  #efc547 84.37%
  );
}

.test-result_score-board__7-9 .test-result_max-score {
  color: #ca9f20;
}

.test-result_score-board__10-12 {
  background: linear-gradient(
  281.81deg,
  #baea78 0%,
  #90d376 35.66%,
  #83cd72 48.84%,
  #7dca70 66.71%,
  #54b661 97.88%
  );
}

.test-result_score-board__10-12 .test-result_max-score {
  color: #5ba064;
}

.test-result_visualized-slot .progress-pie-chart.gt-33 .ppc-progress .ppc-progress-fill {
  background: #e07a5c;
}

.test-result_visualized-slot .progress-pie-chart.gt-50 {
  background: #e07a5c;
}

.test-result_visualized-slot .progress-pie-chart.gt-50 .ppc-progress .ppc-progress-fill {
  background: #e5e5e5;
}

.test-result_visualized-slot .progress-pie-chart.gt-58 {
  background-color: #ca9f20;
}

.test-result_visualized-slot .progress-pie-chart.gt-83 {
  background-color: #5ba064;
}

.test-result_score {
  font-size: 54px;
  font-weight: bold;

  text-align: center;

  color: #fff;
}

.test-result_max-score {
  font-size: 16px;

  margin-top: 10px;

  text-align: center;
}

.test-result_restart-btn {
  font-size: 16px;
  font-weight: bold;

  width: 220px;
  margin-top: 30px;
  padding: 19px 20px;

  cursor: pointer;
  transition: .1s ease-out;
  transition-property: color, background-color;

  color: #fff;
  border: 2px solid #fff;
  background: transparent;
}

.test-result_stat {
  margin-left: 25px;
}

.test-result_visualized-slot {
  width: var(--size);
  height: var(--size);
  margin-right: 10px;

  --size: 45px;
}

.test-result_visualized-slot .progress-pie-chart,
.test-result_visualized-slot .ppc-progress,
.test-result_visualized-slot .ppc-progress .ppc-progress-fill {
  width: var(--size);
  height: var(--size);
}

.test-result_visualized-slot .ppc-progress {
  clip: rect(0, var(--size), var(--size), calc(var(--size) / 2));
}

.test-result_visualized-slot .gt-50 .ppc-progress {
  clip: rect(0, calc(var(--size) / 2), var(--size), 0);
}

.test-result_visualized-slot .ppc-progress .ppc-progress-fill {
  clip: rect(0, calc(var(--size) / 2), var(--size), 0);

  transform-origin: center;

  background: #e85a5f;
}

.test-result_visualized-slot .gt-50 .ppc-progress .ppc-progress-fill {
  background: #e5e5e5;
}

.test-result_visualized-slot .ppc-percents {
  top: var(--stroke-width);
  left: var(--stroke-width);

  width: calc(var(--size) - var(--stroke-width) * 2);
  height: calc(var(--size) - var(--stroke-width) * 2);

  --stroke-width: 3px;
}

.test-result_visualized-slot .ppc-percents span {
  font-size: 14px;
}

.test-result_theme-result-row {
  display: flex;

  margin-bottom: 15px;

  align-items: center;
}

.test-result_theme-result-row__correct .text-in-circle {
  border-color: #41a88a;
}

.test-result_theme-result-row__wrong .text-in-circle {
  border-color: #ff5769;
}

.test-result_theme-result-description {
  font-size: 14px;
}

.text-in-circle {
  display: flex;

  box-sizing: border-box;
  width: 100%;
  height: 100%;

  border: 3px solid #f0f0f0;
  border-radius: 50%;

  align-items: center;
  justify-content: center;
}

.test-result_theme-nav {
  display: flex;

  width: 700px;
  margin-top: 30px;
  padding-bottom: 20px;

  justify-content: space-between;
}

.test-result_theme-list,
.test-result_next-theme {
  font-size: 16px;

  position: relative;

  display: flex;

  text-decoration: none;

  color: var(--color);

  align-items: center;
}

.test-result_theme-list span,
.test-result_next-theme span {
  transition: border-color .1s ease-out;

  border-bottom: 1px dotted transparent;
}

.test-result_theme-list {
  --color: #35866e;
}

.test-result_next-theme {
  --color: #e85a5f;
}

.test-result_theme-list::before,
.test-result_next-theme::after {
  display: block;

  width: 20px;
  height: 20px;

  content: '';

  background-color: var(--color);
}

.test-result_theme-list::before {
  margin-right: 10px;
}

.test-result_next-theme::after {
  margin-left: 10px;
}

.test-result_theme-list::after,
.test-result_next-theme::before {
  position: absolute;

  display: block;

  width: 20px;
  height: 20px;

  content: '';

  background-image: url(/doc/i/arrow-left.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.test-result_theme-list::after {
  top: 0;
  left: 0;
}

.test-result_next-theme::before {
  z-index: 1;
  top: 0;
  right: 0;

  transform: rotate(180deg);
}

.test-result_answers-list-slot {
  display: flex;

  width: 100%;
  margin-top: 100px;

  justify-content: center;
}

/* answers-list start */
.answers-list {
  width: 700px;
  padding-bottom: 10px;
}

.answers-list__wrong {
  --color: #ff5769;
}

.answers-list__correct {
  --color: #41a88a;
}

.answers-list_title {
  font-size: 16px;
  font-weight: bold;

  padding-bottom: 5px;

  text-align: center;

  color: var(--color);
  border-bottom: 2px solid var(--color);
}

.answers-list_title_list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.answers-list_title_list-item {
  border-bottom: 1px solid #ebe6e6;
}

.answers-list_title_list-item .two-choice-test {
  padding: 40px 0;
}

.answers-list_title_list-item .test-progress {
  padding-top: 0;
}

.answers-list_title_list-item .two-choice-test_answers {
  margin-top: 0;
}

.answers-list_title_list-item .two-choice-test_answer-btn {
  font-size: 16px;
}

.answers-list_title_list-item .two-choice-test_question,
.answers-list_title_list-item .two-choice-test_question p {
  font-size: 17px;

  margin-bottom: 22px;
}
/* answers-list end */

@media (pointer: fine) {
  .test-result_theme-list:hover,
  .test-result_next-theme:hover {
    color: var(--color);
    border: none;
  }

  .test-result_theme-list:visited {
    --color: #41a88a;
  }

  .test-result_next-theme:visited {
    --color: #ff5769;
  }

  .test-result_theme-list:hover span,
  .test-result_next-theme:hover span {
    border-bottom: 1px dotted var(--color);
  }

  .test-result_restart-btn:hover {
    color: #000;
    background-color: #fff;
  }
}

@media screen and (max-width: 768px) {
  .test-result_theme,
  .test-result_details,
  .answers-list,
  .test-result_theme-nav {
    width: 100%;
  }
}

@media screen and (max-width: 667px) {
  .test-result_details {
    flex-direction: column;
  }

  .test-result_score-board {
    display: flex;
    flex-direction: column;

    margin-bottom: 25px;

    align-items: center;
  }

  .test-result_stat {
    margin-left: 0;
  }
}

@media screen and (max-width: 414px) {
  .test-result {
    padding: 18px 0 270px;
  }

  .test-result_restart-btn {
    width: 100%;
  }

  .test-result_answers-list-slot {
    margin-top: 90px;
  }

  .answers-list_title {
    padding-top: 2px;
  }
}
