@font-face {
  font-family: 'Minecraft Rus';
  src: url("../fonst/Minecraft.eot");
  src: local("Minecraft Rus Regular"), local("Minecraft"), url("../fonst/Minecraft.eot?#iefix") format("embedded-opentype"), url("../fonst/Minecraft.woff2") format("woff2"), url("../fonst/Minecraft.woff") format("woff"), url("../fonst/Minecraft.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  background-color: #f5ecdd;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  color: #241c15;
  font-family: 'Minecraft Rus', sans-serif;
  font-weight: 400;
  font-size: 14px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

a, button {
  color: inherit;
  background-color: inherit;
}

::-webkit-scrollbar {
  width: 10px;
  height: 8px;
  background-color: #e8d5b5;
}

::-webkit-scrollbar-thumb {
  background-color: #d99a5b;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #c98b4b;
}

._container {
  max-width: 1560px;
  padding-right: 10px;
  padding-left: 10px;
  margin: 0 auto;
}

._container2 {
  max-width: 1160px;
  padding-right: 10px;
  padding-left: 10px;
  margin: 0 auto;
}

.textstyle__title {
  font-size: 20px;
  color: #4a3728;
}

.textstyle__link {
  color: #4a3728;
}

.textstyle__link:hover {
  color: #b87f45;
}

.color-red {
  color: #ff0000;
}

.block {
  overflow: hidden;
}

.nav {
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  background-color: #fffaf2;
  padding: 23px 0;
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 0;
  left: 0;
  -webkit-box-shadow: 0px 4px 73px 0px rgba(36, 28, 21, 0.2);
          box-shadow: 0px 4px 73px 0px rgba(36, 28, 21, 0.2);
}

.nav::before {
  content: '';
  width: 100%;
  height: 5%;
  background-color: #fffaf2;
  -webkit-transition: padding-bottom 1.2s ease, background-color .3s ease;
  transition: padding-bottom 1.2s ease, background-color .3s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  padding-bottom: 0;
}

.nav ._container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}

.player-count {
  color: #4a3728; /* Розовый цвет для количества игроков */
}

.nav.active {
  height: 100vh;
  background-color: unset;
}

.nav.active::before {
  padding-bottom: 100vh;
}

.nav.active ._container {
  height: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.nav.active .nav__list {
  display: block;
}

.nav.active .nav__list-item {
  margin-right: 0;
  margin-bottom: 40px;
  text-align: center;
}

.nav.active .nav__list-itemACT {
  margin-right: 0;
  margin-bottom: 40px;
  text-align: center;
}

.nav.active .nav__control-online {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav.active .nav__control-burger {
  position: absolute;
  top: 26px;
  right: 10px;
}

.nav.active .nav__control-burger__line1 {
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
          transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.nav.active .nav__control-burger__line2 {
  opacity: 0;
}

.nav.active .nav__control-burger__line3 {
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
          transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.nav__logo img {
  max-height: 50px;
  max-width: 200px;
}

.nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav__list-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.5vw;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  padding: 5px 10px;
  background-color: #d99a5b;
  border-radius: 7px;
  transition: all 0.3s ease;
  font-family: 'Minecraft Rus';
  font-weight: normal;
  font-size: 12px;
  border: 2px solid #e3c496;
  width: 120px;
  height: 40px;
  text-align: center;
  box-shadow: 0px 1px 4px 1px #00000066;
  line-height: 1.2;
}

.nav__list-itemACT {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.5vw;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  padding: 5px 10px;
  background-color: #d99a5b;
  border-radius: 7px;
  transition: all 0.3s ease;
  font-family: 'Minecraft Rus';
  font-weight: normal;
  font-size: 12px;
  border: 2px solid #fffaf2;
  width: 120px;
  height: 40px;
  text-align: center;
  box-shadow: 0px 1px 4px 1px #00000066;
  line-height: 1.2;
}

@media (min-width: 1320px) {
  .nav__list-item, .nav__list-itemACT {
    margin-right: 2vw; 
  }
}

@media (min-width: 1620px) {
  .nav__list-item, .nav__list-itemACT {
    margin-right: 3vw; 
  }
}

@media (min-width: 2220px) {
  .nav__list-item, .nav__list-itemACT {
    margin-right: 1.5vw;
  }
}

@media (min-width: 4220px) { 
  .nav__list-item, .nav__list-itemACT {
    margin-right: 1vw;
  }
}

.nav__list-itemACT:hover {
  background-color: #ffffff1c;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.nav__list-item:hover {
  background-color: #e0c090;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: #241c15;
}

.nav__list-item:last-child {
  margin-right: 0;
}

.nav__control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.nav__control-item {
  background-color: #d99a5b;
  -webkit-transition: background-color .3s ease, border-radius .3s ease;
  transition: background-color .3s ease, border-radius .3s ease;
  border-radius: 10px;
  padding: 11px;
  color: #fffaf2;
  cursor: pointer;
  height: 47px;
}

.nav__control-item:hover {
  background-color: #d99a5b;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 80%)
}

.nav__control-online {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 10px;
  margin-left: 10px;
  padding: 7px 28px 7px 14px;
  position: relative;
}

.nav__control-online__icon {
  margin-right: 12px;
}

.nav__control-online__ip {
  margin-bottom: 4px;
}

.nav__control-online__checked {
  color: #dcbf95;
}

.nav__control-online__hover {
  background-color: #241c15;
  font-size: 12px;
  text-align: center;
  position: absolute;
  bottom: 0;
  -webkit-transform: translateY(100%) scale(0);
          transform: translateY(100%) scale(0);
  border-radius: 0 0 10px 10px;
  left: 0;
  opacity: 0;
  max-width: 100%;
  width: 100%;
  -webkit-transition: opacity .4s ease-out, background-color .3s ease, -webkit-transform .15s ease-out;
  transition: opacity .4s ease-out, background-color .3s ease, -webkit-transform .15s ease-out;
  transition: opacity .4s ease-out, transform .15s ease-out, background-color .3s ease;
  transition: opacity .4s ease-out, transform .15s ease-out, background-color .3s ease, -webkit-transform .15s ease-out;
  padding: 8px 5px;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 80%)
}

.nav__control-online:hover {
  border-radius: 10px 10px 0 0;
}

.nav__control-online:hover .nav__control-online__hover {
  opacity: 1;
  -webkit-transform: translateY(100%) scale(1);
          transform: translateY(100%) scale(1);
}

.nav__control-burger {
  margin-left: 12px;
  width: 47px;
  position: relative;
  display: none;
}

.nav__control-burger__line {
  height: 4px;
  width: 60%;
  border-radius: 3px;
  background-color: #fffaf2;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: top .3s ease, left .3s ease, bottom .3s ease, opacity .3s ease, -webkit-transform .3s ease;
  transition: top .3s ease, left .3s ease, bottom .3s ease, opacity .3s ease, -webkit-transform .3s ease;
  transition: transform .3s ease, top .3s ease, left .3s ease, bottom .3s ease, opacity .3s ease;
  transition: transform .3s ease, top .3s ease, left .3s ease, bottom .3s ease, opacity .3s ease, -webkit-transform .3s ease;
}

.nav__control-burger__line1 {
  top: 22%;
}

.nav__control-burger__line2 {
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
}

.nav__control-burger__line3 {
  bottom: 22%;
}

.news {
  padding-top: 150px;
  margin-bottom: 100px;
}

.news__title {
  text-align: center;
  margin-bottom: 23px;
}

.news__content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 300px;
}

.news__content .textstyle__title {
  font-size: 36px;
  line-height: 200%;
}

.news__info {
  max-width: 600px;
  font-size: 24px;
  line-height: 130%;
}

.news__image {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  max-width: 380px;
}

.news__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.donate {
  margin-bottom: 110px;
}

.donate__title {
  text-align: center;
  margin-bottom: 23px;
}

.donate__box {
  background-color: #fffaf2;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  border-radius: 20px;
  padding: 45px 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  box-shadow: 0px 0px 30px rgb(0 0 0 / 40%)
}

.donate__sidebar {
  padding-right: 24px;
  max-width: 235px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
  margin-right: 32px;
}

.donate__sidebar-header {
  margin-bottom: 80px;
}

.donate__sidebar-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 30px;
}

.donate__sidebar-item {
  cursor: pointer;
  padding: 16px 56px;
  font-size: inherit;
  font-family: inherit;
  color: #4a3728;
  margin-bottom: 10px;
  border: none;
  outline: none;
  width: 100%;
  border-radius: 5px;
  background-color: #fdf6ea;
  -webkit-box-shadow: 0px 4px 0px rgba(74, 55, 40, 0.25);
          box-shadow: 0px 4px 0px rgba(74, 55, 40, 0.25);
  -webkit-transition: background-color .3s ease-out, -webkit-box-shadow .3s ease-out, -webkit-transform .3s ease-out;
  transition: background-color .3s ease-out, -webkit-box-shadow .3s ease-out, -webkit-transform .3s ease-out;
  transition: box-shadow .3s ease-out, transform .3s ease-out, background-color .3s ease-out;
  transition: box-shadow .3s ease-out, transform .3s ease-out, background-color .3s ease-out, -webkit-box-shadow .3s ease-out, -webkit-transform .3s ease-out;
  box-shadow:0px 0px 7px 0px rgb(0 0 0 / 25%);
}

.donate__sidebar-item:last-child {
  margin-bottom: 0;
}

.donate__sidebar-item:hover {
  -webkit-box-shadow: 0px 3px 0px rgba(74, 55, 40, 0.25);
          box-shadow: 0px 3px 0px rgba(74, 55, 40, 0.25);
  -webkit-transform: translateY(1px);
          transform: translateY(1px);
  background-color: #f2ebdd;
}

.donate__sidebar-item.active {
  background-color: #d99a5b;
  -webkit-box-shadow: 0px 0px;
          box-shadow: 0px 0px;
}

.donate__sidebar-item.active:hover {
  background-color: #f2e6d4;
  -webkit-transform: skewX(4deg);
          transform: skewX(4deg);
}

.donate__sidebar-footer {
  text-align: center;
  color: #4a3728;
}

.donate__sidebar::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: #fdf6ea;
  opacity: .5;
  border-radius: 5px;
}

