:root {
  --color-black: #000;
  --color-white: #fff;
}

@font-face {
  font-family: "Gill Sans MT";
  src: url("../fonts/gill-sans-mt.ttf");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Gill Sans MT - Bold";
  src: url("../fonts/GILB.ttf");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Gill Sans MT - Italic";
  src: url("../fonts/Gill Sans MT Italic.ttf");
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

body {
  box-sizing: border-box;
}

aside,
nav,
footer,
header,
section {
  display: block;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  border: none;
  background-color: transparent;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

ul li {
  list-style: none;
}

dl,
ol,
ul {
  margin: 0;
  padding: 0;
}

label {
  margin: 0;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
  margin: 0;
}

input:not([type=checkbox]):not([type=radio]),
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

* {
  font-family: "Gill Sans MT", sans-serif;
}

body {
  background: #fff;
}

.container {
  width: 100%;
  max-width: 510px;
  margin: 0 auto;
  padding: 0 15px;
}

.page {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background-image: url("../img/bg_new.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.background {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 190px;
  left: 130px;
  z-index: 8;
}

.nav__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 52px;
  border-radius: 5px;
  transition: 0.2s linear;
}
.nav__btn.solved{
  background: green;
}
@media (any-hover: hover) {
  .nav__btn:hover {
    transform: scale(1.1);
  }
}
.nav__btn + .nav__btn {
  margin-top: 20px;
}
.nav__btn--one {
  background-color: #000000;
}
.nav__btn--two {
  background-color: #000000;
}
.nav__btn--three {
  background-color: #000000;
}
.nav__btn--four {
  background-color: #f93636;
}

.nav__btn.active{
  background: green;
}

.input {
  display: block;
  width: 100%;
  padding: 15px 10px;
  border-radius: 5px;
  border: 1px solid #c1bdc5;
  color: #c1bdc5;
  font-family: "Gill Sans MT";
  font-size: 21px;
  font-weight: 400;
}
.input::-moz-placeholder {
  color: #c1bdc5;
  font-family: "Gill Sans MT";
  font-size: 21px;
  font-weight: 400;
}
.input:-ms-input-placeholder {
  color: #c1bdc5;
  font-family: "Gill Sans MT";
  font-size: 21px;
  font-weight: 400;
}
.input::placeholder {
  color: #c1bdc5;
  font-family: "Gill Sans MT";
  font-size: 21px;
  font-weight: 400;
}

.top-nav {
  display: flex;
  position: absolute;
  top: 20px;
  right: 60px;
}

.link {
  display: block;
  width: 166px;
  padding: 14px;
  box-shadow: 0 3px 0 rgba(9, 9, 9, 0.24);
  border-radius: 5px;
  background-color: #ffffff;
  color: #000000;
  font-family: "Gill Sans MT";
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
  transition: 0.2s linear;
}
.link + .link {
  margin-left: 15px;
}
@media (any-hover: hover) {
  .link:hover {
    box-shadow: none;
    transform: translateY(2px);
  }
}

.btn {
  display: block;
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  background-color: #e7be07;
  color: #000000;
  font-family: "Gill Sans MT";
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
  transition: 0.2s linear;
}
@media (any-hover: hover) {
  .btn:hover {
    background-color: #000000;
    color: #fff;
  }
}
.btn--dark {
  background-color: #000000;
  color: #fff;
}
@media (any-hover: hover) {
  .btn--dark:hover {
    background-color: #e7be07;
    color: #000000;
  }
}
.btn--red {
  background-color: #f93636;
}

.popup {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
  overflow-y: scroll;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  background-color: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  transition: 0.2s linear;
}
.popup::-webkit-scrollbar {
  display: none;
}
.popup.active {
  opacity: 1;
  visibility: visible;
}

.popup__btn {
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 100%;
  text-align: center;
  position: absolute;
  top: 11px;
  right: 16px;
  transition: 0.2s linear;
}
@media (any-hover: hover) {
  .popup__btn:hover {
    color: #000;
  }
}

.popup__inner {
  width: 673px;
  padding: 60px 40px 35px;
  border-radius: 5px;
  border: 2px solid #f0f0f0;
  background-color: #ffffff;
  position: relative;
}
.gamepassword .popup__inner {
  width: 900px;
}
[id*=answers] .popup__inner {
  width: 934px;
}

.item, .item_link {
  position: absolute;
  display: block;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 340px 16px 120px;
  background-color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
}
@media (max-width: 1439px) {
  .header {
    padding: 16px 40px;
  }
}

.header__logo {
  display: flex;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.header__logo img {
  display: block;
  width: 36px;
  height: 22px;
  margin-right: 30px;
  -o-object-fit: contain;
  object-fit: contain;
}
.header__logo span {
  color: #ffffff;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-weight: 400;
  line-height: normal;
}

.number {
  display: flex;
  align-items: center;
}

.number__text {
  margin-right: 30px;
  color: #ffffff;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-weight: 400;
  line-height: normal;
}

.number__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  border-radius: 5px;
  color: #ffffff;
  font-family: "Gill Sans MT";
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-transform: uppercase;
  transition: 0.2s linear;
  margin: 0 15px;
}
@media (any-hover: hover) {
  .number__btn:hover {
    opacity: 0.7;
  }
}
.number__btn--yellow,  .number__btn--one{
  background-color: #e7be07;
}
.number__btn--red, .number__btn--two, .number__btn--three {
  background-color: #f93636;
}
.number__btn--green {
  background-color: green;
}

.header__nav {
  display: flex;
  align-items: center;
}

.timer {
  padding-left: 51px;
  margin-right: 36px;
  color: #ffffff;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  position: relative;
}
.timer::before {
  content: "";
  width: 29px;
  height: 32px;
  background-image: url("../img/timer.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.escape {
  display: flex;
  padding: 4px 26px 4px 19px;
  border-radius: 5px;
  background-color: #e7be07;
  color: #000000;
  font-family: "Gill Sans MT";
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  transition: 0.2s linear;
}
@media (any-hover: hover) {
  .escape:hover {
    opacity: 0.7;
  }
}
.escape img {
  width: 30px;
  height: 29px;
  display: block;
  margin-right: 17px;
  -o-object-fit: contain;
  object-fit: contain;
}

.register {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 40px 30px 30px;
  background-color: #fff;
  border: 2px solid #c7c7c7;
  border-radius: 4px;
}

.register__logo {
  width: 185px;
  height: auto;
  margin: 0 auto 50px;
}
.register__logo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.register__title {
  margin-bottom: 30px;
  color: #727171;
  font-family: "Gill Sans MT";
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 100%;
  font-size: 48px;
}
.register__title span {
  color: #727171;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 100%;
}

.register__input {
  margin-bottom: 10px;
}

.register__btn {
  margin-top: 20px;
}

.scoreboard {
  padding: 20px 30px 40px;
  margin-bottom: 40px;
  background-color: #fff;
  border: 2px solid #c7c7c7;
  border-radius: 4px;
}

.scoreboard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.scoreboard__title {
  color: #727171;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: 100%;
}

.scoreboard__link {
  color: #c1bdc5;
  font-family: "Gill Sans MT";
  font-size: 18px;
  font-weight: 400;
  transition: 0.2s linear;
}
@media (any-hover: hover) {
  .scoreboard__link:hover {
    color: #000;
  }
}

.scoreboard__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scoreboard__item + .scoreboard__item {
  margin-top: 20px;
}

.scoreboard__info {
  padding-left: 55px;
  position: relative;
}

.scoreboard__num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #e7be07;
  color: #ffffff;
  font-family: "Gill Sans MT";
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  position: absolute;
  top: 0;
  left: 0;
}

.scoreboard__name {
  display: block;
  color: #727171;
  font-family: "Gill Sans MT";
  font-size: 18px;
}

.scoreboard__date {
  color: #727171;
  font-family: "Gill Sans MT";
  font-weight: 400;
  font-size: 14px;
}

.scoreboard__time {
  font-weight: 400;
  color: #000;
  font-family: "Gill Sans MT";
  font-size: 18px;
}

.rules {
  padding: 10px 25px 20px;
  margin-top: 40px;
  background-color: #fff;
  border: 2px solid #c7c7c7;
  border-radius: 4px;
}

.rules__logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 50px;
}
.rules__logo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.rules__title {
  margin-bottom: 30px;
  color: #727171;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  font-size: 48px;
}

.rules__list {
  padding-left: 20px;
  margin-bottom: 20px;
}
.rules__list li,
.auth_content p{
  color: #727171;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  font-size: 22px;
  margin-bottom: 0.5em;
}

.high-score {
  width: 100%;
  margin-top: 40px;
  padding: 40px;
  background-color: #fff;
  border: 2px solid #c7c7c7;
  border-radius: 4px;
}

.high-score__logo {
  margin: 0 auto 66px;
  width: 96px;
  height: 96px;
}
.high-score__logo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.high-score__title {
  margin-bottom: 30px;
  color: #727171;
  font-family: "Gill Sans MT";
  font-size: 48px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
}

.high-score__list {
  margin-bottom: 30px;
}

.high-score__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.high-score__item + .high-score__item {
  margin-top: 20px;
}

.high-score__info {
  position: relative;
  padding-left: 57px;
}

.high-score__num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border: 4px solid #d0cece;
  border-radius: 50%;
  color: #000000;
  font-family: "Gill Sans MT";
  font-size: 24px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  /*transform: translateX(-50%);*/
}

