body {
  position: relative;
}

.stop-overflow {
  overflow: hidden;
}

section {
  overflow: hidden;
}

i {
  font-style: italic;
}

img {
  width: 100%;
  height: 100%;
}

.chapter__content {
  margin: 64px 0;
}

.chapter__head-timer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.chapter__head-timer svg {
  width: 24px;
  height: 24px;
}

.chapter__head-timer_text {
  color: #2b2a32;
  font-size: 16px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 20px;
  font-weight: 400;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter__title {
  margin-top: 48px;
  color: #2b2a32;
  font-size: 70px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 74px;
  font-weight: 500;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter__main-img {
  margin: 16px auto;
}

.chapter__main-descr {
  margin-top: 24px;
  color: #2b2a32;
  font-size: 20px;
  font-family: "FedraSansPro", Arial, sans-serif;
  font-style: italic;
  line-height: 31px;
  font-weight: 400;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter__main-descr div {
  font-style: normal;
}

.chapter__main-inner {
  margin-top: 86px;
}

.chapter-block__sector {
  margin-top: 86px;
}

.chapter-block__header {
  position: relative;
}

.chapter-block__title {
  font-family: "SBSD-regular", sans-serif;
  font-size: 50px;
  color: #2b2a32;
  margin-bottom: 24px;
  line-height: 60px;
  transform: translate(0px, 120%);
  opacity: 0;
  transition: all 0.8s ease 0s;
}

.chapter-block__title.active {
  transform: translate(0px, 0px);
  opacity: 1;
}

.chapter-block__title_cyrcle {
  position: absolute;
  top: 5px;
  left: -5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ff7403;
  transition: all 0.8s ease 0s;
  z-index: -1;
}

.chapter-block__title_cyrcle.active {
  transform: scale(3);
}

.chapter-block__content {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #000000;
  font-size: 20px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 31px;
  font-weight: 400;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter-block__content span {
  font-weight: 700;
}

.chapter-block__content-img {
  margin: 0 auto;
}

.chapter-block__content-frame {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chapter-block__content .list-desc {
  list-style-type: square;
  padding-left: 32px;
}

.yellow-li::marker {
  color: #fecc25 !important;
}

.green-li::marker {
  color: #4caf4f !important;
}

.red-li::marker {
  color: #e85f52 !important;
}

.blue-li::marker {
  color: #4491cb !important;
}

.chapter-block__content .list-desc li::marker {
  color: #ff7403;
}

.chapter-block__content-frame iframe {
  margin: 0 auto;
}

.chapter-block__content-frame_bg {
  max-width: 655px;
  padding: 24px;
  background-color: #f5f5f5;
  width: 100%;
}

.chapter-block__content-frame_bg-audio {
  padding: 24px;
  background-color: #f5f5f5;
  width: 100%;
}

.chapter-block__content-link {
  text-decoration: none;
  border-bottom: 1px solid rgb(255, 116, 3);
  box-shadow: inset 0px -1px 0px 0px rgb(255, 116, 3);
  -webkit-box-shadow: inset 0px -1px 0px 0px rgb(255, 116, 3);
  -moz-box-shadow: inset 0px -1px 0px 0px rgb(255, 116, 3);
}

.chapter-block__content-frame_top {
  margin-top: 48px;
  margin-bottom: 24px;
}

.chapter-block__content-row {
  margin: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chapter-block__content-item {
  padding: 16px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background-color: #fafafa;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}
.chapter-block__content-item_num {
  color: #2b2a32;
  font-size: 150px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 160px;
  font-weight: 400;
  opacity: 0.1;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter-block__content-item_title {
  max-width: 340px;
  color: #37b44b;
  font-size: 18px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 28px;
  font-weight: 400;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter-block__content-item_descr {
  margin-top: 12px;
  color: #000000;
  font-size: 16px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 25px;
  font-weight: 400;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.last-sector .chapter-block__title {
  color: #000000;
  font-size: 26px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 40px;
  font-weight: 400;
  opacity: 1;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: none;
  transform: none;
}

.chapter-block__content-green_title {
  color: #37b44b;
  margin-bottom: 10px;
}

.chapter-block__numeric {
  margin-top: 24px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chapter-block__numeric-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.chapter-block__numeric-item_num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 3000px;
  background-color: #37b44b;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  color: #ffffff;
  font-size: 20px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 31px;
  font-weight: 500;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter-block__numeric-item_num.red_num {
  background-color: #e55449;
}

.chapter-block__numeric-item_text {
  color: #000000;
  font-size: 18px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 28px;
  font-weight: 400;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter-block__links {
  margin-top: 48px;
  background-color: #fafafa;
  padding: 24px 36px;
  border-left: 5px solid rgba(43, 42, 50, 0.2);
}

.chapter-block__links-title {
  color: #2b2a32;
  font-size: 26px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 35px;
  font-weight: 500;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.chapter-block__links-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chapter-block__link {
  color: inherit;
  font-size: 16px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 25px;
  font-weight: 400;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transition: all 0.2s linear;
}

.chapter-block__link:hover {
  color: #ff7403;
}

.chapter-block__buttons {
  margin-top: 64px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
}

.chapter-block__btn {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 16px 60px;
  color: #ff7403;
  font-size: 24px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 55px;
  font-weight: 600;
  border-width: 2px;
  background-position: center center;
  border-color: #ff7403;
  border-style: solid;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

.chapter-block__btn svg {
  width: 36px;
  height: 18px;
}

.chapter-block__btn:hover {
  color: #fafafa;
  background-color: #ff7403;
}

.download {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.chapter-block__dropdown__item {
  border-bottom: 2px solid #f6f6f6;
  max-width: 760px;
  margin-top: 24px;
}

.chapter-block__dropdown__item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.chapter-block__dropdown__item__text {
  max-height: 0;
  opacity: 0;
  margin: 16px 0;
  font-size: 16px;
  transition: all 0.2s;
}

.chapter-block__dropdown__item__text.active {
  max-height: 1000px;
  opacity: 1;
  transition: all 0.2s;
}

.chapter-block__content__bg {
  background-color: #fafafa;
  padding: 30px 40px;
}

.chapter-block__content__bg-title {
  margin-top: 16px;
  border-bottom: 2px solid #ff7403;
  font-size: 20px;
}

.chapter-block__content__bg-text {
  font-size: 16px;
  margin: 16px 0;
}

.color-green {
  color: #37b44b;
}

.rotate {
  rotate: 45deg;
  transition: all 0.2s;
}

.button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}

.chapter-block__dropdown__item__header:hover .button {
  background-color: #ff7403;
}

.quote {
  color: #2b2a32;
}

.text-26 {
  font-size: 26px;
}

/* .swiper-container {
  width: 100%;
  height: 100%;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}

.swiper-slide {
  max-width: 560px;
  width: 100%;
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img {
  object-fit: cover;
  object-position: center;
}

.button-prev,
.button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 10;
}

.button-prev {
  transform: rotate(180deg);
}

.button-prev svg,
.button-next svg {
  width: 100%;
  height: 100%;
  fill: #000;
}

.button-prev {
  left: 10px;
}

.button-next {
  right: 10px;
}

.pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-item {
  width: 8px;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.pagination-item.active {
  background-color: #000;
} */

.slick-slide img {
  max-width: 560px; /* Устанавливаем максимальную ширину слайда */
  width: 100%;
  margin: 0 auto;
}

.custom-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgb(232, 232, 232);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  z-index: 10;
}

.custom-prev-arrow {
  left: 10px;
  transform: rotate(180deg);
}

.custom-next-arrow {
  right: 10px;
}

.custom-arrow svg {
  width: 12px;
  height: 12px;
}

.chapter__test {
  margin-top: 24px;
}

.container.test-container {
  max-width: 1024px;
  margin-right: 76px;
}
@media screen and (min-width: 1441px) {
  .container.test-container {
    margin-right: auto;
  }
}

.chapter__test-top {
  display: grid;
  grid-template-columns: 420px 1fr;
  grid-gap: 36px;
}

.chapter__test-top_title {
  color: #2b2a32;
  font-size: 70px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 74px;
  font-weight: 500;
}

.chapter__test-top_descr {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #2b2a32;
  font-size: 20px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 31px;
  font-weight: 500;
}

.chapter__test-top_img {
  position: relative;
}

.chapter__test-top_img img {
  /* position: absolute;
  top: 0;
  right: -250px; */
  width: 500px;
  height: auto;
}

.chapter__test-body {
  margin-top: 80px;
}

.chapter__test-sector {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 250px;
}

.chapter__test-sector_item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 48px;
}

.test-sector_item-q__title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.test-sector_item-q__title-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  color: #000000;
  font-size: 50px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 78px;
  font-weight: 500;
  border-radius: 36px;
  background-color: #ff7403;
  border-color: transparent;
  border-style: solid;
}

.test-sector_item-q__title-text {
  color: #000000;
  font-size: 50px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 78px;
  font-weight: 500;
}

.test-sector_item-q__task {
  margin-top: 24px;
  color: #000000;
  font-size: 20px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 31px;
  font-weight: 400;
}

.test-sector_item-q__figure {
  position: relative;
}

.figure__square {
  position: absolute;
  width: 236px;
  left: -74px;
  top: 93px;
  height: 236px;
  background-color: #37b44b;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
  transform: rotate(30deg);
}

.figure__round {
  position: absolute;
  width: 113px;
  left: 95px;
  top: 130px;
  height: 250px;
  border-style: solid;
  transform: rotate(120deg);
}

.test-sector_item-var {
  position: relative;
}

.figure__circle {
  position: absolute;
  top: 60px;
  right: -20px;
  width: 256px;
  height: 256px;
  border-radius: 3000px;
  background-color: #37b44b;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.figure__trapezoid {
  position: absolute;
  right: 50px;
  top: 90px;
  width: 291px;
  height: 217px;
  transform: rotate(200deg) scale(0.85);
}

.figure__trapezoid svg {
  width: 291px;
  height: 217px;
}

.figure__circle-orage {
  position: absolute;
  top: 80px;
  right: 120px;
  width: 156px;
  height: 156px;
  border-radius: 3000px;
  background-color: #ff7403;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.figure__arrow_big {
  position: absolute;
  left: 40px;
  transform: rotate(340deg);
}

.figure__arrow_small {
  position: absolute;
  left: 150px;
  transform: rotate(340deg) scale(0.6);
}

.figure__circle-red {
  position: absolute;
  top: 280px;
  left: 100px;
  width: 99px;
  height: 99px;
  border-radius: 3000px;
  background-color: #e55449;
  background-position: center center;
  border-color: transparent;
  border-style: solid;
}

.figure__trapezoid-second {
  position: absolute;
  top: 60px;
  left: 50px;
  transform: rotate(325deg) scale(0.6);
}

.test-sector_item-var__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 32px;
}

.test-sector_item-var__item {
  cursor: pointer;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #fafafa;
  transition: all 0.3s linear;
}

.test-sector_item-var__item:hover {
  background-color: #ff7403;
}

.test-sector_item-var__item-title {
  color: #000000;
  font-size: 20px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 31px;
  font-weight: 500;
}

.test-sector_item-var__item-descr {
  color: #000000;
  font-size: 16px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 25px;
  font-weight: 400;
}

.test-sector_item-var__item:hover .test-sector_item-var__item-title {
  color: #ffffff;
}

.test-sector_item-var__item:hover .test-sector_item-var__item-descr {
  color: #ffffff;
}

.explanation-container {
  position: absolute;
  top: 0;
  right: -400px;
  width: 100%;
  height: 100%;
  z-index: 2;
  overflow-y: auto; /* Добавляем вертикальную прокрутку, если контент больше размера контейнера */
  transition: right 0.3s ease; /* Добавляем анимацию с плавным переходом */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #ff7403;
  padding: 0 48px;
  background-color: #ffff;
  opacity: 0;
}

.explanation-container.show {
  right: 0; /* Показываем контейнер */
  opacity: 1;
}

.chapter__test-sector_item.reverse-item .explanation-container {
  left: -400px;
  transition: left 0.3s ease;
}

.chapter__test-sector_item.reverse-item .explanation-container.show {
  left: 0; /* Показываем контейнер */
}

.explanation-item {
  color: #000000;
  font-size: 24px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 37px;
  font-weight: 400;
}

.chapters__test-reload {
  margin-top: 60px;
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chapters__test-reload a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #2b2a32;
  font-size: 24px;
  font-family: "FedraSansPro", Arial, sans-serif;
  line-height: 31px;
  font-weight: 500;
}

.chapters__test-reload a svg {
  width: 28px;
  height: 28px;
}

.chapters__test-reload a:hover svg {
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg); /* Начальный угол вращения */
  }
  to {
    transform: rotate(360deg); /* Конечный угол вращения */
  }
}

.chapters__test-form {
  padding: 60px 0;
  margin-top: 60px;
  margin-bottom: 80px;
  width: 100%;
  background-color: #fafafa;
}

.chapters__test-form_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.chapters__test-form_title {
  font-family: "FedraSansPro", Arial, sans-serif;
  color: #2b2a32;
  font-size: 30px;
  line-height: 38px;
  font-weight: 500;
}

.chapters__test-form_btn {
  font-family: "FedraSansPro", Arial, sans-serif;
  text-align: center;
  font-size: 16px;
  padding: 20px 60px;
  -webkit-appearance: none;
  font-weight: 700;
  background-color: #0cad39;
  color: #ffffff;
  cursor: pointer;
  box-sizing: content-box;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.chapter-block__content-flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-style: italic;
}

/* Share */

.chapters__social {
  margin-top: 48px;
}

.chapters__social-title {
  font-family: "FedraSansPro", Arial, sans-serif;
  color: #2b2a32;
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
}

.chapters__social-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.chapters__social-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.chapters__social-row a {
  display: inline-flex;
  width: 34px;
  height: 34px;
}

.share-fb {
  background-color: #3b5998;
  border-radius: 6px;
}

.share-vk {
  background-color: #48729e;
  border-radius: 6px;
}

.share-twitter {
  background-color: #00aced;
  border-radius: 6px;
}

.share-icon {
  width: 100%;
}

/* Share End*/

/* Like */

.chapters__like {
  padding: 40px;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background-color: #fafafa;
}

.chapters__like-title {
  font-family: "FedraSansPro", Arial, sans-serif;
  color: #2b2a32;
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
}

.chapters__like-btn {
  cursor: pointer;
  width: 52px;
  height: 52px;
}

/* Like End*/

/* Popup form */

.popup-close-btn {
  position: fixed;
  right: 35px;
  top: 20px;
  width: 35px;
  height: 28px;
  cursor: pointer;
  transition: opacity ease-in-out 0.3s;
  z-index: 9;
}

.popup-close-btn:hover {
  opacity: 0.7;
}

.popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  opacity: 0;
  -webkit-transition: opacity ease-in-out 0.3s;
  -moz-transition: opacity ease-in-out 0.3s;
  -o-transition: opacity ease-in-out 0.3s;
  transition: opacity ease-in-out 0.3s;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  cursor: pointer;
  padding: 0 20px;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999999;
  display: none;
  outline: 0;
}

.popup-overlay.popup-show {
  opacity: 1;
}

.popup-form__container {
  background: #fff;
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  z-index: 1;
  cursor: default;
  transform: translateY(0%) scale(0.9);
}

.popup__block-close {
  top: 10px;
  right: 10px;
  width: 43px;
  height: 43px;
}
.popup__block-close-button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.popup-form__wrapper {
  padding: 40px 45px;
}
.popup-form__title {
  margin-bottom: 11px;
}
.popup-form__text-wrapper {
  margin-bottom: 24px;
}
.popup-form__text {
  margin-top: 20px;
}

.popup-form__title {
  font-family: "FedraSansPro", Arial, sans-serif;
  font-weight: 600;
  color: #000000;
  font-size: 36px;
  line-height: 42px;
  text-align: center;
}

.popup-form__input-group {
  margin-bottom: 20px;
}

.popup-form__input-title {
  display: block;
  margin-bottom: 5px;
  font-family: "FedraSansPro", Arial, sans-serif;
  font-weight: 300;
  color: #000000;
  font-size: 20px;
  line-height: 32px;
}

.popup-form__input {
  color: #000000;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  margin: 0;
  height: 60px;
  padding: 0 20px;
  font-size: 16px;
  line-height: 20px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

.popup-form__input-block textarea {
  padding-top: 17px;
  height: 102px;
}

.popup-form__submit {
  display: block;
  text-align: center;
  vertical-align: middle;
  height: 100%;
  width: 100%;
  margin-top: 25px;
}

.popup-form__submit .popup__submit {
  cursor: pointer;
  text-align: center;
  border: 0 none;
  font-size: 16px;
  width: 100%;
  height: 54px;
  color: #ffffff;
  background-color: #000000;
  border-radius: 5px;
  outline: none;
}

.popup-form__bottom-text {
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  line-height: 22px;
  font-family: "FedraSansPro", Arial, sans-serif;
  font-weight: 300;
  color: #000000;
}

.popup-form__bottom-text a {
  color: #ff8562;
}
/* Popup form End */

@media screen and (max-width: 1199px) {
  .container {
    padding: 0 24px 0 80px;
  }

  .chapter__test-top {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .chapter__test-sector {
    grid-gap: 64px;
  }

  .chapter__test-sector_item {
    grid-template-columns: 1fr;
    grid-gap: 32px;
  }

  .chapter__test-sector_item.reverse-item .test-sector_item-var {
    grid-column: 1;
    grid-row: 2;
  }

  .chapter__test-sector_item.reverse-item .test-sector_item-q {
    grid-column: 1;
    grid-row: 1;
  }

  .test-sector_item-q {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
  }

  .test-sector_item-q__title {
    grid-column: 1;
    grid-row: 1;
  }

  .test-sector_item-q__task {
    grid-column: 1;
    grid-row: 2;
  }

  .test-sector_item-q__figure {
    grid-column: 2;
    grid-row: 1;
  }

  .figure__square {
    width: 178px;
    height: 178px;
    left: auto;
    right: 90px;
  }

  .figure__round {
    left: 170px;
    top: 90px;
    transform: rotate(280deg) scale(0.85);
  }

  .figure__circle {
    top: 100px;
    right: 50px;
    width: 216px;
    height: 216px;
  }

  .figure__trapezoid {
    top: 35px;
    right: 40px;
    transform: rotate(270deg) scale(0.7);
  }

  .figure__circle-orage {
    top: 35px;
    right: -20px;
    width: 126px;
    height: 126px;
  }

  .figure__arrow_small {
    top: -60px;
    left: 130px;
    transform: rotate(340deg) scale(0.48);
  }

  .figure__arrow_big {
    top: -35px;
    transform: rotate(340deg) scale(0.8);
  }

  .figure__trapezoid-second {
    top: 5px;
    left: -50px;
    transform: rotate(295deg) scale(0.5);
  }

  .test-sector_item-var__grid {
    grid-gap: 16px;
  }

  .explanation-item {
    font-size: 20px;
    line-height: 32px;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0 24px;
  }

  .chapter-block__content-frame iframe {
    width: 100%;
  }

  .chapter__main-inner {
    margin-top: 60px;
  }

  .chapter-block__sector {
    margin-top: 48px;
  }

  .chapter__title {
    font-size: 36px;
    line-height: 38px;
  }

  .chapter__main-descr {
    font-size: 16px;
    line-height: 24px;
  }

  .chapter-block__title {
    font-size: 30px;
    line-height: 36px;
    /* text-align: center; */
  }

  .chapter-block__title_cyrcle {
    /* top: 15px;
    left: 70px; */
    width: 25px;
    height: 25px;
  }

  .chapter-block__content {
    font-size: 14px;
    line-height: 22px;
  }

  .chapter-block__content-item {
    align-items: flex-start;
  }

  .chapter-block__content-item_title {
    font-size: 16px;
    line-height: 22px;
  }

  .chapter-block__content-item_descr {
    font-size: 14px;
    line-height: 20px;
  }

  .chapter-block__numeric-item_text {
    font-size: 16px;
    line-height: 22px;
  }

  .chapter-block__links-title {
    font-size: 22px;
    line-height: 28px;
  }

  .chapter-block__links-list {
    gap: 8px;
  }

  .chapter-block__link {
    font-size: 14px;
    line-height: 20px;
  }

  .chapter-block__btn {
    font-size: 12px;
    line-height: 16px;
    padding: 16px;
    gap: 18px;
  }

  .chapters__like {
    padding: 20px;
  }

  .chapter-block__content-flex img {
    margin-right: -24px;
  }

  .chapter-block__content-flex {
    flex-direction: column;
    text-align: center;
  }

  .chapter__test-top_title {
    font-size: 31px;
    line-height: 34px;
  }

  .chapter__test-top_descr {
    font-size: 16px;
    line-height: 22px;
  }

  .chapter__test-top_img img {
    width: 100%;
  }

  .test-sector_item-q__title {
    grid-gap: 12px;
  }

  .test-sector_item-q__title-text {
    font-size: 28px;
    line-height: 40px;
  }

  .test-sector_item-q__title-num {
    width: 35px;
    height: 35px;
    font-size: 28px;
    line-height: 43px;
  }

  .test-sector_item-q__task {
    margin-top: 10px;
    font-size: 14px;
    line-height: 22px;
  }

  .test-sector_item-var__grid {
    grid-gap: 8px;
  }

  .test-sector_item-var__item {
    gap: 8px;
  }

  .test-sector_item-var__item-title {
    font-size: 16px;
    line-height: 22px;
  }

  .test-sector_item-var__item-descr {
    font-size: 14px;
    line-height: 20px;
  }

  .explanation-item {
    font-size: 16px;
    line-height: 22px;
  }

  .figure__square {
    width: 61px;
    height: 61px;
    right: 50px;
    top: 30px;
  }

  .figure__round {
    left: 80px;
    top: -50px;
    transform: rotate(280deg) scale(0.35);
  }

  .figure__circle {
    top: 80px;
    right: -10px;
    width: 120px;
    height: 120px;
  }

  .figure__trapezoid {
    top: 10px;
    right: -65px;
    transform: rotate(235deg) scale(0.4);
  }

  .figure__circle-orage {
    top: 35px;
    right: -20px;
    width: 56px;
    height: 56px;
  }

  .figure__arrow_small {
    top: -115px;
    left: 80px;
    transform: rotate(340deg) scale(0.38);
  }

  .figure__arrow_big {
    top: -100px;
    left: 25px;
    transform: rotate(340deg) scale(0.6);
  }

  .figure__circle-red {
    top: 180px;
    left: 60px;
    width: 36px;
    height: 36px;
  }

  .figure__trapezoid-second {
    top: -15px;
    left: auto;
    right: -220px;
    transform: rotate(293deg) scale(0.2);
  }

  .chapters__test-form_container {
    padding: 0 24px;
  }

  .chapters__test-form_title {
    font-size: 22px;
    line-height: 26px;
    text-align: center;
  }

  .popup-form__container{
    left: 0;
  }

  .popup-form__wrapper {
    padding: 20px 24px;
  }

  .popup-close-btn {
    top: 10px;
    right: 15px;
  }

  .popup-form__text-wrapper {
    margin-bottom: 16px;
  }

  .popup-form__title {
    font-size: 28px;
    line-height: 36px;
  }

  .popup-form__input-title {
    font-size: 16px;
    line-height: 22px;
  }
}

@media screen and (max-width: 424px) {
  .figure__round {
    left: 50px;
  }

  .figure__trapezoid-second {
    transform: rotate(272deg) scale(0.2);
  }
}