@-webkit-keyframes animateCart {
  0% {
    -webkit-transform: scale(0.4) translateY(-10%) skewX(10deg);
            transform: scale(0.4) translateY(-10%) skewX(10deg);
    opacity: 0;
    -webkit-box-shadow: 0px 0px 36px 10px rgba(120, 85, 45, 0.2), 0px 100px 0px 100px rgba(120, 85, 45, 0.2) inset;
            box-shadow: 0px 0px 36px 10px rgba(120, 85, 45, 0.2), 0px 100px 0px 100px rgba(120, 85, 45, 0.2) inset;
  }
  10% {
    opacity: 1;
    -webkit-box-shadow: unset;
            box-shadow: unset;
    -webkit-transform: scale(1) translateY(0) skewX(0deg);
            transform: scale(1) translateY(0) skewX(0deg);
  }
}

@keyframes animateCart {
  0% {
    -webkit-transform: scale(0.4) translateY(-10%) skewX(10deg);
            transform: scale(0.4) translateY(-10%) skewX(10deg);
    opacity: 0;
    -webkit-box-shadow: 0px 0px 36px 10px rgba(120, 85, 45, 0.2), 0px 100px 0px 100px rgba(120, 85, 45, 0.2) inset;
            box-shadow: 0px 0px 36px 10px rgba(120, 85, 45, 0.2), 0px 100px 0px 100px rgba(120, 85, 45, 0.2) inset;
  }
  10% {
    opacity: 1;
    -webkit-box-shadow: unset;
            box-shadow: unset;
    -webkit-transform: scale(1) translateY(0) skewX(0deg);
            transform: scale(1) translateY(0) skewX(0deg);
  }
}

