#header-container {
  width: 100vw; height: 100vh;
  z-index: -40;
  overflow: hidden;
  display: flex; justify-content: center;
}

#header-background {
  background-color: #f4f1de;
  width: 100%; height: 100%;
  z-index: -35;
}

.header-image {
  max-height: 100%;
  height: 80%;
  z-index: -30; /*potentially remove and put text further up */
  position: fixed;
}


.layer-wrapper {
  height: 80%;
  display: flex; justify-content: center; align-items: center;
  position: absolute;
  overflow: hidden;
}

.header-title {
  z-index: -29;
  text-align: center;
  color: #566b8a;
  font-size: 10vw;
  font-weight: bold;
  padding-top: 72vh;
  position: fixed;
  width: 100vw;
}

@media all and (min-width: 1200px) {
  .header-image {
    max-width: 100%;
    max-height: 500%;
  }
}

.bg-video {
  min-width: 100%
}

@media all and (max-width: 1050px) {
  .bg-video {
    min-width: fit-content;
    min-width: -webkit-min-content;
    min-width: -moz-min-content;
    min-height: 100%;
  }
}

@media all and (max-width: 450px) {
  .mobile-shift-right {
    left: -50vw;
  }

  .mobile-shift-more-right {
    left: -7rem;
  }

  .mobile-shift-left {
    right: -50vw;
  }

  .mobile-shift-more-left {
    right: -7rem;
  }

  .mobile-hide {
    display: none;
  }

  .mobile-scroll-out {
    height: 50%!important;
  }


}

@media all and (max-width: 890px) {
  .header-title {
    padding-top: 80vh;
    font-size: 12vw;
  }
}





#scroll-arrow-container {
  position: absolute; top: 90vh;
  display: flex; justify-items: center;
  font-size: 2.5rem;
  color: rgba(0, 0, 0, 0.3);;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  cursor: pointer;
}

#scroll-arrow {
  cursor: pointer;
}

svg.header-image:not(.no-animation) path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 4s ease-out forwards, fill-anim 1.5s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

svg.header-image ellipse, rect {
  animation: fill-anim-to1 1.5s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}



@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fill-anim {
  from {
    fill-opacity: 0;
  }
}

@keyframes fill-anim-to1 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.design-attribution {
  position: absolute;
  top: 95vh; right: 3vw;
  font-size: 0.8rem;
  color: #4f4f4f;
  align-self: center;
}

