@import url("https://fonts.googleapis.com/css2?family=Italianno&family=Lato:ital,wght@0,400;0,700;1,300&display=swap");
body::before {
  background-image: none;
}

main {
  padding-top: 0;
}

#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100vw;
  height: 90vh;
  max-height: 1250px;
  position: relative;
  z-index: 1;
  margin: 0;
  background: linear-gradient(180deg, #030303 80%, transparent 100%);
  z-index: 90;
}

#hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #030303;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  opacity: 0.5;
  transition: opacity 1s;
}

#hero[data-bg=one]::before {
  background-image: url("/img/homepage/bg_1.webp");
}

#hero[data-bg=two]::before {
  background-image: url("/img/homepage/bg_2.webp");
}

#hero[data-bg=three]::before {
  background-image: url("/img/homepage/bg_3.webp");
}

#hero[data-bg=four]::before {
  background-image: url("/img/homepage/bg_4.webp");
}

#hero[data-bg=five]::before {
  background-image: url("/img/homepage/bg_5.webp");
}

#hero[data-state=hidden]::before {
  opacity: 0;
}

#hero[data-state=shown]::before {
  opacity: 0.5;
}

#hero img {
  max-width: 250px;
  margin: 0;
}

#hero p {
  margin: 0;
  font-size: 4rem;
  line-height: 4rem;
  font-family: "Lato", sans-serif;
  position: relative;
  text-align: center;
}

#hero p:nth-of-type(1) {
  letter-spacing: 2px;
  transform: translateX(-25%);
  z-index: 1;
}

#hero p:nth-of-type(2) {
  font-size: 1.5rem;
  z-index: 1;
}

#hero p #up {
  font-family: "Italianno", cursive;
  color: #ce9e55;
  font-size: 2.2em;
  position: absolute;
  top: 70%;
  left: 75%;
  transform: translateY(-50%);
  z-index: -1;
}

#hero .buttonRow .button {
  margin: 0 1rem;
}

@media screen and (min-width: 1024px) {
  #hero {
    height: 90vh;
    max-height: 1200px;
  }
  #hero::before {
    background-color: transparent;
    background-position: top;
    background-image: url("/img/homepage/desktop_hero.webp");
    background-size: contain;
  }
}

@media screen and (max-width: 767px) {
  #hero .buttonRow {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  #hero .buttonRow .button {
    margin: 0.5rem 0;
    width: 60%;
  }
}

#openingOverlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

#openingOverlay div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #030303;
  animation: slideup 0.5s ease-in 0.3s 1 forwards;
}

@media screen and (max-width: 767px) {
  #openingOverlay {
    display: none;
  }
}

@keyframes slideup {
  to {
    transform: translateY(-100%);
  }
}
/*# sourceMappingURL=homepage.css.map */