* {
  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;
}
.disk {
  list-style: disc;
  margin-left: 20px;
}
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;
}

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

@font-face {
  font-family: "justgoodenglish_tomorrow_bold";
  font-weight: 100 900;
  font-style: normal;
  src: url(../justgoodenglish-fonts/justgoodenglish_tomorrow_bold.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "justgoodenglish_tomorrow_light";
  font-weight: 100 900;
  font-style: normal;
  src: url(../justgoodenglish-fonts/justgoodenglish_tomorrow_light.woff2) format("woff2");
  font-display: swap;
}

:root {
  overscroll-behavior: none;
  /* // Шрифты */
  --font-main: "justgoodenglish_tomorrow_light", sans-serif;
  --background-page: #0a0906;
  --main: var(--white);
  --black: #000000;
  --white: #ffffff;
  --i: calc(1vw + 1vh);
  --hover-a: #a09f9f;
}

.justgoodenglish_page {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  min-height: 100vh;
  overflow: hidden;
  color: var(--main);
  background-color: var(--background-page);
}
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

section {
  margin-bottom: 80px;
}

.container {
  padding: 0 40px;
}

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

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

h1,
h2,
h3 {
  font-family: "justgoodenglish_tomorrow_bold";
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 60px */
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffea00 0%, #ff9500 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 24px;
}

p,
li,
a {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

header a {
  font-family: "justgoodenglish_tomorrow_bold";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 16.8px */
  text-transform: uppercase;
}

footer h3 {
  font-size: 14px;
}

footer a {
  font-family: "justgoodenglish_tomorrow_light";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
}
footer p {
  font-family: "justgoodenglish_tomorrow_light";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

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

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }
}

.btn {
  border-radius: 10px;
  border-radius: 4px;
  background: var(--orange-H1, linear-gradient(180deg, #ffea00 0%, #ff9500 100%));
  color: var(--black);
  font-family: "justgoodenglish_tomorrow_bold";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
  text-transform: uppercase;

  padding: 14px;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 991px) {
  .btn {
    font-size: 14px;
  }
}

/* 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-24 {
  font-size: 24px;
}

.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 */

.m-b-12 {
  margin-bottom: 12px;
}
.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-16 {
  padding-bottom: 16px;
}

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

/* margin */
.m-b-8 {
  margin-bottom: 8px;
}
.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-16 {
  margin-bottom: 16px;
}
.m-b-24 {
  margin-bottom: 24px;
}
.m-b-32 {
  margin-bottom: 32px;
}
.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;
}

.justgoodenglish_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-underline-offset: 2px;
}

.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-15 {
  gap: 15px;
}
.gap-18 {
  gap: 18px;
}
.gap-12 {
  gap: 12px;
}
.gap-8 {
  gap: 8px;
}
.gap-14 {
  gap: 14px;
}

.gap-20 {
  gap: 20px;
}
.gap-30 {
  gap: 30px;
}
.gap-40 {
  gap: 40px;
}
.gap-50 {
  gap: 50px;
}
.gap-24 {
  gap: 24px;
}
.gap-32 {
  gap: 32px;
}
.gap-28 {
  gap: 28px;
}
.gap-36 {
  gap: 36px;
}
.gap-16 {
  gap: 16px;
}
.gap-48 {
  gap: 48px;
}

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

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

.justgoodenglish_header {
  padding: 16px 0;
  position: absolute;
  width: 100%;
}

.justgoodenglish_logo img {
  width: 30px;
  height: 30px;
}
.justgoodenglish_logo_text {
  font-family: "justgoodenglish_tomorrow_bold";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 16.8px */
  text-transform: uppercase;
}

.justgoodenglish_nav__link_active {
  color: #ffd900;
}

.justgoodenglish_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) {
  .justgoodenglish_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) {
  .justgoodenglish_header__menu {
    padding: 80px 30px 30px 30px;
  }
}

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

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

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

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

.justgoodenglish_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);
}

.justgoodenglish_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);
}

.justgoodenglish_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: 16px;
}

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