.donate__products {
  width: 100%;
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between; 
}


.donate__products-title {
  font-size: 20px;
  padding: 11px 0;
  margin-bottom: 30px;
}

.donate__products-carts {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  margin: -12px;
  display: none;
}

.donate__products-carts.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.donate__products-carts.active .donate__products-item {
  -webkit-animation: animateCart 0s ease-out;
          animation: animateCart 0s ease-out;
}

.donate__products-item {
  padding: 13px;
  border-radius: 10px;
  background-color: #fdf6ea;
  text-align: center;
  cursor: pointer;
  margin: 12px;
  position: relative;
  -webkit-transition: -webkit-box-shadow .9s ease;
  transition: -webkit-box-shadow .9s ease;
  transition: box-shadow .9s ease;
  transition: box-shadow .9s ease, -webkit-box-shadow .9s ease;
  max-width: 176px;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 40%)
}

.donate__products-item:hover {
  -webkit-box-shadow: 0px 0px 36px 10px rgba(201, 139, 75, 0.19), 0px 100px 0px 100px rgba(201, 139, 75, 0.19) inset;
          box-shadow: 0px 0px 36px 10px rgba(201, 139, 75, 0.19), 0px 100px 0px 100px rgba(201, 139, 75, 0.19) inset;
}

.donate__products-item:hover .donate__products-image {
  height: 0;
  margin-bottom: 60px;
}



