:root {
  --app-height: 100%;
  --colw: 350px;
}

html,
body {
  padding: 0;
  margin: 0;
  background: #171717;
  font-family: 'Montserrat', sans-serif;
}

html.white,
body.white {
  background: #fff;
}

:focus {
  outline: none;
}

canvas {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.ui {
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 4;
  padding: 50px 50px 100px 50px;
  box-sizing: border-box;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow-x: hidden;
}

.prev .ui {
  padding: 0;
}

.ui .ui-wrap {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100%;
  flex: 1;
}

.prev .ui-wrap,
.white .ui-wrap {
  justify-content: center;
}

.ui .ui-wrap > div {
  flex: 1;
}

.ui-header,
.ui-middle,
.ui-bottom {
  display: flex;
  flex-direction: row;
  color: #fff;
  text-transform: uppercase;
}

.ui-header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  height: 50px;
}

.sound-btn {
  margin-right: 30px;
  cursor: pointer;
  position: relative;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 45px;
  display: flex;
  align-items: center;
}

span[data-lng='sound'] {
  margin-right: 5px;
}

span[data-lng='on'],
span[data-lng='off'] {
  display: inline-block;
  width: 40px;
}

.lng {
  cursor: pointer;
  padding: 10px;
  font-weight: 700;
  width: 35px;
  height: 35px;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  background: #000;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.lng span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
  text-align: center;
  line-height: 35px;
  font-size: 15px;
  transition: all 0.5s ease-out;
  z-index: 1;
  background: #000;
  color: #fff;
}

.lng[data-lng='en'] span:nth-child(2) {
  left: 100%;
}

.lng[data-lng='en']:hover span:nth-child(1) {
  left: -100%;
  z-index: 1;
}

.lng[data-lng='en']:hover span:nth-child(2) {
  left: 0;
  z-index: 2;
}

.lng[data-lng='ru'] span:nth-child(1) {
  left: 100%;
}

.lng[data-lng='ru']:hover span:nth-child(1) {
  left: 0;
  z-index: 2;
}

.lng[data-lng='ru']:hover span:nth-child(2) {
  left: -100%;
  z-index: 1;
}

.lng[data-lng='en'] span:nth-child(1),
.lng[data-lng='ru'] span:nth-child(2) {
  background: #000;
  color: #fff;
}

.lng[data-lng='en'] span:nth-child(2),
.lng[data-lng='ru'] span:nth-child(1) {
  background: #fff;
  color: #000;
}

/*
.lng:active span:nth-child(2),
.lng:active span:nth-child(1) {
    background: #000;
    color: #FFF;
}
*/

.ui-header > div {
  flex: 1;
}

.ui-middle {
  justify-content: flex-end;
  align-items: center;
}

.ui-bottom {
  justify-content: space-between;
  align-items: flex-end;
}

.hide-icon {
  width: 60px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  font-size: 15px;
}

.ui-text {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 3;
  padding: 100px;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  opacity: 0;
  transition: all 0.5s ease-out;
}

body.text .ui-text {
  opacity: 1;
}

body.text.transition .ui-text {
  opacity: 0;
}

.ui-text h1 {
  font-size: 60px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  min-width: 600px;
  text-align: center;
  max-width: 100%;
}

.ui-text h1 b {
  font-weight: 500;
}

.ui-text h1 u {
  text-decoration: none;
  color: #ff5b04;
}

.ui-text h1 span {
  color: #ff5b04;
}

.ui-text h1:after {
  content: attr(data-text);
  font-size: 20px;
  font-weight: 100;
  font-weight: 300;
  text-align: center;
  line-height: 30px;
  letter-spacing: 2px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 100%;
  text-transform: initial;
}

