body {
  position: relative;
  margin: 0;
  background-image: linear-gradient(180deg,#e1bea8 0, #614432);
  background-attachment: fixed;
  font-size: 16px;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  line-height: 1.38;
  color: #4a4249;
}

img {
  display: block;

  max-width: 100%;
  height: auto;
}

button:not(:disabled) {
  cursor: pointer;
}

.header {
  margin-bottom: 20px;
  background-color: #26a5bb;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.header__wrapper {
  position: relative;
  display: flex;
  padding: 0 10px;
  align-items: center;
  height: 60px;
  z-index: 2;
}

.header__logo {
  display: flex;
  align-items: flex-start;
}

.header__logo-mk-image {
  display: block;
  width: 67px;
  height: 20px;
  max-width: 100%;
  fill: #ffffff;
}

.header__logo-separator {
  margin: 0 5px 0 3px;
  font-family: "PT Serif", serif;
  font-size: 14px;
  color: #ffffff;
}

.header__logo-image {
  display: block;
  width: 140px;
  max-width: 100%;
  height: auto;
}

.header__share-overlay,
.header__share-body,
.header__share-title {
  display: none;
}

.header__share-wrapper {
  margin-left: auto;
}

.header__share-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
}

.header__share-button:active,
.header__share-button:focus,
.header__share-button:hover {
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
}

.header__button-icon {
  fill: #777777;
}

.header__share_active .header__button-icon {
  display: none;
}

