html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;
  padding: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.js-hidden {
  display: none;
}

.anchor {
  display: block;
  width: 0;
  height: 0;
  position: relative;
  top: -100px;
  visibility: hidden;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  min-width: 300px;
  min-height: 100vh;
  font-family: "Roboto", "Arial", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #ffffff;
  background: #eeeeee url(./img/main-bg.jpg) no-repeat top;
  background-size: cover;
}

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

button:focus {
  outline: none;
}

.wrapper {
  position:  relative;

  padding: 0;
}

.header {
  margin-bottom: 32px;
  background-color: #66b6d2;
  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;
}

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

.header__logo-mk {
  display: block;
}

.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 {
  margin-left: auto;
}

.share__overlay,
.share__body,
.share__title {
  display: none;
}

.share__wrapper_active .share__body {
  position: absolute;
  left: 0;
  top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 62px;
  background-color: #66b6d2;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
  z-index: 10;
}

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

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

.share__button-icon {
  fill: #777777;
}

.share__wrapper_active .share__button-icon {
  display: none;
}

.share__wrapper_active .share__button:before,
.share__wrapper_active .share__button:after {
  content: "";
  position: absolute;
  top: 16px;
  left: 9px;
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background-color: #777777;
  z-index: 5;
}

.share__wrapper_active .share__button:before {
  transform: rotate(45deg);
  box-shadow: none;
}

.share__wrapper_active .share__button:after {
  transform: rotate(-45deg);
}

.share__list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

.share__list li {
  display: inline-block;
  margin: 0 2px;
}

.share__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border-radius: 16px;
}

.share__social-link:hover {
  background-color: #ffffff;
}

.share__social-link svg {
  fill: #ffffff;
}

.share__social-link:hover svg {
  fill: #777777;
}

.share__button_vk:hover,
.last__share-button_vk:hover,
.share__button_vk:focus,
.last__share-button_vk:focus {
  color: #27658e;
}

.share__button_fb:hover,
.last__share-button_fb:hover,
.share__button_fb:focus,
.last__share-button_fb:focus {
  color: #195997;
}

.share__button_ok:hover,
.last__share-button_ok:hover,
.share__button_ok:focus,
.last__share-button_ok:focus {
  color: #fe8f04;
}

.share__button_tw:hover,
.last__share-button_tw:hover,
.share__button_tw:focus,
.last__share-button_tw:focus {
  color: #2fa8df;
}

.share__button_wh:hover,
.last__share-button_wh:hover,
.share__button_wh:focus,
.last__share-button_wh:focus {
  color: #3adc49;
}

.share__button_tm:hover,
.last__share-button_tm:hover,
.share__button_tm:focus,
.last__share-button_tm:focus {
  color: #36b9ff;
}

.share__button_vb:hover,
.last__share-button_vb:hover,
.share__button_vb:focus,
.last__share-button_vb:focus {
  color: #864cb2;
}

.last__share-button:hover,
.last__share-button:focus {
  background-color: #fff;
}

.share__button:focus,
.last__share-button:focus,
.last__share-button:active,
.share__button:active {
  box-shadow: 0 0 10px 0 #66b6d2;
}

.header__button span {
  color: #ffffff;
  margin-right: 15px;
}

.header__button-text {
  display: none;
}

.main {
  margin: 0 auto;
}

