body {
  background: linear-gradient(
    to right,
    rgba(250, 222, 227, 1),
    rgba(255, 192, 204, 1),
    rgba(250, 222, 227, 1)
  );
}
.main {
  width: 100%;
  /* height: 100vh; */
  height: 200vh;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  /* background: url(/img/about/main.png);
  background-size: cover;
  background-repeat: no-repeat; */
}
.main-first {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  background: url(/img/about/main.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.main-slogan {
  width: 88%;
  
}
.main-slogan-h1 {
  font-family: AeonikProMedium, sans-serif;
  font-size: 16.9vw;
  line-height: 100%;
}
.main-slogan-h2 {
  font-family: AeonikProRegularItalic, sans-serif;
  font-size: 13.2vw;
  line-height: 100%;
  font-weight: normal;
  text-align: right;
  filter: blur(0.1vw);
  text-shadow: 0 0 0.312vw rgb(255, 255, 255);
  padding: 0.2vw;

  mask-image: linear-gradient(
    to right,
    rgb(255, 255, 255, 0.9) 20%,
    rgba(255, 255, 255, 0.4) 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    rgb(255, 255, 255, 0.9) 20%,
    rgba(255, 255, 255, 0.4) 100%
  );
}

/*о нас*/
.about {
  background: url(/img/about/about.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 7.7vw 7.8vw 10vw 11vw;
}
.about-title {
  margin-bottom: 1.8vw;
  color: rgba(239, 131, 165, 1);
}
.about-subtitle {
  font-family: AeonikProMediumItalic, sans-serif;
  color: transparent;
  font-size: 3.3vw;
    max-width: 44vw;
    margin-bottom: 5.7vw;
  background-image: linear-gradient(
    75deg,
    rgba(255, 255, 255, 0.52) 29%,
    #ffffff 35%,
    rgba(255, 255, 255, 0.52) 40%,
    rgba(255, 255, 255, 0.52) 50%,
    rgba(255, 255, 255, 0.52) 61%,
    #ffffff 64%,
    rgba(255, 255, 255, 0.52) 68%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.about-subtitle span {
  color: var(--white);
}
.about-right {
  max-width: 47.7vw;
  margin: 0 0 0 auto;
}
.about-right-txt {
  font-size: 2vw;
  margin-bottom: 1.8vw;
}




.main {
    width: 100%;
    height: 200vh; /* Оставляем для пространства скролла */
    position: relative;
  }
  
  .main-first {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    background: url(/img/about/main.png);
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .about {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 4;
    opacity: 0;
    background: url(/img/about/about.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 7.7vw 7.8vw 10vw 11vw;
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  /* Стили для когда блоки больше не фиксированные */
  .main-first.scrolled {
    position: absolute;
    top: 0;
    transform: translateY(0);
  }
  
  .about.scrolled {
    position: absolute;
    top: 100vh;
    transform: translateY(0);
  }
  
  /* Анимация текста */
  .about-subtitle,
  .about-right-txt {
    opacity: 0;
    transform: translateY(-3vw);
    transition: all 0.8s ease;
  }
  
  /* Классы для анимации */
  .main-first.hide {
    opacity: 0;
    pointer-events: none;
  }
  
  .about.show {
    opacity: 1;
    z-index: 6;
  }
  
  .about.show .about-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
  }
  
  .about.show .about-right-txt {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
  }






/*описание + ссылка к каталогу*/
.description {
  background-color: rgba(253, 187, 199, 1);
  padding: 4.58vw 3.4vw 3.3vw 6.25vw;
  gap: 1.25vw;
  display: flex;
  align-items: start;
  justify-content: space-between;
}
.top-text {
  font-size: 2vw;
  max-width: 46.5vw;
  margin-bottom: 1.45vw;
}
.bottom-text {
  color: rgba(255, 255, 255, 0.52);
  font-size: 2vw;
  max-width: 44.3vw;
  margin: 0 0 4.1vw 8.5vw;
  font-family: AeonikProMedium, sans-serif;
}
.bottom-text span {
  color: #fff;
  font-family: AeonikProMediumItalic, sans-serif;
}
.main-catalog-link {
  display: flex;
  justify-content: space-between;
  max-width: 28vw;
  border-radius: 3.38vw;
  padding: 1.7vw 1.6vw 1.6vw 1.8vw;
  background: linear-gradient(
    to right,
    rgba(253, 187, 199, 1),
    rgba(255, 211, 218, 1)
  );
  font-size: 3vw;
}
.main-catalog-link img {
    width: 50%;
  }
.main-catalog-link-right {
  display: grid;
  align-content: space-between;
  justify-items: end;
}
.main-catalog-link-circle {
  width: 5vw;
  height: 5vw;
}
.right {
  width: 36vw;
  height: 46.9vw;
  border-radius: 3.125vw;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.right video {
  width: 100%;
}

/*переключение слайдов*/
.slide {
  padding: 10vw 1.66vw;
  position: relative;
}
.main-swiper {
  width: 100%;
  height: 100%;
}

.slide-container {
  display: flex;
  gap: 3.75vw;
  width: 100%;
  height: 100%;
}

.slide-right {
  flex: 1;
  border-radius: 4vw;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s ease;
}

.slide-left-mask {
  position: relative;
  width: 56.3vw;
  height: 36.25vw;
  padding: 0 8.85vw 0 3.6vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(250, 222, 227, 1);
  overflow: hidden;

  mask-image: url(/img/union.png);
  -webkit-mask-image: url(/img/union.png);
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}
.slide-text {
  font-size: 2.5vw;
  font-family: AeonikProMedium, sans-serif;
  color: var(--pink-highlight);
}
#slide-swiper-btns {
  position: absolute;
  z-index: 5;
  bottom: 0;
  right: 41.8%;
  background-color: rgba(253, 187, 199, 1);
}

@media (max-width: 1023px) and (orientation: portrait) {
  .main {
    /* height: 100vh; */
    height: 200vh;
  }

  .main-slogan-h1 {
    font-size: 30.5vw;
  }
  .main-slogan-h2 {
    font-size: 16vw;
  }

  /*о нас*/
  .about {
    padding: 25vw 4vw 6.1vw 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
  }
  .about-subtitle,
  .about-right-txt {
    transform: translateY(-12vw);
  }
  .about-title {
    margin-bottom: 16.5vw;
  }
  .about-subtitle {
    font-size: 8.1vw;
    max-width: 84vw;
    margin-bottom: 13.2vw;
  }
  .about-right {
    max-width: 88.2vw;
    margin: 0;
  }
  .about-right-txt {
    font-size: 4vw;
    /* margin-bottom: 48vw; */
  }

  /*описание + ссылка к каталогу*/
  .description {
    padding: 6.1vw;
    flex-direction: column;
    gap: 6.1vw;
  }
  .top-text {
    font-size: 5vw;
    max-width: 100%;
    margin-bottom: 5vw;
  }
  .bottom-text {
    font-size: 5vw;
    max-width: 100%;
    margin: 0 0 8.1vw 10vw;
  }
  .main-catalog-link {
    max-width: 80.6vw;
    margin: 0 auto;
    border-radius: 9.5vw;
    padding: 4.8vw 5.5vw 5.5vw 5vw;
    font-size: 8.1vw;
  }
  .main-catalog-link img {
    width: 50%;
  }
  .main-catalog-link-circle {
    width: 14.3vw;
    height: 14.3vw;
  }
  .right {
    width: 100%;
    height: 70vh;
    border-radius: 10vw;
  }

  /*переключение слайдов*/
  .slide {
    padding: 6.1vw 0;
    height: 100vh;
  }

  .slide-container {
    flex-direction: column;
    gap: 10vw;
  }

  .slide-right {
    border-radius: 12.7vw;
    max-height: 100vw;
  }

  .slide-left-mask {
    width: 100%;
    height: 45vh;
    border-radius: 50px;
    padding: 6.1vw;
    mask-image: url(/img/union-mob.png);
    -webkit-mask-image: url(/img/union-mob.png);
    mask-size: 100% 220%;
    -webkit-mask-size: 100% 220%;
    mask-position: bottom;
    -webkit-mask-position: bottom;
  }
  .slide-text {
    font-size: 5vw;
  }
  #slide-swiper-btns {
    width: 27vw;
    padding: 1.6vw 2vw;
    bottom: 52%;
    right: 2%;
  }
  .swiper-button-prev, .swiper-button-next {
    width: 10vw !important;
    height: 10vw !important;
  }
}