.header__share_active .header__share-overlay,
.header__share_active .header__share-body {
  display: block;
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.header__share_active .header__share-button:before,
.header__share_active .header__share-button:after {
  content: "";
  position: absolute;
  top: 21px;
  left: 13px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background-color: #777777;
  z-index: 5;
}

.header__share_active .header__share-button:before {
  transform: rotate(45deg);
  box-shadow: none;
}

.header__share_active .header__share-button:after {
  transform: rotate(-45deg);
}

.header__share_active .header__share-body {
  position: absolute;
  left: 0;
  top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 62px;
  background-color: #26a5bb;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.header__share_active .share {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__share .share__button:focus,
.header__share .share__button:hover,
.header__share .last__share-button:focus,
.header__share .last__share-button:hover {
  color: #ffffff;
  background-color: #ffffff;
}

.title {
  margin-top: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.33;
  text-transform: uppercase;
  text-align: center;
}

.wrapper {
  position: relative;
  background: transparent;
}

.wrapper__bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./img/tutorial-bg.jpg') center;
  background-size: cover;
}

.content {
  position: relative;
  margin: 0 9px;
  padding: 0;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.content__step {
  padding: 20px 20px 40px;
  max-width: 870px;
  box-sizing: border-box;
}

.content__step_start .question-counter {
  display: none;
}

.content__photo-wrapper,
.content__video-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 75%;
  background-color: #eee;
  margin-bottom: 9px;
}

.content__photo-wrapper img,
.content__video-wrapper video {
  width: 100%;
  height: auto;
  transition: transform 0.6s, opacity 0.1s;
  position: absolute;
  opacity: 1;
}

img.content__photo-loading {
  opacity: 0;
}

.question-counter,
.content__question-title {
  text-transform: uppercase;
  font-size: 14px;
  /*font-weight: 700;*/
  line-height: 16px;
}

.question-counter {
  margin: 0 0 1px;
  text-align: center;
}

.question-counter__title {
  font-family: "Bebas Neue", "Roboto", cursive;
  font-size: 24px;
  font-weight: 700;
  line-height: 20px;
  color: #26a5bb;
}

.question-counter__title span {
  margin-left: 8px;
}

.question-counter__winner {
  display: none;
}

.content__main-text {
  margin: 28px 0 10px;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.content__main-text p {
  padding: 0;
  margin: 0;
}

.content__main-text a {
  color: #4a4249;
}

.content__main-text a:hover {
  color: #008cc9;
}

.content__question-title {
  padding: 0;
  margin: 0;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.29;
  color: #aaaaaa;
  text-transform: uppercase;
}

.content__question-list,
.content__answer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content__question-list-item {
  position: relative;
  margin-bottom: 2px;
  border-radius: 3px;
  background-color: #eeeeee;
}

.content__question-item {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 6px 30px 70px;
  text-align: left;
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

.content__question-list-item:hover,
.content__question-list-item:focus,
.content__question-list-item:active {
  color: #008cc9;
  background-image: linear-gradient(to bottom, #e2eaf2, #f3f6fa);
}

.content__question-list-item::before,
.content__answer-item:before {
  position: absolute;
  top: 16px;
  left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 18px;
  text-align: center;
  color: #ffffff;
  border-radius: 16px;
  background-color: #26a5bb;
  z-index: 1;
}

.content__question-list li:nth-child(1):before,
.content__answer-item:nth-child(1):before {
  content: 'A';
}

.content__question-list li:nth-child(2):before,
.content__answer-item:nth-child(2):before {
  content: 'Б';
}
.content__question-list li:nth-child(3):before,
.content__answer-item:nth-child(3):before {
  content: 'В';
}

.content__answer-item {
  position: relative;
  margin-bottom: 2px;
  padding: 22px 6px 30px 20px;
  font-family: "Helvetica", "Aria", sans-serif;
  border-radius: 3px;
  background-color: #eeeeee;
}

.content__answer {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 0 0 50px;
  font-weight: 700;
  line-height: 1.2;
  font-size: 14px;
  color: #333333;
}

.content__answer-comment {
  margin-top: 0;
  padding: 14px 14px 0 0;
  font-size: 16px;
  line-height: 20px;
  color: #777777;
}

.content__answer-comment p {
  margin: 0;
}

.content__answer-comment a {
  color: inherit;
}

.content__answer-comment a:hover {
  color: #008cc9;
}

.content__description {
  margin-top: 0;
  padding: 4px 20px 16px 20px;
  font-size: 14px;
  line-height: 1.25;
  color: #777777;
}

.content__description p {
  margin: 0;
}

.content__step_right .content__answer-item_selected {
  background-color: #e0ffdb;
}

.content__step_right .content__answer-item_selected:before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath fill='%23ffffff' fill-rule='evenodd' d='M15.11 19.335l6.287-10.063a1.5 1.5 0 012.544 1.59l-7.418 11.873a1.506 1.506 0 01-.538.513l-.031.021a1.5 1.5 0 01-2.082-.404l-5.033-7.462a1.5 1.5 0 112.487-1.677l3.783 5.609z'/%3E%3C/svg%3E");
}

.content__step_wrong .content__answer-item_selected {
  background-color: #ffdfdf;
}

.content__step_wrong .content__answer-item_selected:before {
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath fill='%23ffffff' fill-rule='evenodd' d='M16 13.912l3.48-3.48a1.477 1.477 0 012.088 2.088L18.088 16l3.48 3.48a1.477 1.477 0 01-2.088 2.088L16 18.088l-3.48 3.48a1.477 1.477 0 01-2.088-2.088l3.48-3.48-3.48-3.48a1.477 1.477 0 012.088-2.088l3.48 3.48z'/%3E%3C/svg%3E");
}

.content__step_right .content__answer-item_selected:after,
.content__step_wrong .content__answer-item_selected:after {
  display: none;
}

.content__progress-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 21px;
  width: 100%;
  height: 48px;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  border: none;
  background-color: #26a5bb;
  border-radius: 24px;
  box-shadow: 0 0 13px 0 rgba(255, 255, 255, 0.5);
}

.content__step_wrong .content__progress-button:before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 19px;
  padding-right: 9px;
	background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSI5Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCA1TDQuMi44bDEuNSAxLjRMMy44IDRoMjEuNHYySDMuOGwxLjkgMS44LTEuNSAxLjR6Ii8+PC9zdmc+');
  background-repeat: no-repeat;
  background-position: center;
}

.content__step_right .content__progress-button:after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  padding-left: 9px;
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSI5Ij48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMjYgNUwyMS44LjhsLTEuNSAxLjRMMjIuMiA0SC44djJoMjEuNGwtMS45IDEuOCAxLjUgMS40eiIvPjwvc3ZnPg==");
  background-repeat: no-repeat;
  background-position: center;
}

