* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #955b18 #ff990000;
  outline: none;
}

html {
  font-size: calc(100vw / (1920 / 10));
}

body {
  width: 100%;
  /* height: 232.9rem; */
  background: url(../assets/img/mainBg.webp);
  background-position: top left;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-bottom: 6rem;
  user-select: none;
}

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

button {
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  padding: 0;
  background: none;
  border: none;
}

.btn-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f9d976 0%, #f39c12 50%, #e67e22 100%);
  border: 1px solid #b78a28;
  border-radius: 4px;
  color: #000;
  font-family: "BeaufortforLOL", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 1rem 2.5rem;
  text-decoration: none;
  width: auto;
  box-sizing: border-box;
}

.btn-yellow:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(243, 156, 18, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-yellow:active {
  transform: translateY(1px);
  filter: brightness(0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5), inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-yellow p {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  text-transform: inherit !important;
  text-shadow: inherit !important;
  line-height: 1 !important;
}

.btn-huge { width: 40rem; height: 10.6rem; font-size: 3rem; }
.btn-large { width: 28rem; height: 6rem; font-size: 2.2rem; }
.btn-medium { width: 18.5rem; height: 4.3rem; font-size: 1.8rem; }

ul {
  list-style: none;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 5rem;
  padding-right: 5rem;
}

.container_inside {
  width: 100%;
  padding-left: 34rem;
}

.mob_menu_btn {
  width: 2.4rem;
  height: 2.4rem;
  display: none;
}

.mob_menu {
  background: #110c09;
  height: 100vh;
  position: fixed;
  right: 0;
  top: 0;
  width: 65%;
  z-index: 111;
  transition: all 0.4s ease;
  transform: translateX(-165%);
}

.visible_mob_menu {
  transition: all 0.4s ease;
  transform: translateX(-55%);
}

.mob_menu_exit {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
  padding-top: 35px;
  margin-bottom: 36px;
}

.mob_menu .nav_menu {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 2rem;
  padding-right: 24px;
}

.nav_menu a {
  font-size: 2.5rem;
  font-family: "BeaufortforLOL";
  font-weight: 400;
  color: rgb(253, 236, 218);
  line-height: 1.667;
  transition: all 0.4s ease;
}

.navbar {
  width: 100%;
  height: 9rem;
  background: url(../assets/img/navbar_bg.webp);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.navbar_container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar_navigation {
  display: flex;
  align-items: center;
  gap: 8rem;
}

.navbar a img {
  width: 6.5rem;
}

.navbar_navigation nav ul {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar_navigation_wrapper {
  width: max-content;
  height: 9rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.navbar_navigation_wrapper span {
  width: 100%;
  height: 0.6rem;
  display: inline-block;
  position: absolute;
  opacity: 0.749;
}

.navbar_navigation_wrapper span:nth-child(1) {
  top: -0.19rem;
  left: 0;
}

.navbar_navigation_wrapper span:nth-child(3) {
  bottom: 0;
  left: 0;
  height: 0.7rem;
}

.navbar nav ul li a {
  font-size: 2rem;
  font-family: "BeaufortforLOL";
  font-weight: 300;
  color: rgb(253, 236, 218);
  line-height: 1.667;
  transition: all 0.4s ease;
}

.navbar nav ul li a:hover,
.navbar nav ul li a:focus,
.nav_menu a:hover,
.nav_menu a:focus {
  color: rgb(160, 106, 71);
}

.navbar_navigation_wrapper.active .navbar_navigation_link {
  color: rgb(160, 106, 71);
}

.navbar_navigation_icon {
  width: 2.5rem;
  height: 2.5rem;
}

.navbar_navigation_wrapper span {
  opacity: 0;
  transition: all 0.4s ease;
}

.navbar_navigation_wrapper.active span {
  opacity: 1;
}

.navbar_navigation_wrapper > span > img {
  width: 100%;
  height: 1.2rem;
}

.user_personal_cabin {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pipe {
  width: 1px;
  height: 5.4rem;
  background: red;
  background-color: rgb(47, 38, 24);
}

/* custom select */

.custom-select {
  width: 15rem;
  position: relative;
  cursor: pointer;
  font-family: "BeaufortforLOL", sans-serif;
}

.selected-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.selected-option img:nth-child(1),
.option img:nth-child(1) {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
}

.selected-option img:nth-child(3) {
  margin-top: 0.5rem;
}

.selected-option span,
.option span {
  font-size: 1.6rem;
  font-family: "BeaufortforLOL";
  color: rgb(253, 236, 218);
  line-height: 1.875;
}

.options {
  width: 100%;
  display: none;
  position: absolute;
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  z-index: 9999;
}

.options {
  display: none;
}

.option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding-top: 0.5rem;
}

.option img {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
}

.custom-select-outside-navbar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.options_outside {
  margin-top: 3.5rem;
}

.custom-select-show {
  display: none;
}

/* main */

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero {
  width: 100%;
}

.hero_fixed_social {
  width: 5.4rem;
  position: fixed;
  left: 0;
  top: 43.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgb(45, 30, 23);
  z-index: 999;
}

.divider {
  background-color: rgb(68, 53, 46);
  width: 100%;
  height: 1px;
}

.hero_fixed_social a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 0;
  transition: all 0.4s ease;
}

.hero_fixed_social a:hover {
  opacity: 0.5;
}

.hero_fixed_social a:nth-child(1) img {
  width: 2.5rem;
  height: 2rem;
}

.hero_fixed_social a:nth-child(3) img {
  width: 2.6rem;
  height: 2.5rem;
}

.hero_fixed_social a:nth-child(5) img {
  width: 2rem;
  height: 1.8rem;
}

/* timer */

.timer {
  display: flex;
  gap: 1.8rem;
}

.box {
  width: 8rem;
  height: 9rem;
  background: rgb(28, 19, 17);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.number {
  font-size: 4.8rem;
  font-family: "BeaufortforLOL";
  font-weight: 700;
  color: rgb(253, 189, 113);
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
}

.label {
  font-size: 1.43rem;
  font-family: "BeaufortforLOL";
  font-weight: 400;
  color: rgb(253, 236, 218);
  line-height: 1;
  text-align: center;
}

.hero_start_the_game {
  width: 40rem;
  padding-top: 15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero_start_the_game .title {
  font-size: 3.1rem;
  font-family: "BeaufortforLOL";
  color: rgb(253, 187, 113);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.935;
  margin-bottom: 1.6rem;
}

.hero_start_the_game .description {
  font-size: 1.8rem;
  font-family: "Roboto";
  font-weight: 300;
  color: rgb(255, 231, 213);
  line-height: 1.333;
  text-align: center;
  margin-top: 2.1rem;
  margin-bottom: 3.5rem;
}

.online_and_offline_users {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 7.2rem;
}

.online_and_offline_users .item {
  width: 100%;
  height: 6.4rem;
  border-radius: 1rem;
  background-color: rgba(59, 59, 59, 0.19);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 2.7rem;
  padding-left: 2.5rem;
  transition: all 0.4s ease;
}

.online_and_offline_users .item:hover {
  backdrop-filter: blur(0px);
}

.online_and_offline_users .item img {
  width: 4rem;
  height: 4rem;
}

.online_and_offline_users .item:nth-child(2) img {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.count_players,
.item_description {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.count_players p:first-child {
  font-size: 2.2rem;
  font-family: "BeaufortforLOL";
  font-weight: 400;
  color: rgb(255, 231, 213);
  text-transform: uppercase;
  line-height: 0.546;
  text-align: center;
}

.count_players p:last-child {
  font-size: 1.4rem;
  font-weight: 300;
  font-family: "BeaufortforLOL";
  color: rgb(180, 163, 145);
  line-height: 0.857;
  text-align: center;
}

.item_description p {
  font-size: 2.2rem;
  font-family: "BeaufortforLOL";
  font-weight: 500;
  color: rgb(253, 187, 113);
  text-transform: uppercase;
  line-height: 0.546;
}

.item_description a {
  text-decoration: underline;
  font-size: 1.4rem;
  font-weight: 300;
  font-family: "BeaufortforLOL";
  color: rgb(180, 163, 145);
  text-decoration: underline;
  line-height: 0.857;
  padding-left: 0.5rem;
}

.examples {
  width: 100%;
  padding-left: 3rem;
  display: flex;
  align-items: center;
  gap: 10rem;
  margin-top: 25rem;
}

.examples_item {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.examples_item img {
  width: 6.5rem;
  height: auto;
}

.examples_item_description {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.examples_item_description a {
  font-size: 1.8rem;
  font-family: "Roboto";
  color: rgb(254, 241, 227);
  font-weight: 400;
  line-height: 1.222;
  transition: all 0.4s ease;
}

.examples_item_description a:hover,
.examples_item_description a:active {
  opacity: 0.8;
}

.examples_item_description p {
  font-size: 1.4rem;
  font-family: "BeaufortforLOL";
  font-weight: 300;
  color: rgb(180, 163, 145);
  text-decoration: underline;
  line-height: 0.857;
  text-align: left;
}

/* details */
.details {
  margin-top: 6rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3.6rem;
}

.details_left {
  width: 81.5rem;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3.5rem;
}

.details_left_item {
  width: 100%;
  height: 34.2rem;
  background: url(../assets/img/details-item-bg-1.webp);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.7rem;
  border-radius: 3rem;
}

.details_left_item .title {
  font-size: 4.8rem;
  font-family: "BeaufortforLOL";
  font-weight: 700;
  color: rgb(253, 187, 113);
  text-transform: uppercase;
  line-height: 1.25;
  text-align: center;
}

.details_left_item .description {
  width: 69.2rem;
  font-size: 1.8rem;
  font-family: "Roboto";
  font-weight: 300;
  color: rgb(255, 231, 213);
  line-height: 1.333;
  text-align: center;
}

.details_left_bottom {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 2.7rem;
  justify-content: space-between;
}

.details_left_bottom_item {
  width: 39rem;
  height: 39rem;
  background: url(../assets/img/details-left-bottom-item-bg-1.webp);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  border-radius: 3rem;
}

.details_left_bottom_item:nth-child(2) {
  background: url(../assets/img/details-left-bottom-item-bg-2.webp);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.details_left_bottom_item .item_date {
  font-size: 1.4rem;
  font-family: "BeaufortforLOL";
  font-weight: 300;
  color: rgb(255, 241, 214);
  line-height: 0.857;
  text-align: center;
  margin-bottom: 2.4rem;
}

.details_left_bottom_item .item_title {
  font-size: 2.4rem;
  font-family: "Roboto";
  color: rgb(254, 241, 227);
  font-weight: bold;
  line-height: 0.917;
  text-align: center;
  margin-bottom: 2rem;
}

.details_left_bottom_item .item_description {
  width: 32.4rem;
  font-size: 1.6rem;
  font-family: "Roboto";
  font-weight: 300;
  color: rgb(254, 241, 227);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 2.3rem;
}

.details_right {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.details_right_item_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5.4rem;
}

.details_right_item_header .title {
  font-size: 2.23rem;
  font-family: "BeaufortforLOL";
  color: rgb(255, 255, 255);
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
}

.to_form {
  outline: none;
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-width: 0.1rem;
  border-color: rgb(180, 163, 145);
  border-style: solid;
  border-radius: 0.4rem;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.to_form span {
  font-size: 1.2rem;
  font-family: "BeaufortforLOL";
  color: rgb(180, 163, 145);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.to_form:hover {
  opacity: 0.8;
}

.to_form:active {
  transform: scale(0.97);
}

.details_right_item_body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.details_right_item_body .body_item {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}

.details_right_item_body .body_item img {
  width: 6rem;
  height: 6rem;
  border-radius: 0.4rem;
}

.body_item_desc {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.body_item_desc a {
  font-size: 1.8rem;
  font-family: "Roboto";
  font-weight: 300;
  color: rgba(254, 241, 227, 0.9);
  line-height: 1.222;
  text-align: left;
  transition: all 0.4s ease;
  cursor: pointer;
}

.body_item_desc a:hover,
.body_item_desc a:active {
  opacity: 0.8;
}

.body_item_desc p {
  font-size: 1.4rem;
  font-family: "BeaufortforLOL";
  font-weight: 300;
  color: rgb(180, 163, 145);
  line-height: 0.857;
  text-align: left;
}

.body_item_desc p span:last-child {
  text-decoration: underline;
}

.details_right_item2 {
  margin-top: 2.5rem;
}

.servers {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-top: 1.2rem;
  margin-bottom: 1.8rem;
}

.servers a {
  width: 12.1rem;
  height: 2.8rem;
  border-radius: 0.5rem;
  background-color: rgb(97, 77, 62);
  font-size: 1.4rem;
  font-family: "BeaufortforLOL";
  font-weight: 400;
  color: rgb(254, 241, 227);
  line-height: 0.857;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.servers a:hover,
.servers a:focus {
  opacity: 1;
}

.leaderboard {
  width: 39.4rem;
}

.leaderboard-header,
.leaderboard-row {
  display: grid;
  grid-template-columns: 3rem 1fr 5rem 10rem;
  align-items: center;
  padding: 0.5rem 1rem;
}

.leaderboard-header {
  font-size: 1.4rem;
  font-family: "Roboto";
  color: rgb(126, 126, 126);
  font-weight: 400;
  line-height: 1.571;
  text-align: left;
}

.leaderboard-header div:nth-child(3) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.leaderboard-row {
  width: 100%;
  margin-top: 0.6rem;
  border-radius: 0.5rem;
  background-color: rgba(45, 37, 30, 0.4);
}

.leaderboard-row div {
  font-size: 1.4rem;
  font-family: "Roboto";
  font-weight: 400;
  color: rgb(254, 241, 227);
  line-height: 1.571;
  text-align: left;
}

.leaderboard-row div:nth-child(3),
.leaderboard-row div:nth-child(4),
.leaderboard-header div:nth-child(3),
.leaderboard-header div:nth-child(4) {
  text-align: right;
}

.leaderboard-header div:nth-child(4) {
  text-decoration: underline;
}

.top > div:nth-child(1) {
  color: rgb(253, 187, 113);
}

.payment {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 5.7rem;
}

.payment_ways img {
  width: 51.5rem;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.navigation {
  margin-left: -1rem;
}

.navigation nav:nth-child(1) {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* .navigation nav:nth-child(1) a:nth-child(3) {
  width: 11rem;
} */

.navigation nav:nth-child(3) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.navigation_logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.navigation_logo_links {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
}

.navigation_logo_links a {
  display: inline-block;
  width: 18rem;
  text-align: center;
  font-size: 1.2rem;
  font-family: "BeaufortforLOL";
  color: rgb(180, 163, 145);
  font-weight: bold;
  text-decoration: underline;
  line-height: 1.2;
}

.navigation_logo img {
  width: 11.4rem;
}

.navigation nav a {
  font-size: 1.4rem;
  font-family: "BeaufortforLOL";
  color: rgb(180, 163, 145);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 2.143;
  transition: all 0.4s ease;
}

.navigation nav a:hover,
.navigation nav a:focus {
  color: rgb(160, 106, 71);
}

.payment_cards {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  justify-content: center;
}

.payment_cards .card {
  width: 8.8rem;
  height: 3.1rem;
  border-width: 0.1rem;
  border-color: rgb(55, 55, 55);
  border-style: solid;
  background-color: rgb(41, 41, 41);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: "Roboto";
  font-weight: 400;
  color: rgb(92, 92, 92);
  line-height: 1;
}

.lower_line {
  width: 100%;
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lower_line img {
  width: 57.4rem;
  height: 0.2rem;
}

/* modal */

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  z-index: 9999;
  top: 20.7rem;

  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.modal.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.modal-content {
  width: 124.1rem;
  height: 64.7rem;
  position: relative;
  color: #f0c07d;
  padding: 4.8rem 8rem 0 8rem;
  border-radius: 1rem;
  z-index: 10;
  background: url(../assets/img/modal-bg.webp);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: repeat;
  border-radius: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 2.3rem;
  font-family: "Roboto";
  font-size: 3.6rem;
  font-weight: 100;
  background: none;
  border: none;
  color: rgb(172, 131, 84);
  cursor: pointer;
}

.modal-title {
  font-size: 3.1rem;
  font-family: "BeaufortforLOL";
  color: rgb(253, 187, 113);
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.modal-before-title {
  font-size: 1.4rem;
  font-family: "BeaufortforLOL";
  font-weight: 400;
  color: rgb(180, 163, 145);
  line-height: 0.857;
  text-align: center;
}

.modal-section {
  width: 100%;
  margin-bottom: 2rem;
  padding: 1rem 2.8rem;
  border-width: 0.37px;
  border-color: rgb(0, 0, 0);
  border-style: solid;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 5.3rem;
}

.section-title {
  width: 23rem;
  margin-bottom: 0.8rem;
  font-size: 2.2rem;
  font-family: "BeaufortforLOL";
  font-weight: 500;
  color: rgb(253, 187, 113);
  text-transform: uppercase;
  line-height: 2.5;
  text-align: left;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.button-row button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-row button p {
  text-align: center;
}

.modal-footer {
  text-align: center;
  margin-top: 3.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-footer > p {
  font-size: 1.4rem;
  font-family: "BeaufortforLOL";
  font-weight: 400;
  color: rgb(180, 163, 145);
  line-height: 0.857;
  margin-bottom: 2.8rem;
}

.modal-footer button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-footer button p {
  text-align: center;
}

body.modal-open {
  overflow: hidden;
}

/* preloader */

#preloader {
  position: fixed;
  inset: 0;
  background: #0e0e0e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#preloader img {
  max-width: 20rem;
  filter: drop-shadow(0 0 10px #c8953f);
  animation: pulse 1.6s infinite ease-in-out;
}

body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

body.loaded #preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media only screen and (min-width: 1920px) {
  .navbar {
    width: 100%;
    height: clamp(0px, 9rem, 90px);
  }

  .navbar_container {
    gap: clamp(0px, 33.6rem, 336px);
    justify-content: center;
  }

  .navbar_navigation {
    gap: clamp(0px, 8rem, 80px);
  }

  .navbar a img {
    width: clamp(0px, 6.5rem, 65px);
  }

  .navbar_navigation nav ul {
    gap: clamp(0px, 2rem, 20px);
  }

  .navbar_navigation_wrapper {
    height: 9rem;
  }

  .navbar_navigation_wrapper {
    height: clamp(0px, 9rem, 90px);
  }

  .navbar_navigation_wrapper span {
    height: clamp(0px, 0.6rem, 6px);
  }

  .navbar_navigation_wrapper span:nth-child(3) {
    height: clamp(0px, 0.7rem, 7px);
  }

  /* .navbar_navigation_wrapper span:nth-child(1) {
    top: clamp(0px, -0.6rem, -6px);
  } */

  .navbar nav ul li a {
    font-size: clamp(0px, 2rem, 20px);
  }

  .navbar_navigation_icon {
    width: clamp(0px, 2.5rem, 25px);
    height: clamp(0px, 2.5rem, 25px);
  }

  .navbar_navigation_wrapper > span > img {
    width: 100%;
    height: clamp(0px, 1.2rem, 12px);
  }

  .user_personal_cabin {
    gap: clamp(0px, 2rem, 20px);
  }

  .custom-select {
    width: clamp(0px, 15rem, 150px);
  }

  .selected-option {
    gap: clamp(0px, 1rem, 10px);
    margin-bottom: clamp(0px, 1rem, 10px);
  }

  .selected-option img:nth-child(1),
  .option img:nth-child(1) {
    width: clamp(0px, 3.6rem, 36px);
    height: clamp(0px, 3.6rem, 36px);
  }

  .selected-option img:nth-child(3) {
    margin-top: clamp(0px, 0.5rem, 5px);
  }

  .selected-option span,
  .option span {
    font-size: clamp(0px, 1.6rem, 16px);
  }

  .modal-footer button {
    width: clamp(0px, 28rem, 280px);
    height: clamp(0px, 6rem, 60px);
  }

  .modal-footer button p {
    font-size: clamp(0px, 2.2rem, 22px);
  }
}

@media only screen and (max-width: 1366px) {
  html {
    font-size: calc(100vw / (1366 / 10));
  }

  body {
    width: 100%;
    /* height: 232.9rem; */
    background: url(../assets/img/1366-mainBg.webp);
    background-position: top left;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .container,
  .container_inside {
    width: 100%;
    max-width: 1366px;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .custom-select-hide {
    display: none;
  }

  .custom-select-show {
    display: flex;
  }

  .navbar_navigation {
    display: flex;
    align-items: center;
    gap: 5rem;
  }

  .navbar a img {
    width: 6rem;
  }

  .navbar nav ul li a {
    font-size: 1.8rem;
  }

  .navbar_navigation_icon {
    width: 2rem;
    height: 2rem;
  }

  .hero_fixed_social {
    position: fixed;
    left: auto;
    right: 0;
  }

  .hero_start_the_game {
    padding-top: 10.5rem;
  }

  .modal {
    top: 15rem;
  }
}

@media only screen and (max-width: 1024px) {
  html {
    font-size: calc(100vw / (1024 / 10));
  }

  body {
    width: 100%;
    /* height: 286.3rem; */
    background: url(../assets/img/1024-mainBg.webp);
    background-position: top left;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .container,
  .container_inside {
    width: 100%;
    max-width: 1024px;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .mob_menu_btn {
    display: flex;
  }

  .navbar_navigation nav {
    display: none;
  }

  .pipe {
    display: none;
  }

  .navbar a img {
    width: 6.5rem;
    margin-left: 28rem;
  }

  .navbar {
    background: url(../assets/img/1024-navbar-bg.webp);
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }

  .hero_start_the_game {
    padding-top: 8.4rem;
  }

  /* details */

  .details {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3.6rem;
  }

  .details_right {
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
  }

  .details_right_item2 {
    margin-top: 0;
  }

  .modal {
    top: 13.2rem;
  }

  .modal-content {
    width: 97.6rem;
    height: 65.6rem;
    padding: 2.8rem;
  }

  .modal-title {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .modal-section {
    width: 100%;
    margin-bottom: 2rem;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
  }

  .section-title {
    width: 100%;
    margin-bottom: 0rem;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
  }

  .modal-footer {
    margin-top: 2rem;
  }

  .modal-footer > p {
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width: 640px) {
  html {
    font-size: calc(100vw / (640 / 10));
  }

  body {
    width: 100%;
    /* height: 247.6rem; */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 60%,
        rgba(0, 0, 0, 1) 100%
      ),
      url(../assets/img/640-mainBg.webp);
    background-position: top left;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #000;
  }

  .container,
  .container_inside {
    width: 100%;
    max-width: 640px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .navbar a img {
    width: 5.5rem;
    margin-left: 19rem;
  }

  .hero_fixed_social {
    top: 34rem;
  }

  .hero_start_the_game {
    width: 100%;
    padding-top: 26.6rem;
    align-items: center;
    justify-content: center;
  }

  .hero_start_the_game .description {
    font-size: 2rem;
  }

  .online_and_offline_users {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 4rem;
  }

  .online_and_offline_users .item {
    width: 100%;
    height: 8.4rem;
    border-radius: 1.5rem;
    gap: 3rem;
    padding-left: 3rem;
  }

  .online_and_offline_users .item img {
    width: 5rem;
    height: 5rem;
  }

  .count_players,
  .item_description {
    gap: 1rem;
  }

  .count_players p:first-child {
    font-size: 2.5rem;
  }

  .count_players p:last-child {
    font-size: 1.6rem;
  }

  .item_description p {
    font-size: 3rem;
  }

  .item_description a {
    font-size: 1.8rem;
  }

  .examples {
    flex-direction: column;
    margin-top: 3rem;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
    padding-left: 0;
  }

  .examples_item {
    align-items: flex-start;
    gap: 1.8rem;
  }

  .examples_item img {
    width: 9rem;
  }

  .examples_item_description {
    gap: 0.8rem;
  }

  .examples_item_description a {
    font-size: 3rem;
  }

  .examples_item_description p {
    font-size: 1.8rem;
  }

  main {
    align-items: flex-start;
  }

  .details {
    margin-top: 4rem;
    gap: 6rem;
  }

  .details_left {
    width: 100%;
    gap: 2.7rem;
  }

  .details_left_item {
    width: 100%;
    height: 35rem;
    gap: 2rem;
    background-size: cover;
  }

  .details_left_item .title {
    font-size: 3.5rem;
    font-weight: 600;
  }

  .details_left_item .description {
    width: 95%;
    font-size: 1.7rem;
    font-weight: 300;
  }

  .start_button {
    width: 38rem;
    height: 10rem;
  }

  .start_button p {
    font-size: 3rem;
    font-weight: 400;
  }

  .details_left_bottom {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2.7rem;
  }

  .details_left_bottom_item,
  .details_left_bottom_item:nth-child(2) {
    width: 100%;
    height: 35rem;
    padding-top: 0;
    justify-content: flex-end;
    padding-bottom: 3rem;
    background-size: cover;
  }

  .details_left_bottom_item .item_date {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .details_left_bottom_item .item_title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .details_left_bottom_item .item_description {
    width: 95%;
    font-size: 1.7rem;
    margin-bottom: 2rem;
  }

  .details_right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6rem;
  }

  .details_right_item_header {
    gap: 4.2rem;
  }

  .details_right_item_header .title {
    font-size: 3rem;
  }

  .details_right_item_body {
    gap: 1rem;
    margin-top: 2.4rem;
  }

  .details_right_item_body .body_item {
    gap: 2.2rem;
  }

  .details_right_item_body .body_item img {
    width: 8rem;
    height: 8rem;
  }

  .body_item_desc a:nth-child(1) {
    font-size: 2.5rem;
  }

  .body_item_desc p:nth-child(2) {
    font-size: 1.7rem;
  }

  /*  */

  .servers {
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .servers a {
    width: 15rem;
    height: 3rem;
    font-size: 1.6rem;
  }

  .leaderboard {
    width: 100%;
  }

  .leaderboard-header,
  .leaderboard-row {
    padding: 0.7rem 1rem;
  }

  .leaderboard-header {
    font-size: 2rem;
    font-weight: 500;
  }

  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 3rem 35rem 5rem 15rem;
  }

  .leaderboard-row div {
    font-size: 2rem;
  }

  /* modal */

  .modal {
    top: 11.1rem;
  }

  .modal-content {
    width: 62rem;
    height: 47.1rem;
    padding: 1.8rem 1.9rem;
  }

  .modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .modal-before-title {
    font-size: 1rem;
  }

  .modal-section {
    width: 100%;
    margin-bottom: 1rem;
    padding: 1rem;
    gap: 1.6rem;
  }

  .section-title {
    margin-bottom: 0rem;
    font-size: 1.6rem;
  }

  .button-row button {
    width: 13.5rem;
    height: 3rem;
  }

  .button-row button p {
    font-size: 1.5rem;
  }

  .modal-footer {
    margin-top: 1rem;
  }

  .modal-footer > p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .modal-footer button {
    width: 20rem;
    height: 4rem;
  }

  .modal-footer button p {
    font-size: 1.6rem;
  }

  .selected-option span,
  .option span {
    font-size: 2rem;
    font-family: "BeaufortforLOL";
    color: rgb(253, 236, 218);
    line-height: 1.875;
  }
}




/* iPhone и маленькие экраны */
@media only screen and (max-width: 375px) {
  html { 
    font-size: calc(100vw / (375 / 10));
  }

  .start_button {
    width: 20rem;
    height: 5.6rem;
  }

  .start_button p {
    font-size: 1.6rem;
  }
}
