@charset "UTF-8";
html {
  box-sizing: border-box;
}

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

html,
body {
  height: 100%;
  background-color: #0d0b0c;
}

body {
  line-height: 1.2;
  font-family: "Gabriela", serif;
  font-size: 18px;
  color: #bdbdbd;
}

a {
  text-decoration: none;
  color: #f04575;
}

a:hover {
  text-decoration: underline;
}

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

input {
  padding: 0;
  border: none;
  background-color: transparent;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

li {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  padding: 0;
  color: #e2e2e2;
  font-size: 20px;
  font-weight: normal;
}

.img {
  max-width: 100%;
  height: auto;
}

.container {
  margin: 0 auto;
  max-width: 1152px;
  padding: 0 15px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.main {
  flex: 1 0 auto;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #282828;
  border-radius: 5px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 5px;
}

* {
  scrollbar-color: #282828 transparent;
  scrollbar-width: 5px;
}

*::-ms-scrollbar {
  width: 5px;
}

*::-ms-thumb {
  background-color: #282828;
  border-radius: 5px;
}

*::-ms-track {
  background-color: transparent;
  border-radius: 5px;
}

@media (max-width: 540px) {
  a:hover {
    text-decoration: none;
  }
}
.correct-text {
  color: #289628;
}

.incorrect-text {
  color: #962828;
}

.inputButton {
  width: fit-content;
  display: block;
  font-size: 16px;
  color: #e2e2e2;
  background-color: #821236;
  padding: 10px 20px;
  border: 1px solid #821236;
  border-radius: 10px;
  transition: all 300ms ease;
  outline: none;
}

.inputButton:hover {
  background-color: #f04575;
  color: #282828;
  font-weight: bold;
  box-shadow: 0 0 10px #821236;
  scale: 1.05;
  text-decoration: none;
}

.inputButton:disabled,
.inputButton:disabled:hover {
  background-color: #3c3c3c;
  border-color: #0d0b0c;
  color: #bdbdbd;
  box-shadow: 0 0 0 black;
  scale: 1;
  cursor: no-drop;
}

.inputText {
  border: 1px solid #821236;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0px 0px 5px #821236;
  font: inherit;
  font-size: 16px;
  color: #bdbdbd;
  outline-style: none;
}

.inputText:focus {
  background-color: rgba(130, 18, 54, 0.4);
  transition: all 300ms ease;
}

.inputCheckbox {
  position: relative;
  z-index: -1;
  opacity: 0;
  width: 0;
  height: 0;
}

.inputCheckbox + label {
  display: inline-flex;
  align-items: center;
  user-select: none;
  transition: all 0.25s ease-in-out;
}

.inputCheckbox + label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #821236;
  border-radius: 5px;
  margin-right: 10px;
  box-shadow: 0 0 10px #821236;
  transition: all 0.25s ease-in-out;
}

.inputCheckbox:checked + label {
  color: #f04575;
  transition: all 0.25s ease-in-out;
}

.inputCheckbox:checked + label::before {
  background-color: rgba(130, 18, 54, 0.4);
  background-image: url("../images/system/chek.svg");
}

/* Скрываем стандартные стрелки в элементе select */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* Добавляем свойство cursor, чтобы показать, что элемент является интерактивным */
  cursor: pointer;
  /* Добавляем другие стили по вашему выбору */
  padding: 10px 20px;
  border: 1px solid #821236;
  border-radius: 10px;
  background-color: transparent;
  /* Добавляем свойство box-shadow для добавления тени */
  box-shadow: 0px 0px 5px #821236;
  font: inherit;
  font-size: 16px;
  color: #bdbdbd;
}

/* Стили для фокусировки элемента select */
select:focus {
  background-color: rgba(130, 18, 54, 0.4);
  transition: all 300ms ease;
  outline: none;
}

