@import url("./_fonts.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main {
  width: 100%;
  height: 100%;
  min-height: 100vh;

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

.content {
  padding: 20px;

  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinner-icon {
  display: none;
  width: 16px;
  height: 16px;
  border: solid 2px transparent;
  border-top-color: #158fd2;
  border-left-color: #158fd2;
  border-radius: 100%;
  -webkit-animation: nprogress-spinner 900ms linear infinite;
  animation: nprogress-spinner 900ms linear infinite;
}

.spinner-icon--centered {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -8px;
  margin-left: -8px;
}

.spinner-icon--active {
  display: block;
}

.finish-icon {
  width: 168.35px;
  height: 120px;

  object-fit: cover;
}

.finish-icon__wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.container {
  display: none;
}

.container--active {
  display: block;
}

.main-container {
  flex-direction: column;
  align-items: center;
}

.main-container.container--active {
  display: flex;
}

.main-container > * {
  margin-bottom: 18px;
}

.main-container > *:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .main-container {
    flex-direction: row-reverse;
    justify-content: space-between;

    width: 78.4%;
    max-width: 876px;
  }

  .main-container > * {
    margin-bottom: 0;
    margin-left: 30px;
  }

  .main-container > *:last-child {
    margin-bottom: 0;
    margin-left: 0;
  }
}

.instructions-container {
  background: #f9f9fa;

  display: flex;
  flex-direction: column;
  padding: 21px 16px 31px 25px;
  width: 77.3%;
  max-width: 452px;
  border-radius: 7.04514px;
}

.instructions-container > * {
  margin-bottom: 26px;
}

@media (min-width: 1024px) {
  .instructions-container {
    padding: 38px 28px 57px 44px;
  }

  .instructions-container > * {
    margin-bottom: 47px;
  }
}

.instructions-container > *:last-child {
  margin-bottom: 0;
}

.instruction-section {
  font-family: "Roboto", sans-serif;
  color: #363b44;
  display: flex;
}

.instruction-section__heading {
  font-weight: 700;
}

.instruction-section__row {
  font-size: 12px;
  line-height: 113.55%;
}

@media (min-width: 1024px) {
  .instruction-section__row {
    font-size: 18px;
  }
}

.instruction-section__row:first-child {
  margin-right: 6px;
}

.check-icon {
  width: 13px;
  height: 13px;
}

.qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code__wrapper {
  width: 141px;
  height: 141px;
  margin: 0 auto 24px;

  position: relative;
}

@media (min-width: 1024px) {
  .qr-code__wrapper {
    width: 246px;
    height: 246px;
  }
}

.qr-code {
  display: none;

  width: 100%;
}

.qr-code--active {
  display: inline;
}

.caption {
  font-family: "PT Sans", sans-serif;
  font-size: 21px;
  line-height: 127.74%;
  font-weight: 700;
  color: #2e2e2e;
  text-align: center;

  margin: 0;
}

@media (min-width: 1024px) {
  .caption {
    font-size: 36px;
  }
}

.caption--secondary {
  color: #363b44;
}

.caption--finish {
  margin-bottom: 10px;
}

.caption--main-container {
  max-width: 140px;
  width: 100%;
}

@media (min-width: 1024px) {
  .caption--main-container {
    max-width: 236px;
  }
}

.description {
  font-family: "PT Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 34px;
  text-align: center;

  color: #2e2e2e;
  margin: 0;
}

@keyframes nprogress-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
