@font-face {
  font-family: "NoirPro";
  font-weight: 400;
  src: url('./fonts/NoirPro/3A4B9B_1_0.woff');
}

@font-face {
  font-family: "NoirPro";
  font-weight: 600;
  src: url('./fonts/NoirPro/3A4B9B_0_0.woff');
}

html {
  /* Вертикальный контейнер: вписывание в ширину */
  font-size: calc(100vw / 1920);
  font-family: "NoirPro";
}

@media (min-aspect-ratio: 1920/1200) {
  /* Горизонтальный контейнер: вписывание в высоту */
  html {
    font-size: calc(100vh / 1200);
  }
}

body {
  font-family: "NoirPro", sans-serif;
  font-size: 32rem;
  font-weight: 400;
}

html,
body,
#fieldWrapper{
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  min-width: unset;
  min-height: unset;
}

sub, sup {
  line-height: 0;
}

/* fonts */
.times-new-roman {
  font-family: "Times New Roman", "NoirPro", sans-serif;
}

/* Layout styles */
#field{
  position: relative;
  height: 1200rem;
  width: 1920rem;
  margin: 0 auto;
  
  display: flex;
}

.astronomy-logo{
  position: absolute;
  top: 102rem;
  right: 50rem;
  height: 100rem;
  width: 94rem;
  background-image: url("./images/logo.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

.astronomy-line{
  position: absolute;
  top: 202rem;
  right: 165rem;
  width: calc(100% - 450rem);
  height: 2rem;
  background-image: linear-gradient(-90deg, black, white);
}

.preloadimg{
  position: absolute;
  z-index: -100;
  left: 100%;
  top: 100%;
  width: 1px;
  height: 1px;
  opacity: 0.05;
  overflow: hidden;
}

.hidden {
  opacity: 0;
}

.show-on-finish {
  opacity: 0;
}

.step{
  z-index: 2;
  height: min-content;
  margin-top: 174rem;
  margin-left: 50rem;
  margin-right: 0;

  padding-top: 5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  
  border-top: 3rem solid transparent;

  font-family: "NoirPro", sans-serif;
  font-size: 24rem;
  line-height: 28rem;
  text-align: center;
  /* color: #DBDAD4; */
  color: #17BAFF;
  text-decoration: underline;

  /* opacity: .7; */

  cursor: pointer;
  user-select: none;
}

.step:hover {
  color: black;
  text-decoration: none;
}

.step+.step{
  margin-left: 22rem;
}

.step.right {
  color: #7CD8FF;
  text-decoration: none;
}

.step.current {
  color: #2d2d2d;
  border-color: black;
  text-decoration: none;
}

.step.current:before{
  top: -5rem;
}

#reload {
  z-index: 2;

  height: 26rem;
  width: 26rem;
  margin-top: 180rem;
  margin-left: 30rem;

  background-image: url("./images/again.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;

  cursor: pointer;
  user-select: none;
}

#reload svg {
  display: none;
}

.reload-message {
  position: absolute;
  left: 100%;
  display: none;
  opacity: 0;
}

/* image default style */
.image {
  position: absolute;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Description styles */
#description{
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  
  position: absolute;
  top: 15rem;
  left: 50rem;
  width: 1670rem;
  height: 150rem;

  font-family: "NoirPro", sans-serif;
  font-weight: 600;
  font-size: 50rem;
  line-height: 1;
  letter-spacing: 1rem;
}

.description-success{
  color: #17BAFF;
}

/* Butoon styles */
.button#checkButton {
  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  z-index: 2;
  bottom: 40rem;
  right: 50rem;

  height: 90rem;
  width: 260rem;

  box-sizing: border-box;

  border-radius: 3rem;
  
  background-color: #17BAFF;

  font-family: "NoirPro";
  font-weight: 600;
  font-size: 32rem;
  color: white;

  cursor: pointer;
}