.donate__products-item:hover .donate__products-buttons {
  z-index: 1;
  opacity: 1;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.donate__products-item:hover .donate__products-price {
  margin-bottom: 76px;
}

.donate__products-image {
  width: 150px;
  height: 105px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #fdf6ea;
  border-radius: 5px;
  margin-bottom: 21px;
  -webkit-transition: height .3s ease, margin-bottom .3s ease, background-color .3s ease;
  transition: height .3s ease, margin-bottom .3s ease, background-color .3s ease;
}

.donate__products-image img {
  max-width: 170px;
  max-height: 135px;
}

.donate__products-name {
  color: #4a3728;
  font-size: 12px;
  margin-bottom: 9px;
  word-break: break-all;
}

.donate__products-price {
  color: #a89165;
  font-size: 24px;
  margin-bottom: 24px;
  -webkit-transition: margin-bottom .3s ease;
  transition: margin-bottom .3s ease;
}

.donate__products-buttons {
  position: absolute;
  bottom: 35px;
  left: 50%;
  -webkit-transform: translateX(-50%) scale(0);
          transform: translateX(-50%) scale(0);
  opacity: 0;
  width: 80%;
  z-index: -2;
  -webkit-transition: opacity .6s ease-out, -webkit-transform .3s ease-in;
  transition: opacity .6s ease-out, -webkit-transform .3s ease-in;
  transition: transform .3s ease-in, opacity .6s ease-out;
  transition: transform .3s ease-in, opacity .6s ease-out, -webkit-transform .3s ease-in;
}

.donate__products-button {
  cursor: pointer;
  outline: unset;
  border: none;
  border-radius: 5px;
  padding: 7px 0;
  font-family: inherit;
  font-size: inherit;
  width: 100%;
  -webkit-transition: opacity .3s ease, -webkit-transform .3s ease;
  transition: opacity .3s ease, -webkit-transform .3s ease;
  transition: transform .3s ease, opacity .3s ease;
  transition: transform .3s ease, opacity .3s ease, -webkit-transform .3s ease;
}

.donate__products-button:hover {
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
  opacity: .9;
}

.donate__products-info {
  background-color: #b87f45;
  color: #fdf6ea;
  margin-bottom: 6px;
}

.donate__products-description {
  display: none;
}

.donate__products-buy {
  background-color: #b87f45;
  color: #fdf6ea;
}

.last {
  margin-bottom: 92px;
}

.last__title {
  text-align: center;
  margin-bottom: 23px;
}

.last__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 24px;
}

