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

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

:active,
:focus {
  outline: 0;
}

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

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

body,
html {
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overscroll-behavior: none;
}

button,
input,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

input,
textarea {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

textarea::placeholder,
input::placeholder {
  color: inherit;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: inherit;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: inherit;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: inherit;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: inherit;
}

input::placeholder,
textarea::placeholder {
  color: inherit;
}

textarea {
  resize: none;
}

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

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

a {
  display: inline-block;
  color: inherit;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  vertical-align: top;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
}

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

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

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

.container {
  padding: 0 40px;
}

@media (max-width: 991px) {
  .container {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

:root {
  overscroll-behavior: none;
  /* // Шрифты */
  --font-main: "brfantasygames_Teachers", sans-serif;
  --background-page: var(--black);
  --main: var(--white);
  --black: #000000;
  --white: #ffffff;
  --i: calc(1vw + 1vh);
  --btn-color: linear-gradient(270deg, #fc6a7d 0%, #ff9fdd 100%);
  --hover-a: #a09f9f;
}

.brfantasygames_page {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  min-height: 100vh;
  overflow: hidden;
  color: var(--main);
  background-color: var(--background-page);
}

@font-face {
  font-family: "brfantasygames_Teachers";
  font-weight: 100 900;
  font-style: normal;
  src: url(/brfantasygames-fonts/brfantasygames_Teachers.woff2) format("woff2");
}
@font-face {
  font-family: "brfantasygames_VinaSans_f_w_400";
  font-weight: 400;
  font-style: normal;
  src: url(/brfantasygames-fonts/brfantasygames_VinaSans_f_w_400.woff2) format("woff2");
}

h1 {
  font-family: "brfantasygames_VinaSans_f_w_400";
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

h2 {
  font-family: "brfantasygames_VinaSans_f_w_400";
  font-size: 50px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

h3 {
  font-family: "brfantasygames_VinaSans_f_w_400";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

p {
  font-family: "brfantasygames_Teachers";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

ul li {
  font-family: "brfantasygames_Teachers";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

header a {
  font-family: "brfantasygames_VinaSans_f_w_400";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 16px;
  }

  p {
    font-size: 12px;
  }
  ul li {
    font-size: 12px;
  }
}

.btn {
  border-radius: 50px;
  border: 1px solid #fff;
  background: linear-gradient(270deg, #fc6a7d 0%, #ff9fdd 100%);
  box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.5) inset;

  color: #fff;
  font-family: "brfantasygames_VinaSans_f_w_400";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;

  padding-top: 7px;
  padding-bottom: 10px;
  width: 100%;
  max-width: 155px;
  display: flex;
  justify-content: center;
}

.btn:hover {
  background-color: var(--btn-hover);
}

/* font-weight */

.f--w-100 {
  font-weight: 100;
}

.f--w-200 {
  font-weight: 200;
}

.f--w-300 {
  font-weight: 300;
}

.f--w-400 {
  font-weight: 400;
}

.f--w-500 {
  font-weight: 500;
}

.f--w-600 {
  font-weight: 600;
}

.f--w-700 {
  font-weight: 700;
}

.f--w-800 {
  font-weight: 800;
}

.f-w-900 {
  font-weight: 900;
}
/* font-size */

.f-s-10 {
  font-size: 10px;
}

.f-s-12 {
  font-size: 12px;
}

.f-s-14 {
  font-size: 14px;
}

.f-s-16 {
  font-size: 16px;
}

.f-s-20 {
  font-size: 20px;
}

.f-s-16 {
  font-size: 16px;
}

.f-s-18 {
  font-size: 18px;
}

.f-s-20 {
  font-size: 20px;
}

.f-s-26 {
  font-size: 26px;
}

.f-s-30 {
  font-size: 30px;
}

.f-s-32 {
  font-size: 32px;
}

.f-s-40 {
  font-size: 40px;
}

.f-s-50 {
  font-size: 50px;
}

/* padding */

.p-t-20 {
  padding-top: 20px;
}

.p-t-40 {
  padding-top: 40px;
}

.p-t-50 {
  padding-top: 50px;
}
.p-t-80 {
  padding-top: 80px;
}
.p-t-100 {
  padding-top: 100px;
}

.p-b-10 {
  padding-bottom: 10px;
}

.p-b-20 {
  padding-bottom: 20px;
}

.p-b-50 {
  padding-bottom: 50px;
}
.p-b-50 {
  padding-bottom: 50px;
}

/* margin */
.m-t-10 {
  margin-top: 10px;
}
.m-t-20 {
  margin-top: 20px;
}

.m-t-30 {
  margin-top: 30px;
}

.m-t-40 {
  margin-top: 40px;
}
.m-t-50 {
  margin-top: 50px;
}

.m-b-10 {
  margin-bottom: 10px;
}

.m-b-20 {
  margin-bottom: 20px;
}
.m-b-30 {
  margin-bottom: 30px;
}

.m-b-40 {
  margin-bottom: 40px;
}
.m-b-50 {
  margin-bottom: 50px;
}

/* flex */

.flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justi-center {
  justify-content: center;
}

.space-between {
  justify-content: space-between;
}

.colum {
  flex-direction: column;
}

.wrap {
  flex-wrap: wrap;
}

.brfantasygames_main {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.no-wrap {
  white-space: nowrap;
}

.none-uppercase {
  text-transform: none;
}

.word-break {
  word-break: break-all;
}

.m-auto {
  margin-left: auto;
  margin-right: auto;
}

.img-contain {
  object-fit: contain;
}

.img-cover {
  object-fit: cover;
}

.underline {
  text-decoration: underline;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.rd-upload img {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.rd-load img {
  opacity: 1;
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* gap */
/* !!!!!!!!!!!!!!!!!!!!!!! */
.gap-5 {
  gap: 5px;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}
.gap-30 {
  gap: 30px;
}
.gap-40 {
  gap: 40px;
}
.gap-50 {
  gap: 50px;
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* terms */
/* !!!!!!!!!!!!!!!!!!!!!!! */

.brfantasygames_terms {
  padding: 100px 0;
}

.term .brfantasygames_terms h1 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

@media (max-width: 600px) {
  .brfantasygames_terms h1 {
    font-size: 16px;
  }
}

.brfantasygames_terms h1:not(:last-child) {
  margin-bottom: 10px;
}

.brfantasygames_terms h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

@media (max-width: 600px) {
  .brfantasygames_terms h2 {
    font-size: 16px;
  }
}

.brfantasygames_terms h2:not(:last-child) {
  margin-bottom: 10px;
}

.brfantasygames_terms p {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
}

.brfantasygames_terms p:not(:last-child) {
  margin-bottom: 20px;
}

.brfantasygames_terms ul:not(:last-child) {
  margin-bottom: 20px;
}

.brfantasygames_terms li {
  font-size: 16px;
  line-height: 1.3;
  color: var(--main);
  font-weight: 400;
}

.brfantasygames_terms li:not(:last-child) {
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .brfantasygames_terms li:not(:last-child) {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .brfantasygames_terms li:not(:last-child) {
    margin-bottom: 15px;
  }
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* header */
/* !!!!!!!!!!!!!!!!!!!!!!! */

.brfantasygames_header {
  padding: 15px 0;
  background: rgba(173, 173, 173, 0.2);
  backdrop-filter: blur(6px);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}

.borber_reg {
  padding: 5px 36px 8px;
  border-radius: 50px;
  border: 1px solid #fff;
  background: linear-gradient(270deg, #fc6a7d 0%, #ff9fdd 100%);
  box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.5) inset;
}

header .brfantasygames_logo img {
  width: 153.255px;
  height: 25px;
}

.brfantasygames_header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 991px) {
  .brfantasygames_header__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--black);
    z-index: 100;
    padding: 100px 30px 30px 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: auto;
    -webkit-transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out,
      pointer-events 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out,
      pointer-events 0.2s ease-in-out;
  }
}

@media (max-width: 600px) {
  .brfantasygames_header__menu {
    padding: 80px 30px 30px 30px;
  }
}

.brfantasygames_header__menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: visible;
}

.brfantasygames_header__exit-menu {
  display: none;
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: transparent;
}

@media (max-width: 991px) {
  .brfantasygames_header__exit-menu {
    display: block;
    top: 30px;
    right: 30px;
  }
}

@media (max-width: 600px) {
  .brfantasygames_header__exit-menu {
    top: 15px;
    right: 15px;
  }
}

.brfantasygames_header__exit-menu::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.brfantasygames_header__exit-menu::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.brfantasygames_nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 40px;
}

@media (max-width: 991px) {
  .brfantasygames_nav__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .brfantasygames_nav__list_footer {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 10px 30px;
  }
}

@media (max-width: 600px) {
  .brfantasygames_nav__list_footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.brfantasygames_nav__link {
  -webkit-transition: color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}

@media (any-hover: hover) {
  .brfantasygames_nav__link:hover {
    color: var(--hover-a);
  }
}

.brfantasygames_nav__link:focus-visible {
  color: var(--hover-a);
}

.brfantasygames_nav__link:active {
  color: var(--active);
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
}

.brfantasygames_burger {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  width: 30px;
  height: 18px;
  background-color: transparent;
}

@media (max-width: 991px) {
  .brfantasygames_burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.brfantasygames_burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 8px;
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* footer */
/* !!!!!!!!!!!!!!!!!!!!!!! */

footer {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%),
    url(/brfantasygames-img/brfantasygames-footer-fon.webp) lightgray 50% / cover no-repeat;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  padding: 50px 0;
}

.footer_only_18 {
  width: 53.167px;
  height: 53.173px;
  background-size: contain;
  background-repeat: no-repeat;
}

.footer_nav {
  gap: 60px;
}

.footer_nav li {
  font-family: "brfantasygames_VinaSans_f_w_400";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

footer .contact_a {
  font-family: "brfantasygames_Teachers";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

footer p {
  font-family: "brfantasygames_Teachers";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer_disclaimer_text {
  max-width: 923px;
}

.footer_center_block_lc {
  max-width: 610px;
}

.footer_center_block_rc {
  width: 100%;
  max-width: 500px;
}

.footer_bottom_text {
  font-size: 16px;
}

@media (max-width: 600px) {
  .footer_logo_wrapp img {
    width: 246px;
    height: 40px;
  }
  .footer_only_18 {
    width: 36.667px;
    height: 36.671px;
  }
  .footer_nav a {
    font-size: 12px;
  }
  footer p {
    font-size: 12px;
  }
  .footer_center_block_rc a {
    font-size: 12px;
  }
  .footer_center_block {
    flex-direction: column;
  }
  .brfantasygames_footer_logo_gordon {
    width: 85px;
    height: 50px;
  }
  .brfantasygames_footer_logo_begambleaware {
    width: 113px;
    height: 20px;
  }
  .brfantasygames_footer_logo_GamCare {
    width: 69px;
    height: 20px;
  }

  .footer_bottom_text {
    font-size: 14px;
  }

  .footer_nav {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }
}

@media (max-width: 345px) {
  .footer_logo_wrapp {
    flex-direction: column;
  }
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* home */
/* !!!!!!!!!!!!!!!!!!!!!!! */

.brfantasygames_home {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%),
    url(/brfantasygames-img/brfantasygames-bg-hom.webp) lightgray 50% / cover no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
}

h1,
h2,
h3,
p,
a {
  position: relative;
  z-index: 20;
}

.brfantasygames_home_container {
  padding: 106px 0 20px;
  height: 700px;
  position: relative;
  z-index: 20;
}

.brfantasygames_home_btn {
  position: absolute;
  z-index: 5;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.brfantasygames_home_girl {
  content: url(/brfantasygames-img/brfantasygames-home-girl.webp);
  position: absolute;
  bottom: -134px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.brfantasygames_home_text_top h1 {
  width: 100%;
  max-width: 417px;
}
.brfantasygames_home_text_top p {
  width: 100%;
  max-width: 610px;
}

.brfantasygames_home_text_bottom {
  position: relative;
  z-index: 20;

  background: rgba(9, 9, 9, 0.8);
  padding: 10px;

  width: 100%;
  max-width: 400px;
}

.brfantasygames_home_text_bottom p {
  font-size: 10px;
}

@media (max-width: 1200px) {
  .brfantasygames_home_girl,
  .brfantasygames_home_btn {
    left: 72%;
  }
}

@media (max-width: 768px) {
  .brfantasygames_home_container {
    padding: 78px 0 20px;
  }
  .brfantasygames_home_text_top {
    flex-direction: column;
    justify-content: center;
  }

  .brfantasygames_home_container {
    justify-content: start;
  }
  .brfantasygames_home_text_bottom {
    margin-top: 71px;
  }
  .brfantasygames_home_girl {
    width: 360px;
    height: 360px;
  }
  .brfantasygames_home_girl,
  .brfantasygames_home_btn {
    left: 50%;
  }
  .brfantasygames_home_btn {
    bottom: 20px;
  }
  .brfantasygames_home_girl {
    bottom: -94px;
  }
}
@media (max-width: 480px) {
  .brfantasygames_home_text_bottom p {
    font-size: 8px;
  }
}

.brfantasygames_home_sect_2 {
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;

  padding: 132px 0 50px;
}

.brfantasygames_home_sect_2_top_text {
  max-width: 523px;
}
.brfantasygames_home_sect_2_top_text h2 {
  color: #4a4d57;
  margin-bottom: 20px;
}
.brfantasygames_home_sect_2_top_text_block p {
  color: #494c56;
}
.brfantasygames_home_sect_2_top_text_block_ul {
  color: #494c56;
}
.brfantasygames_home_sect_2_top_text_block_ul li {
  list-style: disc;
  margin-left: 20px;
}

.brfantasygames_home_sect_2_top_text_block {
  padding: 25px;
  border: 1px solid #a5a5a5;
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
    url(/brfantasygames-img/brfantasygames-sect-2-text_top_bg.svg) lightgray 50% / cover no-repeat;
}

.brfantasygames_home_sect_2_bottom_text {
  max-width: 400px;
  border: 4px dashed #fff;
  background: #575165;
  padding: 20px;
  margin: 200px 0 52px 85px;
}

.brfantasygames_home_sect_2_bottom_text {
  position: relative;
}

.brfantasygames_home_sect_2_bottom_text_h2_wrapp {
  border: 1px solid #fff;
  padding: 10px;
  width: fit-content;
  margin-bottom: 10px;
}

.brfantasygames_home_sect_2_bottom_text_book_img {
  position: absolute;
  content: url(/brfantasygames-img/brfantasygames-sect-2-book.webp);
  z-index: 1;
  top: -100px;
  right: -100px;
}

.brfantasygames_home_sect_2_bottom_text_h2_wrapp h3 {
  position: relative;
  z-index: 10;
  color: #f893c3;
}

.brfantasygames_home_sect_2_bottom_text_ul li {
  position: relative;
  list-style: disc;
  margin-left: 20px;
  z-index: 10;
}

.brfantasygames_home_sect_2_best_players {
  background: linear-gradient(180deg, rgba(248, 147, 195, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
}

.brfantasygames_home_sect_2_best_players li {
  width: 90px;
  height: 90px;
  background-size: contain;
}

.brfantasygames_home_sect_2_best_players h3 {
  color: #494c56;
}

.brfantasygames_home_sect_2_container {
  position: relative;
}

.brfantasygames_home_sect_2_top_text,
.brfantasygames_home_sect_2_bottom_text {
  position: relative;
  z-index: 10;
}

.brfantasygames_home_sect_2_girl {
  content: url(/brfantasygames-img/brfantasygames-sect-2-girl.webp);
  bottom: 209px;
  right: 0;
  z-index: 1;
  position: absolute;
}

@media (max-width: 991px) {
  .brfantasygames_home_sect_2_bottom_text {
    margin: 50px 0 584px 0;
  }
  .brfantasygames_home_sect_2_girl {
    width: 619.225px;
    height: 569px;
    bottom: 201px;
  }
}

@media (max-width: 768px) {
  .brfantasygames_home_sect_2_girl {
    bottom: 161px;
  }
  .brfantasygames_home_sect_2_best_players li {
    width: 50px;
    height: 50px;
  }
  .brfantasygames_home_sect_2_top_text_block {
    padding: 15px;
  }
  .brfantasygames_home_sect_2_top_text_block_ul li {
    font-size: 12px;
  }
}
@media (max-width: 400px) {
  .brfantasygames_home_sect_2_bottom_text_book_img {
    width: 141px;
    height: 141px;
    top: -60px;
    right: -60px;
  }
  .brfantasygames_home_sect_2_girl {
    left: 60%;
    transform: translateX(-50%);
  }
}

@media (max-width: 335px) {
  .brfantasygames_home_sect_2_best_players_ul {
    gap: 5px;
  }
}

.brfantasygames_home_sect_3 {
  background-image: url(/brfantasygames-img/brfantasygames-sect-3-strat-fon.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  padding: 80px 0;
}

.brfantasygames_home_sect_3_center_block_lc {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%),
    url(/brfantasygames-img/brfantasygames-sect-3-strat-img.webp) lightgray 50% / cover no-repeat;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: end;

  padding: 20px;
  max-width: 715px;
}

.brfantasygames_home_sect_3_center_block_rc li {
  background: rgba(87, 81, 101, 0.6);
  padding: 20px;
}

@media (max-width: 768px) {
  .brfantasygames_home_sect_3_center_block {
    flex-direction: column;
  }

  .brfantasygames_home_sect_3_center_block_lc {
    height: 220px;
  }
}

.brfantasygames_home_sect_4_form {
  padding: 110px 0;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%),
    url(/brfantasygames-img/brfantasygames-form_bg.webp) lightgray 50% / cover no-repeat;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.brfantasygames_home_sect_4_form_container {
  justify-content: end;
}

.form {
  width: 100%;
  max-width: 610px;
}

.form_h2,
.form_p,
.popap {
  color: #4a4d57;
}
.form_p {
  max-width: 473px;
}

.form_page_input {
  font-family: "brfantasygames_Teachers";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  padding: 10px 20px;

  border-radius: 15px;
  background: #fff;
  z-index: 2;
}

.brfantasygames_home_sect_4_form {
  position: relative;
}

.brfantasygames_home_sect_4_form_girl {
  content: url(/brfantasygames-img/brfantasygames-sect-4-forn-girl.webp);

  position: absolute;
  bottom: 0;
  z-index: 1;
}

.form_page_button {
  z-index: 2;
}

.popap {
  display: none;
}
.active {
  display: block;
}
.popap p {
  font-size: 20px;
}

@media (max-width: 991px) {
  .brfantasygames_home_sect_4_form {
    padding: 50px 0;
  }
  .brfantasygames_home_sect_4_form {
    height: 725px;
    display: flex;
    align-items: end;
  }

  .brfantasygames_home_sect_4_form_girl {
    width: 360.115px;
    height: 352px;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
  }
  .popap p {
    font-size: 18px;
  }
  .form_page_button {
    max-width: 100%;
  }
}

.brfantasygames_about_sect_1_container {
  position: relative;
  height: 600px;
  justify-content: end;
  align-items: center;
}

.brfantasygames_about_sect_1_text {
  width: 100%;
  max-width: 50%;
}

.brfantasygames_about_sect_1_text h1 {
  max-width: 440px;
}

.brfantasygames_about_sect_1t_girl {
  content: url(/brfantasygames-img/brfantasygames-about-sect-1-girl.webp);
  position: absolute;
  bottom: -160px;
  left: -100px;
  z-index: 1;
}

@media (max-width: 768px) {
  .brfantasygames_about_sect_1_container {
    padding-top: 78px;
    justify-content: start;
    align-items: start;
    height: 650px;
  }
  .brfantasygames_about_sect_1t_girl {
    width: 556px;
    height: 573px;
    left: 50%;
    bottom: -123px;
    transform: translateX(-50%);
  }
}
@media (max-width: 480px) {
  .brfantasygames_about_sect_1_text {
    max-width: 100%;
  }
}

.brfantasygames_about_sect_3 {
  padding: 80px 0;
  background-image: url(/brfantasygames-img/brfantasygames-sect-3-strat-fon.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.brfantasygames_about_sect_3_text {
  padding: 25px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.brfantasygames_about_sect_3_text p {
  color: #494c56;
  max-width: 994px;
}

.brfantasygames_about_sect_3_img {
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 186px;
  height: 186px;
}

.brfantasygames_play_container {
  position: relative;
  height: 600px;
  padding-top: 101px;
}

.brfantasygames_play_container iframe {
  width: 100%;
  max-width: 1080px;
  height: 615px;

  border-radius: 20px;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brfantasygames_play_about {
  padding: 250px 0 80px;
  background-image: url(/brfantasygames-img/brfantasygames-sect-2-fon.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.brfantasygames_play_about_container h2 {
  color: #4a4d57;
}

.brfantasygames_play_about_ul_li_1 {
  background-image: url(/brfantasygames-img/brfantasygames-sect-2-text_top_bg.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 25px;
}

.brfantasygames_play_about_ul_li_1 p {
  color: #4a4d57;
}

.brfantasygames_play_about_ul_li_2 {
  padding: 25px;
  background: rgba(87, 81, 101, 0.6);
}

.brfantasygames_play_about_ul_li_2 h3 {
  margin-bottom: 10px;
}

@media (max-width: 991px) {
}

@media (max-width: 768px) {
  .brfantasygames_about_sect_3_text {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
}

@media (max-width: 360px) {
}

@media (max-width: 480px) {
  .brfantasygames_play_container {
    padding-top: 80px;
  }

  .brfantasygames_play_container iframe {
    height: 400px;
  }
  .brfantasygames_play_about {
    padding: 60px 0;
  }
}

.brfantasygames_contact_sect_1_form {
  padding-top: 180px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%),
    url(/brfantasygames-img/brfantasygames-bg-hom.webp) lightgray 50% / cover no-repeat;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 800px;
}
.brfantasygames_contact_sect_1_form h1,
.p_contact {
  color: var(--white);
}

@media (max-width: 991px) {
  .brfantasygames_contact_sect_1_form .brfantasygames_home_sect_4_form_girl {
    top: 50px;
  }
}

.brfantasygames_disclaimer {
  height: 800px;
}

.brfantasygames_disclaimer h1 {
  font-size: 50px;
}

.brfantasygames_disclaimer_ul {
  background-image: url(/brfantasygames-img/brfantasygames_disc_bg.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 25px;
}

.brfantasygames_disclaimer_ul li {
  color: #494c56;
}

@media (max-width: 991px) {
  .brfantasygames_disclaimer h1 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .brfantasygames_disclaimer {
    height: 100%;
  }
  .brfantasygames_disclaimer .brfantasygames_home_container {
    height: 100%;
  }
}
@media (max-width: 480px) {
  .brfantasygames_disclaimer_ul {
    padding: 15px;
  }
  .brfantasygames_disclaimer {
    padding-bottom: 60px;
  }
}

.brfantasygames_page_form {
  height: 800px;
}

.brfantasygames_page_form_container {
  padding-top: 180px;
}

.form_reg {
  max-width: 685px;
  justify-content: center;
  align-items: center;
}

.form_reg_h2 {
  font-size: 50px;
}

.form_page_input {
  width: 100%;
  max-width: 610px;
}

@media (max-width: 480px) {
  .brfantasygames_page_form_button {
    max-width: 100%;
  }
}

.form_reg .form_p {
  max-width: 600px;
}

@media (max-width: 991px) {
}

@media (max-width: 768px) {
  .form_reg_h2 {
    font-size: 28px;
  }
}
@media (max-width: 480px) {
}

@media (max-width: 360px) {
}
