/* в будущем цвета заменить на переменные */
:root {
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #e9e9e9;
  --color-section-primary: #002424;
  --color-section-secondary: #f5f5f5;
  --color-tile-primary: #e5f8c8;
  --color-tile-secondary: #fbc8cd;
  --color-tile-light: #f2f5ec;
  --color-btn-bg: #8bac72;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font: var(--font-regular);
  font-size: inherit;
}

main {
  background: var(--color-section-secondary);
}

.wrapper {
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  padding: 15px;
  background: var(--color-bg-primary);
}

.title {
  line-height: 108%;
  text-transform: uppercase;

  font: var(--font-regular);
  font-size: 26px;
}

.title > small {
  font-size: 0.75em;
  text-transform: lowercase;
  font-style: italic;
  font-weight: 300;
}

.title__bold {
  font: var(--font-bold-italic);
  font-size: inherit;
}

.text {
  font: var(--font-regular);
  font-size: 14px;
  line-height: 157%;
  color: var(--color-section-primary);
}

a.button__wrapper {
  text-decoration: none;
}

.btn {
  margin-top: 25px;
  border: none;
  border-radius: 11px;
  width: 170px;
  height: 50px;
  background: var(--color-tile-secondary);
  font: var(--font-regular);
  font-size: 18px;
  line-height: 156%;
  text-align: center;
  color: var(--color-section-primary);
}

/* The section Main */

.main {
  min-height: 480px;
  background-color: var(--color-section-primary);
  border-radius: 20px;
  padding: 32px 22px 46px 28px;
  position: relative;
}

.main .section__head {
  z-index: 3 !important;
}

.main *:not(.decor-wrapper) {
  position: relative;
  z-index: 2;
}

.main .decor-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 166px;
  height: 276px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
  opacity: 0.2;
  z-index: 1;
}

.decor-wrapper > .decor {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 313px;
  width: 322px;
  overflow: hidden;
}

.decor-wrapper > .decor > .decor-item {
  position: absolute;
  width: 100%;
  height: 14px;
  background-color: var(--color-btn-bg);
  display: block;
  top: 50%;
  left: 50%;
}

.decor-wrapper > .decor > .decor-item:nth-child(1) {
  transform: translateX(-50%) translateY(-50%) rotate(90deg);
}

.decor-wrapper > .decor > .decor-item:nth-child(2) {
  transform: translateX(-50%) translateY(-50%) rotate(67.5deg);
}

