@font-face {
  font-family: 'Druk Wide Cyr';

  src: url('../fonts/DrukWideCyr/DrukWideCyr.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito/Nunito.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
} 

@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/Nunito/NunitoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

* {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 500;
  box-sizing: border-box;
}

body,html {
  margin: 0;
  padding: 0;
  height: 100%;
  /* overflow: hidden; */
  background-color: hsl(0, 0%, 0%);
  box-sizing: border-box;
  font-family: 'Druk Wide Cyr', sans-serif;
  color: hsla(0, 0%, 100%, 1);
}

body.scroll-enabled,
html.scroll-enabled {
  overflow-y: auto;
  min-height: 100vh;

  .layout {
    height: fit-content;
  }
}

.layout {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 92px 0px;
  min-height: 100%;
  height: 100dvh;
  box-sizing: border-box;
  background-color: hsl(0, 0%, 0%);
}

img {
  max-width: 100%;
}

button {
  outline: none;
  border: none;
}

.layout {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 92px 40px;
  height: 100dvh;
  background-color: hsl(0, 0%, 0%);
}

.bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.bg__cloud-b-m {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  user-select: none;
}

.bg__cloud-l-m {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  pointer-events: none;
  user-select: none;
}

.bg__cloud-b-d {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  user-select: none;
}

.bg__cloud-l-d {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  pointer-events: none;
  user-select: none;
}

.bg__cloud-r-d {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30%;
  pointer-events: none;
  user-select: none;
}

.bg__label-l {
  display:none;
  position: absolute;
  top: 274px;
  left: 11%;
}

.bg__label-r {
  display:none;
  position: absolute;
  top: 207px;
  right: 12%;
}

.bg__label-l-skydiver {
  position: absolute;
  top: 25%;
  left: 33%;
  pointer-events: none;
  user-select: none;
}

.bg__label-r-skydiver {
  position: absolute;
  bottom: -130%;
  left: 26%;
  pointer-events: none;
  user-select: none;
}

.bg__label-l-text {
  transform: rotate(-22.26deg)
}

.bg__label-r-text {
  transform: rotate(19.42deg)
}

.bg__star-s-l {
  display: none;
  position: absolute;
  top: 156px;
  left: 7.8%;
  width: 12px;
  height: 12px;
  transform: rotate(-23.52deg);
  pointer-events: none;
  user-select: none;
}

.bg__star-m-l {
  display: none;
  position: absolute;
  top: 252px;
  left: 25.5%;
  pointer-events: none;
  user-select: none;
}

.bg__star-s-r {
  display: none;
  position: absolute;
  top: 91px;
  right: 13%;
  width: 12px;
  height: 12px;
  pointer-events: none;
  user-select: none;
}

.bg__star-m-r {
  display: none;
  position: absolute;
  top: 253px;
  right: 29.6%;
  pointer-events: none;
  user-select: none;
}

.hero {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.hero__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto
}

.first-step, .second-step {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 9px;
  font-size: 24px;
  font-weight: bold;
}

.logo__sep {
  font-weight: 500;
  color: hsl(0, 0%, 37%);
}

.title {
  line-height: 36px;
  text-transform: uppercase;
  margin-top: 51px;
  background-color: hsla(0, 0%, 0%, 0.3);
}

.loader {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 223px;
  height: 223px;
  margin-top: 45px;
  margin-left: auto;
  margin-right: auto;
}

/*.content {*/
/*  margin-top: 19px;*/
/*  margin-right: -35px;*/
/*  margin-left: -35px;*/
/*}*/

.content__title {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  line-height: 56px;
  color: hsl(150, 100%, 34%);
}

.content__title-value {
  font-size: 48px;
  line-height: 56px
}

.loader__spinner {
  width: 185px;
  height: 185px;
  position: absolute;
  animation: spin 2s linear infinite;
}

.loader__icon {
  position: absolute;
  font-size: 24px;
  color: #3498db;
}

.label {
  font-weight: 500;
  line-height: 15px;
  padding: 10px;
  border-radius: 12px;
  background-color: hsl(150, 100%, 34%);
}

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

.button {
  font-family: 'Nunito', sans-serif;
  line-height: 20px;
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  color: hsla(0, 0%, 100%, 1);
  background-color: hsl(150, 100%, 34%);
  box-shadow: 0 8px 16px 0 hsla(150, 100%, 34%, 0.25);
  z-index: 10;
}

.button--size-m {
  width: 294px;
}

.button--block {
  width: 100%;
}

.button:hover {
  background-color: hsl(150, 100%, 22%);
  transform: scale(1.05);
}

.modal {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  justify-content: center;
  padding: 7px;
  background-color: hsla(0, 0%, 0%, 0.5);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.modal.active {
  display: flex;
}

.modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 397px;
  padding: 52px 8px;
  border-radius: 12px;
  background: linear-gradient(180deg, hsl(152, 100%, 13%) 0%, hsl(0, 0%, 0%) 100%);
}

.modal__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.modal__description {
  font-weight: 500;
  line-height: 33px;
  text-transform: uppercase;
  margin-top: 8px;
  color: hsl(150, 100%, 43%);
  margin-bottom: 24px;
}

.modal__nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 24px;
  background: transparent;
}

