/* Reset and base styles  */

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

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

/* Links */

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

a:hover {
  text-decoration: none;
}

/* Common */

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

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

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

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

button,
input[type=submit] {
  display: inline-block;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

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

label {
  cursor: pointer;
}

legend {
  display: block;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../en__fonts/en__Montserrat-Bold.woff2") format("woff2"), url("../en__fonts/en__Montserrat-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: Montserrat;
  font-display: swap;
  src: url("../en__fonts/en__Montserrat-Regular.woff2") format("woff2"), url("../en__fonts/en__Montserrat-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

:root {
  --container-width: 1440px;
  --container-padding: 100px;
  --container-padding-tablet: 16px;
  --background: linear-gradient(90deg, #B0E3F9 0%, #09B5FF 100%);
  --font-color: #070707;
  --font-size: clamp(0.875rem, 0.8317307692rem + 0.1923076923vw, 1rem);
  --font-family: Montserrat, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --laptop-size: 1199px;
  --tablet-size: 959px;
  --mobile-size: 599px;
}

h1,
.en__h1,
h2,
.en__h2,
h3,
.en__h3 {
  font-weight: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
.en__h1 {
  font-size: clamp(2.25rem, 1.6442307692rem + 2.6923076923vw, 4rem);
  text-align: center;
}

h2,
.en__h2 {
  font-size: clamp(1.5rem, 0.9375rem + 2.5vw, 3.125rem);
  text-align: center;
}

h3,
.en__h3 {
  font-size: clamp(1.125rem, 0.9951923077rem + 0.5769230769vw, 1.5rem);
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  background: var(--background);
  color: var(--font-color);
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: 400;
}

html,
body {
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

a,
button {
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  color: inherit;
}

img {
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
}

.en__no-scroll {
  overflow: hidden;
}

.en__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.en__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.en__items .en__item {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.en__terms .en__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

.en__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 80px;
  margin: 50px 0;
}

.btn,
.btn:focus {
  width: 100%;
  white-space: nowrap;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-column-gap: 10px;
  -moz-column-gap: 10px;
  column-gap: 10px;
  padding: 10px 2rem;
  color: #070707 !important;
  border-radius: 15px;
  border: 1px solid #FFF;
  background: #FFD700;
  font-size: clamp(0.875rem, 0.8317307692rem + 0.1923076923vw, 1rem);
  font-weight: 700;
  text-transform: capitalize;
  -webkit-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

.btn-active,
.btn:hover,
.btn:active {
  border-color: #FFD700;
  background: #B0E3F9;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea {
  border-radius: 15px;
  background: #E4E4E4;
  padding: 13px 20px;
  color: #363636;
}

input:focus,
textarea:focus {
  outline: none;
}

::-webkit-input-placeholder {
  color: rgba(54, 54, 54, 0.871);
}

::-moz-placeholder {
  color: rgba(54, 54, 54, 0.871);
}

:-ms-input-placeholder {
  color: rgba(54, 54, 54, 0.871);
}

::-ms-input-placeholder {
  color: rgba(54, 54, 54, 0.871);
}

::placeholder {
  color: rgba(54, 54, 54, 0.871);
}

.en__warning {
  display: none;
}

body.en__no-scroll {
  overflow: hidden;
}

.en__descr {
  text-transform: uppercase;
  text-align: center;
}

.en__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  max-width: var(--container-width);
  width: 100%;
}

.en__popup {
  color: #FFF;
  background: rgba(48, 47, 77, 0.62);
  padding: 40px 20px;
  max-width: 500px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 30px;
}

.en__popup__title {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.en__modal {
  background-color: rgba(48, 47, 77, 0.62);
  backdrop-filter: blur(12.9499998093px);
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  display: none;
}

.en__modal.en__show {
  opacity: 1;
}

.en__modal__popup {
  position: relative;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border: 1px solid #DF3C5C;
  font-size: 14px;
}

.en__modal-login {
  padding: 16px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.en__modal-login .en__modal-content {
  position: relative;
  border-radius: 16px;
  background-color: #07A9F0;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  color: #fff;
  z-index: 1;
}

.en__modal-login .en__hidden,
.en__modal-login .en__finish {
  display: none;
}

.en__modal-login .en__finish p {
  margin-bottom: 20px;
  text-align: center;
}

.en__modal-login form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  font-size: clamp(0.875rem, 0.8317307692rem + 0.1923076923vw, 1rem);
}

.en__modal-login a {
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

.en__modal-login a:hover {
  opacity: 0.6;
}

.en__modal-login h2 {
  text-align: center;
  color: #fff;
  text-transform: capitalize;
}

.en__modal-login .en__close-button {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  line-height: 90%;
  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;
}

.en__modal-login p {
  text-align: center;
}

#switch-to-login,
#switch-to-signup {
  color: #070707;
}

/* Blocks */

.en__about .en__items {
  -webkit-column-gap: 80px;
  -moz-column-gap: 80px;
  column-gap: 80px;
}

.en__about .en__item:first-child {
  -webkit-box-flex: 0.35;
  -ms-flex: 0.35;
  flex: 0.35;
  min-height: 293px;
  background-image: url("./../en__img/en__about.avif");
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 15px;
}				.en__avif .en__about .en__item:first-child {					background-image: url("./../en__img/en__about.avif")				}			

.en__advantages {
  text-align: center;
}

.en__advantages ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 24px;
}

.en__advantages ul li {
  cursor: default;
  max-width: 397px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.en__advantages ul li::before {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  content: "";
  width: 150px;
  aspect-ratio: 1/1;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.en__advantages ul li:nth-child(1)::before {
  background-image: url("./../en__img/en__sea-star.svg");
}

.en__advantages ul li:nth-child(2)::before {
  background-image: url("./../en__img/en__electric-ramp.svg");
}

.en__advantages ul li:nth-child(3)::before {
  background-image: url("./../en__img/en__crab.svg");
}

.en__banner {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.45)), to(rgba(0, 0, 0, 0.45))), url("./../en__img/en__banner.avif");
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("./../en__img/en__banner.avif");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-block: 50px;
  color: #fff;
}				.en__avif .en__banner {					background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("./../en__img/en__banner.avif")				}							.en__avif .en__banner {					background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.45)), to(rgba(0, 0, 0, 0.45))), url("./../en__img/en__banner.avif")				}			

.en__banner .en__container-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 50px;
}

.en__banner .en__container-grid h1 {
  text-align: left;
}

.en__banner .en__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 30px;
  font-size: clamp(1.125rem, 1.0817307692rem + 0.1923076923vw, 1.25rem);
}