.ui-text h1 p {
  font-size: 15px;
  font-weight: 100;
  font-weight: 300;
  text-align: center;
  line-height: 25px;
  letter-spacing: 2px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 100%;
  text-transform: initial;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ui-text h1 p i {
  font-style: normal;
  max-width: 1000px;
}

.ui-button {
  display: flex;
  position: absolute;
  bottom: 100px;
  width: calc(100% - 100px);
  justify-content: center;
  align-items: center;
  flex-direction: row;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 1s ease-out;
}

body.text .ui-button {
  opacity: 1;
  pointer-events: inherit;
}

body.transition .ui-button {
  opacity: 0 !important;
  pointer-events: none;
  transition: none;
}

body.transition .ui-middle {
  opacity: 0;
  pointer-events: none;
}

.btn {
  display: inline-block;
  height: 5rem;
  line-height: 3rem;
  border-radius: 3.5rem;
  border: 3px solid #ff0000;
  /* overflow: hidden; */
  position: relative;
  font-size: 1.2rem;
  letter-spacing: 1px;
  font-weight: 700;
  border: 3px solid #ff5b04;
  background: transparent;
  color: #fff;
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 20px;
  -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
  min-width: 160px;
  text-transform: uppercase;
  padding: 0 40px;
  font-family: 'Montserrat', sans-serif;
}

.btn-wrap {
  margin-right: 40px;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.btn-wrap[data-sub] {
  margin-bottom: 40px;
  overflow: visible;
}

.btn-wrap:last-child {
  margin-right: 0;
}

.btn-wrap:after {
  content: attr(data-sub);
  color: #fff;
  position: absolute;
  width: 100%;
  height: auto;
  left: 0;
  bottom: -30px;
  text-align: center;
  opacity: 0.8;
  font-size: 15px;
}

.btn:after {
  content: '';
  background: #ff5b04;
  display: block;
  padding-top: 100%;
  border-radius: 100%;
  -webkit-transform: translateY(25%);
  -ms-transform: translateY(25%);
  transform: translateY(25%);
  position: absolute;
  left: -15%;
  right: -15%;
  top: 50%;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}

.btn:hover:after,
.btn.hover:after {
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.btn:hover .btn__in,
.btn.hover .btn__in {
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}

.btn:hover .btn__hover,
.btn.hover .btn__hover {
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
}

.btn__in {
  position: relative;
  padding: 0;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  font-size: 15px;
}

.btn__hover {
  z-index: 5;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  font-size: 15px;
}

.btn__in,
.btn__hover {
  display: flex;
  top: 0;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.arrows {
  display: flex;
  flex-direction: column;
}

.arrow-up,
.arrow-down {
  width: 60px;
  height: 60px;
  display: flex;
  border: 3px solid #686868;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  cursor: pointer;
}

.arrow-down svg {
  transform: rotate(180deg);
}

.arrow-up:hover svg polygon,
.arrow-down:hover svg polygon {
  fill: #fff !important;
}

.arrow-counter {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 3px solid #686868;
}

.hide-icon > span:nth-child(2) {
  display: none;
}

body.text .hide-icon > span:nth-child(2) {
  display: block;
}

body.text .hide-icon > span:nth-child(3) {
  display: none;
}

.sound-btn span:nth-child(3) {
  display: none;
}

body.sound .sound-btn span:nth-child(4) {
  display: none;
}

body.sound .sound-btn span:nth-child(3) {
  display: inline-block;
}

body.loading .ui-header-right,
body.loading .ui-middle,
body.loading .ui-button,
body.loading .ui-bottom,
body.loading .ui-text {
  display: none;
}

h1 sup {
  font-size: 40px;
}

.logo {
  width: 250px;
  height: 50px;
  flex: none !important;
  background-repeat: no-repeat;
  background-image: url('../img/logo.svg');
  background-size: contain;
  display: block;
  background-position: center;
}

.loading .logo {
  display: none;
}

.danger-icon {
  width: 250px;
  height: 50px;
  flex: none !important;
  background-repeat: no-repeat;
  background-image: url('../img/danger.png');
  background-size: contain;
  display: block;
  background-position: center;
  opacity: 0;
}

body[data-scene='scene1'] .danger-icon,
body[data-scene='scene9'] .danger-icon,
body[data-scene='scene10'] .danger-icon {
  opacity: 0 !important;
  background-image: none;
}

body[data-scene='scene1'].mobile .danger-icon {
  opacity: 0.7 !important;
  background-image: url('../img/swipe.png');
  -webkit-animation: float 6s ease-in-out infinite;
  animation: float 6s ease-in-out infinite;
}

.hide-icon i {
  width: 30px;
  height: 30px;
  display: inline-block;
  background-image: url('../img/x.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
  transform: rotate(45deg);
  transition: all 0.5s ease-out;
}

body.text .hide-icon i {
  transform: rotate(0);
}

.sound-btn i {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-image: url('../img/sound_off.svg');
  background-size: contain;
  background-position: center;
  margin-right: 10px;
  background-repeat: no-repeat;
  position: absolute;
  left: -30px;
}

body.sound .sound-btn i {
  background-image: url('../img/sound_on.svg');
}

.btn[data-sub] {
  margin-bottom: 40px;
}

.btn[data-sub]:after {
  content: attr(data-sub);
}

.btn-wrap.progress:before {
  content: '';
  background: #686868;
  position: absolute;
  height: 5px;
  left: 0;
  bottom: -24px;
  width: var(--data-progress);
  border-radius: 5px;
  transition: all 0.5s ease-out;
}

.btn-wrap.progress:after {
  content: '';
}

.ru .hide-icon {
  text-align: right;
  width: auto;
}

section.welcome,
section.final {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  color: #fff;
  position: relative;
  justify-content: center;
  transition: all 0.5s ease-out;
  opacity: 0;
}

section.welcome {
  height: auto;
  margin: 30px 60px;
  width: calc(100% - 120px);
}

.prev section.welcome {
  opacity: 1;
  display: flex;
}

section.welcome .label {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 300;
  /* margin-bottom: 30px; */
  font-weight: 100;
  /* width: 550px; */
  box-sizing: border-box;
  text-align: left;
  padding: 0 50px;
}

section.welcome > div {
}

.welcome-top,
.welcome-top-inner,
.welcome-middle {
  display: flex;
  width: 100%;
  flex-direction: row;
}

.welcome-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.welcome-lng,
.welcome-name,
.welcome-role,
.welcome-middle > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.welcome-top-inner {
  align-items: top;
  justify-content: space-around;
}

.welcome-top-inner > div {
  flex: 1;
}

.welcome-top-inner > div > div {
  margin-bottom: 60px;
  position: relative;
}

.welcome-top-inner > div > div:nth-child(2) {
  min-height: 250px;
  width: var(--labelw);
  max-width: 350px;
  margin-bottom: 0;
  box-sizing: border-box;
}

.welcome-top,
.welcome-middle {
  align-items: center;
}

.lng-in {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-evenly;
}

.lng-in > div {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #969697;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.lng-in > div:hover {
  border-color: #fff;
}

.lng-in > div.active {
  border-color: #ff5b04;
}

.welcome-name input {
  background: transparent;
  border: 3px solid #ccc;
  border-radius: 3.5rem;
  height: 80px;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  padding: 0 15px;
}

.welcome-name input.error {
  border-color: #ff5b04;
}

.welcome-bottom .btn {
  min-width: 300px;
}

.roles {
  width: 100%;
}

.roles > div.role-item {
  display: flex;
  flex-direction: row;
  /* height: 50px; */
  align-items: center;
  cursor: pointer;
  margin-bottom: 20px;
}

.radio {
  width: 33px;
  height: 33px;
  display: inline-block;
  border: 3px solid #969697;
  border-radius: 50%;
  margin-right: 30px;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}

.radio.active {
  border-color: #fff;
}

.radio.active:after {
  content: '';
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ff5b04;
  left: 6px;
  top: 6px;
  position: absolute;
}

.radio ~ span {
  text-transform: uppercase;
  margin-right: 15px;
  font-weight: bold;
  color: #969697;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 5px;
  /* flex: 2; */
  max-width: 65%;
}

.radio.active ~ span {
  color: #fff;
}

.radio ~ span ~ i {
  display: inline-flex;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-style: normal;
  color: #000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #ff5b04;
  font-size: 10px;
  font-weight: bold;
  margin-top: -15px;
}

span.desc {
  font-size: 15px;
  /* text-transform: uppercase; */
  font-weight: 300;
  line-height: 2rem;
}

.welcome-middle > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.welcome-middle div > div {
  flex: 1;
}

span.ico {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.welcome-lng span.ico {
  background-image: url('../img/sound.svg');
}

.welcome-name span.ico {
  background-image: url('../img/man.svg');
}

.welcome-role span.ico {
  background-size: cover;
  width: 40px;
  background-position: bottom center;
  background-image: url('../img/people.svg');
}

.welcome-middle > div > div:nth-child(1) {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  align-items: flex-end;
  margin-bottom: 30px;
}

.desc-inner {
  display: flex;
  flex-direction: column;
}

.desc-inner > div {
  margin-bottom: 30px;
  max-width: var(--labelw);
}

.desc-inner > div:nth-child(2) {
  overflow: visible;
  height: 120px;
}

.welcome-modal {
  position: absolute;
  width: 120%;
  background: #000;
  padding: 30px;
  box-sizing: border-box;
  left: 0;
  top: -15px;
  display: none;
  z-index: 2;
  pointer-events: none;
}

.welcome-modal > p {
  display: none;
}

.welcome-modal[data-n] {
  display: block;
}

.welcome-modal[data-n=''] {
  display: none;
}

.welcome-modal[data-n='0'] {
  top: -100px;
}

.welcome-modal[data-n='0'] > p:nth-child(1),
.welcome-modal[data-n='1'] > p:nth-child(2),
.welcome-modal[data-n='2'] > p:nth-child(3) {
  display: initial;
}

.welcome-modal p {
  padding: 0;
  margin: 0;
  font-weight: 300;
  font-size: 15px;
}

body.prev canvas,
body.prev .ui-header,
body.prev .ui-middle,
body.prev .ui-bottom,
body.prev .ui-button,
body.prev .ui-text {
  display: none !important;
}

body.white {
  background: #fff;
}

body.white canvas,
body.white .welcome {
  display: none !important;
}

body.white section.final {
  display: flex;
  opacity: 1;
  height: auto;
  margin: 30px 60px;
}

.products {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1800px;
  margin: 0 auto;
}

.products .btn-wrap,
.products-new .btn-wrap {
  margin: 0;
  width: 350px;
  margin-bottom: 30px;
}

.products .btn-wrap:last-child,
.products-new .btn-wrap:last-child {
  margin-bottom: 0;
}

.products .btn,
.products-new .btn {
  width: 100%;
  color: #333;
  border-color: #969697;
  margin: 0 auto;
  display: block;
  font-size: 15px;
  line-height: 1.5rem;
}

.products .btn.join,
.products-new .btn.join {
  border-color: #ff5b04;
  color: #333;
  font-size: 25px;
}

.products .btn.join .btn__hover,
.products-new .btn.join .btn__hover {
  font-size: 15px;
}

.products .btn__hover,
.products-new .btn__hover {
  color: #fff;
  font-size: 15px;
}

.products > div {
  flex: 1;
}

/* products new */

.products-new {
  display: flex;
  flex-direction: row;
  position: relative;
}

.products-col {
  flex: 1;
  position: relative;
  padding-top: 60px;
  width: var(--colw);
}

.products-col--inner {
  display: flex;
  flex-direction: column;
  border-radius: 3rem;
  border: 1px dashed #969697;
  padding: 15px;
  margin-right: 15px;
  box-sizing: border-box;
  justify-content: space-between;
  position: relative;
}

.products-col:last-child .products-col--inner {
  margin-right: 0;
}

.products-new .btn-wrap {
  margin: 0 0 30px 0 !important;
  width: 100%;
  display: block;
}

.products-new .btn-wrap:last-child {
  margin-bottom: 0 !important;
}

.products-col.main p {
  color: #333;
  text-align: center;
  line-height: 1.5em;
}

.products-col--inner button.btn,
.products-col--inner span {
  font-size: 13px !important;
}

.products-group {
  color: #999;
  position: absolute;
  top: 0;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  width: 100%;
  text-align: center;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-col.main .products-col--inner {
  border: none;
  padding-top: 0;
  /* margin: 0 15px 0 15px; */
}

.products-new .btn {
  width: 100%;
  color: #333;
  border-color: #969697;
  margin: 0 auto;
  display: block;
  font-size: 15px;
  line-height: 1.5rem;
  height: 4rem;
  border-width: 2px;
}

.products-col.main {
  padding-top: 0;
}

.modal-inner a[href='#'] {
  opacity: 0;
  pointer-events: none;
}

.modal-inner .btn {
  height: 4rem;
}

/* -- */

.p1,
.p2,
.p3 {
  display: flex;
  width: 100%;
  max-width: 30%;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.p1 > div,
.p2 > div,
.p3 > div {
  display: flex;
  justify-content: space-around;
  position: relative;
}

.p-buttons {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-radius: 3.5rem;
  border: 2px dashed #969697;
  padding: 15px;
  box-sizing: border-box;
  justify-content: space-between;
  position: relative;
}

.noborder {
  border: none;
}

.p3_1 {
  flex: 5;
}

.p2_2 {
  max-width: 450px;
  margin: 15px auto;
  display: block !important;
}

.p2_2 p {
  color: #333;
  text-align: center;
  font-size: 20px;
}

.logo-black {
  width: 100%;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../img/logo2.svg');
}

.white .ui {
  justify-content: center;
  padding: 0;
}

.white .ui-wrap {
  justify-content: center;
  align-items: center;
  height: auto;
  min-height: auto;
  flex-direction: initial;
}

.p-buttons:before {
  content: attr(data-text);
  left: calc((var(--pheight) / 2) * -1);
  position: absolute;
  color: #969697;
  bottom: 50%;
  transform: rotate(-90deg);
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  margin-left: -30px;
  /* height: 50px; */
  width: calc(var(--pheight));
  display: flex;
  align-items: center;
  justify-content: center;
}

.replay {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}

.replay i {
  width: 15px;
  height: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../img/replay.svg');
  display: inline-block;
  margin-right: 5px;
}

.replay-btn {
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 1em;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.modal-bg {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: none;
}

.modal {
  position: fixed;
  z-index: 6;
  right: -100%;
  top: 0;
  width: 50%;
  height: 100%;
  background: #fff;
  padding: 50px;
  box-sizing: border-box;
  color: #333;
  transition: all 0.5s ease-out;
}

body.modal-in .modal.active {
  right: 0;
  display: block;
}

body.modal-in .modal-bg {
  display: block;
}

.modal .close {
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../img/x.svg');
  filter: brightness(0.2);
  position: absolute;
  right: 0;
}

.modal-top {
  position: relative;
}

.modal-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.modal h2 {
  text-align: center;
  width: 100%;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 40px;
}

.modal p {
  text-align: center;
  width: 100%;
  font-weight: 300;
  /* text-transform: uppercase; */
  font-size: 30px;
}

.modal img {
  display: none;
}

.modal.img img {
  display: block;
  width: 300px;
  max-width: 100%;
}

.modal.img .modal-content > div:nth-child(2) {
  display: none;
}

.modal .btn {
  color: #333;
  margin: 0 auto;
  display: block;
  text-decoration: none;
}

.modal .btn__hover {
  color: #fff;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal .btn-second {
  margin-top: 15px;
}

.modal .btn-wrap {
  display: flex;
  flex-direction: column;
}

.btn-wrap p,
.btn-wrap img,
.btn-wrap .btn-text,
.btn-wrap .buttons-to {
  display: none;
}

.superw .ui,
.superw .ui-text {
  display: none;
}

.bounce-in {
  animation: bounce-in 1s ease-in;
  animation-fill-mode: forwards;
  opacity: 0;
}

.label strong {
  font-weight: 400;
}

.skip {
  width: 100%;
  text-align: center;
  margin-top: 25px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.skip i {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../img/skip.svg');
  display: inline-block;
  margin-right: 5px;
  position: absolute;
}

.skip span {
  padding-left: 25px;
}

.portrait-please {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-direction: column;
}

.portrait-please i {
  width: 60px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../img/portrait.svg');
  display: inline-block;
  margin-bottom: 0 auto;
  margin-bottom: 15px;
}

body.mobile[data-orient='landscape'] canvas,
body.mobile[data-orient='landscape'] .ui,
body.mobile[data-orient='landscape'] .ui-text {
  display: none !important;
}

body.mobile[data-orient='landscape'] .portrait-please {
  display: flex;
}

.sound-slider-wrap {
  position: absolute;
  right: 250px;
  height: 50px;
  width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
}

/* 
.sound-slider {
    width: 45px;
    height: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 15px;
    transition: all .5s ease-out;
    position: relative;
    cursor: pointer;
}

.sound-slider.active,
.sound-slider-wrap:hover .sound-slider {
    opacity: 1;
}

.sound-slider:after {
    content: '';
    height: 100%;
    width: var(--volume);
    background: #FFF;
    left: 0;
    bottom: 0;
    display: block;
    position: absolute;
    border-radius: 15px;
}

.sound-slider span {
    width: 10px;
    height: 10px;
    position: absolute;
    background: #FFF;
    border-radius: 50%;
    left: calc(var(--volume) - 5px);
    top: -3px;
    z-index: 2;
    display: block;
    cursor: pointer;
}
*/

div#sound-slider {
  width: calc(100% - 15px);
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  position: relative;
}

div#sound-slider:after {
  content: '';
  width: var(--volume);
  background: #fff;
  z-index: 2;
  height: 3px;
  display: block;
  border-radius: 5px;
}

span.ui-slider-handle.ui-corner-all.ui-state-default {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  display: block;
  position: absolute;
  top: -0.15em;
  cursor: pointer;
  margin-left: -0.5em;
}

section.preloader {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

body.init section.preloader {
  display: flex !important;
}

body.white section.preloader {
  display: none !important;
}

body.init section.welcome {
  display: none;
}

section.preloader .logo {
  display: block !important;
  margin: 0 auto;
}

.preloader-inner {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.preloader p {
  color: #fff;
  text-align: center;
  line-height: 24px;
  min-height: 110px;
}

.preloader-inner .btn-wrap {
  margin-right: 0;
}

.preloader-logo {
  margin-bottom: 15px;
}

.preloader .lng {
  position: absolute;
  right: 50px;
  top: 50px;
}

body.en .hide-en {
  display: none;
}

body.en .modal[data-type='ttmacademy'] .modal-content > div:nth-child(2) {
  display: block !important;
}

@keyframes bounce-in {
  0% {
    opacity: 1;
    transform: scale(2);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: none;
  }
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-20px);
  }
  100% {
    transform: translatey(0px);
  }
}

@media screen and (min-width: 2000px) {
  .ui-text h1 {
    font-size: 100px;
  }

  .ui-text h1 p {
    font-size: 25px;
    line-height: 30px;
  }
}

@media screen and (max-height: 768px) {
  .ui-text h1 p {
    font-size: 13px;
    line-height: 20px;
  }
}

@media screen and (max-width: 1440px) {
  .ui {
    padding: 50px 50px 50px 50px;
  }

  .ui-button {
    bottom: 50px;
  }

  .arrow-counter {
    width: 50px;
    height: 50px;
    font-size: 15px;
  }

  .ui-text h1 p {
    font-size: 18px;
  }

  .btn {
    height: 4rem;
    line-height: 3rem;
    padding: 0 30px;
    min-width: 165px;
  }

  .products .btn-wrap {
    margin: 0;
    width: 250px;
    margin-bottom: 10px;
  }

  .p-buttons:before {
    margin-left: -25px;
    font-size: 10px;
  }

  .products .btn__in,
  .products .btn__hover {
    font-size: 12px;
  }

  .products-col--inner button.btn,
  .products-col--inner span {
    font-size: 11px !important;
  }
}

@media screen and (max-width: 1280px) {
  .ui-text h1 {
    font-size: 60px;
  }

  .ui-text h1 p {
    font-size: 15px;
    line-height: 25px;
  }

  .welcome-top-inner > div > div:nth-child(2) {
    min-height: 200px;
  }

  span.desc {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5rem;
  }

  .products {
    max-width: 1000px;
  }

  .products .btn__in,
  .products .btn__hover {
    font-size: 10px;
  }

  .p2_2 p {
    font-size: 15px;
  }

  .modal p {
    font-size: 20px;
  }

  .replay-btn {
    margin-top: 20px;
  }
}

@media screen and (max-width: 850px) {
  .sound-slider-wrap {
    display: none !important;
  }

  .ui {
    padding: 30px 30px;
  }

  section.welcome,
  section.final {
    flex-direction: column;
    justify-content: inherit;
    padding-bottom: 30px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .products-col {
    width: 100%;
  }

  .products-col--inner {
    margin-right: 0;
  }

  .welcome-top,
  .welcome-top-inner,
  .welcome-middle {
    flex-direction: column;
  }

  section.welcome .label {
    font-size: 18px;
    text-align: center;
    width: 100%;
    display: inline-block;
    padding: 0;
  }

  .desc-inner > div {
    max-width: 100%;
    margin-bottom: 5px;
  }

  .lng-in > div {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  span.desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5rem;
  }

  .radio ~ span {
    font-size: 15px;
  }

  .welcome-top-inner > div > div:nth-child(2) {
    min-height: 0;
    width: 100%;
    margin-bottom: 60px;
    box-sizing: border-box;
    max-width: 100%;
  }

  .welcome-lng,
  .welcome-name,
  .welcome-role,
  .welcome-middle > div {
    align-items: start;
  }

  span.ico {
    width: 15px;
    height: 15px;
  }

  .welcome-role span.ico {
    width: 20px;
  }

  .radio {
    margin-right: 15px;
  }

  .welcome-top-inner > div > div {
    width: 100%;
  }

  .radio ~ span,
  .welcome-modal p {
    font-size: 15px;
  }

  .welcome-modal {
    padding: 15px;
    width: 100%;
  }

  .welcome-name input {
    height: 60px;
    font-size: 20px;
  }

  .btn-wrap {
    margin-right: 0;
    width: 100%;
  }

  .btn {
    height: 4rem;
    font-size: 15px;
    /* min-width: 125px; */
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
  }

  .modal .btn-wrap .btn {
    height: 4rem;
    font-size: 15px;
    /* min-width: 125px; */
    width: calc(100% - 66px);
    margin: 0;
    margin-bottom: 15px;
  }

  .ui-text {
    padding: 30px;
    pointer-events: none;
  }

  .ui-text h1 {
    font-size: 50px;
    width: 100%;
    text-align: center;
    margin: 0;
    min-width: 0;
  }

  .ui-text h1 p {
    font-size: 10px;
    line-height: 15px;
    font-weight: 500;
  }

  .ui-text h1 b {
    font-weight: 800;
  }

  .ui-button {
    bottom: 60px;
    width: calc(100% - 60px);
    justify-content: space-evenly;
  }

  .ui-button {
    bottom: 60px;
    width: calc(100% - 60px);
    flex-direction: column;
  }

  .logo {
    width: 150px;
  }

  .sound-btn {
    margin-right: 10px;
    display: flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .sound-btn i {
    position: relative;
    left: 0;
  }

  .sound-btn span {
    display: none !important;
  }

  .arrow-counter {
    display: none;
  }

  .hide-icon {
    width: 30px;
    font-size: 10px;
    margin-top: -150px;
  }

  .hide-icon i {
    width: 15px;
    height: 15px;
  }

  .btn__in,
  .btn__hover {
    line-height: 15px;
  }

  .ui-bottom {
    justify-content: center;
    align-items: flex-end;
  }

  .arrows {
    display: none;
  }

  .danger-icon {
    width: 250px;
    margin-bottom: 0;
  }

  h1 sup {
    font-size: 12px;
  }

  body.mobile {
    width: 100%;
    height: var(--app-height);
    overflow: hidden;
    position: fixed;
  }

  .ui {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    height: 100%;
  }

  .prev .ui,
  .white .ui {
    overflow-y: auto;
    padding: 30px;
    justify-content: flex-start;
  }

  .ui-button,
  .ui-middle {
    display: none;
  }

  body[data-scene='scene9'] .ui-button {
    display: flex;
  }

  .products {
    flex-direction: column;
  }

  .white .ui-wrap {
    justify-content: normal;
    width: auto;
    margin: 0 auto;
    min-height: initial;
  }

  .p1 > div,
  .p2 > div,
  .p3 > div {
    display: block;
    position: relative;
  }

  .products .btn-wrap {
    width: 100%;
  }

  .products .btn {
    font-size: 13px;
  }

  .p1 > div,
  .p2 > div,
  .p3 > div {
    margin-bottom: 30px;
  }

  .p-buttons:before {
    margin-left: 0;
    font-size: 8px;
    left: 0;
    top: -15px;
    transform: none;
    width: 100%;
    display: block;
    height: auto;
  }

  .p1,
  .p3,
  .p2_1,
  .p2_3 {
    order: 2;
  }

  .p2_3 {
    order: 1;
  }

  .modal {
    width: 100%;
  }

  .modal-inner {
    overflow: auto;
  }

  .modal p {
    font-size: 20px;
  }

  .modal h2 {
    font-size: 25px;
  }

  .products .btn.join {
    font-size: 15px;
  }

  .p2_2 p {
    font-size: 12px;
  }

  button.btn.press-and-hold {
    max-width: 150px;
    margin: 0 auto;
    display: block;
  }

  .products .btn.join .btn__hover {
    font-size: 15px;
  }

  .p2_3 a {
    order: 1;
    display: flex;
    margin-bottom: 0;
  }

  .p2_3 a.blank {
    order: 0;
    margin-bottom: 90px !important;
  }

  .p1,
  .p2,
  .p3 {
    max-width: 100%;
  }

  .ui-text h1 p i {
    max-width: 600px;
  }

  .prev .ui-wrap,
  .white .ui-wrap {
    justify-content: flex-start;
    width: 100%;
  }

  .p2_3 .p-buttons a:nth-child(1) {
    margin-bottom: -15px;
    overflow: hidden;
  }

  .p2_3 .p-buttons:after {
    content: 'Products';
    position: absolute;
    left: 0;
    bottom: 75px;
    width: 100%;
    text-align: center;
    color: #333;
    text-transform: uppercase;
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
  }

  .ru .p2_3 .p-buttons:after {
    content: 'Продукты';
  }

  .p3_1 {
    margin-bottom: 5px !important;
  }

  .desc-inner > div:nth-child(2) {
    height: auto;
  }

  body.init section.preloader {
    display: flex !important;
    max-width: calc(100% - 60px);
    height: calc(100% - 60px);
  }

  body.white section.preloader {
    display: none !important;
  }

  section.preloader .logo {
    width: 100%;
  }

  .preloader .lng {
    position: absolute;
    right: 0;
    top: 0;
  }

  .products-new {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  body.white section.final {
    margin: 0;
  }
}

@media screen and (max-width: 700px) {
  .ui-text h1 {
    font-size: 25px;
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .modal p {
    font-size: 16px;
  }

  .danger-icon {
    width: 150px;
  }
}

@media screen and (max-width: 375px) {
  button.btn.press-and-hold {
    height: 3.5rem;
  }

  .ui-button {
    bottom: 20px;
    width: calc(100% - 60px);
    flex-direction: column;
  }
}

@media screen and (max-width: 350px) {
  .welcome-bottom .btn {
    min-width: 200px;
  }

  .ui-text h1 p {
    font-size: 8px;
    line-height: 13px;
  }

  .btn__in,
  .btn__hover,
  .products .btn__hover,
  .replay-btn {
    font-size: 10px;
  }

  .ui-button {
    bottom: 20px;
    width: calc(100% - 60px);
    flex-direction: column;
  }

  .danger-icon {
    width: 150px;
  }
}

html:lang(en) .modal[data-type='SkillNetworkAI'] .btn-wrap .btn {
  display: none;
}
