@font-face {
  font-family: "ArialicH"; /* Choose a name for your font */
  src: url("ARIALICH.TTF") format("truetype"); /* Path to your .ttf font file */
  /* Add more src URLs for different font formats if needed */
  font-weight: thin;
  font-style: normal;
}

@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@1,200&display=swap");

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevent scrolling completely */
}

body {
  font-family: Arial, sans-serif;
  background-color: #000000; /* Full black background color */
  color: #fff; /* Text color */
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(15vh);
  transition: transform 1s ease-in-out;
}

.content-wrapper.slide-up {
  transform: translateY(0);
}

.sub-text-container {
  min-height: 2em;
  margin-top: 1rem;
}

.owl-img {
  margin-top: 2rem;
  max-width: 150px;
  height: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.owl-img.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 2rem 2.5rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.footer-text {
  font-weight: 300;
  letter-spacing: 0.2em;
  font-size: 0.9em;
  text-transform: uppercase;
}

.footer-sub {
  font-size: 0.8em;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lightning-icon {
  height: 1.2em; /* Adjust to match text size natively */
  vertical-align: middle;
}

.flash-link {
  color: #888;
  text-decoration: none;
  font-size: 1em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem; /* Keep emulator close */
}

.flash-link:hover {
  opacity: 0.8;
  color: #fff;
}

.main-heading {
  font-size: 6em;
  text-align: center;
  margin-bottom: 0;
}

#typing {
  font-family: "ArialicH", Arial, sans-serif;
  font-size: 0.8em;
  animation: blink-caret 0.75s infinite;
  margin-bottom: -0.2em; /* Adjust for better alignment */
}

#dotpulse {
  font-family: "Arial", sans-serif;
  font-size: 1em;
  animation: pulse-caret 1s infinite;
  margin-bottom: -0.2em; /* Adjust for better alignment */
}

.sub-text {
  font-family: "Newsreader", serif;
  font-style: italic;
  font-size: 1.5em;
  text-align: center;
  margin: 0;
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: white; /* Change cursor color */
  }
}

@keyframes pulse-caret {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* For smaller screens (up to 600px) */
@media screen and (max-width: 600px) {
  .footer {
    padding: 1.5rem 1.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    position: absolute; /* Fixes position relative to constrained body better on iOS/Android */
  }

  .footer-text {
    font-size: 0.7em;
  }

  .footer-sub {
    font-size: 0.65em;
  }
  
  .main-heading {
    font-size: 3em; /* Smaller scaling so it fits single line */
  }

  #typing {
    font-size: 0.9em;
  }

  #dotpulse {
    font-size: 0.8em;
  }

  .sub-text {
    font-size: 1.1em;
  }

  .owl-img {
    max-width: 80px; /* Make eye/owl a little bit smaller on phones */
  }
}

/* For larger screens (more than 600px) */
@media screen and (min-width: 601px) {
  .main-heading {
    font-size: 6em;
  }

  #typing {
    font-size: 0.975em;
  }

  #dotpulse {
    font-size: 1em;
  }

  .sub-text {
    font-size: 1.5em; /* Keeping your sub-text update */
  }
}