/* Стили для элемента option */
select option {
  /* Добавляем другие стили по вашему выбору */
  background-color: #1b161a;
  color: #bdbdbd;
}
@media (max-width: 1000px) {
  .inputButton {
    transition: none;
  }
  .inputButton:hover,
  .inputButton:focus {
    background-color: #821236;
    box-shadow: 0 0 0 #821236;
    scale: 1;
    color: #bdbdbd;
  }
}
@keyframes changeColor {
  0% {
    color: #821236;
  }
  100% {
    color: #f04575;
  }
}
@keyframes changePicture {
  0% {
    background-color: transparent;
  }
  30% {
    background-color: #1b161a;
  }
  70% {
    background-color: #1b161a;
  }
  100% {
    background-color: transparent;
  }
}
.header {
  flex: 0 0 auto;
  background-color: #1b161a;
}
.header__inner {
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  position: relative;
}
.header__logo:hover {
  text-decoration: none;
}
.header__logo-img {
  position: absolute;
  top: 6px;
}
.header__logo-text1 {
  font-family: "Rubik Mono One", monospace;
  color: #f04575;
  font-size: 17px;
  padding-left: 40px;
}
.header__logo-text2 {
  color: #bdbdbd;
  font-family: "Caveat", cursive;
  font-size: 29px;
}
.header__user {
  padding: 3px 3px 0px 3px;
  border-radius: 10px;
  background-color: transparent;
}
.header__user-img {
  height: 25px;
}

@media (max-width: 1000px) {
  .header__logo-text1 {
    padding-top: 10px;
    font-size: 14px;
  }
  .header__logo-text2 {
    line-height: 90%;
    font-size: 25px;
  }
}
.footer {
  flex: 0 0 auto;
  background-color: #1b161a;
}
.footer__inner {
  display: flex;
  justify-content: end;
  padding: 10px 0;
}
.footer__zoo {
  display: flex;
  gap: 15px;
}
.footer__zoo-text {
  display: flex;
  gap: 7px;
  justify-content: end;
  flex-wrap: wrap;
  align-items: center;
}
.footer__zoo-img {
  height: 30px;
}

@media (max-width: 1000px) {
  .footer__zoo-text {
    font-size: 12px;
    gap: 4px;
  }
}

@media (max-width: 540px) {
  .footer {
    display: block;
  }
  .footer__zoo-text {
    font-size: 12px;
    gap: 4px;
  }
}

.achivments {
  height: 100%;
  width: 500px;
  position: fixed;
  z-index: 10;
  top: 0;
  right: -501px;
  background-color: #1b161a;
  overflow-x: hidden;
  transition: 0.4s;
  padding: 60px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px 0 0 20px;
}
.achivments__close {
  padding: 5px 10px 3px 10px;
  position: absolute;
  top: 20px;
  right: 20px;
}
.achivments__title {
  margin-bottom: 15px;
}
.achivments__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  max-width: 350px;
}
.achivments__exitButton {
  margin-top: 30px;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  overflow-x: hidden;
  transition: 0.35s;
}

.achivment-item {
  background-color: #282828;
  color: #bdbdbd;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  transition: 0.4s;
  border-radius: 10px 10px 10px 10px;
  font-size: 23px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: relative;
}
.achivment-item:hover {
  background-color: #282828;
}
.achivment-item__img {
  height: 25px;
}
.achivment-item__up2px {
  position: relative;
  bottom: 2px;
}
.achivment-item__description {
  width: 100%;
  background-color: #282828;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 10px;
  padding-left: 10px;
  padding: 0 10px;
  min-height: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.2s ease-out;
  margin-bottom: 10px;
  border-radius: 0 0 10px 10px;
}

.achivment-active {
  background-color: #282828;
  border-radius: 10px 10px 0 0;
}

.achivment-negative {
  color: #962828;
}

.achivment-positive {
  color: #289628;
}

