@font-face {
  font-family: "EliteDangerExpand";
  src: url("fonts/elitedangerexpand.ttf") format("truetype");
  font-display: block;
}

.zalando-sans-expanded {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.bitcount-prop-single {
  font-family: "Bitcount Prop Single", system-ui;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "CRSV" 0.5,
    "ELSH" 0,
    "ELXP" 0;
}


:root{
    --page-max-width: 1200px;
}

/* Reset-ish */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
    font-family: "EliteDangerExpand";
    line-height: 1.4;
    background-color: #000000;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

/* Page container — vertical flow, each element beneath previous */
main {
    position: relative; 
    color: #000000;
    width: 100%;
    margin: 0 auto;
    display: block; /* standard vertical flow */
}

/* 1. Header that sticks on scroll: left = name, right = contact/about */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 1); /* minimal; override as needed */
    backdrop-filter: blur(6px);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4em;
}

.artist-name {
    font-size: 1.25rem;
    color: rgb(255, 255, 255);
}

.site-header .left,
.site-header .right {
    display: flex;
    gap: 12px;
    align-items: center;
}

.site-header .right a:link {
    color: #ffffff;
    text-decoration: none;
    transition: .2s;
}

.site-header .right a:visited {
    color: #ffffff;
    font-size: 1rem;
}

.site-header .right a:hover {
    color: #00c3ff;
    font-size: 1.2rem;
}

.site-header .artist-name a:link {
    color: #ffffff;
    text-decoration: none;
    transition: .2s;
}

.site-header .artist-name a:visited {
    color: #ffffff;
    font-size: 1rem;
}

.site-header .artist-name a:hover {
    color: #00c3ff;
    font-size: 1.35rem;
}

.photo-cred a:link {
    color: #ffffff;
    text-decoration: none;
    transition: .2s;
}

.photo-cred a:visited {
    color: #ffffff;
    font-size: 1rem;
}

.photo-cred a:hover {
    color: #00c3ff;
    font-size: 1.2rem;
}


#hero {
    background-color: #000;
}

/* Generic block spacing */
.block { 
    margin-bottom: 1rem; 
}

/* Video aspect-ratio helpers using the padding-top technique so layout is relative */
.aspect-16-9 { position: relative; width: 100%; max-width: 1920px; max-height: 1080px; padding-top: calc(9 / 16 * 100%); overflow: hidden; }
.aspect-9-16  { position: relative; width: 90%;  padding-top: calc(16 / 9 * 100%); overflow: hidden; } /* will be used inside two-column */
.aspect-32-9  { position: relative; width: 100%; padding-top: calc(9 / 32 * 100%); overflow: hidden; } /* short-wide divider */

/* Video element fully cover its container */
.aspect-16-9 video,
.aspect-32-9 video,
.aspect-9-16 video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#divider-1 {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 3rem auto;
}

#divider-2 {
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

#divider-2 video {
  width: 100%;
  height: auto;
  display: block;
}

.breather-space {
    position: relative;
    height: 2rem;
}

/* 3. Scrolling wheel of words — structure only, you can style/animate */

.running-line-wrapper {
  margin: 2rem auto;
  width: 100%;
  overflow: hidden;
}

.running-line {
  font-size: 3rem;
  font-family: "EliteDangerExpand";
  font-weight: 400;
  color: #c8c8c8;
  white-space: nowrap;
}

.running-line {
  animation: run 16s linear infinite;
}

@keyframes run {
  from {
    transform: translateX(100%);
  }
  /* Magic is here. This is the width of the elem with text after rendering the page */
  to {
    transform: translateX(-150%);
  }
}



/* 4 & 6 — two-column blocks */
.two-col {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between; /* was center */
  flex-wrap: wrap;
  width: 100%;  /* ensures full width usage */
  color: white;
}


.two-col .left, .two-col .right {
    flex: 1 1 0;       /* both grow/shrink equally */
    max-width: 50%;    /* keep them balanced on large screens */
}

.two-col .right {
    font-family: "Bitcount Prop Single", system-ui;
    color:#ffffff;
    font-size: 3rem;
}

.two-col .left {
    font-family: "Bitcount Prop Single", system-ui;
    color:#ffffff;
    font-size: 3rem;
}


.caption {
    font-family: "Zalando Sans Expanded", sans-serif;
    color:#ffffff;
    font-size: 1.5rem;  
    margin: .5rem;  
}

.video-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

#training {
    display: flex;
    justify-content: center;
    margin: 3rem;
}

#training-text {
    font-family: "Zalando Sans Expanded", sans-serif;
    color:#ffffff;
    font-size: 1rem;  
    margin: .5rem;
}

.photo-cred {
  font-size: 1rem;
  font-family: "EliteDangerExpand";
  font-weight: 400;
  color: #c8c8c8;
  white-space: nowrap;
}

/* Buttons row */
.btn-row {
    position: relative;
    display: inline-flex;
    margin-top: 16px;
}
.btn {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
}

#contact-btn {
    background-color: rgb(0, 255, 0);
    color: black;
    transition: .3s;
}

#contact-btn:hover {
    background-color: black;
    color: rgb(255, 255, 255);
    border: 1px solid rgb(0, 255, 0);
}

#schedule-btn {
    background-color: black;
    border: 1px solid rgb(0, 255, 0);
    color: rgb(0, 255, 0);
    transition: .3s;
}

#schedule-btn:hover {
    background-color: rgb(0, 255, 0);
    color: rgb(255, 255, 255);
}


.heading-row {
  display: flex;
  align-items: center;
  gap: 1rem; /* space between h2 and image */
}



.training-img {
  max-width: 100%;   /* ensures no overflow */
  height: auto;
  display: block;
}


/* Footer */
.footer {
  background-color: #000000;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* footer social elements */

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
}

.footer-social img {
  width: 30px;
  height: 30px;
}


.footer-social img {
  display: inline-block;
  transition: 0.2s ease;
  filter: invert(1);
}

.footer-social img:hover {
  display: inline-block;
  width: 35px;
  height: 35px;
  filter: brightness(0) saturate(100%) invert(25%) sepia(65%) saturate(2907%) hue-rotate(176deg) brightness(100%) contrast(101%);
}



/* Accessibility / smaller screens minor tweaks */
@media (max-width: 900px) {
    main { padding: 1px; }
    .aspect-9-16 { width: 100%; padding-top: calc(16 / 9 * 100%); max-width: none; }
    .two-col { flex-direction: column-reverse; }
}

.word-wheel {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: black;    /* matches your page */
  color: white;         /* text visible */
}

.wheel-track {
  display: flex;
}

.wheel-inner {
  display: inline-flex;
  gap: 2rem; /* space between words */
  animation: marquee 20s linear infinite;
}

/* Animation shifts the whole text strip left by its full width */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .two-col {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .two-col .left,
  .two-col .right {
    max-width: 100%; /* take full width when stacked */
  }

  .training-img {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  #training {
    margin: 1.5rem 1rem;
  }
}