.en__banner .en__inner .btn {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.en__banner .en__img {
  height: 500px;
  background-image: url("./../en__img/en__fish.avif");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-animation: swim 14s ease-in-out infinite;
  animation: swim 14s ease-in-out infinite;
}				.en__avif .en__banner .en__img {					background-image: url("./../en__img/en__fish.avif")				}			

@-webkit-keyframes swim {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  20%, 80% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  50% {
    -webkit-transform: translateY(-20px) rotate(4deg);
    transform: translateY(-20px) rotate(4deg);
  }
}

@keyframes swim {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  20%, 80% {
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  50% {
    -webkit-transform: translateY(-20px) rotate(4deg);
    transform: translateY(-20px) rotate(4deg);
  }
}

.en__footer {
  margin-top: auto;
  padding: 50px 0;
  background: #0077B5;
  color: #FFF;
}

.en__footer h2 {
  font-size: clamp(0.875rem, 0.8317307692rem + 0.1923076923vw, 1rem);
  text-transform: uppercase;
  margin-bottom: -8px;
  text-align: left;
}

.en__footer a {
  font-weight: 700;
  text-transform: uppercase;
}

.en__footer a:hover {
  opacity: 0.6;
}

.en__footer .en__items {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.en__footer .en__age {
  font-size: 24px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50%;
  width: 60px;
  aspect-ratio: 1/1;
}

.en__footer .en__logos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
}

.en__footer .en__logos img {
  width: auto;
  max-height: 50px;
}

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

.en__games-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 220px));
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 40px;
  scroll-margin-top: 30px;
}

.en__games-list .en__stars {
  -webkit-filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
}