.last__box-item {
  width: 170px;
  height: 195px;
  background-color: #fffaf2;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  border-radius: 10px;
  align-items: center;
}

.footer__nav {
  padding: 26px 0;
  background-color: #fffaf2;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
}

.footer__nav ._container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.footer__logo img {
  max-height: 50px;
  max-width: 200px;
}

.footer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.footer__list-item {
  text-transform: uppercase;
  margin-right: 56px;
}

.footer__list-item:last-child {
  margin-right: 0;
}

.footer__up {
  cursor: pointer;
  padding: 12px;
  background-color: #d99a5b;
  border-radius: 10px;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
}

.footer__up:hover {
  background-color: #eee0ca;
}

.footer__copyright {
  background-color: #f7f1e7;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  padding: 25px 0;
}

.footer__copyright-text {
  text-align: center;
  line-height: 130%;
}

.modals {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 102;
  padding-top: 10%;
  padding-bottom: 10%;
  display: none;
  overflow-y: scroll;
}

.modals.active {
  display: block;
}

.modals__item {
  background-color: #fdf6ea;
  padding: 30px;
  color: #241c15;
  border-radius: 10px;
  min-height: 200px;
  position: relative;
  display: none;
}

.modals__item.active {
  display: block;
}

.modals__title {
  color: #241c15;
  font-size: 20px;
  color: #4a3728;
  text-align: center;
  margin-bottom: 20px;
}

.modals [modal-item="buy"] {
  padding: 69px 85px;
  text-align: center;
  border: 2px solid #e3c496
}

.modals__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.modals__cart {
  padding: 45px;
  background-color: #fffaf2;
  min-height: 404px;
  width: 404px;
  border-radius: 100px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  margin-right: 30px;
  border: 2px solid #e3c496;
  box-shadow: 0 0 20px #ecd9b8;
}

.modals__cart-reverse {
  border-radius: 10px 100px;
}

.modals__cart:last-child {
  margin-right: 0;
}

.modals__product {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
  background-color: #fffaf2;
  padding: 10px 30px;
  border-radius: 20px;
}

.modals__product-image {
  width: 70%;
  min-width: 150px;
  height: 105px;
  border-radius: 5px;
  z-index: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.modals__product-image img {
  max-width: 150px;
  max-height: 155px;
}

.modals__product-info {
  padding: 25px 40px;
  text-align: center;
  border-radius: 10px 10px 10px 10px;
  margin-top: -10px;
}

.modals__product-name {
  color: #4a3728;
  font-size: 16px;
  margin-bottom: 9px;
  word-break: break-all;
}

.modals__product-price {
  color: #a89165;
  font-size: 24px;
}

.modals__form {
  width: 100%;
  padding: 0 20px;
}

.modals__input {
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
  width: 100%;
  outline: unset;
  border: none;
  border-bottom: 2px solid #d9a95f;
  background-color: #fdf6ea;
  font-family: inherit;
}

.modals__input#nickname {
  margin-bottom: 20px;
}

.modals__amount {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
}

.modals__amount-control {
  background-color: #f7eee0;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  position: relative;
}

.modals__amount-control:hover {
  background-color: #f0e3d0;
}

.modals__amount-minus {
  padding: 15px;
}

.modals__amount-result {
  background-color: #fffaf2;
  padding: 15px 20px;
  cursor: auto;
}

.modals__amount-plus {
  padding: 15px;
}

.modals__amount.disabled .modals__amount-control::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  background-color: #dcb885;
  opacity: .3;
  cursor: not-allowed;
}

.modals__payment {
  position: relative;
  margin-bottom: 30px;
}

.modals__payment-control {
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
  border-bottom: 2px solid #d9a95f;
  background-color: #fdf6ea;
  text-align: start;
  color: rgba(51, 40, 30, 0.7);
  cursor: pointer;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  line-height: 170%;
}

.modals__payment-control:hover {
  background-color: #f2e6d4;
}