.button#checkButton.only-next{
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.button#checkButton.only-next.visible {
  opacity: 1;
  pointer-events: initial;
}

.button#checkButton:hover {
  border: 2rem solid #0096D7;
}

.button#checkButton.error {
  background-color: #F1000E;
  color: white;
}

.button#checkButton.disabled {
  background-color: #DADADA;
  color: white;
  cursor: default;
}

.button#checkButton.disabled:hover {
  border: none;
}

/* DnD */
#dragNDropContainer {
  position: absolute;
  top: 0rem;
  left: 0rem;
  height: 100%;
  width: 100%;
}

/* Dropables */
.droppable {
  position: absolute;
  width: 260rem;
  height: 90rem;

  background-color: #DEDEDE;
  box-shadow: inset 6rem 4rem 12rem rgba(0, 0, 0, 0.25);
  border-radius: 100rem;
  border: 2rem solid black;
}

.droppable.filled {
  border: none;
}

.droppable:hover {
    background-color: #e4e4e4;
}

.droppable.droppable-error{
  background-color: #F1000E;
  border-color: #F1000E;
}

/* Draggables */
.draggable {
  position: absolute!important;;
  z-index: 1;
  box-sizing: border-box;
  width: 260rem;
  height: 90rem;
  padding-top: 0.25em;
  padding-left: 40rem;
  padding-right: 40rem;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  
  border: 2rem solid black;
  
  /* background-size: contain!important;
  background-position: center center!important;
  background-repeat: no-repeat!important; */
  background-color: white;
  border-radius: 100rem;

  font-size: 32rem;
  line-height: 32rem;
  font-weight: 400;
  text-align: left;
  
  overflow: hidden;
  
  box-shadow: 3rem 2rem 5rem rgba(0, 0, 0, 0.25);
  
  user-select: none;
  transition-duration: .1s;
  transition-property: transform;
}

.draggable.filled {
  background-color: black;
  color: white;
}

.draggable.filled.draggable-right {
  background-color: black;
  color: #17BAFF;
}

.draggable .inner-element {
  /* display: none; */
}

.draggable:hover {
  box-shadow: 3rem 2rem 12rem rgba(0, 0, 0, 0.25);
}

.draggable.ui-draggable-dragging {
  box-shadow: 6rem 4rem 12rem rgba(0, 0, 0, 0.25);
}

.draggable.draggable-wrong {
  color: #F1000E;
  border-color: #F1000E;
}

/* Text styles */
.text {
  position: absolute;
  font-size: 50rem;
  line-height: 50rem;
  font-weight: 400;
}

.text.answer {
  font-size: 50rem;
  font-weight: 600;
}

.text__spacing {
  display: inline-block;
  width: 230rem;
  margin: 0 0.1em;
}

.text p {
  margin: 0;
  margin-bottom: 0.5em;
}

/* Checkbox styles */
.checkbox {
  position: absolute;
  display: flex;

  font-size: 38rem;
  line-height: 1;

  cursor: pointer;
}

.checkbox.checked {}

.checkbox.checkbox_disabled {
  pointer-events: none;
}

.checkbox.checkbox_correct {
  color: #17BAFF;
}

.checkbox.checkbox_wrong {
  color: #F1000E;
}

.checkbox__indicator {
  position: relative;
  height: 35rem;
  width: 35rem;

  margin-right: 20rem;

  border: 2px solid black;
}

.checkbox__indicator::before {
  content: "";
  position: absolute;
  height: 50%;
  width: 120%;
  transform: scale(0) rotate(-50deg) translate(5rem, -3rem);

  border-left: 5rem solid currentColor;
  border-bottom: 5rem solid currentColor;

  transition: 0.3s;
}

.checkbox.checked > .checkbox__indicator::before {
  transform: scale(1) rotate(-50deg) translate(5rem, -3rem);
}

.checkbox.checkbox_correct > .checkbox__indicator {
  background-color: black;
}