.content__step_finish .content__progress-button:before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  padding-right: 9px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath fill='%23fff' d='M25 38c-5.1 0-9.7-3-11.8-7.6l1.8-.8c1.8 3.9 5.7 6.4 10 6.4 6.1 0 11-4.9 11-11s-4.9-11-11-11c-4.6 0-8.5 2.8-10.1 7.3l-1.9-.7c1.9-5.2 6.6-8.6 12-8.6 7.2 0 13 5.8 13 13s-5.8 13-13 13z'/%3E%3Cpath fill='%23fff' d='M20 22h-8v-8h2v6h6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.content__progress-button:focus,
.content__progress-button:hover,
.content__progress-button:active {
  outline: none;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.4);
}

.last__share-content {
  margin-bottom: 20px;
}

.content__title,
.last__share-title {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 2.29;
  color: #aaaaaa;
  text-transform: uppercase;
}

.last__share,
.share {
  display: none;
  margin: 0;
  padding: 0;
}

.last__share {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 68px;
  margin-bottom: 10px;
  border-radius: 3px;
  background-color: #eeeeee;
}

.last__share-content .header__share-body {
  display: block;
}

.last__share-content .header__share-button,
.last__share-content .header__share-title {
  display: none;
}

.last__share li,
.share li {
  display: inline-block;
  margin: 0 2px;
}

.last__share-button,
.share__button {
  display: block;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border-radius: 16px;
}

.last__share-button {
  background-color: white;
}

.share__button:focus {
  outline: none;
}

.share__button svg {
  padding: 5px;
  fill: #ffffff;
}

.share__button:active svg,
.share__button:focus svg,
.share__button:hover svg {
  fill: #777777;
}

.last__share-button svg {
  padding: 5px;
}

.last__share-button_vk svg {
  fill: #27658e;
}

.last__share-button_fb svg {
  fill: #195997;
}

.last__share-button_ok svg {
  fill: #fe8f04;
}

.last__share-button_tw svg {
  fill: #36b9ff;
}

.last__share-button_tm svg {
  fill: #2fa8df;
}

.last__share-button_wh svg {
  fill: #3adc49;
}

.last__share-button_vb svg {
  fill: #864cb2;
}

.text-after__list {
  display: flex;
  flex-wrap: wrap;
  margin: 40px 0 0 0;
  padding: 0;
  list-style: none;
}

.text-after__item {
  position: relative;
  width: calc(50% - 4px);
  padding-top: calc(65% * 3 / 4);
  margin: 0 8px 8px 0;
  border-radius: 3px;
  box-shadow: -1px 1px 4px 0 rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
}

.text-after__item:active,
.text-after__item:focus,
.text-after__item:hover {
  box-shadow: -1px 1px 4px 0 rgba(0, 0, 0, 0.4);
}

.text-after__item:nth-child(2n) {
  margin-right: 0;
}

.text-after__item:nth-child(1) {
  background-color: #d2a446;
}

.text-after__item:nth-child(2) {
  background-color: #7fc074;
}

.text-after__item:nth-child(3) {
  background-color: #66b6d2;
}

.text-after__item:nth-child(4) {
  background-color: #26a5bb;
}

.text-after__item a {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  z-index: 2;
}

.text-after__item-text {
  margin: 10px auto 0;
  text-align: center;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.5;
  color: #ffffff;
  text-transform: uppercase;
  z-index: 2;
}

/*todo*/
.text-after__item-open {
  margin: 4px auto;
  text-align: center;
  font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.5;
  color: #ffffff;
}

.footer {
  position: relative;
  padding: 22px 33px 39px;
  z-index: 2;
}

.footer__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.footer__logo-picture {
  display: block;
}

.footer__logo-text {
  display: block;
  margin: 0 auto;
  width: 240px;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #ffffff;
}
