.section-hero {
  position: relative;
  padding: 10rem 0 5rem;
  display: flex;
  align-items: center;
  min-height: 60vh;
  background-color: var(--black);
}
.section-hero .background {
  position: absolute;
  inset: 0;
}
.section-hero .background:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0.2));
}
.section-hero .background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-hero .container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
}
.section-hero .container .content {
  color: var(--white);
  text-align: center;
  max-width: 900px;
}
.section-hero .container .content :is(h1, h2) {
  font-size: 4em;
  margin: 0 0 25px;
  overflow-wrap: break-word;
}
.section-hero .container .content .description {
  font-size: 1.1em;
  max-width: 600px;
  margin: 0 auto;
}
.section-hero .container .content .description *:first-child {
  margin-top: 0;
}
.section-hero .container .content .description *:last-child {
  margin-bottom: 0;
}
.section-hero .container .content .buttons {
  margin-top: 30px;
  justify-content: center;
}
.section-hero .container .content .buttons .button.Primary-Border {
  color: var(--white) !important;
}
.section-hero .container .content *:last-child {
  margin-bottom: 0;
}
.section-hero .container .image {
  width: 50%;
}
.section-hero:has(.scroll-down) {
  padding-bottom: 20rem;
}
.section-hero:has(.scroll-down) .scroll-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 25px;
}
.section-hero:has(.scroll-down) .scroll-down div {
  background-color: var(--white);
  border-radius: 20px;
  width: 20px;
  height: 50px;
  margin: 0 auto 15px;
  position: relative;
}
.section-hero:has(.scroll-down) .scroll-down div svg {
  width: 16px;
  position: absolute;
  bottom: 4px;
  left: 2px;
  animation: mouseSlide 6s infinite;
}
.section-hero:has(.scroll-down) .scroll-down p {
  margin-left: 10px;
  color: var(--white);
  letter-spacing: 1px;
  font-size: 0.7em;
}

@media (max-width: 1000px) {
  .section-hero {
    padding-bottom: 7rem;
  }
  .section-hero .container .scroll-down {
    bottom: -80px;
    opacity: 0.75;
  }
}
@media (max-width: 820px) {
  .section-hero {
    min-height: unset;
  }
  .section-hero .container .content {
    width: 100%;
  }
  .section-hero .container .image {
    display: none;
  }
}
@media (max-width: 600px) {
  .section-hero .container .content :is(h1, h2) {
    font-size: 2.5em;
  }
}
@keyframes mouseSlide {
  0% {
    bottom: 2px;
  }
  50% {
    bottom: 30px;
  }
  100% {
    bottom: 2px;
  }
}
/*

Blog page

*/
.section-hero[blog-page] .container {
  max-width: 900px;
}

/*

Loading transitions

*/
/* Background */
.section-hero .background {
  transition: all 0.5s;
  opacity: 0;
}

.section-hero.scrolled-to .background {
  opacity: 1;
}

/* Heading */
.section-hero .container .content {
  margin-left: -200px;
  margin-right: 200px;
  opacity: 0;
}

.section-hero.scrolled-to .container .content {
  animation: heroHeaders 1.5s forwards;
}

@keyframes heroHeaders {
  0%, 50% {
    margin-left: -200px;
    margin-right: 200px;
    opacity: 0;
  }
  100% {
    margin-left: 0;
    margin-right: 0;
    opacity: 1;
  }
}
/* Buttons */
.section-hero .container .content .buttons {
  opacity: 0;
}

.section-hero.scrolled-to .container .content .buttons {
  animation: heroButtons 2s forwards;
}

@keyframes heroButtons {
  0%, 50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}