.checkbox.checkbox_wrong > .checkbox__indicator {
  background-color: currentColor;
}

.checkbox.checkbox_wrong > .checkbox__indicator::before {
  border-color: black;
}

.checkbox__label {
  padding-top: 0.1em;
  font-weight: 400;
}

/* radiogroup default style */
.radiogroup{
  position: absolute;
  top: 255rem;
  left: 150rem;

  font-size: 36rem;
  line-height: 1.3em;

  display: flex;
  flex-direction: column;
}

.radiogroup__item{
  display: flex;
  align-items: flex-start;
  margin-bottom: 30rem;
}

.radiogroup__item.selected{
  color: #F1000E;
}

.radiogroup__item.selected.correct{
  color: #17BAFF;
}

.radiogroup__input{
  appearance: none;
  -webkit-appearance: none;

  display: block;
  position: relative;

  height: 1em;
  width: 1em;
  margin-top: 0.1em;
  margin-left: 0;
  margin-bottom: 0;
  margin-right: 1em;

  border: 2rem solid #C4C4C4;
  border-radius: 50%;

  font-size: inherit;

  outline: none;

  transition: 0.25s;
}

.radiogroup__input:checked{
  border-color: #F1000E;
  background-color: #F1000E;
}

.radiogroup__item.correct > .radiogroup__input:checked{
  border-color: black;
  background-color: black;
}

.radiogroup__input::after{
  content: "";
  position: absolute;
  box-sizing: border-box;
  width: 50%;
  height: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);

  display: block;
  transition: 0.25s;

  border-radius: 50%;

  background-color: #C4C4C4;
}

.radiogroup__input:checked::after{
  transform: translate(-50%, -50%) scale(1);
  background-color: black;
}

.radiogroup__item.correct > .radiogroup__input:checked::after{
  transform: translate(-50%, -50%) scale(1);
  background-color: #17BAFF;
}

/* Textfield styles */
.textfield-additional,
.textfield {
  box-sizing: border-box;
  position: absolute;
  left: 150rem;
  bottom: 105rem;
  height: 70rem;
  width: 165rem;
  padding-top: 0.25em;

  background-color: #EFEFEF;
  border: 2rem solid #000000;
  box-shadow: inset 6rem 4rem 12rem rgba(0, 0, 0, 0.25);
  border-radius: 3rem;

  font-size: 50rem;
  line-height: 50rem;
  text-align: center;
}
.textfield-additional:hover,
.textfield:hover,
.textfield-additional:focus,
.textfield:focus,
.textfield-additional.right,
.textfield.right {
  outline: none;
  border-bottom-color: black;
}

.textfield-additional.right,
.textfield.right {
  background-color: black;
  color: #17BAFF!important;
}

.textfield-additional.wrong,
.textfield.wrong {
  background-color: black;
  color: #F1000E!important;
}

/* Step-1 Styles */
/** Image styles */
.step-1.image {
  top: 249rem;
  height: 445rem;
  width: 890rem;

  border-radius: 10rem;
}

.step-1#image0 {
  left: 50rem;
}

.step-1#image1 {
  left: 980rem;
}

/** Text styles */
.step-1.text {
  top: 258rem;
  height: 115rem;
  width: 890rem;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  font-size: 40rem;
  line-height: 50rem;
  font-weight: 500;
  text-align: center;
}

.step-1.text-0 {
  left: 50rem;
}

.step-1.text-1 {
  left: 980rem;
}

/** Draggable styles */

.draggable {
  background-size: 62rem 62rem;
  background-position: right 33rem top 50%;
  background-repeat: no-repeat;
}

#draggable1 {
  background-image: url('./images/venus.png');
}

#draggable2 {
  background-image: url('./images/earth.png');
}

#draggable3 {
  background-image: url('./images/moon.png');
}

#draggable4 {
  background-image: url('./images/mars.png');
}

#draggable5 {
  background-image: url('./images/jupiter.png');
}

