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

html {
  font-size: 18px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

img {
  width: 100%;
  height: auto;
}

.title {
  font-size: 48px;
  line-height: 1;
  margin-top: 128px;
  margin-bottom: 64px;
  max-width: 500px;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 15px;
}

.scroll-wrapper {
  position: relative;
  padding: 64px 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 100px;
  margin-bottom: 256px;
  background-color: #dbdbdb;
}

.img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  width: 150px;
  height: 100vh;
}
.img__top, .img__middle, .img__bottom {
  position: absolute;
}
.img__top {
  z-index: 5;
  opacity: 0;
  display: none;
}
.img__middle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 3;
  opacity: 0;
  display: none;
}
.img__middle--bottom {
  opacity: 1;
  transform: translateY(-10px);
}
.img__bottom {
  z-index: 2;
}

.card {
  display: flex;
  flex-direction: column;
}
.card__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  scroll-snap-align: start;
}
.card__title {
  font-size: 28px;
  margin-bottom: 12px;
}
.card__text {
  color: rgba(1, 1, 1, 0.8);
}

@media (max-width: 800px) {
  html {
    font-size: 16px;
  }
  .title {
    max-width: 300px;
    font-size: 28px;
  }
  .card__title {
    font-size: 20px;
  }
  .scroll-wrapper {
    padding: 32px 15px;
    grid-template-columns: 0.5fr 1fr;
    gap: 50px;
  }
  .img {
    width: 100px;
  }
}/*# sourceMappingURL=style.css.map */