.content-head {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.content-head__timer {
  margin: 0 auto;
}

.timer {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

.timer__body {
  margin: 0 auto;
  display: flex;
}

.timer__figure-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer__figure {
  display: flex;
  align-items: center;
  font-family: "RobotoCondensed", "Arial", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #ffffff;
}

.timer__figure:after {
  content: ":";
  display: inline;
  margin-right: 1px;
}

.timer__figure-container:last-child .timer__figure:after {
  content: none;
}

.timer__figure-name {
  position: absolute;
  bottom: -20px;
  left: 40%;
  transform: translateX(-50%);
  font-weight: 300;
  line-height: 1.67;
}

.timer__figure-container:last-child .timer__figure-name {
  left: 50%;
}

.digit {
  margin-right: 2px;
  width: 24px;
  height: 60px;
  border-radius: 3px;
  background-color: rgba(0, 156, 242, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-body {
  position: relative;
  margin-bottom: 8px;
}

.content-body__game-list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: -20px;
  padding-bottom: 20px;
  overscroll-behavior-x: contain;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.content-body__game-list::-webkit-scrollbar {
  display: none;
}

.content-body__game-item {
  display: flex;
  margin-right: 8px;
  background-color: #66b6d2;
  border-radius: 3px;
}

.content-body__button {
  position: relative;
  width: 260px;
  height: 144px;
  padding: 10px;
  box-sizing: border-box;
  flex-grow: 1;
  flex-shrink: 0;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  text-decoration: none;
  background: url(./img/bg-oval.svg) no-repeat -10px center;
  background-size: 160px 176px;
  transition: background-size 0.1s, background-position 0.1s;
}

.content-body__button:hover,
.content-body__button:focus,
.content-body__button:active {
  background-size: 90px 90px;
  background-position: 15px 25px;
}

.content-body__button_active {
  background: #eeeeee;
}

.content-body__icon-round {
  position: absolute;
  top: 30px;
  left: 20px;
  margin: 0 auto;
  width: 80px;
  height: auto;
  color: #ffffff;
  transition: transform 100ms;
}

.content-body__button:hover .content-body__icon-round,
.content-body__button:focus .content-body__icon-round,
.content-body__button:active .content-body__icon-round {
  transform: scale(1.15);
}

.content-body__button_active .content-body__icon-round {
  color: #66b6d2;
}

.content-body__button-text {
  margin: 10px 0 0 105px;
  color: #ffffff;
  text-transform: uppercase;
}

.content-body__button_active .content-body__button-text {
  color: #66b6d2;
}

.content-body__subheader {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.86;
}

.content-body__question {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.38;
}

.content-body__slider-buttons {
  display: none;
  position: absolute;
  width: 100%;
  height: 0;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.content-body__slider-button {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  transform: rotate(90deg);
}

.content-body__slider-button_back {
  left: 10px;
}

.content-body__slider-button_forward {
  right: 10px;
  transform: rotate(270deg);
}

.content-body__slider-button:hover {
  background-color: #66b6d2;
  color: #fff;
  outline: none;
}

.content-body__slider-button:focus,
.content-body__slider-button:active {
  box-shadow: 0 0 10px 0 #66b6d2;
}

.content__game {
  position: absolute;
  top: 154px;
  left: 0;
  margin: 0;
  width: 100%;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  background-color: #ffffff;
}

.content__step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border-radius: 3px;
}

.content__step a,
.content__main-text a {
  color: #777777;
}

.content__step a:hover,
.content__main-text a:hover  {
  color: #66b6d2;
}

.content__game-title {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.86;
  font-weight: 400;
  color: #ffffff;
}

.content__counter {
  display: flex;
  margin: 0 0 19px 0;
}

.content__counter-bar {
  flex-grow: 1;
  height: 4px;
  border-radius: 2px;
  margin-right: 2px;
  background-color: #dddddd;
}

.content__counter-bar_passed {
  background-color: #66b6d2;
}

.content__main-text {
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #777777;
}

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

.content__question-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

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

.content__question-item {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 48px 14px 68px;
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: inherit;
}

.content__question-list-item:hover,
.content__question-list-item:focus,
.content__question-list-item:active {
  color: #ffffff;
  background-color: #66b6d2;
}

.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: solid 1px #66b6d2;
  border-radius: 16px;
  background-color: #66b6d2;
  z-index: 1;
}

.content__question-list-item:hover:before,
.content__question-list-item:hover:focus,
.content__question-list-item:hover:active {
  border-color: #ffffff;
}

.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__question-list li:nth-child(4):before,
.content__answer-item:nth-child(4):before {
  content: 'Г';
}

.content__popup {
  position: absolute;
  bottom: 160px;
  left: 10px;
  padding: 10px 8px;
  width: calc(100% - 35px);
  border-radius: 3px;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2);
  background-color: #1e1963;
  z-index: 10;
}

.content__popup-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.content__answer-comment {
  margin-top: 2px;
  padding: 20px 20px 30px;
  font-size: 16px;
  color: #777777;
  border-radius: 3px;
}

.content__step_wrong .content__answer-comment {
  background-color: #ffecec;
}

.content__step_right .content__answer-comment {
  background-color: #e2ffe5;
}

.content__step_wrong .content__answer-item:not(.content__answer-item_selected),
.content__step_right .content__answer-item:not(.content__answer-item_selected) {
  display: none;
}

.content__answer-comment span {
  text-transform: uppercase;
}

.content__popup-button {
  position: relative;
  width: 25px;
  height: 25px;
  margin: -5px -5px 0 auto;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
  border: none;
}

.content__popup-button::before,
.content__popup-button::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 5px;
  border-radius: 2px;
  width: 17px;
  height: 3px;
  background-color: #ffffff;
}

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

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

.content__answer-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.content__step_last .content__answer-list {
  display: none;
}

.content__answer-item {
  position: relative;
  border-radius: 3px;
  background-color: #eeeeee;
  color: #777777;
}

.content__answer-item:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.4;
  border-radius: 24px;
  background-color: #000000;
  z-index: 1;
}