.decor-wrapper > .decor > .decor-item:nth-child(3) {
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.decor-wrapper > .decor > .decor-item:nth-child(4) {
  transform: translateX(-50%) translateY(-50%) rotate(22.5deg);
}

.decor-wrapper > .decor > .decor-item:nth-child(5) {
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
}

.decor-wrapper > .decor > .decor-item:nth-child(6) {
  transform: translateX(-50%) translateY(-50%) rotate(-22.5deg);
}

.decor-wrapper > .decor > .decor-item:nth-child(7) {
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.decor-wrapper > .decor > .decor-item:nth-child(8) {
  transform: translateX(-50%) translateY(-50%) rotate(-67.5deg);
}

.main div {
  display: flex;
  justify-content: space-between;
}

.logo {
  display: inline-block;
  max-width: 80px;
}

/* стиль для иконки бургер-меню с последующей заменой */
.menu_mobile {
  display: inline-block;
  max-width: 23px;
}

.title__main {
  margin-top: 41px;
  color: var(--color-tile-secondary);
  font-size: 30px;
  line-height: 100%;
}

.title__main span {
  display: block;
  color: var(--color-bg-primary);
  line-height: 113%;
}

.main h2 {
  color: var(--color-bg-primary);
  font-size: 27px;
  line-height: 126%;
}

.main p {
  margin-top: 4px;
  max-width: 260px;
  line-height: 114%;
  color: var(--color-bg-primary);
}

.menu__wrapper {
  max-height: 0;
  display: block;
  width: 100%;
  height: 270px;
  padding: 0;
  border-radius: 0 0 20px 20px;
  background-color: var(--color-tile-primary);
  position: absolute !important;
  top: 100%;
  transform: translateY(31px);
  left: 0;
  overflow: hidden;
  transition: all .3s ease;
}

.menu_mobile.active + .menu__wrapper {
  max-height: 800px;
  padding: 23px 0 26px 0;
}

@media screen and (max-width: 370px) {
    .menu__wrapper {
      position: fixed !important;
      top: 84px;
      width: calc(100% - 30px);
      left: 50%;
      transform: translateX(-50%);
    }
}

.menu__list {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  list-style: none;
}

.menu__item {
  padding-left: 28px;
  font: var(--font-regular);
  font-size: 20px;
  line-height: 140%;
  text-transform: uppercase;
  color: var(--color-section-primary);
}

.menu__item:nth-last-child(1) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 22px;
}

.icons__wrapper {
  display: inline-flex;
}

.menu__item > a {
  text-decoration: none;
  color: var(--color-section-primary);
}

.menu__item > a span {
  font: var(--font-bold-italic);
  font-size: inherit;
}

.menu__divider {
  height: 2px;
  background-color: var(--color-bg-primary);
  position: relative;
  left: 0;
  margin: 15px 0;
}

.icons__wrapper {
  display: inline-flex;
  width: 130px;
  height: 22px;
  /* margin-right: 38px; */
}

.icons__wrapper > a > img {
  width: 100%;
}

.details {
  margin-top: 41px;
  list-style: none;
}

.details__item {
  margin-top: 10px;
  font: var(--font-regular);
  font-size: 12px;
  line-height: 117%;
  color: var(--color-bg-primary);
  display: flex;
}

.details__item img {
  margin-right: 6px;
}

/* The section Why-ness of the course */
.why {
  margin-top: 36px;
  padding: 28px 24px 10px 28px;
  min-height: 348px;
  border-radius: 20px;
  background-image: url('../icn/why_bg.png'),
    linear-gradient(to top, rgba(245, 245, 245, 1), rgba(245, 245, 245, 1));
  background-position: center center, left top;
  background-repeat: no-repeat, repeat;
}

.why h2 span {
  display: block;
}

.why .text {
  min-width: 280px;
  margin-top: 22px;
}

/* The section Who is this course for? */
.audience {
  margin-top: 36px;
  min-height: 360px;
}

.audience .title {
  margin-left: 28px;
}

.audience__item {
  /* max-width: 344px; */
  height: 88px;
  margin-top: 16px;
  padding: 21px 26px 17px 26px;
  border-radius: 20px;
  background-color: var(--color-tile-primary);
  position: relative;
}

.audience__sequence {
  position: absolute;
  top: 5px;
  right: 20px;
  display: inline-block;
  font: var(--font-semi-bold-italic);
  font-size: 56px;
  line-height: 50%;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  z-index: 1;
}

.audience__item .text {
  position: relative;
  z-index: 2;
}

/* The section Why is this course unique? */
.uniqueness {
  margin-top: 36px;
  padding: 28px 26px 28px 28px;
  min-height: 284px;
  border-radius: 20px;
  background-color: var(--color-section-secondary);
}

.uniqueness h2 span {
  display: block;
}

.uniqueness__list {
  margin-top: 18px;
  list-style-type: none;
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.uniqueness__item {
  padding-left: 31px;
  background-image: url('../icn/uniqueness_item_icon.svg');
  background-position: 0 0;
  background-size: 22px 22px;
  background-repeat: no-repeat;
}

/* The section After the course */
.after {
  margin-top: 35px;
  padding: 28px 18px 18px 28px;
  border: 1.4px solid var(--color-btn-bg);
  border-radius: 20px;
}

.after .title span {
  display: block;
}

.title_green {
  color: var(--color-btn-bg);
}

.after__list {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  list-style-type: none;
}

.after__item {
  padding-left: 35px;
  background-image: url('../icn/after_item_icon.svg');
  background-position: 0 3px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
}
/* .after__item > .text {
  line-height: 129%;
} */

.text_bold {
  font: var(--font-bold);
}

.text_semi_bold {
  font: var(--font-semi-bold);
}

/* The sections How does it all go? */
.steps {
  max-height: 495px;
  margin-top: 35px;
  padding: 28px 26px 24px 24px;
  background-image: url('../img/steps_vector.svg'), url('../img/bg.jpg');
  background-position: 60% 65%, center center;
  background-repeat: no-repeat, no-repeat;
  background-size: 55%, cover;
  border: 1.4px solid var(--color-btn-bg);
  border-radius: 20px;
}

.title_white {
  line-height: 100%;
  text-align: center;
  color: var(--color-bg-primary);
}

.steps__list {
  min-height: 480px;
  margin-top: 25px;
  list-style: none;
  position: relative;
}

.steps__item {
  background-color: var(--color-bg-primary);
  border-radius: 10px;
  padding: 0 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.steps__item:nth-child(1) {
  max-width: 188px;
  height: 42px;
  position: absolute;
  right: 20px;
  top: 0px;
  transform: rotate(4deg);
}

.steps__item:nth-child(2) {
  margin-top: 10px;
  max-width: 127px;
  height: 36px;
  position: absolute;
  left: 30px;
  top: 35px;
  transform: rotate(-4deg);
}

.steps__item:nth-child(3) {
  max-width: 213px;
  height: 42px;
  margin-top: 10px;
  position: absolute;
  right: 15px;
  top: 90px;
  transform: rotate(3deg);
}

.steps__item:nth-child(4) {
  max-width: 171px;
  height: 36px;
  margin-top: 10px;
  position: absolute;
  left: 25px;
  top: 145px;
  transform: rotate(-5deg);
}

.steps__item:nth-child(5) {
  max-width: 257px;
  height: 45px;
  margin-top: 10px;
  position: absolute;
  right: 15px;
  top: 210px;
  transform: rotate(3deg);
}

.steps__item:nth-child(6) {
  max-width: 202px;
  height: 36px;
  margin-top: 10px;
  position: absolute;
  left: 30px;
  top: 290px;
  transform: rotate(-4deg);
}

.steps__item:nth-child(7) {
  max-width: 151px;
  height: 36px;
  margin-top: 10px;
  position: absolute;
  right: 80px;
  top: 340px;
  transform: rotate(4deg);
}

.steps__sequence {
  width: 24px;
  height: 24px;
  position: absolute;
  border-radius: 100%;
  font: var(--font-bold);
  font-size: 12px;
  line-height: 217%;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-section-primary);
}

.steps__item:nth-child(1) > .steps__sequence {
  background: var(--color-tile-primary);
  top: -17px;
  right: 0;
  transform: rotate(14deg);
}

.steps__item:nth-child(2) > .steps__sequence {
  background: var(--color-tile-secondary);
  top: -18px;
  left: 0;
  transform: rotate(-7deg);
}

.steps__item:nth-child(3) > .steps__sequence {
  background: var(--color-tile-secondary);
  top: -16px;
  right: 0;
  transform: rotate(4deg);
}

.steps__item:nth-child(4) > .steps__sequence {
  background: var(--color-tile-primary);
  top: -18px;
  left: 0;
  transform: rotate(-6deg);
}

.steps__item:nth-child(5) > .steps__sequence {
  background: var(--color-tile-secondary);
  top: -17px;
  right: 0;
  transform: rotate(4deg);
}

.steps__item:nth-child(6) > .steps__sequence {
  background: var(--color-tile-primary);
  top: -18px;
  left: 0;
  transform: rotate(-13deg);
}

.steps__item:nth-child(7) > .steps__sequence {
  background: var(--color-tile-primary);
  top: -17px;
  right: 0;
  transform: rotate(4deg);
}

.text_small {
  font: var(--font-regular);
  font-size: 12px;
  line-height: 117%;
}

/* Section Course program */
.program {
  margin-top: 35px;
}

.program .title {
  margin-left: 28px;
}

.program__list {
  list-style: none;
  margin-top: 5px;
  min-height: 480px;
  padding: 25px 25px 25px 28px;
  border-radius: 20px;
  background: var(--color-tile-primary);
}

.program__item {
  width: 100%;
  min-height: 21px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font: var(--font-regular);
  font-size: 14px;
  line-height: 143%;
  color: var(--color-section-primary);
}

.program__item:nth-last-child(1) {
  margin-bottom: 0;
}

.program__number {
  margin-right: 11px;
  font: var(--font-bold-italic);
  font-size: 16px;
  line-height: 125%;
  color: var(--color-section-primary);
}

.open {
  display: flex;
  justify-content: center;
  width: 24px;
  border-radius: 100%;
  background-color: var(--color-bg-primary);
}

.open img {
  width: 11px;
}

.topic {
  width: 100%;
  position: relative;
  padding: 0 30px 0 33px;
}

.program__item.active .topic::after {
  transform: rotate(180deg);
}

.program__item.active .topic__detail {
  max-height: 300px;
}

.topic::after,
.topic::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  transition: all .3s ease;
}

.topic::before {
  font: var(--font-bold-italic);
  color: inherit;
  font-size: 16px;
  left: 0;
  top: -2px;
}

.topic::after {
  background-image: url(/icn/arrow_down.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--color-bg-primary);
  border-radius: 100%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  right: 0px;
}

.program__item:nth-child(1) > .topic::before {
  content: '01';
}

.program__item:nth-child(2) > .topic::before {
  content: '02';
}

.program__item:nth-child(3) > .topic::before {
  content: '03';
}

.program__item:nth-child(4) > .topic::before {
  content: '04';
}

.program__item:nth-child(5) > .topic::before {
  content: '05';
}

.program__item:nth-child(6) > .topic::before {
  content: '06';
}

.program__item:nth-child(7) > .topic::before {
  content: '07';
}

.program__item:nth-child(8) > .topic::before {
  content: '08';
}

.program__item:nth-child(9) > .topic::before {
  content: '09';
}

.program__item:nth-child(10) > .topic::before {
  content: '10';
}

.program__item:nth-child(11) > .topic::before {
  content: '11';
}

.program__item:nth-child(12) > .topic::before {
  content: '12';
}

.topic__detail {
  display: block;
  max-height: 0;
  overflow: hidden;
  list-style: inside none disc;
  margin: 5px 0 0 36px;
  font: var(--font-regular);
  font-size: 11px;
  line-height: 127%;
  color: var(--color-section-primary);
  transition: all .3s ease;
}

@media screen and (max-width: 355px) {
  .program__list {
  padding: 22px 15px 25px 15px;
}

/* .topic {
  width: 250px;
} */
}

/* The section The author */
.author {
  margin-top: 35px;
}

.author .title {
  margin-left: 28px;
}

.author__wrapper {
  background-color: var(--color-section-primary);
  height: 742px;
  border-radius: 20px;
  position: relative;
}

.author__photo img {
  width: 100%;
}

.author__list {
  width: 100%;
  min-height: 470px;
  position: relative;
  bottom: 245px;
  list-style: none;
  padding: 0 25px 25px 25px;
  background: linear-gradient(
    rgba(0, 36, 36, 0),
    rgba(0, 36, 36, 0.7),
    rgba(0, 36, 36, 1),
    rgb(0, 14, 14)
  );
  border-radius: 0 0 20px 20px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.author__item {
  margin-top: 14px;
  min-width: 260px;
  height: 74px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--color-tile-primary);
  font: var(--font-bold-italic);
  font-size: 24px;
  line-height: 108%;
  text-transform: uppercase;
  color: var(--color-section-primary);
}

.author__item:nth-child(1) {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  background-color: rgba(0, 36, 36, 0);
  font: var(--font-regular);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--color-tile-primary);
}

