/* SECTION - General Styles */
body {
  line-height: 1.5;
  font-family: var(--ff-primary);
  color: var(--clr-neutral-160);
  min-height: 100svh;
  place-items: center;
  overflow-x: hidden;
}

main {
  position: relative;
}

#page-container {
  width: 100%;
  margin-block-end: 5rem;
}

/*!SECTION - General Styles */

/* SECTION - Hero */
.hero {
  padding: var(--space-2xl-3xl);
  place-items: center;
  text-align: center;
}

.hero-inner {
  width: min(60ch, 100vw - 2rem);
  display: inline-flex;
  gap: 0.5rem;
  flex-direction: column;
}

/* Home Hero */
.home-page {
  /*FIXME - Update image to AWS and remove from assets to create home page css file */
  background-image: url('/hc/theming_assets/01HZHXE4T5DP4YE6P2E430KZAC');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-heading {
  .fa-flip-horizontal {
    margin-right: 1rem;
    svg {
      height: 1.5rem;
    }
  }
  h1 {
    display: inline;
  }
}
.hero-heading {
  display: inline;
}

@media screen and (max-width: 44.9em) {
  .hero-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-heading {
    gap: 0.5rem;
    svg {
      height: 1.25rem;
    }
  }
}

.wave {
  animation-name: wave-animation; /* Refers to the name of your @keyframes element below */
  animation-duration: 2s; /* Change to speed up or slow down */
  animation-iteration-count: infinite; /* Never stop waving :) */
  transform-origin: bottom-left; /* Pivot around the bottom-left palm */
  animation-delay: 250ms;
  display: inline-block;
}

@keyframes wave-animation {
  0% {
    transform: rotate(20deg);
  }
  10% {
    transform: rotate(4deg);
  } /* The following five values can be played with to make the waving more or less extreme */
  20% {
    transform: rotate(26deg);
  }
  30% {
    transform: rotate(4deg);
  }
  40% {
    transform: rotate(24deg);
  }
  50% {
    transform: rotate(4deg);
  }
  60% {
    transform: rotate(16deg);
  } /* Reset for the last half to pause */
  100% {
    transform: rotate(16deg);
  }
}

/* !Section - Home Hero */

/* SECTION - Home Main */
.callout-banner.home {
  --fg: var(--clr-primary-140);
  --bg: var(--clr-primary-5);
  --accent: var(--clr-primary-100);
  --hover: var(--clr-primary-10);
  margin-top: 2.5rem;
  border: 1px solid var(--clr-primary-100);
  justify-content: center;
}
/* !Section - Home Main */

/*!SECTION - Hero */
/* SECTION - Call to Action */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-l);
  gap: var(--gap-sm);
  position: relative;
  & a {
    padding: 0.75rem 2rem;
  }
}
/*!SECTION - Call to Action */

/*SECTION - Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-block-start: 1.5rem;
  margin-block-end: 3rem;
  gap: 1rem;
  font-size: var(--step-1);

  & li {
    display: flex;
    align-items: center;
    margin: 0;
    & a {
      color: var(--clr-secondary-140);
    }
    &:hover a {
      background-color: var(--clr-secondary-5);
      text-decoration: none;
      cursor: pointer;
      transition-duration: var(--transition-duration);
    }
  }

  & li:last-child {
    font-weight: var(--font-bolder);
    &:hover a {
      background-color: transparent;
      transition-duration: var(--transition-duration);
    }

    & a {
      text-decoration: none;
      color: var(--clr-neutral-160);
    }
  }
}

.breadcrumbs > * + *::before {
  display: inline-block;
  content: '\f054';
  font: var(--fa-font-regular);
  display: none;
}

.breadcrumbs > li > svg {
  color: var(--clr-neutral-160);
  font-size: var(--step-1);
  padding-right: 1rem;
}

[dir='rtl'] .breadcrumbs > li > svg {
  transform: rotate(180deg);
}

/*!SECTION - Breadcrumbs */

/* SECTION - Footer */
.footer-wrapper {
  border-top: 1px solid var(--clr-neutral-40);
}

footer {
  margin-block-end: var(--space-2xl);
}

#footer .nav {
  position: static;
}

.footer-support {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--clr-neutral-160);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}

.terms-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.social p {
  padding-right: 0.5rem;
  color: var(--clr-neutral-100);
}

.social svg {
  vertical-align: middle;
}

@media screen and (max-width: 44.9em) {
  .footer-logo {
    display: flex;
    justify-content: center;
  }

  #footer-nav {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  #footer-nav,
  .terms-wrapper {
    margin-block-start: 2rem !important;
  }
  .terms-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .terms {
    text-align: center;
  }
  .terms a {
    text-wrap: nowrap;
    text-align: center;
  }

  .social {
    padding-bottom: 1rem;
    p:first-child {
      display: none;
    }
  }

  .btn-theme-footer {
    display: none;
  }
}

.social-link svg:hover {
  transition: background-color 1s ease 0s;
  background-color: var(--clr-neutral-160);
  color: var(--clr-white);
}

/*!SECTION - Footer */

.notification {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  margin-left: 10px;
  opacity: 0;
  animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Hide hubspot sales popup */
#hs-overlay-cta-191597628448 {
  display: none;
}
