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

html {
  font-size: 10px;
  height: 100%;
}

.body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Comfortaa", cursive;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(238, 235, 235, 0.3)), url("../assets/img/eagle.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}
.body_active {
  overflow: hidden;
}

.container {
  max-width: 1920px;
  margin: 0 auto;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease-in;
  visibility: hidden;
  opacity: 0;
}
.overlay_show {
  visibility: visible;
  opacity: 1;
}

.header {
  min-height: 80px;
  display: flex;
  align-items: center;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  padding: 10px 0;
}
.header__logo {
  display: block;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease-in;
  cursor: pointer;
}
.header__logo:hover {
  transform: scale(1.1);
}
.header__logo:active {
  color: rgb(184, 3, 3);
}
.header__title {
  font-size: 5rem;
}
.header .text-green {
  color: rgb(4, 212, 4);
}
.header__nav {
  display: flex;
  transition: all 0.3s ease-in;
}
.header__burger {
  display: none;
  width: 30px;
  height: 30px;
  background-image: url("../assets/svg/burger-menu-icon.png");
  background-repeat: no-repeat;
}
.header__close-icon {
  display: none;
  width: 25px;
  height: 25px;
  cursor: pointer;
}
.header__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 50px;
}
.header__link {
  display: inline-block;
  font-size: 1.8rem;
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  transition: all 0.3s ease-in;
  cursor: pointer;
}
.header__link:hover {
  transform: scale(1.2);
}
.header__link:active {
  color: rgb(184, 3, 3);
}
.header__link_active {
  color: rgb(4, 212, 4);
  border-bottom: 2px solid rgb(4, 212, 4);
}
.header__link_active:hover {
  transform: none;
  cursor: default;
}
.header__link_active:active:active {
  color: rgb(4, 212, 4);
}
.header__lang {
  width: 40px;
  height: 40px;
  background-image: url("../assets/svg/lang-en-icon.svg");
  background-repeat: no-repeat;
  cursor: pointer;
}
.header__lang_ru {
  background-image: url("../assets/svg/lang-ru-icon.svg");
  background-repeat: no-repeat;
}

.main {
  flex: 1 1 100%;
}
.main__container {
  height: 100%;
  width: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main__game-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  font-size: 4rem;
  text-decoration: none;
  text-transform: uppercase;
  background-color: white;
  color: rgb(3, 172, 3);
  box-shadow: 0 0 0 0 rgb(255, 255, 255);
  -webkit-animation: pulse 1.3s infinite cubic-bezier(0.5, 0, 0, 1);
          animation: pulse 1.3s infinite cubic-bezier(0.5, 0, 0, 1);
}
.main__game-btn:hover {
  -webkit-animation: none;
          animation: none;
}
.main__game-btn:active {
  color: rgb(4, 212, 4);
}

@-webkit-keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(223, 27, 10, 0);
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(223, 27, 10, 0);
  }
}
.footer {
  min-height: 80px;
  display: flex;
  align-items: center;
}
.footer__container {
  width: 95%;
}
.footer__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7%;
}
.footer__link {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease-in;
}
.footer__link:hover {
  transform: scale(1.1);
}
.footer__svg {
  height: 60px;
  width: 60px;
}
.footer__rights {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease-in;
  cursor: pointer;
}
.footer__rights:hover {
  transform: scale(1.1);
}
.footer__year, .footer__text {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

@media (max-width: 1000px) {
  .header__title {
    font-size: 4.5rem;
  }
  .header__content {
    gap: 50px;
  }
  .header__list {
    gap: 30px;
  }
  .main__game-btn {
    width: 300px;
    height: 300px;
    font-size: 3.6rem;
  }
}
@media (max-width: 900px) {
  .body {
    background-position: 30% 0;
  }
}
@media (max-width: 768px) {
  .header__burger {
    display: block;
  }
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 60%;
    width: 100%;
    z-index: 2;
    border-radius: 10px;
    background-color: black;
  }
  .header__nav_show {
    right: 0;
  }
  .header__close-icon {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;
  }
  .header__list {
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
  }
  .header__link {
    font-size: 3rem;
  }
  .main__game-btn {
    width: 260px;
    height: 260px;
    font-size: 3.2rem;
  }
}
@media (max-width: 550px) {
  .footer__content {
    gap: 5%;
  }
}