.author__item_bold {
  color: var(--color-tile-light);
  font-style: italic;
  font: var(--font-bold-italic);
  font-size: inherit;
  margin-left: 8px;
}

.author__item:nth-child(1) .author__item_small {
  display: block;
  font: var(--font-regular);
  font-size: 14px;
  line-height: 157%;
  color: var(--color-bg-primary);
}

.author__item_small {
  display: block;
  font: var(--font-regular);
  text-transform: none;
  font-size: 14px;
  font-style: normal;
  line-height: 157%;
  color: var(--color-section-primary);
}

/* The section The customers */
.customers {
  margin-top: 90px;
  height: 220px;
  padding: 25px 25px 30px 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  border: 1.4px solid var(--color-section-secondary);
  border-radius: 20px;
  background: var(--color-bg-primary);
}

.customers img {
  width: 134px;
  height: 46px;
}

@media screen and (max-width: 330px) {
  .customers {
    padding: 20px 17px 20px 17px;
  }

  .customers img {
    width: 120px;
  }
}

.feedback {
  margin-top: 35px;
}

.feedback__wrapper {
  display: flex;
  width: 100%;
  flex-direction: row;
  overflow: hidden;
}

.feedback__card {
  width: 100%;
  min-width: 100%;
  max-height: 288px;
  border-radius: 20px;
  padding: 14px 25px 18px 32px;
  background: rgba(245, 245, 245, 0.5);
}

