@font-face {
  font-family: NB Architekt Std;
  src: url('./fonts/NBArchitektRegular.woff2') format('woff2'),
       url('./fonts/NBArchitektRegular.woff') format('woff'),
       url('./fonts/NBArchitektRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: DM Sans;
  src: url('./fonts/DMSans-Light.woff2') format('woff2'),
       url('./fonts/DMSans-Light.woff') format('woff'),
       url('./fonts/DMSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: DM Sans;
  src: url('./fonts/DMSans-Regular.woff2') format('woff2'),
       url('./fonts/DMSans-Regular.woff') format('woff'),
       url('./fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*,
::after,
::before {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: sans-serif;
}
button,
input,
select,
textarea {
    font: inherit;
}
li,
ol,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
a {
    text-decoration: none;
}

body.splash {
    overflow: hidden;
}

.onboarding-section {
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.onboarding-section.intro {
  background: no-repeat url("../assets/images/new_onboarding_into_background.webp");
  background-size: cover;
}

.onboarding-section.intro.last {
  background: no-repeat url("../assets/images/new_onboarding_into_background_bw.webp");
}

.onboarding-section.intro .onboarding-section__appbar {
  background-color: transparent;
}

.onboarding-section__content {
    margin-top: 60px;
    overflow-y: scroll;
    height: calc(100dvh - 60px);
    padding-bottom: 52px;
}

.onboarding-section__appbar__logo {
    margin-left: 10px;
}

.onboarding-section__appbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    z-index: 2;
    background-color: #D6D6D6;
}

.onboarding-section__appbar.intro {
  background-color: transparent;
}

.onboarding-section__btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52px;
    background-color: #00C742;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9;
    transition: all 0.1s ease-in;
}

.onboarding-section__btn.invisible {
    pointer-events: none;
    transition: all 0.1s ease-in;
    opacity: 0;
}

.onboarding-section__appbar__back {
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.bubble.invisible {
    opacity: 0;
    bottom: 44px;
    transition: all 0.1s ease-in;
}

.btn-text {
    font-family: NB Architekt Std;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 12%;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
}

.onboarding-section__goals {
    padding: 0 24px;
}

.onboarding-section__intro {
  height: 100%;
  padding: 0 24px;
}

.onboarding-section__bricks {
  padding: 0 24px;
}

.onboarding-section__goals {
  padding: 0 24px;
}

.section-title {
  font-family: DM Sans;
  font-weight: 300;
  font-size: 28px;
  line-height: 30px;
  letter-spacing: -0.56px;
  color: #000;
  position: relative;
  z-index: 5;
  text-align: left;
}

@media (min-width: 600px) {
  .section-title {
    max-width: 380px;
  }
}

.goals-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.intro-step {
  height: 100%;
}

.pyramid {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 2458px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  transform: translate(-541px, 126px);
}

.intro_section-title {
    opacity: 0;
    bottom: -10px;
    position: relative;
}

.pile {
    position: absolute;
    max-width: 614px;
    bottom: -460px;
    right: -40px;
}

.pile-gradient {
    position: absolute;
    max-width: 614px;
    bottom: 40px;
    right: -40px;
    z-index: 2;
    opacity: 0;
}

.pile-gradient-green {
    position: absolute;
    max-width: 614px;
    bottom: 40px;
    right: -40px;
    z-index: 2;
    opacity: 0;
}

.pile-scanner {
    position: absolute;
    max-width: 614px;
    bottom: 40px;
    right: -40px;
    z-index: 3;
    opacity: 0;
}

.cloud-one {
  position: absolute;
  max-width: 411.56px;
  max-height: 231px;
  top: 171px;
  left: -240px;
  opacity: 0;
  z-index: 3;
}

.cloud-two {
  position: absolute;
  max-width: 1231.65px;
  max-height: 595px;
  top: -17px;
  left: 160px;
  z-index: 2;
  opacity: 0;
}

.cloud-three {
  position: absolute;
  max-width: 718.29px;
  max-height: 347px;
  top: -19px;
  right: -400px;
  z-index: 2;
  opacity: 0;
}

.searcher {
    position: absolute;
    bottom: 16%;
    left: 60px;
    height: 22px;
    width: 17px;
    z-index: 3;
    opacity: 0;
}

.bricks {
    background-image: url('../assets/images/bricks_landscape.webp');
    background-size: cover;
    background-position: 100% 0;
    background-repeat: no-repeat;
    position: absolute;
    bottom: calc(16% + 26px);
    left: 81px;
    height: 200px;
    width: 160px;
    overflow: hidden;
    border-radius: 20px;
    z-index: 3;
    opacity: 0;
}

.phone-frame {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    overflow: hidden;
    bottom: 80px;
    z-index: 5;
    opacity: 0;
}

.bubble-text {
    white-space: nowrap;
}

@media (min-aspect-ratio: 6/8) and (orientation: landscape) {
    .pile {
        max-width: 810px;
    }

    .pile-gradient {
        max-width: 810px;
    }

    .pile-gradient-green {
        max-width: 810px;
    }

    .pile-scanner {
        max-width: 810px;
    }

    .searcher {
        left: 240px;
    }

    .bricks {
        left: 261px;
    }

    .phone-frame {
        width: 244px;
        bottom: 80px;
    }
}

.intro-label {
  position: absolute;
  right: 10px;
  bottom: 198px;
  padding: 8px 10px;
  background-color: #000;
  z-index: 3;
  opacity: 0;
}

.intro-label__text {
  margin: 0;
  padding: 0;
  font-family: NB Architekt Std;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.68px;
  vertical-align: bottom;
  text-transform: uppercase;
  color: #fff;
}

.magnifier-container {
  position: relative;
  width: 100%;
  height: 100dvh;
  background-image: url("./assets/noise-or-pixels.jpg"); /* шум, рассыпанные детали */
  background-size: cover;
  overflow: hidden;
}

.bricks-answers {
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bricks-answer {
  display: flex;
  padding: 16px;
  cursor: pointer;
  background: #ffffff80;
  border-radius: 16px;
  border: 2px solid transparent;
  gap: 16px;
  transition: all 0.1s ease-in;
}

.bricks-answer.selected {
  background: #ffffff;
  border: 2px solid #00c742;
  transition: all 0.1s ease-in;
}

.bricks-answer__image {
  max-height: 134px;
  max-width: 134px;
  border-radius: 4px;
}

.bricks-answer__container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bricks-answer__title {
  margin: 0;
  padding: 0;
  font-family: DM Sans;
  font-weight: 400;
  font-size: 19px;
  line-height: 22px;
  letter-spacing: -0.38px;
  color: #000;
}

.bricks-answer__description {
  margin: 0;
  padding: 0;
  font-family: DM Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.24px;
  color: rgba(0, 0, 0, 0.4);
}

.bubble {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  padding: 12px 24px 13px 24px;
  background: #fff;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  z-index: 3;
  opacity: 1;
  transition: all 0.2s ease-in;
}

.bubble__text {
  margin: 0;
  padding: 0;
  font-family: DM Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: -0.24px;
  color: #000;
}

.goals-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.goals-grid__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    cursor: pointer;
    background: #FFFFFF80;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.1s ease-in;
}

.goals-grid__item.selected {
    background: #FFFFFF;
    border: 2px solid #00C742;
    transition: all 0.1s ease-in;
}

.goals-grid-item__icon {
    margin-bottom: 46px;
    width: 44px;
    height: 44px;
    opacity: 0.4;
    transition: all 0.1s ease-in;
}

.goals-grid__item.selected .goals-grid-item__icon {
    color: #00C742;
    opacity: 1;
    transition: all 0.1s ease-in;
}

.goals-grid-item__name {
    padding: 4px;
    font-family: DM Sans;
    font-weight: 400;
    font-size: 19px;
    line-height: 22px;
    letter-spacing: -0.38px;
    vertical-align: bottom;
}

.onboarding-section__personal .section-title {
    padding: 0 24px;
    margin-bottom: 32px;
}

.personal-slider {
    margin: 0 !important;
}

.personal-slider__item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 6px;
    height: calc(100dvh - 299px);
}

.personal-slider-item__img {
    height: 100%;
}

.personal-slider-item__img img {
    max-width: 100%;
    height: auto;
}

.personal-slider-item__title {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    font-family: DM Sans;
    font-weight: 400;
    font-size: 19px;
    line-height: 22px;
    letter-spacing: -0.38px;
    color: #FFFFFF;
}

.personal-slider-item__title img {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 0;
    left: -2px;
}

.personal-slider-item__title span {
    padding-left: 24px;
    color: #04D901;
}

.slick-arrow {
    display: none !important;
}

.slick-dots li {
    margin: 0 3px !important;
    width: 6px !important;
    height: 6px !important;
}

.slick-dots button {
    padding: 0 !important;
    width: 6px !important;
    height: 6px !important;
    background-color: #000000 !important;
    opacity: 0.2;
    border-radius: 100% !important;
}

.slick-active button {
    opacity: 1;
}

.slick-dots button:before {
    display: none !important;
}

.slider-list__item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.slider-list-item__icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.slider-list-item__text {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 19px;
    line-height: 22px;
    letter-spacing: -0.38px;
    color: #8F8F8F;
}

.slider-list-item__text span {
    color: #000000;
}

.personal-slider-item__info {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 19px;
    line-height: 22px;
    letter-spacing: -0.38px;
    margin-bottom: 20px;
}

.personal-slider__item--text {
    padding: 55px 32px 0 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.personal-slider-item__btn {
    background: #FFFFFF;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 7px 14px;
    font-family: DM Sans;
    font-weight: 400;
    font-size: 19px;
    line-height: 22px;
    letter-spacing: -0.38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.personal-slider-item__btn img {
    margin-left: 7px;
}
