@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

body {
  background: #000;
  font-family: "Manrope", sans-serif;
  font-style: normal;
  color: #001141;
  font-weight: normal;
}

img {
  width: 100%;
  pointer-events: none;
}

.wrapper {
  overflow: hidden;
}

/* #region VIDEO BACKGROUND */
.video-background__wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  background: url(../images/bg_image_new.jpg);
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
}

.video-background__wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(83deg, rgba(0,0,0,0) 13%, rgba(0,0,0,0.8) 53%);
}

@media (max-width: 768px) {
  .video-background__wrapper::after {
    background: linear-gradient(0deg, rgba(0,0,0,0) 13%, rgba(0,0,0,0.8) 90%);
  }
  .video-background__wrapper {
    background-image: url('../images/bg_adv_mobile.jpg');
    background-position: 40% 0%;
  }
}

#videoBackground {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* #endregion */

/* #region Container */
.container {
  max-width: 1026px;
  margin: 0 auto;
  padding: 0 15px;
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }
}
/* #endregion */

/* #region HEADER */
.header {
  padding: 16px 0;
  background: #fff;
}

@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
}

.header__logo img {
  max-width: 250px;
  width: 100%;
}
/* #endregion */

/* #region START */
.start__wrapper {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .start__wrapper {
    flex-direction: column;
    justify-content: flex-start;
  }
}

.start__img {
  width: 100%;
  height: 100%;
  display: flex;
}

@media (min-width: 769px) {
  .start__img {
    display: none;
  }
}

.start__img picture {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  object-fit: cover;
  object-position: right center;
}

.start__img img {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  object-fit: cover;
  object-position: right center;
}

@media (max-width: 768px) {
  .start__img picture {
    min-height: 100%;
    max-height: 100%;
    height: 100%;
  }

  .start__img img {
    min-height: 100%;
    max-height: 100%;
    height: 100%;
  }
}

@media (max-width: 390px) {
  .start__img img {
    max-height: 220px;
  }
}

.start {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 0 50px;
  max-width: 700px;
  width: 100%;
  margin: 0 0 0 auto;
  gap: 50px;
}

@media (max-width: 768px) {
  .start {
    min-height: auto;
    justify-content: flex-start;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .start {
    padding: 0 15px;
  }
}

.start[style*="display: none"] {
  opacity: 0;
  transform: translateY(-20px);
}

.start__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 30px;
  align-items: center;
  max-width: 560px;
  width: 100%;
}

.start__main {
  max-width: 560px;
  width: 100%;
}

.start__logo {
  max-width: 250px;
  width: 100%;
}

@media (max-width: 576px) {
  .start__logo {
    max-width: 150px;
  }
}

.start__head-title {
  color: #FFF;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

@media (max-width: 576px) {
  .start__head-title {
    font-size: 14px;
    font-weight: 500;
    text-wrap: balance;
  }
}

.start__head-title span {
  text-wrap: nowrap;
  color: #2590FF;
}

.start__title {
  padding: 130px 50px 20px;
  color: #FFF;
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .start__title {
    font-size: 24px;
  }
}

.start__subtitle {
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 25px;
}

@media (max-width: 576px) {
  .start__subtitle {
    font-size: 14px;
  }
}

.start__button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  border: none;
  border-radius: 15px;
  background: linear-gradient(90deg, #2590FF 0%, #0036CA 100%);
  padding: 20px ;
  max-width: 260px;
  width: 100%;
  height: 74px;
  cursor: pointer;
  transition: all 0.2s linear;
  margin: 0 auto; 
}

@media (max-width: 375px) {
  .start__button {
    font-size: 20px;
  }
}

@media (hover: hover) {
  .start__button:hover {
    scale: 1.05;
  }
}

@media (hover: none) {
  .start__button:active {
    scale: 1.05;
  }
}

.start__footer {
  padding-bottom: 30px;
}
/* #endregion */

/* #region QUESTION */
.questions {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* min-height: calc(100vh - 70px); */
  min-height: 100vh;
  padding: 15px 0;
}

@media (max-width: 768px) {
  .questions {
    /* min-height: calc(100vh - 62px); */
  }
}

.question {
  display: none;
  display: flex;
  width: 100%;
  margin: 0 auto;
  transition: all 0.5sease;
}

.question[style*="display: flex"] {
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question__box {
  width: 100%;
}

.question__header {
  background: #041E42;
  padding: 10px;
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.question__header img {
  max-width: 250px;
}

.question__box-items {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}

@media (max-width: 992px) {
  .question__box-items {
    flex-direction: column;
  }
}

.question__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  max-width: 640px;
  width: 100%;
  min-height: 600px;
  height: 100%;
  padding: 30px;
  border-radius: 0 0 0 24px;
  background: #FFF;
}

@media (max-width: 992px) {
  .question__content {
    max-width: 100%;
    min-height: auto;
    border-radius: 0;
    gap: 130px;
  }
}

@media (max-width: 576px) {
  .question__content {
    padding: 20px 15px;
  }
}

.question__title {
  margin-bottom: 20px;
}

.question__title h2 {
  color: #001141;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

@media (max-width: 576px) {
  .question__title h2 {
    font-size: 18px;
    text-align: center;
    text-wrap: balance;
  }
}

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

.question__answer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.question__answer button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-radius: 12px;
  border: 1px solid #2590FF;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .question__answer button {
    padding: 16px;
  }
}

.question__answer button:hover {
  border: 1px solid #2590FF;
  background: rgba(37, 144, 255, 0.10);
}

.question__answer button:active {
  border: 1px solid #2590FF;
  background: rgba(37, 144, 255, 0.10);
}

.question__answer button.active {
  border: 1px solid #2590FF;
  background: rgba(37, 144, 255, 0.25);
}

.question__answer .button__hover {
  border: 1px solid #2590FF;
  background: rgba(37, 144, 255, 0.10);
}

.check {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(22, 33, 51, 0.15);
  position: relative;
  transition: all 0.3s ease;
}

.check.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: transparent;
  border: 5px solid #2590FF;
  animation: checkPop 0.3s ease forwards;
}