.feedback__card.current {
  transform: translateX(0) !important;
}

.feedback__card.slide-left {
  transform: translateX(-100%);
}

.feedback__card.slide-right {
  transform: translateX(100%);
}

.feedback__card.animate {
  transition: all .3s ease;
}

.card__header {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.avatar {
  width: 50px;
  margin-right: 12px;
}

.avatar__info {
  font: var(--font-semi-bold);
  font-size: 14px;
  line-height: 129%;
  color: var(--color-section-primary);
}

.avatar__info span {
  display: block;
  font: inherit;
  color: var(--color-btn-bg);
}

.divider {
  height: 3px;
  background: var(--color-bg-primary);
}

.student__review {
  margin-top: 13px;
  font-size: 12px;
  line-height: 150%;
  color: var(--color-section-primary);
}

.feedback-slider {
  margin: 20px auto 0 auto;
  width: 87px;
  position: relative;
  height: 24px;
  box-sizing: content-box;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.feedback-slider__arrow {
  width: 24px;
  height: 24px;
  background-color: var(--color-btn-bg);
  border-radius: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

.feedback-slider__arrow.next {
  transform: rotate(180deg);
  right: 0;
  left: unset;
}

.feedback-slider__dot {
  display: block;
  width: 5px;
  height: 5px;
  border: 1px solid var(--color-btn-bg);
  border-radius: 100%;
}

.feedback-slider__dot.active {
  background-color: var(--color-btn-bg);
}


/* The section Price */
.price {
  min-height: 530px;
}

.price__list {
  list-style: none;
}

.price__item {
  margin-top: 30px;
  width: 100%;
  /*height: 154px;*/
  padding: 40px 22px 21px 22px;
  border-radius: 20px;
  background: var(--color-tile-primary);
  position: relative;
}

.price__item:nth-child(1) {
  margin-top: 40px;
}

.price__item:hover {
  background: var(--color-section-primary);
  color: var(--color-bg-primary);
}

.rate {
  width: 131px;
  height: 31px;
  border-radius: 10px;
  position: absolute;
  top: -4px;
  right: 25px;
  transform: rotate(4deg);
  background: var(--color-section-primary);
  font: var(--font-bold);
  font-size: 17px;
  /* line-height: 130%; */
  line-height: 174%;
  text-transform: uppercase;
  color: var(--color-bg-primary);
  text-align: center;
}

.price__item:hover .rate {
  color: var(--color-section-primary);
  background: var(--color-bg-primary);
}

.rate span {

}

.rate span a {
  color: inherit;
  position: relative;
  padding: 8px;
  font-size: 0.8em;
  text-transform: lowercase;
}

.rate span a::before {
  content: '/';
  text-decoration: none;
  position: absolute;
  left: -2px;
  display: inline-block;
  top: 50%;
  transform: translateY(-50%);
}

/* !! cкорее всего это уже реализовывать через JS */
/* .rate:focus {
  background: var(--color-bg-primary); */
/* background: var(--5); */
/* border: var(--color-section-primary);
  color: var(--color-section-primary); */
/* color: var(--1); */
/* }

.rate:focus span {
  color: var(--color-section-primary); */
/* color: var(--1); */
/* } */

.format__info {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  padding-left: 35px;
  font: var(--font-semi-bold);
}

.format__info::after {
  content: '';
  display: block;
  position: absolute;
  background-size: cover;
  background: url(/icn/check-dark.svg);
  background-repeat: no-repeat;
  background-position: center center;
  height: 21px;
  width: 20px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.price__item:hover .format__info::after {
  background: url(/icn/check-light.svg);
}

.format__info img {
  margin-right: 14px;
  display: none;
}

.price__item > small {
  padding-left: 45px;
  font-size: 0.8em;
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;
  /*color: var(--color-section-primary);*/
}

.price__item > small a {
  color: inherit;
}

.price__item .price__details {
  list-style: outside;
  padding: 15px 0px 5px 35px;
  font-size: 14px;
}

.price__item .price__details > li {
  margin-bottom: 5px;
}

.enroll {
  width: 170px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0 auto;
  border: none;
  border-radius: 10px;
  background: var(--color-bg-primary);
  font-size: 18px;
  color: var(--color-section-primary);
  text-align: center;
  text-decoration: none;
}

.price__item:hover .enroll {
  background: var(--color-tile-secondary);

}

/* The section Questions & Answers */
.questions {
  /* min-height: ; */
  margin-top: 35px;
  width: 100%;
}

.questions__list {
  list-style: none;
  /* margin-top: 5px; */
  min-height: 370px;
  /* display: flex;
  flex-direction: column;
  justify-content: space-evenly; */
}

.question__item {
  width: 100%;
  /* min-height: 36px; */
  padding: 15px 0;
  /* display: flex;
  flex-wrap: wrap;
  justify-content: space-between; */
  font-size: 14px;
  color: var(--color-section-primary);
  border-width: 0 0 2px 0;
  border-style: solid;
  border-color: var(--color-section-secondary);
  box-sizing: content-box;
  position: relative;
}

.question__item:first-child {
  border-top-width: 2px;
}

.question__text {
  position: relative;
  width: 100%;
  display: block;
  padding: 0 30px 0 25px;
}

.question__text::before,
.question__text::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
}

.question__text::before {
  font: var(--font-bold);
  font-size: 14px;
  line-height: 143%;
  color: var(--color-tile-secondary);
  height: 20px;
  width: 14px;
  left: 0;
}

.question__text::after {
  width: 24px;
  height: 24px;
  right: 0;
  background-image: url(/icn/question_item_show_icon.svg);
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 100%;
  cursor: pointer;
  top: -2px;
}

.question__item:nth-child(1) .question__text::before {
  content: '01';
}

.question__item:nth-child(2) .question__text::before {
  content: '02';
}

.question__item:nth-child(3) .question__text::before {
  content: '03';
}

.question__item:nth-child(4) .question__text::before {
  content: '04';
}

.question__item:nth-child(5) .question__text::before {
  content: '05';
}

.question__item:nth-child(6) .question__text::before {
  content: '06';
}

.question__item:nth-child(7) .question__text::before {
  content: '07';
}

.question__sequence {
  margin-right: 7px;
  font: var(--font-bold);
  font-size: 14px;
  line-height: 143%;
  color: var(--color-tile-secondary);
}

/* .question__divider {
  width: 100%;
  height: 2px;
  background-color: var(--color-section-secondary);
  display: none;
} */

.answer__text {
  display: block;
  max-width: 280px;
  max-height: 0;
  height: 0;
  min-height: 0;
  margin-left: 25px;
  font-size: 11px;
  line-height: 127%;
  color: var(--color-section-primary);
  overflow: hidden;
  transition: all .3s ease;
}

.question__item.active .answer__text {
  max-height: 400px;
  min-height: 28px;
  height: auto;
}

.question__item.active .question__text::after {
  background-image: url(/icn/question_item_hidden_icon.svg);
}

@media screen and (max-width: 375px) {
  .question__text {
    width: 90%;
  }

  .answer__text {
    margin-top: 10px;
  }
}

/* The section Contact me */
.contacts {
  margin-top: 35px;
  min-height: 400px;
  padding: 31px 26px 25px 26px;
  border-radius: 20px;
  background-color: var(--color-section-primary);
}

.contacts .title_white {
  text-align: left;
}

.contacts span {
  display: block;
}

.contacts .text {
  margin-top: 15px;
  color: var(--color-bg-primary);
}

.contacts__list {
  margin-top: 20px;
  height: 158px;
  padding: 20px;
  border: 1.4px solid var(--color-tile-primary);
  border-radius: 14px;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact__item {
  display: flex;
  align-items: center;
}

.contact__item img {
  width: 22px;
  margin-right: 18px;
}

.contact__desc {
  text-decoration: none;
  font-size: 14px;
  line-height: 157%;
  color: var(--color-bg-primary);
}

.footer {
  margin-top: 22px;
  height: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 10px;
  line-height: 180%;
  color: var(--color-bg-primary);
  opacity: 0.6;
}

.footer span {
  display: block;
  width: 134px;
  font-size: inherit;
}

.link_external {
  display: block;
  width: 130px;
  text-decoration: none;
  font-size: 10px;
  line-height: 180%;
  color: var(--color-bg-primary);
}
/* проверить на сегодня актуальную ширину моб телефонов  */

.contact-me-wrapper {
  display: block;
  position: fixed;
  z-index: 1000;
  width: 70px;
  height: 70px;
  right: 30px;
  bottom: 30px;
}

.contact-me-wrapper .float-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 50%;
  background-color: var(--color-tile-secondary);
  cursor: pointer;
}

.contact-me-wrapper .float-icon .icon-wrapper {
  animation: rotation 1.5s linear infinite;
  width: 100%;
  height: 100%;
  position: absolute;
}

.contact-me-wrapper.expanded .float-icon .icon-wrapper {
  animation: none;
}

.contact-me-wrapper .float-icon i {
  display: block;
  background: url('/icn/comm_dots.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  width: 38px;
  height: 38px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.contact-me-wrapper.expanded .float-icon i {
  background: url('/icn/cross-icon.svg');
  width: 30px;
  height: 30px;
}

.contact-me-wrapper .float-icon .pulse {
  width: 100px;
  height: 100px;
  background-color: inherit;
  border-radius: 50%;
  position: absolute;
  left: -15px;
  top: -15px;
  z-index: -1;
  transform: scale(0);
  animation: pulsation 2s infinite;
}

.contact-me-wrapper .icon-menu {
  position: absolute;
  bottom: 60px;
  right: 60px;
  padding: 15px;
  border-radius: 1px;
  background: #fff;
  display: block;
  opacity: 0;
  z-index: -1;
  margin-bottom: 20px;
  transition: margin-bottom 0.3s ease, opacity 0.3s ease;
  box-shadow: 5px 12px 30px rgba(0, 0, 0, 0.7);
  visibility: hidden;
  min-width: 200px;
  border-radius: 10px;
}

.contact-me-wrapper.expanded .icon-menu {
  visibility: visible;
  z-index: 1;
  opacity: .97;
}

.contact-me-wrapper .icon-menu ul {
  list-style: none;
}

.contact-me-wrapper .icon-menu ul li {
  margin-bottom: 7px;
}

.contact-me-wrapper .icon-menu ul li:last-child {
  margin-bottom: 0;
}

.contact-me-wrapper .icon-menu ul li a {
  padding-left: 25px;
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: left center;
  display: block;
  text-decoration: none;
  color: var(--color-section-primary);
}

.contact-me-wrapper .icon-menu ul li.telegram a {
  background-image: url(/icn/contacts/bg_light/telegram_icon_light.svg);
}

.contact-me-wrapper .icon-menu ul li.whatsapp a {
  background-image: url(/icn/contacts/bg_light/whatsapp_icon_light.svg);
}

.footer a {
  opacity: 0;
}

.shrinked-img.light {
  background-color: var(--color-tile-primary) !important;
}

.shrinked-img.dark {
  background-color: var(--color-section-primary) !important;
  width: 22px;
}

.shrinked-img {
  border-radius: 50% !important;
  object-fit: scale-down;
}