.en__games-list .btn-active {
  border-color: #FFF;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.en__article {
  position: relative;
  max-width: 220px;
  border-radius: 8px;
  overflow: hidden;
}

.en__article__wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -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;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-shadow: 0px 100px 16px 0px rgba(0, 0, 0, 0.15) inset;
  box-shadow: 0px 100px 16px 0px rgba(0, 0, 0, 0.15) inset;
}

.en__article img:not(.en__stars img) {
  width: 220px;
  height: 250px;
  -o-object-fit: cover;
  object-fit: cover;
}

.en__stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2px;
}

.en__stars img {
  height: 16px;
  aspect-ratio: 1/1;
  -o-object-fit: contain;
  object-fit: contain;
}

.en__header {
  padding-block: 12px;
  background: #0077B5;
  border-bottom: 1px solid #34738e;
}

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

.en__header .en__nav {
  margin-left: auto;
  margin-right: 50px;
}

.en__header .en__nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 40px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.en__header a {
  color: #FFF;
}

.en__header a:hover {
  opacity: 0.6;
}

.en__header .en__logo img {
  width: 252px;
  -o-object-fit: contain;
  object-fit: contain;
}

.en__header .en__language {
  width: 24px;
}

.en__userbar .en__logged-out,
.en__userbar .en__logged-in {
  display: contents;
}

.en__userbar .en__logged-out ul,
.en__userbar .en__logged-in ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.en__userbar .en__user {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  text-transform: capitalize;
}

.en__userbar .en__user .en__user-photo {
  border-radius: 50%;
  width: 41px;
  aspect-ratio: 1/1;
}

.en__userbar .log-out {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2px;
  color: #FFF;
}

.en__userbar .log-out:hover {
  opacity: 0.7;
}