@media (max-width: 991px) {
  .justgoodenglish_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) {
  .justgoodenglish_nav__list_footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

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

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

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

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

.justgoodenglish_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) {
  .justgoodenglish_burger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

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

/* leng_switcher */

.leng_img {
  width: 24px;
  height: 17px;
}
.justgoodenglish_nav__item_switcher {
  position: relative;
  width: 80px;
  height: 33px;
}
.lang_switcher {
  position: absolute;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid var(--white, #fff);
  display: flex;
  flex-direction: column;
  align-items: end;
}
.lang_switcher_ul {
  display: none;
  flex-direction: column;
  gap: 10px;
}
.lang_switcher_ul_li_a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang_switcher__btn {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--white);
  font-family: "justgoodenglish_tomorrow_bold";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 16.8px */
  text-transform: uppercase;
}

.lang_switcher_ul_active {
  display: flex;
  color: var(--white);
  font-family: "justgoodenglish_tomorrow_bold";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 16.8px */
  text-transform: uppercase;
  margin-top: 10px;
}

@media (max-width: 991px) {
  .justgoodenglish_nav {
    width: fit-content;
    margin: 0 auto;
  }
  .lang_switcher_ul_active {
    top: 73px;
  }
}

.wrapper_leng_btn {
  display: flex;
  align-items: center;
  gap: 48px;
}

.justgoodenglish_nav__list_btn_wrapper {
  gap: 24px;
}

.btn_hed_black {
  background-color: var(--black);
  color: var(--white);
  border: 1px solid white;
}

@media (max-width: 1050px) {
  .justgoodenglish_header__container,
  .wrapper_leng_btn {
    gap: 32px;
  }
}

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

footer {
  padding: 40px 0;
  background: #1d1d1d;
  background: linear-gradient(180deg, #ff9a00 0%, #0a0906 56.25%, #0a0906 100%);
}
.gap-60 {
  gap: 60px;
}
.justgoodenglish_footer_text_block h3 {
  background: var(--white);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.justgoodenglish_footer_img {
  object-fit: contain;
}

@media (max-width: 991px) {
  footer {
    padding: 20px 0;
  }
  .justgoodenglish_footer_container {
    flex-direction: column;
  }
  .justgoodenglish_footer_img {
    width: 100%;
    max-width: 320px;
    height: 300px;
    object-fit: cover;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .justgoodenglish_footer_links {
    gap: 20px;
  }
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* popup AGE */
/* !!!!!!!!!!!!!!!!!!!!!!! */
.popup {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(6px);
}

.popup.active {
  display: flex;
}

.popup__close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.popup__content {
  max-width: 460px;
  overflow: auto;
  width: 100%;
  position: relative;
  z-index: 2;
  margin: auto;

  border-radius: 10px;
  background: var(--black, #0a0906);

  backdrop-filter: blur(12.5px);
  padding: 40px 20px;
  text-align: center;
}

.popup__text {
  color: var(--white);
}

.popup__text h3 {
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 40px */
  text-transform: uppercase;
  background: var(--white);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popup__text p {
  font-size: 16px;

  padding-top: 20px;
  padding-bottom: 30px;
}

.wrapper_age_btn .btn {
  width: 100%;
  text-transform: none;
}

@media (max-width: 768px) {
  .popup__content {
    padding: 24px;
  }
  .popup__text h3 {
    font-size: 24px;
  }
}

@media (max-width: 340px) {
  .popup__text h3 {
    font-size: 20px;
  }
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* cookie */
/* !!!!!!!!!!!!!!!!!!!!!!! */

.cookie-banner {
  z-index: 1000;
  position: fixed;
  bottom: 0;
  left: 20px;
  bottom: 20px;
  width: 100%;
  max-width: 460px;
  border-radius: 10px;
  background: var(--black, #0a0906);

  display: flex;
  flex-direction: column;
  justify-content: center;

  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s, transform 0.5s;
}
.show {
  opacity: 1;
  transform: translateY(0);
}
.cookie_banner_container {
  padding: 32px;
  width: 100%;
  display: flex;
  gap: 24px;
  flex-direction: column;
  align-items: center;
}

.cookie-content {
  text-align: center;
}
.cookie-content a {
  font-size: 16px;
  color: #ffd900;
}

.cookie-content p {
  color: var(--white);
  font-size: 16px;
  margin: 0 auto;
}

.button-cookie {
  width: 100%;
  max-width: 100%;
  text-transform: none;
}

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

/* justgoodenglish_home_sect_1 */

.justgoodenglish_home_sect_1 {
  padding: 140px 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
    url(../justgoodenglish-img/justgoodenglish-home-sect-1-bg.webp) no-repeat;
  background-size: cover;
  background-position: center;
}

@media (max-width: 991px) {
  .justgoodenglish_home_sect_1 {
    padding: 80px 0 40px;
  }
}

/* justgoodenglish_home_sect_2 */

.justgoodenglish_home_sect_2_ul_li {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--orange-H1, #ffea00);
}

@media (max-width: 870px) {
  .justgoodenglish_home_sect_2_ul_li {
    width: 100%;
    max-width: 100%;
  }
}

/* justgoodenglish_home_sect_3 */

.justgoodenglish_home_sect_3_container .btn {
  max-width: 820px;
}
.justgoodenglish_home_sect_3_img {
  object-fit: cover;
  width: 100%;
  max-width: 820px;
}

/* justgoodenglish_game_sect_2 */

.justgoodenglish_game_sect_2_frame {
  border-radius: 10px;
}

.justgoodenglish_game_sect_2_wrapper_text_block h2 {
  font-size: 30px;
  font-size: 20px;
}

@media (max-width: 991px) {
  .justgoodenglish_game_sect_2_wrapper_text {
    gap: 20px;
  }
  .justgoodenglish_game_sect_2_wrapper_text_block h2 {
    font-size: 18px;
  }
  .justgoodenglish_game_sect_2_wrapper_text_block h6 {
    font-size: 16px;
  }
  .justgoodenglish_game_sect_2_wrapper_text_block p {
    font-size: 16px;
  }
  .justgoodenglish_game_sect_2_wrapper_text_block li {
    font-size: 16px;
  }
}

/* justgoodenglish_terms_sect_2 */

.justgoodenglish_terms_sect_2 h2 {
  font-size: 30px;
}

@media (max-width: 991px) {
  .justgoodenglish_home_sect_2_container {
    gap: 20px;
  }
  .justgoodenglish_terms_sect_2 h2 {
    font-size: 18px;
  }
  .justgoodenglish_terms_sect_2 p {
    font-size: 16px;
  }
  .justgoodenglish_terms_sect_2 li {
    font-size: 16px;
  }
}