.high-score__name {
  display: block;
  color: #727171;
  font-family: "Gill Sans MT";
  font-size: 18px;
}

.high-score__date {
  color: #727171;
  font-family: "Gill Sans MT";
  font-weight: 400;
  font-size: 14px;
}

.high-score__time {
  font-weight: 400;
  color: #000;
  font-family: "Gill Sans MT";
  font-size: 18px;
}

.congratulations__img {
  height: 285px;
  margin-bottom: 52px;
}
.congratulations__img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.congratulations__title {
  margin-bottom: 36px;
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
}

.congratulations__list {
  margin-bottom: 30px;
}

.congratulations__item {
  display: flex;
  justify-content: center;
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 36px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  margin-bottom: 10px;
}
.congratulations__item span {
  margin-left: 5px;
  color: #736c7c;
  font-family: "Gill Sans MT - Bold";
  font-size: 36px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
}

.congratulations__text {
  margin-bottom: 20px;
  font-size: 30px;
  color: #736c7c;
  font-weight: 300;
  font-family: "Gill Sans MT - Italic";
  font-style: normal;
  letter-spacing: normal;
}

.congratulations__nav {
  display: flex;
  justify-content: space-between;
}
.congratulations__nav .btn {
  width: calc(50% - 22px);
  padding: 20px;
}