@media (max-width: 540px) {
  .achivments {
    width: 70%;
    font-size: 14px;
  }
  .achivment-item {
    font-size: 15px;
  }
}
.main-description {
  margin: 50px 0 100px;
}
.main-description__inner {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.main-description__left {
  width: 100%;
}
.main-description__left-img {
  width: 100%;
  border-radius: 20px;
}
.main-description__right {
  width: 100%;
}
.main-description__right p {
  margin-bottom: 10px;
}
.main-description__right p span {
  color: #f04575;
}
.main-description__right-title {
  font-family: "Rubik Mono One", monospace;
  font-size: 25px;
  text-align: center;
  color: #e2e2e2;
  padding: 5px 10px;
  margin-bottom: 15px;
}
.main-description__register-btn-outer {
  display: flex;
  justify-content: center;
}
.main-description__register-btn {
  margin-top: 15px;
  font-size: 30px;
  text-transform: uppercase;
  padding: 10px 40px;
}

.main-quote {
  margin-bottom: 100px;
  display: flex;
  justify-content: center;
}
.main-quote__quote {
  display: flex;
  flex-direction: column;
  max-width: 800px;
}
.main-quote__quote p {
  text-align: center;
  font-family: "Caveat", cursive;
  font-size: 50px;
  margin-bottom: 10px;
}
.main-quote__quote cite {
  color: #f04575;
  text-align: end;
  font-family: "Gabriela", serif;
  font-size: 30px;
}

.main-features {
  margin-bottom: 100px;
}
.main-features__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
  justify-content: center;
  gap: 40px;
}
.main-features__item {
  background-color: #1b161a;
  padding: 20px 20px;
  border-radius: 20px;
  transition: all 500ms ease;
}
.main-features__item:hover {
  transform: scale(1.1);
}
.main-features__item-top {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  justify-content: start;
  align-items: center;
}
.main-features__item-title {
  color: #f04575;
}
.main-features__item-text {
  font-size: 16px;
}