#draggable6 {
  background-image: url('./images/europe.png');
}

#draggable7 {
  background-image: url('./images/vesta.png');
}

#draggable8 {
  background-image: url('./images/titan.png');
}

/** Mars Alert */
.mars-alert {
  position: absolute;
  top: 750rem;
  left: 50rem; 
  width: 1800rem;
  padding: 10rem;

  border-radius: 10rem;


  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: black;
  color: white;
}

.mars-alert__icon {
  height: 130rem;
  width: 130rem;

  border-radius: 10rem;

  color: black;
  background-color: #17BAFF;

  background-image: url('./images/pic-1.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 35rem auto;
}

.mars-alert__text {
  width: 50%;
  flex-grow: 1;
  text-align: center;

  color: #17BAFF;
}

/* Step-2 Styles */
/** Image styles */
.step-2#image0 {
  width: 408rem;
  height: 605rem;
  left: 1445rem;
  top: 388rem;
}

/** Text styles */
.step-2.text {
  top: 265rem;
  left: 50rem;

  font-weight: bold;
  font-size: 36rem;
  line-height: 43rem;
}

/** Checkbox styles */
.step-2.checkbox-1 {
  top: 390rem;
  left: 50rem;
}

.step-2.checkbox-2 {
  top: 450rem;
  left: 50rem;
}

.step-2.checkbox-3 {
  top: 510rem;
  left: 50rem;
}

.step-2.checkbox-4 {
  top: 570rem;
  left: 50rem;
}

.step-2.checkbox-5 {
  top: 630rem;
  left: 50rem;
}

.step-2.checkbox-6 {
  top: 690rem;
  left: 50rem;
}

.step-2.checkbox-7 {
  top: 750rem;
  left: 50rem;
}

.step-2.checkbox-8 {
  top: 810rem;
  left: 50rem;
}

.step-2.checkbox-9 {
  top: 870rem;
  left: 50rem;
}

.step-2.checkbox-10 {
  top: 930rem;
  left: 50rem;
}
/* Step-3 Styles */
/** Image styles */
.step-3#image0 {
  width: 631rem;
  height: 577rem;
  left: 1239rem;
  top: 280rem;
  
}

/** Text styles */
.step-3.text {
  top: 265rem;
  left: 50rem;

  font-weight: bold;
  font-size: 36rem;
  line-height: 43rem;
}

/** Checkbox styles */
.step-3.checkbox-1 {
  top: 360rem;
  left: 50rem;
}

.step-3.checkbox-2 {
  top: 420rem;
  left: 50rem;
}

.step-3.checkbox-3 {
  top: 480rem;
  left: 50rem;
}

.step-3.checkbox-4 {
  top: 540rem;
  left: 50rem;
}

.step-3.checkbox-5 {
  top: 600rem;
  left: 50rem;
}

.step-3.checkbox-6 {
  top: 660rem;
  left: 50rem;
}

.step-3.checkbox-7 {
  top: 720rem;
  left: 50rem;
}

.step-3.checkbox-8 {
  top: 790rem;
  left: 50rem;
}

.step-3.checkbox-9 {
  top: 840rem;
  left: 50rem;
}

.step-3.checkbox-10 {
  top: 900rem;
  left: 50rem;
}

/* Step-4 Styles */
/** Image styles */
.step-4#image0 {
  width: 677rem;
  height: 709rem;
  left: 1099rem;
  top: 291rem;
}

/** Checkbox styles */
.step-4.checkbox-1 {
  top: 260rem;
  left: 50rem;
}

.step-4.checkbox-2 {
  top: 320rem;
  left: 50rem;
}

.step-4.checkbox-3 {
  top: 380rem;
  left: 50rem;
}

.step-4.checkbox-4 {
  top: 440rem;
  left: 50rem;
}

.step-4.checkbox-5 {
  top: 500rem;
  left: 50rem;
}

.step-4.checkbox-6 {
  top: 560rem;
  left: 50rem;
}

