body {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-bg-reveal-container {
  font-size: 8rem;
  text-transform: uppercase;
  span {
    background: linear-gradient(90deg, red 50%, rgb(37, 37, 37) 0px);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% 100%;
  }
}

.flex-gallery {
  display: flex;
  max-width: 100%;
  height: 500px;
  img {
    flex-grow: 1;
    flex-basis: 19%;
    width: 0;
    object-fit: cover;
    transition: all ease 0.8s 0.1s;
    opacity: 0.8;
    &:hover {
      flex-basis: 35%;
      opacity: 1;
    }
  }
}

img {
  display: block;
  max-width: 100%;
}
.img-zomm-scroll img {
  object-fit: cover;
  object-position: center center;
  object-fit: cover;
  object-position: center center;
  height: 100%;
  width: 100%;
}

.img-zomm-scroll {
  height: 500px;
  width: 100%;
  overflow: hidden;

  img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: center center;
  }
}

.img-des-title {
  display: flex;
  height: 600px;
  position: relative;
  img {
    width: 0;
    flex-grow: 1;
    object-fit: cover;
  }
  .img-des-title--content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99;
  }
}

section:has(.appear-cards) {
  overflow-x: hidden;
}
.appear-cards {
  display: grid;
  padding-block: 4rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, 200px);
  gap: 20px;
  > div:not(.appear-cards--spacer) {
    border-radius: 20px;
    background-color: blanchedalmond;
    grid-row: 2 span;
  }
}

.text-image-progression {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  .text-side {
    position: sticky;
    top: 50%;
    width: 500px;
  }
  h1 {
    display: flex;
    align-items: flex-start;
    > span {
      display: inline-flex;
      /* overflow: hidden; */
      width: 500px;
      clip-path: inset(-500px 0 0 0);

      position: relative;
      > span {
        display: block;
        position: absolute;
      }
      > span:first-child {
        position: relative;
      }
    }
  }
}

.appear-cards--content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  span {
    font-size: 25px;
  }
  .number {
    font-size: 50px;
  }
  .text {
    place-self: end;
  }
}

.img-des-title--content {
  font-size: 5rem;
  color: white;
}

.appear-title {
  font-size: 50px;
  text-align: center;
  max-width: 500px;
  margin-inline: auto;
  opacity: 0;
  &.active {
    opacity: 1;
  }
  .lineParent {
    overflow: hidden;
  }
}

.hover-animation-word {
  position: relative;
  overflow: hidden;
}
.hover-animation-word--reply {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(100%);
  transition: all ease 0.5s;
  transition-delay: 0.1s;
}
.hover-animation-word--original {
  display: block;
  transition: all ease 0.5s;
  transition-delay: 0.1s;
}
.hover-animation-word:hover {
  .hover-animation-word--reply {
    transform: translateY(0);
    transition-delay: 0s;
  }
  .hover-animation-word--original {
    transform: translateY(-100%);
    transition-delay: 0s;
  }
}
.link-follow {
  font-size: 55px;
  max-width: 1000px;
  line-height: 1.2;
  position: relative;
  a {
    color: currentColor;
    text-decoration: unset;
    position: relative;
    display: inline-block;
    span {
      z-index: 1;
      position: relative;
    }
    &::before {
      content: "";
      position: absolute;
      left: -10px;
      width: calc(100% + 20px);
      height: calc(100%);
      border-radius: 99px;
      z-index: 0;
      background-color: rgba(0, 0, 0, 0.3);
      transition: all ease 0.5s;
    }
  }
}
.link-follow--marker {
  opacity: 0;
  border-radius: 99px;
  position: absolute;
  background-color: rgb(248, 156, 228);
  display: block;
  transition: all ease 0.4s;
}
