.header__wrapper,
.footer__inner,
.footer__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img,
.team-workers__item-img img,
.footer__img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

@font-face {
  font-family: "Arial";
  src: url("../fonts/Arial-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "ITCFranklinGothicStd";
  src: url("../fonts/ITCFranklinGothicStd-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Machinec";
  src: url("../fonts/Machinec-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  src: url("../fonts/Gilroy-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "MicrosoftTaiLe";
  src: url("../fonts/MicrosoftTaiLe-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

:root {
  --clr-default-100: #fff;
  --clr-default-900: #000;
  --clr-primary-300: #ffc958;
  --clr-primary-400: #009bf8;
  --clr-primary-500: #ffb335;
  --clr-primary-900: #000610;
  --clr-body-bg: #09111c;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

html,
body {
  height: 100%;
}

body {
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

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

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

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

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

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  /* 2 */
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
  vertical-align: top;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

button,
input {
  /* 1 */
  overflow: visible;
}

button,
select {
  /* 1 */
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

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

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

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

ul li {
  list-style: none;
}

body {
  font-family: "Arial", sans-serif;
  font-weight: 400;
  line-height: 150%;
  font-size: 1.8rem;
  color: var(--clr-default-100);
  background-color: var(--clr-body-bg);
}

body.lock {
  overflow: hidden;
}

body.lock--wrapper .wrapper::before {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s, visibility 0.3s;
}

.wrapper {
  overflow: hidden;
  width: 100%;
  min-width: 320px;
  min-height: 100%;
}

.wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 5;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

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

.header {
  padding-top: 15px;
  padding-bottom: 15px;
  z-index: 1;
}

.header__logo {
  max-width: 59px;
}

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

.header__nav-item:not(:last-child) {
  margin-right: 50px;
}

.header__nav-link {
  position: relative;
  display: block;
  text-transform: uppercase;
}

.header__nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--clr-default-100);
  transform: translateX(-50%);
  transition: width 0.3s;
}

.header__burger {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 185px;
  background-color: var(--clr-default-900);
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -50%;
  z-index: 1;
  width: 320px;
  height: 320px;
  background-image: linear-gradient(180deg, #ffae03 0%, #ffea9f 100%);
  filter: blur(560px);
  transform: translate(-50%, -50%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, #000610 0, rgba(0, 6, 16, 0.75) 40.77%, rgba(0, 6, 16, 0) 100%);
}

.hero__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__title {
  z-index: 2;
  font-family: "Gilroy", sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 1.96364rem + 1.36364vw, 3.6rem);
  line-height: 160%;
}

.hero__subtitle {
  z-index: 2;
  margin-top: 10px;
  font-family: "Microsoft Tai Le", sans-serif;
  font-weight: 700;
  font-size: clamp(4.2rem, 2.81818rem + 4.31818vw, 8rem);
  line-height: 110%;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
  background-image: linear-gradient(to right, #ffeba2, #fec83e, #ffad00);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__particles {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  transform: translateY(25%);
}

.boss {
  position: relative;
  z-index: 200;
  padding-top: 150px;
  padding-bottom: 170px;
}

.boss__learn_more {
  margin-top: 24px;
  background: url("../img/ui/learn-more-btn.webp");
  color: white;
  padding: 16px 40px;
  font-weight: bold;
  font-size: larger;
  transition: 0.3s;
}



.boss__learn_more:hover {
  color: black;
}

.boss__bg {
  background: url("../img/boss/boss-bg.webp") no-repeat;
  background-size: contain;
}

.boss__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.boss__info {
  padding: 35px 16px;
}

.boss__info p {
  margin-top: 20px;
  line-height: 150%;
  max-width: 60rem;
}

.games__text p {
  margin-top: 16px;
}

.games__title {
  margin-bottom: 20px;
  font-size: clamp(4.6rem, 3.65455rem + 2.95455vw, 7.2rem);
  line-height: 110%;
  color: var(--clr-primary-500);
  font-family: "Microsoft Tai Le", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.games__list {
  margin-top: 60px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.games__item {
  position: relative;
  padding: 170px 25px 40px;
  max-width: 370px;
  width: 100%;
  border-radius: 7px;
  background-image: linear-gradient(109.43deg, rgba(52, 56, 64, 0.35) -26.8%, rgba(52, 56, 64, 0.05) 111.12%);
}

.games__item-title {
  margin-bottom: 5px;
  font-family: "ITC Franklin Gothic Std", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 1.58182rem + 0.68182vw, 2.4rem);
  line-height: 150%;
  text-transform: uppercase;
  color: var(--clr-primary-500);
}

.games__item-subtitle {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 117%;
}

.games__item-text {
  font-size: clamp(1.4rem, 1.32727rem + 0.22727vw, 1.6rem);
  line-height: 160%;
  opacity: 0.85;
}

.games__item::before {
  position: absolute;
  content: '';
  top: 35px;
  left: 25px;
  width: 100px;
  height: 100px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.games__item--1::before {
  background-image: url("../img/games/games@2x.png");
}

.games__item--2::before {
  background-image: url("../img/games/3d@2x.png");
}

.games__item--3::before {
  background-image: url("../img/games/studio@2x.png");
}

.games__item + .games__item {
  margin-left: 15px;
}

.team {
  padding-top: 90px;
  padding-bottom: 150px;
}

.team-workers__list {
  display: grid;
  grid-gap: 45px 30px;
  grid-template-columns: repeat(3, 1fr);
}

.team-workers__item-name {
  margin-top: 15px;
  font-family: "ITC Franklin Gothic Std", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(1.4rem, 1.03636rem + 1.13636vw, 2.4rem);
  line-height: 150%;
  text-transform: uppercase;
  color: var(--clr-primary-500);
}

.team-workers__item-img {
  position: relative;
  padding-top: 100%;
  border-radius: 13px;
}

.team-workers__item-img img {
  border-radius: 13px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

.footer {
  padding-bottom: 80px;
}

.footer__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer__title {
  font-family: "Microsoft Tai Le", sans-serif;
  font-weight: 700;
  font-size: clamp(4.8rem, 3.92727rem + 2.72727vw, 7.2rem);
  line-height: 110%;
  text-align: center;
  color: var(--clr-primary-500);
}

.footer__inner {
  margin-top: 45px;
  margin-bottom: 24px;
}

.footer__list-item + .footer__list-item {
  margin-left: 30px;
}

.footer__img {
  max-width: 137px;
  margin-left: 30px;
}

.footer__link svg {
  border-radius: 5px;
  fill: var(--clr-primary-900);
  transition: fill 0.3s;
}

@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    right: -100%;
    top: 0;
    z-index: 999;
    display: flex;
    overflow: auto;
    width: 100%;
    height: 100%;
    max-width: 320px;
    background-color: var(--clr-default-900);
    transition: right 0.3s;
  }

  .header__nav--active {
    right: 0;
    transition: right 0.3s;
  }

  .header__nav-list {
    flex-direction: column;
    margin: auto;
    padding-block: 40px;
  }

  .header__nav-item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .header__nav-link {
    font-size: 2.8rem;
  }

  .header__burger {
    position: relative;
    z-index: 1000;
    display: block;
    width: 25px;
    height: 20px;
    background-color: transparent;
  }

  .header__burger::after,
  .header__burger::before,
  .header__burger span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--clr-default-100);
  }

  .header__burger::before {
    top: 0;
    transition: transform 0.3s, top 0.3s;
  }

  .header__burger::after {
    bottom: 0;
    transition: transform 0.3s, bottom 0.3s;
  }

  .header__burger span {
    top: 8px;
    transition: transform 0.3s;
  }

  .header__burger--active span {
    transform: scale(0);
    transition: transform 0.3s;
  }

  .header__burger--active::before {
    top: 8px;
    transform: rotate(45deg);
    transition: transform 0.3s, top 0.3s;
  }

  .header__burger--active::after {
    bottom: 8px;
    transform: rotate(-45deg);
    transition: transform 0.3s, bottom 0.3s;
  }

  .boss__info {
    padding: 50px 25px;
  }

  .games__item--3 {
    flex: 1 1 auto;
  }

  .team {
    padding-bottom: 80px;
  }

  .team-workers__list {
    grid-gap: 15px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .boss__wrapper {
    flex-direction: column;
    align-items: center;
    margin-left: -15px;
    width: calc(100% + 30px);
  }

  .boss__info img {
    display: block;
    margin-right: auto;
    margin-left: auto;
  }

  .boss__info ul {
    max-width: initial;
  }

  .boss__info {
    padding: 30px 15px;
  }

  .boss__img {
    padding-right: 15px;
    padding-bottom: 30px;
    padding-left: 15px;
  }

  .boss {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .games__list {
    display: block;
  }

  .games__item::before {
    left: 15px;
  }

  .games__item {
    max-width: initial;
    padding-left: 15px;
    padding-right: 15px;
  }

  .games__item + .games__item {
    margin-left: initial;
    margin-top: 15px;
  }
}

@media (max-width: 576px) {
  .hero__particles {
    display: none;
  }

  .hero {
    background-image: url("../img/hero/bg.svg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .team {
    padding-bottom: 40px;
  }

  .footer {
    padding-bottom: 40px;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__img {
    margin-left: initial;
    margin-top: 20px;
  }
}

@media (max-width: 450px) {
  .team-workers__list {
    display: block;
  }

  .team-workers__item + .team-workers__item {
    margin-top: 25px;
  }
}

@media (max-width: 420px) {
  .footer__list-item + .footer__list-item {
    margin-left: initial;
  }

  .footer__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
  }
}

@media (hover) {
  .header__nav-link:hover::before {
    width: 100%;
    transition: width 0.3s;
  }

  .boss__btn:hover {
    padding-right: 20px;
    background-color: var(--clr-primary-300);
    transition: background-color 0.3s, padding-right 0.3s;
  }

  .boss__btn:hover svg {
    margin-left: 20px;
    transition: margin-left 0.3s;
  }

  .footer__link svg:hover {
    fill: var(--clr-primary-500);
    transition: fill 0.3s;
  }
}