/* Hero */

.hero {
  position: relative;
  padding: 0px 2em;
}

.hero-slide {
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-warm-white);
  filter: blur(10px);
}

.hero-slide.swiper-slide-active {
  filter: blur(0);
  transition: filter 0.4s ease-out 0.1s;
}

.hero-slide__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2em;
}

.hero h2 {
  font-size: 2.82em;
  margin-bottom: 16px;
}

.hero-slider__partners {
  margin: 0 0 10px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.hero-slide__content {
  width: 360px;
}

.hero-slide__content p {
  font-size: 0.9em;
  font-weight: 500;
  max-width: 16em;
}

.hero-slide__btn {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 2.3em;
}

.scroll-down {
  position: absolute;
  right: 2em;
  bottom: 0;
  height: 120px;
  width: 7px;
  z-index: 3;
}

.scroll-down__line {
  width: 7px;
  height: 120px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
}

.scroll-down__line::after {
  content: "";
  width: 7px;
  height: 120px;
  right: 0;
  background-color: var(--color-red);
  position: absolute;
  animation: 2s ease 0s infinite normal none running scroll-down-desktop;
}

.hero-pagination {
  position: fixed;
  left: 2em;
  bottom: 2em;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  border: 0.15em solid var(--color-red);
  color: var(--color-warm-white);
  background-color: var(--color-red);
  border-radius: 10em;
  display: flex;
  align-items: center;
  font-size: 1.2em;
  z-index: 2;
}

.hero-pagination__item {
  width: 2.7em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pagination__current {
  background-color: var(--color-warm-white);
  color: var(--color-red);
  border-top-left-radius: 10em;

  border-bottom-left-radius: 10em;
}

.hero-slide__img {
  position: relative;
  pointer-events: none;
}

.hero-slide__img .main-img {
  position: relative;
  max-width: 31em;
}

.hero-slide__img .rotate-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(0deg) scale(0.4);
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: all 0.4s ease-out;
}

.hero-slide.swiper-slide-active .hero-slide__img .rotate-img {
  transform: translateX(-50%) rotate(0deg) scale(1);
  transition: transform 0.4s ease-out 0.4s;
  animation: spinX360 10s linear infinite 1s;
}

@keyframes spinX360 {
  from {
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
  to {
    transform: translateX(-50%) scale(1) rotate(360deg);
  }
}

@keyframes scroll-down-desktop {
  0% {
    -webkit-transform: translateY(-120px);
    transform: translateY(-120px);
  }
  50% {
    -webkit-transform: translateY(-120px);
    transform: translateY(-120px);
  }
  100% {
    -webkit-transform: translateY(120px);
    transform: translateY(120px);
  }
}

.is-mobile {
  display: none;
}

#fullpage {
  position: fixed !important;
  height: 100dvh !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  display: flex;
  flex-direction: column;
  /* pointer-events: none; */
}

.music-play {
  position: fixed;
  right: 2em;
  bottom: 2em;
  z-index: 9;
  height: 2.3em;
  display: flex;
  align-items: center;
}

@media (hover: none) {
  #fullpage .section {
    width: 100%;
    height: 100%;
  }
}

@media only screen and (max-width: 1536px) {
  .hero-slider__partners img {
    max-width: 90%;
  }
}

