@font-face {
  font-family: 'Special Gothic Expanded One';
  src: url('assets/SpecialGothicExpandedOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Anton SC';
  src: url('assets/Anton_SC/AntonSC-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Bitcount';
  src: url('assets/Bitcount/Bitcount-VariableFont_CRSV,ELSH,ELXP,slnt,wght.ttf') format('truetype-variations');
  font-weight: 400;
  font-style: normal;
}

/* bigstrudel.com styles */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --primary-color: #ffffff;
  --text-color: #041631;
  --background-color: #01060e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



h1 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  height: 100dvh;
  overflow: hidden;
}

footer {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #666;
}

/* === Hero Styles === */

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  
  /* Hero layout styling */
  background-color: var(--background-color);
  color: #fff;
  max-width: none;
  height: 100dvh;
  padding: 0;
  margin: 0;

  /* Center content */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero {
  text-align: center;
}

.hero h1 {
  margin: 30vh 10px 2rem; /* add 10px side margins, reduce bottom margin */
  white-space: nowrap;    /* keep heading on one line if possible */
  font-family: 'Special Gothic Expanded One', sans-serif;
  font-size: clamp(2rem, 8vw, 8rem);
  font-weight: normal;
  text-shadow:0 0 4px #ffffff, 0 0 61px #ffffff7d;
  opacity: 0;
  animation: titleFadeIn 6s ease-out forwards;
  line-height: 0.9;
}

/* Larger text on mobile devices */
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1rem, 14vw, 8rem); /* tighten scaling so it fits narrow widths */
    margin-top: 20vh;                  /* reduce top gap on very small screens */
  }
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0;
  }
  50% { /* Fade in over 2 seconds */
    opacity: 1;
    text-shadow:0 0 4px #ffffff, 0 0 61px #ffffff7d;

  }

  100% {
    opacity: 1;
  }
}

.hero h2 {
  font-family: 'Bitcount', sans-serif;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: normal;
  margin-top: 0;
  letter-spacing: 0.25em;
  line-height: 0.8;
  text-shadow: 0 0 8px #ffffff;
  opacity: 0;
  animation: textFadeIn 6s ease-out forwards;
}

@keyframes textFadeIn {
  0% {
    opacity: 0;
    letter-spacing: 0.0em;
  }
  30% { /* 1 second pause (1/6 = 16.67%) */
    opacity: 0;
  }
  58% { /* 2 seconds fade in (3/6 = 50%) */
    opacity: 1;
  }
  100% { /* 3 seconds letter spacing increase (6/6 = 100%) */
    opacity: 1;
    letter-spacing: 0.1em;
  }
}

.creative{
  font-size: clamp(1rem, 4vw, 4rem);
  display: block;
  text-align: right;
  margin-top: 0.1rem;
}

#email-link{
  font-family: 'Special Gothic Expanded One', sans-serif;
  font-size: clamp(1rem, 1vw, 1rem);
  display: block;
  text-align: center;
  position: fixed;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: emailFadeIn 6s ease-out forwards;
}

@keyframes emailFadeIn {
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}