.modals__payment-selected {
  color: #e8d5b5;
  padding: 5px;
  background-color: #1d1710;
  border-radius: 3px;
  margin-left: 10px;
  font-size: 16px;
  text-align: start;
}

.modals__payment-list {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  text-align: start;
  width: 100%;
  border-radius: 0px 0px 5px 5px;
  overflow: hidden;
}

.modals__payment-list.active {
  display: block;
}

.modals__payment-item {
  padding: 5px 20px;
  background-color: #fffaf2;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  color: #c98b4b;
  cursor: pointer;
}

.modals__payment-item:hover {
  background-color: #e0c9a6;
}

.modals__button {
  padding: 16px 67px;
  border: none;
  outline: unset;
  background-color: #d99a5b;
  color: #4a3728;
  font-family: inherit;
  -webkit-box-shadow: 0px 4px 0px rgba(74, 55, 40, 0.25);
          box-shadow: 0px 4px 0px rgba(216, 197, 168, 0.48);
  border-radius: 5px;
  cursor: pointer;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
}

.modals__button:hover {
  background-color: #dcb885;
}

.modals__close {
  width: 40px;
  height: 40px;
  background-color: #fffaf2;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  border-radius: 5px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.modals__close-line {
  background-color: #f7f1e7;
  height: 3px;
  width: 60%;
  -webkit-transition: width .3s ease;
  transition: width .3s ease;
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
}

