/*
 * Original Design Specifications
 * Target: > 1800px
 * Test Resolution: 1920 x 1080
 */
:root {
  --scroll-hint-icon-size: 4.2rem;
  --scroll-hint-text-font-size: 2.2rem;
  --scroll-hint-text-line-height: 1.2;
  --scroll-hint-gap-between-icon-and-text: 2rem;
  --scroll-hint-margin-y: calc(var(--layout-gap-basis) * 1.5);
}

/*
 * 2XL Media Query (1536px)
 * Target: 1799px > 1536px
 * Test Resolution: 1536 x 864
 */
@media screen and (max-width: 1799px) {
  :root {
    --scroll-hint-icon-size: 3.5rem;
    --scroll-hint-text-font-size: 2rem;
    --scroll-hint-text-line-height: 1.2;
    --scroll-hint-gap-between-icon-and-text: 1.5rem;
  }
}

/*
 * XL Media Query (1280px)
 * Target: 1535px > 1280px
 * Test Resolution: 1280 x 720
 */
@media screen and (max-width: 1535px) {
  :root {
    --scroll-hint-icon-size: 3rem;
    --scroll-hint-text-font-size: 1.8rem;
    --scroll-hint-text-line-height: 1.2;
  }
}

/*
 * M Media Query (768px)
 * Target: 1023px > 768px
 * Test Resolution: 768 x 1024
 */
@media screen and (max-width: 1023px) {
  :root {
    --scroll-hint-icon-size: 2.5rem;
    --scroll-hint-text-font-size: 1.6rem;
    --scroll-hint-text-line-height: 1.2;
  }
}

/*
 * S Media Query (640px)
 * Target: < 767px
 * Test Resolution: 390 x 844
 */
@media screen and (max-width: 767px) {
  :root {
    --scroll-hint-icon-size: 2rem;
    --scroll-hint-text-font-size: 1.4rem;
    --scroll-hint-text-line-height: 1.2;
    --scroll-hint-gap-between-icon-and-text: 1rem;
    --scroll-hint-margin-y: 3rem;
  }
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  gap: var(--scroll-hint-gap-between-icon-and-text);
  align-items: center;
  margin: var(--scroll-hint-margin-y) 0;
}

.scroll-hint-icon {
  display: block;
  width: var(--scroll-hint-icon-size);
  height: var(--scroll-hint-icon-size);
  object-fit: contain;
}

.scroll-hint-icon > svg > path {
  fill: var(--theme-color-orange) !important;
}

.scroll-hint-text {
  font-size: var(--scroll-hint-text-font-size);
  line-height: var(--scroll-hint-text-line-height);
  color: var(--theme-color-orange);
}