.content__answer {
  position: relative;
  margin: 0;
  padding: 18px 48px 14px 68px;
  font-weight: 700;
}

.content__step_right .content__answer-item_selected:before {
  content: '';
  border: solid 1px #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath fill='%23FFF' 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:before {
  content: '';
  border: solid 1px #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath fill='%23FFF' 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-buttons {
  display: flex;
  margin: 0 0 30px auto;
}

.content__progress-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background-color: #66b6d2;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.content__progress-button_back {
  margin-left: auto;
  transform: rotate(90deg);
}

.content__progress-button_forward {
  margin-left: 4px;
  transform: rotate(-90deg);
}

.content__step_right .content__progress-button_back,
.content__step_wrong .content__progress-button_forward {
  opacity: 0.2;
  pointer-events: none;
}

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

.content__progress-button:focus,
.content__progress-button:active {
  box-shadow: 0 0 10px 0 #66b6d2;
  outline: none;
}

.content__progress-button-text {
  display: none;
}

.content__final {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content__final-picture {
  margin: 20px auto 24px auto;
}

.content__final-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 5;
}

.content__final-button {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 12px 0 13px 48px;
  width: 217px;
  height: 48px;
  font-style: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #66b6d2;
  border-radius: 24px;
  border: solid 2px #ffffff;
  background-color: #eeeeee;
  cursor: pointer;
}

.content__final-button:disabled {
  color: #ffffff;
  /*border: solid 2px #66b6d2;*/
  background-color: #66b6d2;
}

.content__final-button::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  width: 32px;
  height: 32px;
  /*border: solid 1px #66b6d2;*/
  background-color: #66b6d2;
  border-radius: 16px;
  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.962 14.009h4.92a1.476 1.476 0 11.001 2.953h-4.921v4.92a1.477 1.477 0 01-2.953.001v-4.921H9.088a1.476 1.476 0 110-2.953h4.921V9.088a1.476 1.476 0 112.953 0v4.921z'/%3E%3C/svg%3E");
  background-position: center;
}

.content__final-button:disabled:before {
  top: 7px;
  background-color: #ffffff;
}

.content__final-button:disabled::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath fill='%2366b6d2' 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_last .content__counter {
  display: none;
}

.content__step_last .content__game-title {
  margin-bottom: 29px;
}

.content__step_last .content__progress-button_back {
  display: none;
}

.content__step_last .content__progress-buttons {
  margin: 0 auto;
}

