.page {
  background-color: yellow;
  max-width: 360px;
  margin: 0 auto;
  /* font-family: 'Neucha', cursive; */
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #2a2c2f;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header {
  /* max-width: calc(100% - 16px * 2); */
  /* margin: 20px auto 20px; */
  position: fixed;
  background-color: yellow;
  width: 360px;
  padding: 10px;
  top: 0;
  border-bottom: 1px solid;
  box-sizing: border-box;
}

.header__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 5px;
}

.header_logo {
  width: 1px;
  height: 1px;
  color: #2a2c2f;
  font-size: 1px;
}
.header_logo_img {
  max-width: 40px;
  object-position: center;
  object-fit: contain;
}
.logo {
  display: flex;
  cursor: pointer;
}
.header__title {
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 5px;
  padding-top: 60px;
}
.score {
  font-size: 10px;
}

.header__heading {
  margin: 5px 0 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.header_btn {
  display: flex;
}

.header__links-list {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
  padding: 0;
}

.header__social-icon {
  width: 24px;
  height: 24px;
  align-self: center;
}

.content {
  max-width: calc(100% - 16px * 2);
  margin: 0 auto;
}
.description {
  max-width: 100%;
  margin: 0 auto;
}
.description__image {
  max-width: 100%;
  object-position: center;
  object-fit: cover;
}
.description__text {
  padding: 0 0 0 20px;
  margin: 0;
}
.description__text-item {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
}
.description__text-item:last-of-type {
  margin: 0;
}
.description__title {
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
  margin: 15px auto 10px;
}
.puzzle {
  margin: 0 auto 20px;
  /* padding-top: 95px; */
}
.puzzle__number {
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  margin: 0 auto 15px;
}
.puzzle__text {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.4;
}
.puzzle__text_type_italic {
  font-style: italic;
}
.puzzle__text_type_bold {
  font-weight: bold;
}
.form {
  max-width: 100%;
  margin: 0 0 25px;
  padding: 0;
}
.form__label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 10px;
}
.form__field {
  background-color: yellow;
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  margin: 0 0 15px;
  padding: 2px 4px;
  color: black;
  font-size: 12px;
}
.form__button-container {
  display: flex;
  justify-content: space-evenly;
  margin: 0;
}
.form__button {
  box-sizing: border-box;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  padding: 3px;
  display: block;
  margin: 0;
  background-color: yellow;
  color: #2a2c2f;
  border: 3px #2a2c2f solid;
  border-radius: 4px;
  cursor: pointer;
}
.btn_gift {
  margin: 0 0 0 10px;
  padding: 3px 10px;
}
.wrong-answer-board {
  box-shadow: 0 0 8px rgb(230, 0, 0);
  background-color: yellow;
  border-radius: 3px;
  padding: 4px 6px;
  box-sizing: border-box;
  display: none;
}
.wrong-answer-board__text {
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.wrong-answer-board__text:last-of-type {
  margin: 0;
}
.correct-answer-board {
  box-shadow: 0 0 8px rgb(0, 230, 0);
  background-color: yellow;
  border-radius: 3px;
  padding: 4px 6px;
  box-sizing: border-box;
  display: none;
}
.correct-answer-board__text {
  font-size: 14px;
  color: #2a2c2f;
  line-height: 1.25;
  margin: 0 0 10px;
}
.correct-answer-board__text:last-of-type {
  margin: 0;
}
.hint-board {
  box-shadow: 0 0 8px rgb(230, 230, 0);
  background-color: yellow;
  border-radius: 3px;
  padding: 4px 6px;
  box-sizing: border-box;
  display: none;
}
.hint-board__text {
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.hint-board__span-accent {
  font-weight: 700;
  padding-right: 5px;
}
.answer_text{
  display: flex;
  justify-content: end;
  transform: rotate(180deg);
  font-style: italic;
}
.hint-board__text:last-of-type {
  margin: 0;
}
.puzzle__image {
  width: 100%;
  border-radius: 15px;
}
.puzzle__video-description {
  text-transform: uppercase;
  margin: 15px 0 10px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.img_vintage_container {
  text-align: center;
}
.img_vintage {
  width: 300px;
  height: 95px;
  margin-bottom: 20px;
}
.img_video {
  max-width: 100%;
  max-height: 202px;
}
.img_video:hover {
  cursor: pointer;
  transform: scale(1.1);
  }
.puzzle__video {
  max-width: 100%;
  max-height: 202px;
  display: none;
}
.table {
  font-size: 14px;
  border-collapse: separate;
  border-spacing: 0 3px;
}
.table__data {
  border: 2px #2a2c2f solid;
  padding: 2px 3px;
}
.table__data_font-weight_semibold {
  font-weight: 700;
  text-align: center;
}
.table__data_font-weight_semibold:nth-of-type(2n) {
  margin-left: 3px;
}
.table__row {
  max-width: 100%;
}
.table__row:nth-child(odd) {
  background-color: rgb(160, 160, 160);
}
.footer__heading {
  margin: 0 0 15px;
  font-size: 18px;
  line-height: 1.25;
  text-align: center;
}
.footer__link {
  color: #2a2c2f;
  text-decoration: none;
  font-size: 13px;
  line-height: 1;
  display: flex;
}
.footer__link {
  text-decoration: none;
  color: #2a2c2f;
}
.footer__link:hover {
  text-decoration: none;
  color: beige;
}
.footer__links-list {
  display: flex;
  justify-content: space-between;
  list-style-type: none;
  padding: 0;
}
.footer__social-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  align-self: center;
}
.header_burger {
  display: block;
  position: relative;
  z-index: 3;
  width: 30px;
  height: 22px;
  margin: 0;
  transition: 0.3s ease-in;
}
.header_burger::before,
.header_burger::after {
  content: "";
  height: 2px;
  background-color: #2a2c2f;
  position: absolute;
  width: 100%;
  left: 0;
}
.header_burger::before {
  top: 0;
  transition: 0.3s;
}
.header_burger::after {
  bottom: 0;
  transition: 0.3s;
}
.header_burger span {
  height: 2px;
  background-color: #2a2c2f;
  position: absolute;
  width: 100%;
  left: 0;
  top: 10px;
  transition: 0.3s;
}
.navbar {
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 100%;
  padding: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s ease-out;
  text-align: center;
}
.navbar li:first-child {
  margin-top: 50px;
  padding-top: 20px;
}
.navbar li {
  margin-bottom: 7px;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar_width {
  width: 360px;
  position: relative;
  background-color: yellow;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  transition: 0.3s ease-in;
}
.navbar_text {
  font-size: 32px;
  margin-left: 0px;
  margin-bottom: 10px;
  color: #2a2c2f;
  text-decoration: none;
  transition: 0.1s ease-in;
}
.navbar_text:hover {
  text-decoration: none;
  color: #93979d;
  transition: 0.1s ease-in;
}
.active_burger {
  left: 0px;
  transition: 0.3s ease-in;
}

.active_burger_burger span {
  transform: rotate(90deg);
  top: 20px;
  left: -9px;
  transition: 0.3s;
}
.active_burger_burger::before {
  transform: rotate(90deg);
  left: -19px;
  top: 20px;
  transition: 0.3s;
}
.active_burger_burger::after {
  transform: rotate(90deg);
  left: 1px;
  top: 20px;
  transition: 0.3s;
}
.lock {
  overflow: hidden;
  background: rgba(41, 41, 41, 0.6);
  transition: 0.3s ease-in;
}
.checked_answer {
  font-size: 32px;
  position: absolute;
  left: 80px;
  padding-right: 5px;
  display: none;
  color: #008000;
}
.navbar_width li span {
  color: #008000;
}
.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(41, 41, 41, 0.6);
  padding-top: 40px;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.8s ease 0s;
}
.popup_reset_btn {
  display: flex;
  justify-content: space-between;
  margin: 20px auto;
  width: 70%;
}
.popup.open {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.popup.open .popup_content {
  opacity: 1;
  transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
}
.popup_body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 50px;
}
.popup_content {
  min-width: 320px;
  background-color: yellow;
  border-radius: 9px;
  box-shadow: 0px 2px 35px 14px rgba(13, 13, 13, 0.04);
  position: relative;
  opacity: 0;
  transition: all 0.8s ease 0s;
  transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
}
.popup_close {
  background-color: yellow;
  display: flex;
  position: absolute;
  top: -60px;
  right: 5px;
  align-items: center;
  padding: 0 17px;
  width: 52px;
  height: 52px;
  border: 2px solid #f1cdb3;
  border-radius: 100px;
  cursor: pointer;
}
.popup_body:hover .popup_close {
  background: yellow;
  border: 2px solid #fddcc4;
}
.popup_content:hover .popup_close {
  background: #fafafa;
  border: 2px solid #f1cdb3;
}
.popup_close:hover {
transform: scale(1.1);
}
.popup_gift {
  position: relative;
}
.popup_img {
  width: 300px;
  border-radius: 9px;
  display: none;
  box-shadow: 4px 4px 8px 0px rgba(34, 60, 80, 0.2);;
}
.popup_data {
  position: absolute;
  right: 20px;
  top: 260px;
  background-color: white;
  border-radius: 9px;
  width: fit-content;
  padding: 0px 5px;
  box-sizing: border-box;
  border: 1px solid grey;
  display: none;
  color: 2a2c2f;
}
.popup_description {
  font-family: "Georgia";
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #2a2c2f;
  margin: 40px 0;
  max-width: 300px;
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 14px;
  text-align: justify;
}
.popup_text {
  padding: 20px;
  text-align: center;
}
.fireworks-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  z-index: 0;
}