.editor__img {
    margin: 0 auto 52px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.editor__title {
  margin-bottom: 40px;
  color: #736c7c;
  font-family: "Gill Sans MT - Bold";
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
}

.editor__text {
  margin-bottom: 20px;
  color: #736c7c;
  font-size: 22px;
  font-style: italic;
  letter-spacing: normal;
  line-height: normal;
  font-family: "Gill Sans MT - Italic";
}

.editor__descr {
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 22px;
  letter-spacing: normal;
  line-height: normal;
}
.editor__descr span {
  display: block;
  color: #736c7c;
  font-size: 22px;
  font-style: italic;
  letter-spacing: normal;
  line-height: normal;
  font-family: "Gill Sans MT - Italic";
}

.puzzle__img {
  width: 81px;
  height: 99px;
  margin: 0 auto 24px;
}
.puzzle__img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.puzzle__title {
  margin-bottom: 30px;
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
}

.puzzle__text {
  margin-bottom: 90px;
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-style: italic;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
}

.puzzle__wrapper {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
}

.puzzle__input {
  min-width: 55px;
  max-width: 69px;
  height: 65px;
  padding: 5px;
  border-radius: 5px;
  border: 4px solid #f0f0f0;
  background-color: #ffffff;
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  line-height: 100%;
  text-transform: uppercase;
  text-align: center;
}
.puzzle__input + .puzzle__input {

}

.puzzle__btn {
  padding: 20px 0;
  width: 270px;
  margin: 0 auto;
}

.answers__img {
  width: 92px;
  height: 87px;
  margin: 0 auto 22px;
}
.answers__img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.answers__title {
  max-width: 492px;
  margin: 0 auto 25px;
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 48px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
}

.answers__descr {
  max-width: 560px;
  margin: 0 auto 25px;
  color: #736c7c;
  font-family: "Gill Sans MT";
  font-size: 30px;
  font-style: italic;
  letter-spacing: normal;
  line-height: normal;
  text-align: center;
}

.answers__list {
  margin-bottom: 60px;
  margin-top: 45px;
}

.answers__group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}
.answers__group + .answers__group {
  margin-top: 34px;
}

.answers__input {
  display: block;
  width: 100%;
  height: 65px;
  padding: 5px;
  border-radius: 5px;
  border: 4px solid #f0f0f0;
  background-color: #ffffff;
  color: #000;
  font-family: "Gill Sans MT";
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  text-transform: uppercase;
  transition: 0.2s linear;
}
.answers__input.error{
  border-color: red;
}
.answers__input::-moz-placeholder {
  color: #cbcaca;
  text-transform: capitalize;
}
.answers__input:-ms-input-placeholder {
  color: #cbcaca;
  text-transform: capitalize;
}
.answers__input::placeholder {
  color: #cbcaca;
  text-transform: capitalize;
}
.answers__input:focus {
  border: 4px solid #adadad;
}

.answers__nav {
  display: flex;
  justify-content: space-around;
}
.answers__nav .btn {
  width: 270px;
  padding: 20px;
}
/*# sourceMappingURL=main.css.map */
.item:hover,
.item_link:hover
{
  cursor: pointer;
  background-color: rgba(255,255,255,0.5);
}
.background_holder {
  padding-top: 68px;
  position: relative;
  width: 100%;
}
.auth_content {
  padding: 40px 40px 40px;
  border:2px solid #EFEFF3;
  margin-bottom:90px;
}
.btn {
  line-height: 1.5em;
  padding: 8px !important;
  text-transform: uppercase;
}
.input {
  border-width: 2px;
  border-color: #EFEFEF !important;
}
.page_room {
  background-color: black;
  background-image: none ;
}
.hide{
  display: none;
}
.rules__logo svg path {
  fill: #e7be07;
}
.congrat_image img {
  max-width: 100%;

}
.congrat_image {
  margin-bottom: 45px;
}
.shareon {
  position: relative;
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  box-shadow: 1px 1px 5px #999;
  top: -119px;
  display: none;
}
.page-congratulations {
  background-image: url('../img/congrats_background.jpg');

}