.modals__close-line:first-child {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
          transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.modals__close-line:last-child {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
          transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.modals__close:hover {
  background-color: #fffaf2;
}

.modals__close:hover .modals__close-line {
  width: 70%;
}

@media screen and (max-width: 1245px) {
@media screen and (max-width: 710px) {
  .footer__list {
    display: none;
  }
}
  
@media (max-width: 1000px) {
  .nav__list { 
    display: none;
  }
}
  
  .nav__control-burger {
    display: block;
  }
  .modals__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .modals__cart {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .modals [modal-item="buy"] {
    padding: 20px;
  }
}

@media screen and (max-width: 800px) {
  .donate__box {
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  } 
  .donate__box .donate__products-carts.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2px;
  }
.donate__products-item {
    padding: 0px;
    border-radius: 10px;
    background-color: #fdf6ea;
    text-align: center;
    cursor: pointer;
    margin: 2px;
    position: relative;
    -webkit-transition: -webkit-box-shadow .9s ease;
    transition: -webkit-box-shadow .9s ease;
    transition: box-shadow .9s ease;
    transition: box-shadow .9s ease, -webkit-box-shadow .9s ease;
    max-width: 166px;
}
  .donate__box .donate__sidebar {
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    margin-bottom: 50px;
    margin-right: 0;
    position: -webkit-sticky;
    top: 50px;
    z-index: 9;
    padding: 0;
    background-color: rgba(255, 250, 242, 0.8);
    padding-bottom: 30px;
  }
  .donate__box .donate__sidebar::before {
    display: none;
  }
  .donate__box .donate__sidebar-header {
    margin-bottom: 20px;
  }
  .donate__box .donate__sidebar-carts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow-x: scroll;
    padding: 10px 0;
  }
  .donate__box .donate__sidebar-item {
    margin-bottom: 0;
    margin-right: 30px;
  }
  .donate__box .donate__sidebar-item:last-child {
    margin-right: 0;
  }
  .donate__box .donate__sidebar-item.active {
    margin-top: 4px;
  }
  .donate__box .donate__products .donate__products-title {
    text-align: center;
  }
  .news__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .news__content .news__info {
    text-align: center;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 1245px) {
  .nav__control-online {
    display: none;
    border-radius: 10px 10px 0 0;
  }
  .nav__control-online__hover {
    opacity: 1;
    -webkit-transform: translateY(100%) scale(1);
            transform: translateY(100%) scale(1);
  }
  .nav__control-burger {
    margin-left: 0;
  }
}

@media screen and (max-width: 450px) {
  .news__info {
    font-size: 18px;
    word-wrap: break-all;
  }
  .news__info .textstyle__title {
    font-size: 20px;
  }
  .modals__cart {
    padding: 10px;
  }
}

.collapsible {
  cursor: pointer;
  padding: 40px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 18px;
  background-color: #d99a5b;
  border-radius: 10px;
  margin: 5px ;
  font-family: 'Minecraft Rus';
  font-weight: normal;
  border: 2px solid #e3c496;
  transition: background-color 0.5s ease;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 40%)
}

 .collapsible:hover {
  background-color: #e8d5b5;
}

 .content {
  background-color: #e8d5b5;
  border-radius: 10px;
  margin: 0 5px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border: 2px solid #e3c496;
  line-height: 1.7;
  font-size: 18px;
  max-height: 0px;
  padding: 0 15px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-top 0.5s ease-out;
  margin-top: -6px;
  margin-bottom: 15px;
  box-shadow: 0px 0px 10px rgb(0 0 0 / 40%)
}

/* Добавьте этот CSS в ваш стилевой файл */

 .team-member {
  display: flex;
  align-items: center;
  border: 2px solid #8a7660;
  border-radius: 10px;
  padding: 15px;
  background-color: #d99a5b;
  margin: 10px; /* Устанавливает отступы вокруг элементов */
  width: 332px; /* Задает ширину информационного бокса равной 100% доступного пространства внутри родительского элемента */
  
}
.team-member2 {
  display: flex;
  align-items: center;
  border: 2px solid #8a7660;
  border-radius: 10px;
  padding: 15px;
  background-color: #d99a5b;
  margin: 10px; /* Устанавливает отступы вокруг элементов */
  width: 332px; /* Задает ширину информационного бокса равной 100% доступного пространства внутри родительского элемента */
  animation: spark-border 1s infinite alternate;
}


.team-member__image img {
  width: 75px; /* Установите фиксированный размер для изображения */
  height: 75px; /* Установите фиксированный размер для изображения */
  border-radius: 10%;
  margin-right: 15px; /* Добавьте отступ справа от изображения */
  box-shadow: 0px 0px 10px rgb(0 0 0 / 40%)
}

.team-member__info {
  text-align: left;
  position: relative; /* Для позиционирования картинки относительно этого блока */
}

.team-member__name {
  font-size: 18px;
  margin-bottom: 5px;
  color: #00c900;
  white-space: nowrap; /* Это предотвратит перенос текста */
  font-family: 'Minecraft Rus';
  font-weight: normal;
}


.team-member__position {
  font-size: 14px;
  color: #6b5847;
  margin-top: 10px; 
  white-space: nowrap; /* Это предотвратит перенос текста */
}

.team-member__contact {
  font-size: 14px;
  color: #a2907a; /* Вы можете выбрать другой цвет, если хотите */
  margin-top: 10px;
  white-space: nowrap; /* Это предотвратит перенос текста */
}

@media (max-width: 768px) {
    .team-member {
        flex-basis: 100%; /* На экранах меньше 768px элементы будут занимать всю ширину контейнера */
    }
}

@media (max-width: 1160px) {
    .team-member {
        flex-basis: 100%; /* На экранах меньше 768px элементы будут занимать всю ширину контейнера */
    }
}

@media (max-width: 768px) {
    .team-member2 {
        flex-basis: 100%; /* На экранах меньше 768px элементы будут занимать всю ширину контейнера */
    }
}

@media (max-width: 1160px) {
    .team-member2 {
        flex-basis: 100%; /* На экранах меньше 768px элементы будут занимать всю ширину контейнера */
    }
}

.team-member__info .crown-image {
    position: absolute; /* Позиционирование картинки */
    top: -50; /* Верхний угол */
    right: 240; /* Правый угол */
    width: 70px; /* Ширина картинки */
    height: 50px; /* Высота картинки */
}

@keyframes spark-border {
  0%, 100% {
    box-shadow: 0 0 10px #4a3728;
  }
  50% {
    box-shadow: 0 0 20px #4a3728;
  }
}

  @keyframes fall {
    to {
      transform: translateY(100vh);
    }
  }
  
