body, html {
  margin: 0;
  padding: 0;
  height: 80%;
}

/*** Dither: Inclushe
Clip: Adrenaline Rush Track: Suduaya
Planet: Unkown Artist ***/


@keyframes typewriter {
  0% { opacity: 0; transform: translateY(-50%); }
  50% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(50%); }
}

#video-background-flying {
  position: fixed;
  top: 50%;
  left: 50%;
  object-fit: cover; 
  filter: brightness(100%);
  opacity: 0.9; 
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
}

@keyframes zoomIn {
  0% {
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
  100% {
        transform: translateX(-50%) translateY(-50%) scale(1.5);
    }
}

.page {
  color: rgb(179, 216, 14);
  font-family: 'Homenaje', sans-serif; 
  font-size: 48px; /* Adjust the font size as needed */
  position: fixed;
  display: flex; /* Use flexbox to align spans horizontally */
  z-index: 5;
}

.page span {
  opacity: 0; /* Initially hidden */
  animation: typewriter 5s alternate infinite; 
}

.page span:nth-child(1) {
  animation-delay: 0s;
}

.page span:nth-child(2) {
  animation-delay: 0.5s;
}

.page span:nth-child(3) {
  animation-delay: 1s;
}

.page span:nth-child(4) {
  animation-delay: 1.5s;
}
.page span:nth-child(5) {
  animation-delay: 0.5s;
}

.page span:nth-child(6) {
  animation-delay: 1s;
}

.page span:nth-child(7) {
  animation-delay: 1.5s;
}

.cards-container {
  max-width: 950px;
}

.referral {
  position: fixed;
  bottom: 10px; /* Distance from the top of the page */
  left: 10px; /* Distance from the right edge of the page */
  text-align: right; /* Align text to the right */
  background-color: rgba(26, 47, 131, 0.335); /* Optional: semi-transparent background */
  padding: 5px; /* Optional: add some padding */
  font-size: 14px; /* Adjust font size as needed */
  color: #000; /* Set text color */
}

.top-right {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.top-right img {
  max-width: 7%;
  height: auto;
}