/* Step-5 Styles */
/** Text style */
.step-5.text {
  font-size: 36rem;
  line-height: 43rem;
}

.step-5.text-0 {
  top: 260rem;
  left: 50rem;
}

.step-5.text-1 {
  top: 725rem;
  left: 50rem;
}

.step-5.text-2 {
  top: 830rem;
  left: 300rem;
}

.step-5.text-3 {
  top: 920rem;
  left: 50rem;
}

.step-5.text-3 .text__spacing {
  width: 260rem;
}

/** Textfield style */
.step-5.textfield {
  width: 230rem;
  height: 70rem;

  padding-top: 0.5em;

  font-size: 36rem;
  line-height: 1;
}

.step-5#figuresfield1,
.step-5#textfield1 {
  top: 815rem;
  left: 50rem;
}

.step-5#figuresfield2,
.step-5#textfield2 {
  top: 905rem;
  left: 1015rem;
}

/* Step-6 Styles */
/** Image styles */
.step-6#image0 {
  width: 744rem;
  height: 562rem;
  left: 1126rem;
  top: 277rem;
}

/** Text style */
.step-6.text {
  font-size: 36rem;
  line-height: 50rem;
}

.step-6.text-0 {
  top: 260rem;
  left: 50rem;
}

.step-6.text-1 {
  top: 465rem;
  left: 50rem;
}

.step-6.text-2 {
  top: 575rem;
  left: 50rem;
}

.step-6.text-3 {
  top: 825rem;
  left: 50rem;
}

.step-6.text-4 {
  top: 870rem;
  left: 50rem;
  font-size: 36rem;
  line-height: 200%;
  letter-spacing: -1rem;
}

.step-6.text-5 {
  top: 1020rem;
  left: 50rem;
  font-size: 36rem;
  line-height: 200%;
  letter-spacing: -1rem;
}

.step-6.text-4 .text__spacing {
  width: 40rem;
}

/** Textfield style */
.step-6#figuresfield1,
.step-6#textfield1 {
  top: 865rem;
  left: 1230rem;
  width: 120rem;
  height: 70rem;

  padding-top: 0.5em;

  font-size: 36rem;
  line-height: 1;
}

.step-6#figuresfield2,
.step-6#textfield2 {
  top: 938rem;
  left: 615rem;
  width: 63rem;
  height: 70rem;

  padding-top: 0.5em;

  font-size: 36rem;
  line-height: 1;
}

.step-6#figuresfield3,
.step-6#textfield3 {
  top: 938rem;
  left: 760rem;
  width: 44rem;
  height: 35rem;

  padding-top: 0.3em;

  font-size: 24rem;
  line-height: 1;
}

.step-6#figuresfield-additional1,
.step-6#textfield-additional1 {
  top: 1015rem;
  left: 1165rem;
  width: 120rem;
  height: 70rem;

  padding-top: 0.5em;

  font-size: 36rem;
  line-height: 1;
}

.step-6#figuresfield-additional2,
.step-6#textfield-additional2 {
  top: 1088rem;
  left: 615rem;
  width: 63rem;
  height: 70rem;

  padding-top: 0.5em;

  font-size: 36rem;
  line-height: 1;
}

.step-6#figuresfield-additional3,
.step-6#textfield-additional3 {
  top: 1088rem;
  left: 760rem;
  width: 44rem;
  height: 35rem;

  padding-top: 0.3em;

  font-size: 24rem;
  line-height: 1;
}

/** Planet style */
.planet {
  position: absolute;

  font-size: 24rem;
  color: #17BAFF;
}

.planet__icon {
  display: inline-block;

  height: 20rem;
  width: 20rem;
  margin-left: 0.25em;

  background-color: currentColor;
  border-radius: 50%;
}

.planet_1 {
  top: 387rem;
  left: 1503rem;
}

.planet_2 {
  top: 463rem;
  left: 1416rem;
}