.section-hero {
  position: relative;
  padding: 7rem 0;
  display: flex;
  align-items: center;
  background-color: var(--black);
}
.section-hero .background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
}
.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: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
}
.section-hero .container .content {
  width: 50%;
  color: var(--white);
}
.section-hero .container .content :is(h1, h2) {
  font-size: 4rem;
  margin: 0 0 10px;
  overflow-wrap: break-word;
  font-weight: 700;
}
.section-hero .container .content .description {
  font-size: 1em;
}
.section-hero .container .content .description *:first-child {
  margin-top: 0;
}
.section-hero .container .content .description *:last-child {
  margin-bottom: 0;
}
.section-hero .container .content .list {
  margin-top: 20px;
}
.section-hero .container .content .list .item {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  grid-gap: 15px;
  margin-bottom: 10px;
}
.section-hero .container .content .list .item img {
  width: 20px;
  margin-top: 2px;
}
.section-hero .container .content .list .item p {
  width: calc(100% - 35px);
  margin: 0;
}
.section-hero .container .content *:last-child {
  margin-bottom: 0;
}
.section-hero .container .image {
  width: 50%;
}
.section-hero:has(.background) .container .content {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

@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.6em;
  }
}
@keyframes mouseSlide {
  0% {
    margin: 0;
  }
  25% {
    margin: 5px 0 -5px;
  }
  50%, 100% {
    margin: 0;
  }
}
/*

No Images

*/
.section-hero:not(:has(.image)) .container .content {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.section-hero:not(:has(.image)) .container .content .description {
  max-width: 600px;
  margin: 0 auto;
}
.section-hero:not(:has(.image)) .container .content .list {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  grid-gap: 20px;
  margin: 30px 0;
}
.section-hero:not(:has(.image)) .container .content .list .item {
  grid-gap: 8px;
  align-items: center;
  margin: 0;
  width: calc(33% - 14px);
}
.section-hero:not(:has(.image)) .container .content .list .item img {
  width: 25px;
  filter: brightness(0) invert(1);
}
.section-hero:not(:has(.image)) .container .content .list .item p {
  width: calc(100% - 33px);
  text-align: left;
  line-height: 1.2em;
}
.section-hero:not(:has(.image)) .container .content .buttons {
  justify-content: center;
}
.section-hero:not(:has(.image)):not(:first-child) .container .content {
  max-width: 800px;
}
.section-hero:not(:has(.image))[options~=large-padding-bottom] h1 {
  font-size: 5rem;
}

@media (max-width: 800px) {
  .section-hero:not(:has(.image)) .container .content :is(h1, h2) {
    font-size: 4rem;
  }
  .section-hero:not(:has(.image)) .container .content .list .item {
    width: calc(50% - 10px);
  }
}
@media (max-width: 600px) {
  .section-hero:not(:has(.image)) .container .content :is(h1, h2) {
    font-size: 2.6rem;
  }
}
/*

Buttons

*/
.section-hero .container .content .buttons {
  margin-top: 30px;
}

/*

Blog page

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

/*

Options > Large Padding Bottom

*/
.section-hero[options~=large-padding-bottom] {
  padding: 7rem 0 20rem;
}
.section-hero[options~=large-padding-bottom]:first-child {
  padding: 3rem 0 20rem;
}
.section-hero[options~=large-padding-bottom] .background:after {
  display: none;
}
.section-hero[options~=large-padding-bottom] .background img {
  -o-object-position: bottom;
     object-position: bottom;
}

@media (max-width: 1400px) {
  .section-hero[options~=large-padding-bottom]:first-child {
    padding: 3rem 0 15rem;
  }
}
@media (max-width: 1100px) {
  .section-hero[options~=large-padding-bottom]:not(:first-child) {
    padding: 5rem 0 15rem;
  }
}
@media (max-width: 600px) {
  .section-hero[options~=large-padding-bottom] .container .content :is(h1, h2) {
    font-size: 2.8em;
  }
}
/*

Options > Black Shadow

*/
.section-hero[options~=black-shadow] .background:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0) 50%);
}

/*

Options > Color Dark

*/
.section-hero[options~=color-dark] .container .content {
  color: var(--primary);
  text-shadow: unset;
}

/*

Options > Header Small

*/
.section-hero[options~=header-small] .container .content h1, .section-hero[options~=header-small] .container .content h2 {
  font-size: 2.5em;
}

/*

Loading transitions

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

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

/* Heading (with image) */
.section-hero .container:has(.image) .content :is(p.subheading, h1, h2, .description) {
  margin-left: -200px;
  margin-right: 200px;
  opacity: 0;
}

.section-hero.scrolled-to .container:has(.image) .content :is(p.subheading, h1, h2, .description) {
  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;
  }
}
/* Heading (without image) */
.section-hero .container:not(:has(.image)) .content :is(p.subheading, h1, h2, .description) {
  margin-top: -200px;
  margin-bottom: 200px;
  opacity: 0;
}

.section-hero.scrolled-to .container:not(:has(.image)) .content :is(p.subheading, h1, h2, .description) {
  animation: heroHeadersVertical 1.5s forwards;
}

@keyframes heroHeadersVertical {
  0%, 50% {
    margin-top: -200px;
    margin-bottom: 210px;
    opacity: 0;
  }
  100% {
    margin-top: 0;
    margin-bottom: 10px;
    opacity: 1;
  }
}
/* Buttons */
.section-hero .container .content .buttons {
  opacity: 0;
}

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

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