.language-selector {
  position: fixed;
  top: 9px;
  right: 8px;
  z-index: 3;
}

.language-selector__button {
  background: white;
  border-radius: 8px;
  background-color: hsl(214, 24%, 11%);
  padding: 12px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  user-select: none;
}

.language-selector__button:hover {
  background-color: hsla(211, 22%, 22%, 1)
}

.language-options {
  display: none;
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
  background-color: hsl(211, 22%, 22%);
  border-radius: 12px;
  overflow: hidden;
}

.language-option {
  padding: 9px 12px;
  cursor: pointer;
}

.language-option:hover {
  background-color: hsl(214, 24%, 11%);
}

.language-selector.show .language-options {
  display: block;
}

@media (min-width: 768px) {
  .layout {
    padding: 48px 40px 79px;
    background-color: hsl(0, 0%, 0%);
  }

  .bg__cloud-b-m {
    display: none;
  }

  .bg__cloud-l-m {
    display: none
  }

  .bg__cloud-l-d {
    display: block;
  }

  .bg__cloud-r-d {
    display: block;
  }

  .bg__cloud-b-d {
    display: block;
  }

  .bg__star-s-l {
    display: block;
  }

  .bg__star-m-l {
    display: block;
  }

  .bg__star-s-r {
    display: block;
  }

  .bg__star-m-r {
    display: block;
  }

  .bg__label-l {
    display: block;
  }

  .bg__label-r {
    display: block;
  }

  .title {
    font-size: 36px;
    line-height: 56px;
    text-transform: uppercase;
    max-width: 800px;
    margin-top: 28px;
  }

  .loader {
    margin-top: 74px;
  }


  .hero__logo {
    margin-bottom: 28px;
  }

  .content__title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%)
  }

  .content__img {
    transform: translate(8%, -7%);
  }

  .modal__content {
    padding: 52px 26px;
  }

  .language-selector {
    top: 36px;
    right: 42px;
  }
}


.animate__jet {
  position: absolute;
  bottom: 0;
  left: 0
}

.animate__rocket {
  width: 122px;
  height: 100px;
  background-size: 100% 100%;
  background-image: image-set(url(/img/rocket/rocket-1.png) 1x,url(/img/rocket/rocket-2.png) 2x)
}

@media all and (min-width: 768px) {
  .animate__rocket {
    width:191px;
    height: 157px;
    background-image: image-set(url(/img/rocket/rocket-1.png) 1x,url(/img/rocket/rocket-2.png) 2x)
  }
}

.animate__graphic {
  position: absolute;
  width: 268px;
  height: 134px;
  left: -125%;
  top: 44%;
  background-size: 100% 100%;
  background-image: url(/img/rocket/graphic-purple.svg);
  z-index: -1
}

.animate {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /*overflow: hidden;*/
  padding: 61px 0;
  min-height: 258px
}

@media all and (min-width: 768px) {
  .animate {
    padding:119px 0;
    min-height: 414px
  }
}

@media all and (min-width: 1024px) {
  .animate {
    padding:99px 0;
    min-height: 366px
  }
}

@media all and (min-width: 1920px) {
  .animate {
    min-height:424px
  }
}

@media all and (min-width: 768px) {
  .animate__graphic {
    width:460px;
    height: 231px;
    top: 35%;
    left: -142%
  }
}

.animate__multiplier {
  position: absolute;
  top: 66px;
  font-weight: 900;
  font-size: 24px;
  margin: 0;
  line-height: 56px;
  color: hsl(150, 100%, 34%);
}


.animate__number {
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1.44px
}

@keyframes jiggle {
  0%, 100% {  transform: rotate(0deg);  }
  25% {    transform: rotate(5deg);  }
  50% {    transform: rotate(0deg);  }
  75% {    transform: rotate(-5deg);  }}

.star-jiggle {  display: inline-block;  animation: jiggle 0.5s ease-in-out infinite;}

@keyframes jiggle-slow {
  0%, 100% {    transform: rotate(0deg);  }
  25% {    transform: rotate(5deg);  }
  50% {    transform: rotate(0deg);  }
  75% {    transform: rotate(-5deg);  }}

