.root {
  --navigation-height: 80px;

  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.container {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 700vh;
}

.pillContainerWrapper {
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.pillContainer {
  height: 100%;
  width: 100%;
  height: calc(100% - var(--navigation-height));
  overflow: hidden;
  border-radius: var(--border-radius-full);
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  top: var(--navigation-height);

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
  }

  .callToActionContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
  }
}

.imageBlock {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  position: absolute;
  pointer-events: none;
}

.fixedHeader {
  --half-navigation: calc(var(--navigation-height) / 2);
  --half-block-height: 24px;
  position: absolute;
  top: 50%;
  top: calc(50% + var(--half-navigation) - var(--half-block-height));
  align-self: center;
  transform-origin: center right;
  overflow: hidden;
  p {
    text-align: center;
    white-space: nowrap;
  }

  @media (width <= 1299px) {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    justify-self: center;
  }
}

.scrollableLabels {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  p {
    width: 100%;
    position: absolute;
    background-color: var(--color-white);
    left: 50%;
    transform: translateX(-50%);
    min-width: 600px;
    letter-spacing: var(--letter-spacing-xxl);
   font-family: var(--font-decorative);
    text-transform: uppercase;
    text-align: center;
  }
}

.description {
  position: absolute;
  bottom: 2rem;
  width: 100%;

  .descriptionText {
    justify-content: center;
  }

  p {
    margin: 0 auto;
    text-align: center;
    max-width: 600px;
    text-wrap: pretty;
  }
}