@media only screen and (max-width: 991px) {
  .hero {
    padding: 0px;
    overflow: hidden;
  }

  .is-mobile {
    display: block;
  }
  .scroll-down {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    height: 72px;
  }

  .scroll-down__line::after,
  .scroll-down__line {
    height: 72px;
  }

  #fullpage {
    height: calc(100dvh - 80px - 4em) !important;
    z-index: 10;
  }

  @keyframes scroll-down-desktop {
    0% {
      -webkit-transform: translateY(-72px);
      transform: translateY(-72px);
    }
    50% {
      -webkit-transform: translateY(-72px);
      transform: translateY(-72px);
    }
    100% {
      -webkit-transform: translateY(72px);
      transform: translateY(72px);
    }
  }

  .hero-slide__wrap {
    flex-direction: column;
    padding: 0px 20px;
  }

  .is-desktop {
    display: none;
  }

  .hero-slide__btn {
    justify-content: center;
  }

  .hero-slide__content {
    max-width: 100%;
    width: 100%;
  }

  .hero-slide__wrap {
    width: 100%;
  }

  .hero-slide__content p {
    padding-left: 50%;
    max-width: 90%;
  }

  .hero-slide__btn {
    margin-top: 4em;
  }
  .hero-slide__img .main-img {
    max-width: 35em;
  }

  .hero-pagination {
    bottom: 20px;
    left: 20px;
    width: 5.7em;
    margin-bottom: 0px;
  }

  .hero-slide__title.is-mobile {
    position: absolute;
    left: 20px;
    top: 130px;
    z-index: 3;
  }

  .hero h2 {
    font-size: 3.4em;
    margin-bottom: 16px;
  }

  .hero-slide__content p {
    font-size: 1.2em;
  }

  .hero-slide__content {
    padding-bottom: 100px;
  }

  .hero-slide {
    align-items: flex-end;
  }

  .hero-slide__img {
    padding-top: 130px;
  }

  .hero-slider__partners.is-mobile {
    position: absolute;
    top: calc(130px + 13%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    right: 0%;
    max-width: 8em;
  }

  .music-play {
    right: 20px;
    bottom: 20px;
  }
}

@media only screen and (max-width: 575px) {
  .hero-slide__content p {
    max-width: 100%;
    font-size: 1.05em;
  }

  .hero-slide__content {
    padding-bottom: 80px;
  }

  .scroll-down {
    height: 52px;
  }

  .scroll-down__line::after,
  .scroll-down__line {
    height: 52px;
  }

  .hero-slide__title.is-mobile {
    top: 105px;
  }

  @keyframes scroll-down-desktop {
    0% {
      -webkit-transform: translateY(-52px);
      transform: translateY(-52px);
    }
    50% {
      -webkit-transform: translateY(-52px);
      transform: translateY(-52px);
    }
    100% {
      -webkit-transform: translateY(52px);
      transform: translateY(52px);
    }
  }
}

/* Biography */

.biography {
  padding: 0px 2em;
  overflow: hidden;
  height: 300vh;
}

.biography__banner {
  min-height: 100dvh;
  padding-top: 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 4em;
}

.biography__portret {
  position: relative;
  display: block;
  z-index: 1;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.biography__logo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 100%;
  width: 100%;
}

.biography__banner-text {
  position: relative;
  z-index: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.biography__banner-text :where(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 12px;
}

.biography__banner-text p {
  max-width: 23em;
}
.biography__banner-image {
  width: calc(40% - 4em);
  position: absolute;
  display: flex;
  align-items: flex-end;
  bottom: 0;
  right: 0;
}

.biography-content {
  padding: 10em 2em;
}

.biography-content :where(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 38px;
  color: var(--color-red);
  text-transform: uppercase;
}

.biography-content__item:not(:last-of-type) {
  margin-bottom: 5em;
}

.biography-content__wrap {
  display: flex;
  gap: 20px;
}

.biography-content__line {
  height: auto;
  width: 4px;
  background-color: var(--color-red-white);
  position: relative;
}

.biography-content__line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: var(--steps-height, 0px);
  background-color: var(--color-red);
}

.biography-content__items {
  flex: 1;
  padding-top: 5em;
}

.biography-content__item :where(h2, h3, h4, h5, h6) {
  position: relative;
}

.biography-content__item p {
  padding-left: 2em;
}

.biography-content__item ul {
  padding-left: 5em;
}

.biography-content__item :where(h2, h3, h4, h5, h6)::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--color-red);
  border-radius: 50%;
}

.biography-content__item {
  opacity: 0;
  transition: all 0.4s ease-out;
}

.biography-content__item.is--active {
  opacity: 1;
}

.hero-pagination.is--biography {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.3s ease-out;
  bottom: 2em;
}

.hero-pagination.is--biography.is--active {
  opacity: 1;
}

.biography-content__next {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10em;
}

.next-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-red);
  width: 100%;
  font-size: 1.33em;
}