.star-jiggle-slow {  display: inline-block;  animation: jiggle-slow 1.5s ease-in-out infinite;}

@keyframes jiggle-bounce {
  0%, 100% {    transform: translateY(0) rotate(0deg);  }
  20% {    transform: translateY(-3px) rotate(6deg);  }
  40% {    transform: translateY(0) rotate(0deg);  }
  60% {    transform: translateY(3px) rotate(-6deg);  }
  80% {    transform: translateY(0) rotate(0deg);  }}

.star-jiggle-bounce {  display: inline-block;  animation: jiggle-bounce 0.7s ease-out infinite;}
.flex {
  display: flex;
  flex-direction: column;
}
.hidden { display: none; }
#modal { display: none; }
#modal.active { display: flex; }

@keyframes parachute {
  0% {
    transform: rotate(40deg)
    translate(0, 150px);

  }

  30% {
    transform:
            rotate(-20deg)
            translate(50px, 250px);
  }
  60% {
    transform:
            rotate(20deg)
            translate(100px, 300px);
  }

  /*90% {*/
  /*  transform:*/
  /*          rotate(0deg)*/
  /*          translate(155px, 355px);*/
  /*}*/
  /*100% {*/
  /*        transform:*/
  /*      translate(155px, 355px);*/
  /*}*/
}

[class*="star-jiggle"] {
  display: none;
}

@media all and (min-width: 768px) {
  .animate__number {
    font-size: 48px;
  }

  [class*="star-jiggle"] {
    display: inline-block;
  }
}

.parachute-1 {
  animation: parachute 3s ease-in-out;
  -webkit-animation-fill-mode: forwards;
}
.parachute-2 {
  animation: parachute 5s ease-in-out;
  -webkit-animation-fill-mode: forwards;
}

#counter {
  transition: transform 0.1s ease, opacity 0.1s ease;
}

.flip {
  transform: rotateX(90deg);
  opacity: 0.5;
}

#registration-form {
  width: 100%;
}

.form-group {
  width: 100%;
  margin-bottom: 24px;
}

.form-control {
  width: 100%;
  border-radius: 8px;
  height: 56px;
  padding: 16px;
  font-family: 'Nunito Sans';
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  border: none;
  color: #000000;

  &::placeholder {
    color: #919EAB;
  }
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}

.text-danger {
  color: #ef4444;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Nunito Sans';
  text-align: left;
  margin-top: 8px;

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

  &.mb-2 {
    margin-bottom: 24px;
  }
}

.input-group {
  position: relative;
}

.input-group-icon {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
}

.input-label {
  font-family: 'Nunito Sans';
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  gap: 8px;
}

.input-checkbox {
  cursor: pointer;
  opacity: 0;
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0;
  width: 20px;
  height: 20px;
}

.input-check-label {
  padding-left: 30px;
  font-size: 12px;
  line-height: 20px;
  color: #919eab;
  display: block !important;
  text-align: left;
}

.input-check-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background: url(../img/checkbox-off.svg) 50% no-repeat;
  width: 20px;
  height: 20px;
}

.input-checkbox:checked + .input-label::before {
  background: url(../img/checkbox-on.svg) 50% no-repeat;
}

.checkbox-link {
  color: #919eab;
  text-decoration: none;
  font-size: 12px;
  line-height: 20px;

  &:hover, &:active, &:visited {
    color: #919eab;
    text-decoration: underline;
  }
}

.dropdown {
  font-family: 'Nunito Sans';
  position: relative;
}

.currency-selector {
  margin-bottom: 16px;
}

.currency-label {
  position: absolute;
  z-index: 1;
  font-size: 12px;
  line-height: 16px;
  top: 7px;
  color: #919EAB;
  text-indent: 16px;
  left: 0;
}

.dropdown-toggle {
  position: relative;
  cursor: pointer;
  background-color: #fff;
  width: 100%;
  text-align: left;
  padding-top: 20px !important;
}

.dropdown-toggle .arrow {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) rotate(45deg);
  border: solid #000000;
  border-width: 0 2px 2px 0;
  padding: 4px;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.4s ease;
}

.dropdown.open .arrow {
  transform: translateY(-50%) rotate(-135deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ddd;
  z-index: 1;
  color: #000000;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.dropdown.open .dropdown-menu {
  display: block;
  top: 62px;
  z-index: 15;
}

.dropdown-item {
  padding: 8px 16px;
  cursor: pointer;
  font-size: 16px;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: #f1f1f1;
}

#dropdownValue {
  font-size: 16px;
}