.main-reviews {
  margin-bottom: 100px;
  background-color: #1b161a;
  padding: 50px 0;
}
.main-reviews__title {
  font-family: "Rubik Mono One", monospace;
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
  letter-spacing: 5px;
}
.main-reviews__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.main-reviews__item {
  max-width: 1000px;
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-reviews__item-img {
  width: 200px;
  transition: all 0.5s ease-in-out;
}
.main-reviews__item-img:hover {
  scale: 1.2;
  rotate: 360deg;
}
.main-reviews__item-title {
  font-family: "Rubik Mono One", monospace;
  font-size: 20px;
  margin-bottom: 15px;
}

.main-author {
  margin-bottom: 100px;
}
.main-author__inner {
  background-color: #1b161a;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  gap: 40px;
}
.main-author__left {
  width: 100%;
}
.main-author__left h2 {
  font-family: "Rubik Mono One", monospace;
  font-size: 30px;
  letter-spacing: 5px;
  margin-bottom: 20px;
}
.main-author__left p {
  margin-bottom: 15px;
}
.main-author__right {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}
.main-author__right-img {
  width: 100%;
  transition: all 0.5s ease-out;
  transform-origin: top center;
}
.main-author__right-img:hover {
  scale: 3.5;
  translate: 15px -300px;
}

.main-start {
  margin-bottom: 100px;
}
.main-start__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.main-start__text {
  color: #f04575;
  font-size: 30px;
}
.main-start__btn {
  font-size: 30px;
  text-transform: uppercase;
  padding: 10px 40px;
}

@media (max-width: 1150px) {
  .main-description__right-title {
    font-size: 25px;
  }
}
@media (max-width: 900px) {
  .main-description__inner {
    flex-wrap: wrap;
    gap: 20px;
  }
  .main-quote__quote {
    max-width: 600px;
  }
  .main-quote__quote p {
    font-size: 30px;
  }
  .main-quote__quote cite {
    font-size: 18px;
  }
  .main-author__inner {
    flex-wrap: wrap;
    padding: 20px;
  }
  .main-author__left h2 {
    letter-spacing: 3px;
  }
}
@media (max-width: 600px) {
  .main-reviews__container {
    gap: 50px;
  }
  .main-reviews__item {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0;
  }
  .main-reviews__item-title {
    text-align: center;
  }
  .main-reviews__item-img {
    margin-bottom: 25px;
  }
  .main-author__right-img:hover {
    scale: 3.5;
    translate: 15px -200px;
  }
}
.main-login {
  position: relative;
}

.login-form {
  padding: 30px;
  background-color: #1b161a;
  border-radius: 20px;
  max-width: 800px;
  max-height: 90%;
  overflow: auto;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 30px;
}
.login-form__img-container {
  overflow: hidden;
  border-radius: 20px;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-form__img {
  width: 150%;
}
.login-form__form {
  width: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.login-form__valid {
  width: 300px;
  text-align: center;
}
.login-form__cantFindUser {
  width: 300px;
  text-align: center;
}
.login-form__label {
  width: 300px;
  display: flex;
  font-size: 20px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.login-form__input {
  width: 100%;
  text-align: center;
}
.login-form__error {
  font-size: 15px;
  color: #962828;
  text-align: center;
}
.login-form__btn {
  width: 300px;
  margin-top: 30px;
}
.login-form__register {
  margin-top: 20px;
  width: 300px;
}
.login-form__register p {
  font-size: 16px;
  text-align: center;
  margin-bottom: 5px;
}
.login-form__register a {
  font-size: 18px;
  color: #f04575;
}
.login-form__register a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .main-login {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .login-form {
    background-color: transparent;
    max-height: 100%;
    margin: auto;
    position: static;
  }
  .login-form__img-container {
    display: none;
  }
  .login-form__input {
    width: 100%;
    text-align: center;
  }
  .login-form__btn {
    width: 300px;
  }
}
.main-register {
  position: relative;
}

.register-form {
  padding: 30px;
  background-color: #1b161a;
  border-radius: 20px;
  max-width: 800px;
  max-height: 90%;
  overflow: auto;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  display: flex;
  gap: 30px;
}
.register-form__img-container {
  overflow: hidden;
  border-radius: 20px;
  width: 50%;
  display: flex;
  justify-content: center;
}
.register-form__img {
  width: 150%;
}
.register-form__form {
  width: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
  overflow-y: scroll;
}
.register-form__title {
  font-family: "Rubik Mono One", monospace;
  color: #821236;
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 5px;

  /* Анимация цвета */
  animation: changeColor 1s infinite alternate;
}
.alreadyExist {
  text-align: center;
  width: 300px;
}
.register-form__label {
  width: 300px;
  display: flex;
  font-size: 20px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.register-form__input {
  width: 100%;
  text-align: center;
}
.register-form__error {
  font-size: 15px;
  text-align: center;
}
.register-form__btn {
  width: 300px;
  margin-top: 10px;
}
.register-form__avatar-block {
  width: 300px;
  border: 1px solid #821236;
  border-radius: 10px;
  box-shadow: 0px 0px 5px #821236;
  outline-style: none;
  max-height: 200px;
  overflow-y: hidden; /* Включение скролла по вертикали, если содержимое превышает высоту блока */
  overflow-x: hidden;
  height: 40px;
  min-height: 40px;
  transition: min-height 0.3s ease-in-out;
}
.register-form__avatar-header {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.register-form__avatar-header span {
  font-size: 16px;
  color: #bdbdbd;
}
.register-form__avatar-header img {
  width: 35px;
  height: 35px;
}
.register-form__avatar-options {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.register-form__avatar-option {
  width: 90px;
  height: auto; /* Автоматическая высота изображения, пропорциональная ширине */
  padding: 5px;
  cursor: pointer;
  border-radius: 10px;
}
.register-form__avatar-option:hover {
  background-color: rgba(130, 18, 54, 0.4);
}
.register-form__trousers-label {
  font-size: 18px;
}
.register-form__error-trousers {
  min-height: 55px;
}
.register-form__visually-hidden {
  color: transparent;
}
.register-form__checkboxes {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.register-form__checkbox {
  width: 300px;
}
.register-form__experiments {
  font-size: 15px;
}
.register-form__health {
  font-size: 15px;
}

@media (max-width: 900px) {
  .main-register {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .register-form {
    background-color: transparent;
    max-height: 100%;
    margin: auto;
    position: static;
  }
  .register-form__form {
    overflow-y: visible;
    gap: 40px;
  }
  .register-form__img-container {
    display: none;
  }
  .register-form__input {
    width: 100%;
    text-align: center;
  }
  .register-form__btn {
    width: 300px;
  }
}
.tac {
  text-align: center;
}
.main-game {
  position: relative;
}

.gameArea {
  padding: 0 10px;
  border-radius: 20px;
  max-width: 1152px;
  height: 90%;
  max-height: 600px;
  overflow: auto;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 20px;
}
.gameArea__current {
  background-color: #1b161a;
  flex-basis: 70%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.gameArea__img-container {
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gameArea__img {
  width: 100%;
  transform: translateY(-80px);
}
.change-color-area {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 5;
}
.gameArea__dialog {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: rgba(198, 198, 198, 0.9);
  height: 200px;
  border: 5px solid #821236;
  border-radius: 20px;
  padding: 10px;
  z-index: 2;
}
.gameArea__text {
  color: #0d0b0c;
  font-size: 16px;
}
.gameArea__answers {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 100px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}
.gameArea__answers-row {
  display: flex;
  gap: 10px;
}
.gameArea__answers-rowInventory {
  display: none;
}
.gameArea__answer {
  flex: 1;
  border-radius: 20px;
}
.ending-form,
.transfer-form {
  display: none;
  width: 100%;
}
.gameArea__answer-ending,
.gameArea__answer-transfer {
  width: 100%;
}
.gameArea__add-text {
  color: #962828;
  margin-bottom: 10px;
}
.gameArea__stat-area {
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gameArea__stat {
  background-color: #1b161a;
  flex-basis: 45%;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.gameArea__title {
  font-family: "Rubik Mono One", monospace;
  color: #f04575;
  letter-spacing: 2px;
  text-align: center;
  font-size: 20px;
}
.gameArea__stat-inner {
  display: flex;
}
.gameArea__under {
  background-color: #c9cacc;
  height: 5px;
  width: 95%;
  border-radius: 2px;
  display: flex;
  align-items: center;
}
.gameArea__upper {
  background-color: #df9b5e;
  height: 10px;
  border-radius: 3px;
  transition: width 0.3s ease-in;
}
.gameArea__health-upper {
  width: 100%;
}
.gameArea__heart-upper {
  width: 0%;
}
.gameArea__health,
.gameArea__heart {
  margin-top: 7px;
  width: 85%;
}
.gameArea__percent {
  font-size: 15px;
}
.gameArea__info {
  margin-top: 5px;
  font-size: 20px;
  color: #df9b5e;
}
.gameArea__inventory {
  background-color: #1b161a;
  padding: 20px;
  flex-basis: 55%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gameArea__inventory-outer {
  margin-top: 10px;
  display: grid;
  width: 90%;
  height: 100%;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}
.gameArea__inventory-item {
  min-height: 100%;
  min-width: 100%;
  background: linear-gradient(180deg, #3a2e42, #402723, #402623);
  border-radius: 10px;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gameArea__inventory-item:hover {
  background: linear-gradient(180deg, #4f3f5a, #4f302c, #5e3834);
  scale: 1.1;
}
.gameArea__inventory-img {
  width: 70%;
  height: auto;
}
.gameArea__inventory-close {
  display: none;
  padding: 2px 9px 5px 9px;
  position: absolute;
  top: 10px;
  right: 20px;
}

.game-overlay,
.messageBox-overlay {
  height: 0;
  width: 100%;
  position: fixed;
  z-index: 5;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  overflow-x: hidden;
  transition: 0.35s;
}
.messageBox-overlay {
  z-index: 10;
}
.message-box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  background-color: #1b161a;
  border-radius: 20px;
  padding: 15px 20px;
  width: 300px;
  height: 200px;
  transition: top 0.3s ease-in;
}
.close-message-box {
  display: block;
  padding: 2px 9px 5px 9px;
  position: absolute;
  top: 10px;
  right: 20px;
}
.message-box-text {
  text-align: center;
}

@media (max-width: 1000px) {
  .message-box-text {
    font-size: 13px;
  }
}

@media (max-width: 1000px) {
  .gameArea {
    padding: 15px 10px;
    border-radius: 0;
    max-width: 100%;
    height: 100%;
    max-height: 320px;
    position: static;
    display: block;
  }
  .gameArea__current {
    background-color: transparent;
    flex-basis: 100%;
    border-radius: 0;
    flex-direction: row;
    justify-content: space-between;
    position: static;
    gap: 2%;
  }
  .gameArea__img-container {
    height: 100%;
    width: 40%;
  }
  .gameArea__img {
    transform: none;
  }
  .gameArea__dialog {
    flex: 1;
    position: static;
    background-color: #1b161a;
    height: 100%;
    border: none;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .gameArea__text {
    color: #bdbdbd;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .gameArea__answers {
    position: static;
    height: auto;
  }
  .gameArea__answers-row {
    flex-direction: column;
  }
  .gameArea__answers-rowInventory {
    display: block;
  }
  .gameArea__answer {
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 15px;
    width: 100%;
  }
  .gameArea__add-text {
    color: #962828;
    margin-bottom: 10px;
  }
  .gameArea__inventoryBtn {
    background-color: transparent;
    border: 1px solid #821236;
  }
  .gameArea__stat-area {
    flex-basis: 100%;
    display: block;
    flex-direction: column;
    gap: 5px;
  }
  .gameArea__stat {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(198, 198, 198, 0.8);
    border: 2px solid #821236;
    flex-basis: 100%;
    border-radius: 10px;
    padding: 5px;
    display: block;
  }
  .gameArea__stat-title {
    display: none;
  }
  .gameArea__stat-outer {
    display: flex;
    gap: 5px;
    justify-content: start;
    align-items: center;
  }
  .gameArea__health-text,
  .gameArea__heart-text {
    color: #0d0b0c;
    font-size: 11px;
  }
  .gameArea__under {
    display: none;
  }
  .gameArea__upper {
    display: none;
  }
  .gameArea__percent {
    font-size: 12px;
    color: #821236;
  }
  .gameArea__info-outer {
    display: none;
  }
  .gameArea__info-text {
    font-size: 12px;
    color: #0d0b0c;
  }
  .gameArea__info {
    margin-top: 0px;
    font-size: 12px;
    color: #821236;
  }
  .gameArea__inventory {
    display: flex;
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background-color: #1b161a;
    padding: 15px 20px;
    width: 250px;
    height: auto;
    transition: top 0.3s ease-in;
  }
  .gameArea__inventory-title {
    font-size: 15px;
    align-self: start;
  }
  .gameArea__inventory-outer {
    margin-top: 20px;
    grid-template-columns: repeat(3, 65px);
    grid-template-rows: repeat(3, 65px);
    gap: 10px;
    align-items: center;
    justify-content: center;
  }
  .gameArea__inventory-item:hover {
    background: linear-gradient(180deg, #3a2e42, #402723, #402623);
    scale: none;
  }
  .gameArea__inventory-close {
    display: block;
  }
}
@media (max-width: 540px) {
  .gameArea {
    max-height: 100%;
  }
  .gameArea__current {
    flex-direction: column;
  }
  .gameArea__img-container {
    height: 230px;
    width: 100%;
  }
  .gameArea__dialog {
    width: 100%;
    height: auto;
    justify-content: start;
  }
}
.error404 {
  padding: 20px;
  border-radius: 20px;
  max-width: 1152px;
  height: 90%;
  max-height: 600px;
  overflow: auto;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error404__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.error404__text {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
}
.error404__title {
  font-size: 100px;
  color: #821236;
  animation: changeColor 1s infinite alternate;
}
.error404__title-ul {
  font-weight: bold;
  margin-bottom: 10px;
}
.error404__img-container {
  width: 45%;
  overflow: hidden;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.error404__img {
  width: 100%;
}

@media (max-width: 1000px) {
  .error404 {
    display: block;
    padding: 15px 0;
    position: static;
    overflow: visible;
    max-height: 100%;
  }
  .error404__text {
    gap: 20px;
  }
  .error404__title {
    font-size: 50px;
  }
  .error404__title2 {
    font-size: 18px;
  }
  .error404__title-ul {
    font-size: 15px;
  }
  .error404__ul {
    font-size: 15px;
  }
}
@media (max-width: 540px) {
  .error404__inner {
    flex-direction: column;
  }
  .error404__text {
    width: 100%;
    gap: 15px;
  }
  .error404__img-container {
    margin-top: 10px;
    width: 100%;
  }
  .error404__img {
    width: 100%;
  }
}
.change-picture {
  animation: changePicture 1.5s 1;
}
.textAreaInput {
  text-align: start;
  background-color: transparent;
  height: 200px;
  max-width: 100%;
}
.writeAdmin {
  margin-top: 20px;
  font-size: 13px;
}