:root {
  --color-black: #0f3138;
  --color-white: #fff;
  --color-text: #0f3138;
  --color-green: #24bab0;
  --color-red: #ff1145
}

h1 {
  font-size: 34px;
  line-height: 42px;
  margin-top: 0
}

h1,
h2 {
  margin-bottom: 15px
}

h2 {
  font-size: 30px;
  line-height: 39px;
  margin-top: 35px;
  text-align: center
}

h3 {
  font-size: 27px;
  line-height: 35px;
  margin-bottom: 15px;
  margin-top: 0
}

.container {
  margin: 0 auto;
  max-width: 100%;
  padding: 0 15px;
  width: 1410px
}

.header {
  background: var(--color-black);
  padding: 10px 0 25px
}

.header .container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 40px;
  justify-content: flex-start
}

.header__btn {
  display: flex;
  gap: 40px;
  justify-content: center;
  width: 100%
}

.header__menu {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0
}

.header__menu a {
  color: #fff;
  display: block;
  font-size: 20px;
  padding: 8px
}

.header__menu a:hover {
  color: var(--color-red)
}

.header__logo {
  width: 150px
}

.header__logo img {
  width: auto
}

.header__burger {
  display: none
}

.btn {
  align-items: center;
  border-radius: 60px;
  color: #fff;
  display: flex;
  font-size: 16px;
  justify-content: center;
  line-height: 22px;
  padding: 7px 25px;
  transition: all .3s ease-in-out
}

.btn-green {
  background: var(--color-green)
}

.btn-green:hover {
  color: #fff
}

.btn-green:hover,
.btn-red {
  background: var(--color-red)
}

.btn-red:hover {
  background: var(--color-green);
  color: #fff
}

.intro {
  background: #1e5e6b;
  color: #fff;
  margin-bottom: 30px
}

.intro .container {
  background-image: url(/back/img/bg.webp);
  background-position: 100%;
  background-repeat: no-repeat;
  background-size: 400px auto;
  padding: 50px 15px
}

.intro h1,
.intro p {
  max-width: 50%
}

.game {
  display: grid;
  gap: 35px;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 65px
}

.game__item {
  border-radius: 10px;
  height: 280px;
  overflow: hidden;
  position: relative
}

.game__item img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  z-index: 0
}

.game__item img,
.game__item:before {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0
}

.game__item:before {
  background: linear-gradient(180deg, rgba(38, 38, 38, .7), rgba(38, 38, 38, .9) 50%, #262626 72%, #262626);
  content: "";
  z-index: 1
}

.game__item:hover .btn {
  background: var(--color-red)
}

.game__content {
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 85px;
  position: relative;
  text-align: center;
  z-index: 1
}

.game__content .btn {
  margin: 0 auto 10px;
  width: -moz-max-content;
  width: max-content
}

.game__text {
  font-size: 14px
}

.game__title {
  font-size: 16px;
  margin-top: auto;
  padding: 10px
}

.img-cov {
  float: left;
  margin: 0 25px 25px 0;
  width: 200px
}

.img-cov+h2 {
  margin-top: 0
}

.img-text {
  margin: 0 auto 25px;
  max-width: 1024px
}

.img-text img {
  border-radius: 25px;
  width: 100%
}

.table {
  margin-bottom: 35px;
  overflow-x: auto
}

.table table {
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 100%;
  width: auto
}

.table td {
  border: 1px solid var(--color-text);
  padding: 15px
}

.faq__item {
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 15px
}

.footer {
  background: var(--color-black);
  color: #fff;
  padding: 50px 0
}

.footer .container {
  display: flex;
  gap: 50px
}

.footer a {
  color: #fff;
  text-decoration: underline
}

.footer a:hover {
  color: var(--color-red)
}

.page-404 {
  padding: 100px 0;
  text-align: center
}

.page-404 .btn {
  margin: 0 auto;
  width: -moz-max-content;
  width: max-content
}

.page-404 h1,
.page-404 p {
  max-width: 100%
}

.button {
  background-image: url(/back/img/top.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  bottom: 20px;
  cursor: pointer;
  height: 52px;
  position: fixed;
  right: 20px;
  width: 50px
}

@media screen and (max-width:992px) {
  .header__burger {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    height: 30px;
    padding: 2.5px 0;
    width: 30px;
    z-index: 101
  }

  .header__burger span {
    background: #fff;
    border-radius: 30px;
    display: block;
    height: 3px;
    transition: all .3s ease;
    width: 30px
  }

  .header__burger.active span:first-child {
    transform: translateY(4px) rotate(45deg)
  }

  .header__burger.active span:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg)
  }

  .header__burger.active span:nth-child(3) {
    display: none
  }

  .header__menu {
    background: var(--color-black);
    border-radius: 0;
    display: block;
    height: auto;
    left: 0;
    opacity: 0;
    padding: 15px;
    position: absolute;
    right: 0;
    top: 40px;
    transition: all .3s ease;
    visibility: hidden;
    z-index: 1
  }

  .header__menu.active {
    opacity: 1;
    visibility: visible
  }

  .header__menu a {
    font-size: 16px;
    padding: 15px 0
  }

  .header .container {
    justify-content: space-between
  }

  .header {
    padding: 15px 0
  }

  .header__btn {
    gap: 10px
  }

  h1 {
    font-size: 28px;
    line-height: 35px
  }

  .intro h1,
  .intro p {
    max-width: 100%
  }

  .intro .container {
    background-position: bottom;
    background-size: 300px auto;
    padding-bottom: 250px;
    padding-top: 15px
  }

  .game {
    grid-template-columns: 1fr 1fr
  }

  .footer .container {
    flex-direction: column;
    gap: 30px
  }

  .footer ul {
    padding-left: 20px
  }

  .footer {
    padding: 30px 0
  }
}

@media screen and (max-width:678px) {
  .game {
    grid-template-columns: 1fr
  }
}