.content__step_last .content__progress-button_forward {
  display: flex;
  align-items: center;
  position: relative;
  width: auto;
  padding: 0;
  margin: 0;
  transform: none;
  background: transparent;
  font-style: inherit;
  color: inherit;
  font-weight: 700;
  box-shadow: none;
  font-size: 16px;
}

.content__step_last .content__progress-button_forward::before {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  top: 3px;
  left: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath fill='%2366b6d2' 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='%2366b6d2' d='M20 22h-8v-8h2v6h6z'/%3E%3C/svg%3E");
  transform: rotate(180deg);
}

.content__step_last .content__progress-button-img {
  display: none;
}

.content__step_last .content__progress-button-text {
  display: block;
  padding: 13px 19px 12px 46px;
  text-transform: uppercase;
  color: #66b6d2;
  border: solid 2px #66b6d2;
  border-radius: 24px;
}

.content__final-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 217px;
  height: 48px;
  box-sizing: border-box;
  border-radius: 24px;
  background-image: linear-gradient(to bottom, #00ee31, #00bd13);
  font-style: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.content__share {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 10px;
}

.share__last {
  background-color: #eeeeee;
}

.share__last .share__body {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  box-shadow: none;
}

.share__last .share__title {
  text-align: center;
  color: #777777;
  font-size: 14px;
  font-weight: 400;
  margin: 16px 21px 0 0;
}

.share__last .share__list {
  height: 68px;
}

.share__last .share__social-link_vk svg {
  fill: #27658e;;
}

.share__last .share__social-link_fb svg {
  fill: #195997;;
}

.share__last .share__social-link_ok svg {
  fill: #fe8f04;
}

.share__last .share__social-link_tw svg {
  fill: #36b9ff;
}

.share__last .share__social-link_tm svg {
  fill: #2fa8df;
}

.share__last .share__social-link_wh svg {
  fill: #3adc49;
}

.share__last .share__social-link_vb svg {
  fill: #864cb2;
}

.share__last .share__button {
  display: none;
}

.last__share {
  margin: 0;
  padding: 0;
}

.content__game .header__button {
  display: none;
}

.last__share {
  display: flex;
}

.last__share li {
  display: flex;
  flex-grow: 1;
  margin: 8px 2px;
}

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

.content__list-element p {
  padding: 0 17px 4px 34px;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMyI+ICA8cGF0aCBmaWxsPSIjZDcxZjI3IiBkPSJNMi42IDEzYS43LjcgMCAwIDEtLjUtLjEgNy4zIDcuMyAwIDAgMSAwLTEwLjMgNiA2IDAgMCAxIDguNSAwIDUgNSAwIDAgMSAwIDcgNCA0IDAgMCAxLTMgMS4xIDQgNCAwIDAgMS0yLjgtMS4yIDMuNCAzLjQgMCAwIDEtMS0yLjRjMC0uOS40LTEuNyAxLTIuNGEyLjggMi44IDAgMCAxIDItLjhjLjggMCAxLjUuMyAyIC44YTIuNCAyLjQgMCAwIDEgMCAzLjQgMiAyIDAgMCAxLTEuNC43IDIgMiAwIDAgMS0xLjUtLjcgMS44IDEuOCAwIDAgMS0uNS0xLjMuNy43IDAgMSAxIDEuNCAwIC40LjQgMCAwIDAgMCAuNGwuNi4yYS43LjcgMCAwIDAgLjUtLjJjLjItLjIuMy0uNS4zLS44YTEgMSAwIDAgMC0uMy0uNyAxLjUgMS41IDAgMCAwLTEtLjRjLS41IDAtLjguMS0xLjEuNGEyIDIgMCAwIDAgMCAyLjggMi43IDIuNyAwIDAgMCAzLjggMCAzLjUgMy41IDAgMCAwIDAtNSA0LjYgNC42IDAgMCAwLTYuNSAwIDYgNiAwIDAgMCAwIDguNC43LjcgMCAwIDEtLjUgMS4yeiIvPjwvc3ZnPg==') no-repeat 2px 4px;
}

.constitution__content {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 15;
  width: 100%;
}

.constitution {
  position: absolute;
  top: 20px;
  left: 50%;
  height: 95vh;
  width: calc(100% - 20px);
  transform: translateX(-50%);
  background: #1e1963;
  z-index: 100;
  overflow-y: scroll;
}

.constitution__header {
  position: sticky;
  top: 0;
  height: 33px;
  display: flex;
  box-sizing: border-box;
  background-color: #1e1963;
  z-index: 10;
}

.constitution__header-button-text,
.constitution__header-button-marks {
  background-color: transparent;
  height: 100%;
  line-height: 2.17;
  text-transform: uppercase;
}

.constitution__header-button-text {
  display: none;
}

.constitution__header-button-marks {
  display: none;
}

.constitution__header-button-close {
  position: relative;
  padding: 0;
  top: 0;
  right: 0;
  background-color: transparent;
  cursor: pointer;
  border: none;
  width: 32px;
  height: 32px;
  margin-left: auto;
}

.constitution__header-button-close::before,
.constitution__header-button-close::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 10px;
  border-radius: 2px;
  width: 17px;
  height: 3px;
  background-color: #ffffff;
}

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

