:root {
  --background-color-base: #0b0c0c;
  --background-color-footer: #1a1b1e;
  --background-color-aside: #141517;
  --color-text-base: #fff;
  --color-accent: #bbeb00;
  --border-radius: 8px;
  --control-neutral: #b21717;

  --aside-width: 250px;
}

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

/* Chrome, Edge, Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Firefox */
html,
body {
  scrollbar-width: none;
}

/* IE / старый Edge */
html,
body {
  -ms-overflow-style: none;
}

.body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  background-color: var(--background-color-base);
  color: var(--color-text-base);
}

.aside {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 11;
  width: var(--aside-width);
  padding: 0;
  background-color: var(--background-color-aside);
  overflow-y: hidden;
  font-size: 14px;
}

.header,
.main,
.footer {
  margin-left: var(--aside-width);
}

.aside__item {
  margin: 0;
}

.aside__title {
  color: #79818b;
  margin: 0 20px;
}

.aside__list {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid #27272a;
  border-bottom: 1px solid #27272a;
}

.aside__link {
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 40px;
  margin: 0 20px;
}

.aside__link_active {
  color: var(--color-accent);
}

.aside__link:hover {
  color: var(--color-accent);
}

.aside__text {
  margin: 0;
}

.aside__link svg {
  width: 20px;
  height: 20px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

.container {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  background-color: var(--background-color-base);
  position: fixed;
  width: calc(100% - var(--aside-width));
  top: 0;
  z-index: 10;
}

.header .container {
  justify-content: space-between;
  align-items: center;
}

.header__buttons {
  display: flex;
  gap: 12px;
}

.button {
  display: inline-block;
  text-align: center;
  height: 44px;
  line-height: 44px;
  padding: 0 20px;
  border-radius: var(--border-radius);
  background-color: var(--color-accent);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.12px;
}

.button__second {
  background-color: #1f2021;
  color: #fff;
}

.button__desktop {
  display: inline-block;
}

@media (max-width: 767px) {
  .button__desktop {
    display: none;
  }
}

.main {
  margin-top: 100px;
}

.main .container {
  flex-direction: column;
}

.banner {
  background-image:
    url("/assets/banner.png"), url("/assets/banner-background.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  min-height: 350px;
  display: flex;
  align-items: center;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.banner__link {
  display: block;
  width: 100%;
  height: 100%;
}

.banner__content {
  margin: 40px 170px;
}

.banner__label {
  display: inline-block;
  background-color: #000;
  color: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 50px;
}

.banner__text {
  font-size: 50px;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: left;
}

.filter {
  display: inline-flex;
  margin-bottom: 30px;
  white-space: nowrap;
}

.filter__item {
  margin: 0;
}

.filter__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  background-color: #1e2020;
  border-radius: 12px;
}

.filter__link {
  color: #9fa5ad;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  gap: 12px;
}

.filter__link:hover {
  background-color: #292b2c;
}

.filter__link svg {
  width: 20px;
  height: 20px;
}

.filter__text {
  margin: 0;
}

.filter__link_active,
.filter__link_active:hover {
  background-color: var(--color-accent);
  color: #000;
}

.games__list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow: hidden;
  white-space: nowrap;
  margin-left: 0;
  list-style: none;
}

.games__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.games__button {
  opacity: 0;
  display: inline-block;
  position: absolute;
  width: 90%;
  transition: all 0.3s;
}

.games__link:hover .games__button {
  opacity: 1;
}

.games__img {
  width: 177px;
  border-radius: var(--border-radius);
}

.content {
  padding: 20px;
}

h1 {
  text-align: center;
  margin: 10px 0 30px;
  font-size: 40px;
}

h2 {
  font-size: 35px;
  margin: 10px 0;
}

h3 {
  font-size: 30px;
  margin: 10px 0;
}

h4 {
  font-size: 27px;
  margin: 10px 0;
}

ol,
ul {
  margin-left: 30px;
  margin-bottom: 30px;
}

ol li,
ul li {
  margin: 10px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

table td {
  border: 1px dashed #374502;
  text-align: center;
  padding: 10px;
}

table p {
  text-align: center;
  margin: 10px 0;
}

p {
  margin: 10px 0 30px;
  text-align: justify;
}

.footer {
  background-color: var(--background-color-footer);
}

.footer__text {
  width: 100%;
  text-align: center;
}

@media (max-width: 1200px) {
  .filter__list {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .banner__content {
    margin: 40px;
  }

  :root {
    --aside-width: 200px;
  }
}

@media (max-width: 767px) {
  h1 {
    margin: 10px 0;
    font-size: 30px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 19px;
  }

  table {
    display: block;
    text-align: left;
    overflow-x: auto;
    white-space: nowrap;
  }

  .aside {
    display: none;
  }

  :root {
    --aside-width: 0px;
  }
}

@media (max-width: 400px) {
  .banner__label {
    font-size: 15px;
  }

  .container {
    padding: 5px;
  }
}
