:root {
  --header-size: 3rem;
  --header-size-desk: 6rem;
  --subheader-desk: 3.75rem;
}

body.light-mode  #hero-header.is-highlight  {
  color: #244a50;
}

body.light-mode  .manifesto-line:hover {
  color: var(--light-theme-accent);
}

/******************************* HERO SECTION ****************************/

#hero-section {
  margin: 0 auto;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

#hero-header {
  font-size: var(--header-size);
  font-weight: 700;
  color: var(--text-white);
  transition: color 0.3s ease;
  line-height: 1.2;
  margin-top: -12px;
  margin-bottom: -0.15em;

}

.hero-header-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  overflow: visible;

  padding-top: 14px;
}

.hero-underline {
  width: 100%;
  height: 2px;
  background: var(--text-white);
  margin-bottom: 9px;

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.hero-underline.is-active {
  transform: scaleX(1);
}

#hero-header.is-highlight {
  color: var(--accent-color);
}

#hero-subheader {
  color: var(--text-white);
  font-size: var(--font-l);
  font-weight: 300;
  line-height: 1.1;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#hero-subheader.is-changing {
  opacity: 0;
  transform: translateY(0.5rem);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--margin-xs);
  padding-bottom: var(--padding-m);

  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-text {
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.9;
}

.scroll-arrow {
  width: 45px;
  height: 45px;
  color: var(--accent-color);
  animation: bounce 2s infinite;
}

/* Company info section */

.highlight {
  color: var(--accent-lime);
  font-weight: 400;
}

#intro-section {
  padding-bottom: var(--padding-xl);
  margin-top: var(--margin-m);
}

.intro-text {
  font-size: var(--font-sm);
  font-weight: 300;
  line-height: 1.7;
  padding: var(--padding-m);
  color: var(--text-color);
}

.highlight {
  color: var(--accent-lime);
  font-weight: 400;
}

.word-reveal {
  display: inline;
  opacity: 0.2;
  filter: blur(8px);
  will-change: opacity, filter;
}

/******************************* MANIFESTO ****************************/

#manifesto-section {
  padding-top: var(--padding-xxl);
}

.manifesto-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--padding-m);
}

.manifesto-group {
  display: block;
  text-decoration: none;
}

.manifesto-line {
  font-size: var(--font-sm);
  text-align: center;
  color: var(--text-white);
  font-weight: 600;
}

.manifesto-line:hover {
  color: var(--accent-color);
}

.manifesto-hover-text {
  text-align: center;
  color: var(--text-white);
  font-weight: 300;
  font-size: var(--font-sm);
  padding-top: var(--padding-s);

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    transform 0.5s ease;
}

.manifesto-hover-text {
  transform: translateY(-5px);
}

.manifesto-group:hover .manifesto-hover-text {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.lime-separator {
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

/* animations */

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes underlineIn {
  to {
    transform: scaleX(1);
  }
}


/******************************* MEDIAQUERIES ****************************/

/* tablet size */

@media (min-width: 768px) {
  #hero-section {
    margin-bottom: var(--margin-m);
  }

  #intro-section {
    padding-bottom: var(--padding-xxl);
  }

  .intro-text {
    padding: var(--padding-m) 0;
  }

  #manifesto-section {
    padding-bottom: var(--padding-xxl);
  }

  .scroll-indicator {
    padding-bottom: 0;
  }

  .manifesto-line {
    padding-top: var(--padding-s);
  }
}

/* desktop size */

@media (min-width: 1024px) {
  #hero-section {
    min-height: 70vh;
  }

  #hero-header {
    font-size: var(--header-size-desk);
  }

  #hero-subheader {
    font-size: var(--subheader-desk);
  }

  #intro-section {
    margin: 0 auto;
    max-width: 900px;
  }

  .intro-text {
    font-size: var(--font-m);
    font-weight: 300;
    line-height: 2;
  }
}

/* tv/mega-screen sizes */

@media (min-width: 1440px) {
  #homepage-content {
    margin: 0 auto;
    max-width: 1440px;
  }
}