.constitution__header-button-close::after {
  transform: rotate(-45deg);
}

.constitution__body tr {
  display: flex;
  flex-direction: column;
}

.constitution__left-column {
  padding: 0 60px 0 40px;
  margin-right: 40px;
}

.constitution__left-column h2 {
  margin: 32px 0 11px 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33;
  text-transform: uppercase;
}

.constitution__left-column h3 {
  margin: 16px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.constitution__left-column h4 {
  margin: 20px 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.constitution__right-column {
  padding: 10px 40px 10px 12px;
  margin-right: 40px;
}

.constitution__right-column p {
  line-height: 1.5;
  color: #99d2ff;
  margin: 0 0 10px 0;
}

.constitution__left-column p {
  position: relative;
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

.constitution__left-column b,
.constitution__left-column strong {
  color: #99d2ff;
  font-weight: 400;
}

.constitution__index {
  position: absolute;
  top: 0;
  left: -30px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  background-color: rgba(0, 156, 242, 0.15);
  font-size: 18px;
  font-weight: 700;
  line-height: 3.11;
}

.constitution__footer {
  position: sticky;
  bottom: 0;
  height: 54px;
  display: flex;
  border-top: solid 1px rgba(255, 255, 255, 0.2);
  background-color: #1e1963;
}

.constitution__top-link {
  padding: 16px 0 15px 10px;
  width: 78px;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.09;
  color: #99d2ff;
  text-decoration: none;
}

.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin-top: 655px;
}

.footer__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 19px auto 0;
  padding: 0;
  list-style: none;
}

.footer__controls-item:after {
  content: "—";
  display: inline;
  margin-right: 1px;

  font-size: 14px;
  line-height: 1.57;
  color: #66b6d2;
}

.footer__controls-item:last-child:after {
  content: none;
}

.footer__controls-button {
  padding: 0 3px 0;
  font-family: inherit;
  font-weight: inherit;
  font-size: 14px;
  text-transform: uppercase;
  color: #66b6d2;
  background-color: transparent;

  cursor: pointer;
  border: none;
}

.footer__controls-button_active {
  color: #ffffff;
}

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

.footer__wrapper {
  margin: 0 auto;
  width: 100%;
}

.footer__link-more {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 36px;
}

.footer__link-more span {
  margin-right: 8px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  color: #ffffff;
}

.footer__link-more:hover span {
  color: #66b6d2;
}

.footer__link-more > svg {
  border-radius: 50%;
}

.footer__link-more:hover > svg {
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
}

@media (max-width: 730px) {
  .share__wrapper_active .share__overlay {
    position: fixed;
    top: 120px;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
}