.next-link img {
  width: 100%;
  max-width: 2.8em;
  height: 2.8em;
  border-radius: 50%;
  background-color: var(--color-red);
}

.biography__text {
  position: absolute;
  bottom: 3em;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  opacity: 0;
}

.biography__text p {
  color: var(--color-red);
}

@media only screen and (max-width: 991px) {
  .biography {
    padding: 0px 20px;
  }

  .biography__banner {
    padding-top: 130px;
    flex-direction: column;
  }

  .biography__banner-image,
  .biography__banner-text {
    width: 100%;
  }

  .biography__portret {
    position: relative;
    display: block;
    z-index: 1;
    max-width: 50%;
    width: 100%;
    max-width: 80%;
  }

  .biography__logo {
    position: absolute;
    right: 0;
    max-width: 120%;
    width: 120%;
    right: -45%;
    bottom: -5%;
  }

  .biography-content {
    padding: 5em 20px 10em;
  }

  .biography-content__wrap {
    gap: 10px;
  }
}

@media only screen and (max-width: 575px) {
  .biography__banner {
    padding-top: 105px;
  }

  .biography-content__line::before,
  .biography-content__line {
    width: 2px;
  }

  .biography-content__item :where(h2, h3, h4, h5, h6)::before {
    left: -15px;
    width: 8px;
    height: 8px;
  }

  .biography__text p {
    font-size: 1em;
  }
}

/* Not Found */

.not-found__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100dvh;
  gap: 4em;
  padding: 10em 2em;
}

.not-found__text {
  width: 100%;
}

.not-found__img {
  position: relative;
  text-align: center;
}

.not-found__img img {
  width: 1em;
  margin: 0;
  animation: spin360 10s linear infinite;
}

.not-found__img h1 {
  color: var(--color-red);
  font-weight: 600;
  font-size: 20em;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found__back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2em;
}
.not-found__text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 991px) {
  .not-found__wrap {
    padding: 10em 20px;
  }
}

@media only screen and (max-width: 479px) {
  .not-found__img h1 {
    font-size: 14em;
  }
}

/* Contact */

.contact {
  padding: 10em 2em;
  min-height: 80vh;
}

.contact__title {
  text-align: center;
  padding-bottom: 5em;
}

.contact__title h1 {
  color: var(--color-gray);
}

.contact__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 3em;
}

.contact__item {
  width: calc(50% - 3em / 2);
  background-color: var(--color-warm-white);
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.16);
  padding: 1.8em;
  border-radius: 1em;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.contact__item-text {
  flex: 1;
}

.contact__item-text ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
  margin-top: 2.5em;
  white-space: nowrap;
}

.contact__item-text h4 {
  font-size: 2.4em;
}

.contact__item-text ul li a {
  color: var(--color-red);
}

.contact__item-img {
  width: 8em;
  min-width: 8em;
}

.contact__item-img img {
  width: 100%;
}

@media only screen and (max-width: 991px) {
  .contact {
    padding: 130px 20px 10em 20px;
  }

  .contact__wrap {
    flex-direction: column;
  }

  .contact__item {
    width: 100%;
  }

  .contact__item-text h4 {
    font-size: 2.8em;
  }
}

@media only screen and (max-width: 575px) {
  .contact {
    padding: 105px 20px 10em 20px;
  }
}

/* Ordination */

.ordination {
  padding: 0 2em 10em;
}

.ordination__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3em;
  padding: 7em 0;
}

.ordination__text,
.ordination__image {
  width: calc(50% - 3em / 1.5);
}

.ordination__text :where(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 12px;
}

.ordination__text p {
  max-width: 23em;
}

.ordination__image img {
  width: 100%;
  height: auto;
  border-radius: 1em;
}

@media only screen and (max-width: 991px) {
  .ordination {
    padding: 0 20px 10em;
  }

  .ordination__text,
  .ordination__image {
    width: 100%;
  }

  .ordination__text br {
    display: none;
  }

  .ordination__text p {
    max-width: 100%;
  }

  .ordination__wrap {
    padding-top: 130px;
  }
}

@media only screen and (max-width: 575px) {
  .ordination__wrap {
    padding-top: 105px;
  }
}