@keyframes checkPop {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.question__answer button span {
  color: #001141;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.2px;
  text-align: left;
}

@media (max-width: 768px) {
  .question__answer button span {
    font-size: 16px;
  }
}

.navigation {
  display: flex;
  align-items: center;
  gap: 5px;
}


@media (max-width: 992px) {
  .navigation {
    justify-content: center;
  }
}

.navigation__step {
  width: 30px;
  height: 4px;
  min-width: 30px;
  min-height: 3px;
  border-radius: 6px;
  background: rgba(37, 144, 255, 0.20);
}

.navigation__step_active {
  background: #2590FF;
}

.question__img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 360px;
  width: 100%;
  border-radius: 0 0 24px 0;
  overflow: hidden;
}

@media (max-width: 992px) {
  .question__img {
    border-radius: 0 0 24px 24px;
    max-width: 992px;
    width: 100%;
  }
}

.question__img picture {
  max-width: 100%;
  height: 100%;
  object-fit: cover; 
}

.question__img img {
  max-width: 100%;
  height: 100%;
  object-fit: cover; 
}

@media (max-width: 992px) {
  .question__img picture {
    width: 100%;
  }

  .question__img img {
    width: 100%;
  }
}
/* #endregion */

/* #region FINAL */
.final {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 15px 0;
}

.final[style*="display: flex"] {
  display: flex;
  opacity: 1;
  animation: fadeIn 0.5s ease forwards;
}

.final__content {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

@media (max-width: 992px) {
  .final__content {
    flex-direction: column;
  }
}

.final__registration {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: stretch;
  min-height: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .final__registration {
    max-width: 100%;
  }
}

.final__form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.final__form h2 {
  text-align: center;
  color: #001141;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-wrap: balance;
  margin-bottom: 20px;
}

@media (max-width: 576px) {
  .final__form h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }
}

.final__form p {
  color: #001141;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 30px;
  text-wrap: balance;
}

@media (max-width: 576px) {
  .final__form p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
}

.final__form input {
  border-radius: 12px;
  border: none;
  border: 1px solid #2590FF;
  color: #001141;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  padding: 22px 20px;
  outline: none;
  transition: all .2s linear;
}

@media (max-width: 992px) {
  .final__form input {
    padding: 16px;
  }
  
}

.final__form input::placeholder {
  color: rgba(0, 17, 65, 0.60);
}

.final__form input:focus {
  background: rgba(37, 144, 255, 0.10);
}

.final__form button {
  border-radius: 15px;
  border: none;
  background: linear-gradient(90deg, #2590FF 0%, #0036CA 100%);
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  padding: 20px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s linear;
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  height: 74px;
}

@media (max-width: 992px) {
  .final__form button {
    height: 64px;
  }
}

@media (hover: hover) {
  .final__form button:hover {
    scale: 1.03;
  }
}

@media (hover: none) {
  .final__form button:active {
    scale: 1.03;
  }
}

.final__form button:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    hsla(0, 0%, 100%, 0.2) 10%,
    hsla(0, 0%, 100%, 0.4) 20%,
    hsla(0, 0%, 100%, 0.6)
  );
  width: 20px;
  -webkit-transform: skewX(-45deg);
  transform: skewX(-45deg);
  left: -20%;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  -webkit-animation-name: blick;
  animation-name: blick;
  -webkit-animation-duration: 6s;
  animation-duration: 6s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@keyframes blick {
  60% {
    left: 100%;
  }
  to {
    left: 130%;
  }
}

/* #endregion */

.iti input {
  width: 100%;
}
video::-webkit-media-controls-play-button {
  display: none !important;
}

video::-webkit-media-controls-start-playback-button {
  display: none !important;
}