.en__userbar .log-out::before {
  content: "";
  width: 16px;
  aspect-ratio: 1/1;
  background-image: url("./../en__img/en__icon-log-out.svg");
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.en__userbar .en__logged-in {
  display: none;
  font-size: 14px;
}

.en__language {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  overflow: hidden;
  -webkit-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
}

.en__language:hover {
  width: 56px;
}

.en__language a {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

body.en__active-registr .en__logged-in {
  display: contents;
}

body.en__active-registr .en__logged-out {
  display: none;
}

.en__mobile-nav {
  position: fixed;
  top: -100%;
  width: 100%;
  height: 100%;
  z-index: 99;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
  background: #000;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.en__mobile-nav .en__userbar {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 30px;
}

.en__mobile-nav--open {
  top: 0;
}

.en__mobile-nav a {
  color: #fff;
}

.en__mobile-nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  row-gap: 20px;
  font-size: 28px;
}

.en__mobile-nav__list .en__active {
  opacity: 0.5;
}

/* Nav Icon */

.en__mobile-nav-btn {
  --time: 0.1s;
  --width: 26px;
  --height: 30px;
  --line-height: 3px;
  --spacing: 5px;
  --color: #ffffff;
  --radius: 4px;
  /* Fixed height and width */
  /* height: var(--height); */
  /* width: var(--width); */
  /* Dynamic height and width */
  height: calc(var(--line-height) * 2 + var(--spacing) * 4);
  width: var(--width);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.en__nav-icon {
  position: relative;
  width: var(--width);
  height: var(--line-height);
  background-color: var(--color);
  border-radius: var(--radius);
}

.en__nav-icon::before,
.en__nav-icon::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: var(--width);
  height: var(--line-height);
  border-radius: var(--radius);
  -webkit-transition: top var(--time) linear var(--time), -webkit-transform var(--time) ease-in;
  transition: top var(--time) linear var(--time), -webkit-transform var(--time) ease-in;
  transition: transform var(--time) ease-in, top var(--time) linear var(--time);
  transition: transform var(--time) ease-in, top var(--time) linear var(--time), -webkit-transform var(--time) ease-in;
}

.en__nav-icon::before {
  /* top: calc(var(--line-height) * -2); */
  top: calc(-1 * (var(--line-height) + var(--spacing)));
  background-color: var(--color);
}

.en__nav-icon::after {
  /* top: calc(var(--line-height) * 2); */
  top: calc(var(--line-height) + var(--spacing));
  background-color: var(--color);
}

.en__nav-icon.en__nav-icon--active {
  background-color: transparent;
}

.en__nav-icon.en__nav-icon--active::before,
.en__nav-icon.en__nav-icon--active::after {
  top: 0;
  -webkit-transition: top var(--time) linear, -webkit-transform var(--time) ease-in var(--time);
  transition: top var(--time) linear, -webkit-transform var(--time) ease-in var(--time);
  transition: top var(--time) linear, transform var(--time) ease-in var(--time);
  transition: top var(--time) linear, transform var(--time) ease-in var(--time), -webkit-transform var(--time) ease-in var(--time);
  background-color: var(--color);
}

.en__nav-icon.en__nav-icon--active::before {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.en__nav-icon.en__nav-icon--active::after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* Layout */

.en__mobile-nav-btn {
  z-index: 999;
  display: none;
}

.en__rev .en__reviews {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px 20px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.en__rev .en__feedback__left,
.en__rev .en__feedback__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 10px;
}

.en__rev .en__feedback__left {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 86px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  text-align: center;
}

.en__rev .en__photo {
  width: 56px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.en__rev .en__feedback {
  max-width: 400px;
  color: #FFF;
}

.en__feedback,
.en__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  border-radius: 15px;
  border: 1px solid #FFF;
  background: #0077B5;
  padding: 20px;
}

.en__wrapper {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

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

body.en__active-registr .en__user-page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

body.en__active-registr .en__no-logged {
  display: none;
}

.en__user-page {
  display: none;
}

.en__user-page .en__items {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}

.en__user-page .en__items:first-child {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.en__user-page .en__item:first-child {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 90px;
  flex: 0 1 90px;
}

.en__user-page .en__item {
  gap: 10px;
}

.en__user-page h2 {
  font-size: 16px;
  text-transform: none;
  text-align: left;
}

.en__user-page .en__games-list {
  padding-inline: 30px;
}

.en__user-page .en__games-list li:nth-child(7),
.en__user-page .en__games-list li:nth-child(8) {
  display: none;
}

.en__user-page .en__user-photo {
  width: 90px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.en__coins::before {
  background-image: url("./../en__img/en__icon-coins.svg");
}

.en__upload-photo::before {
  background-image: url("./../en__img/en__icon-camera-plus.svg");
}

.en__upload-photo,
.en__coins {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.en__upload-photo::before,
.en__coins::before {
  content: "";
  width: 24px;
  aspect-ratio: 1/1;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.en__wrapper .en__items {
  width: 100%;
}

@media (min-width: 820px) {
  .en__about h2 {
    text-align: left;
  }
}

@media (max-width: 1220px) {
  .en__main {
    gap: 60px;
    margin: 30px 0;
  }

  .en__container {
    padding: 0 var(--container-padding-tablet);
    gap: 20px;
  }

  .en__header__nav {
    display: none;
  }

  .en__header .en__userbar {
    display: none;
  }

  .en__logged-out ul {
    padding-inline: 16px;
  }

  .en__mobile-nav-btn {
    display: block;
  }
}

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

  .en__about .en__item:first-child {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }

  .en__banner {
    padding-block: 30px;
  }

  .en__banner .en__container-grid {
    grid-template-columns: 100%;
  }

  .en__banner .en__inner {
    gap: 20px;
  }

  .en__banner .en__img {
    height: 200px;
  }

  .en__footer {
    padding: 30px 0;
  }

  .en__footer .en__logos {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .en__footer .en__logos img {
    max-height: 36px;
    max-width: 120px;
  }

  .en__footer .en__link {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .en__games-list {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 20px;
  }

  .en__header {
    padding-block: 10px;
  }

  .en__header .en__logo img {
    width: 190px;
  }

  .en__user-page .en__user-photo {
    width: 300px;
    aspect-ratio: 1/1;
    margin-inline: auto;
  }

  .en__user-page .btn {
    max-width: 300px;
    margin-inline: auto;
  }
}

@media (hover: hover) {
  .en__advantages ul li:hover::before {
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
  }

  .en__games-list .btn-active:hover {
    -webkit-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}