/* Bare-bones styles. Replace/expand as you like. */

* {
  box-sizing: border-box;
  font-family: 'Noto Sans', monospace;
}


body {
  margin: 0;
  /* font-family: 'Noto Sans', monospace; */
  color: #ddd;
  background-image: url('/Texturelabs_Grunge_352M.jpg');
  background-color: #000;
  line-height: 1.5;
}

header, footer {
  top: 0;
  z-index: 10;
  position: sticky;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  border-bottom: 1px solid #ddd;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)),
    url('/Texturelabs_Grunge_352M.jpg');
  background-color: #222;
}
footer {
  border-top: 1px solid #ddd;
  border-bottom: none;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #ddd;

}

nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: #ddd;
  padding: 10px;
  
}

nav a:hover {
  /* text-decoration: underline; */
  background-color: #222;
  padding: 10px;
}


main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  /* align-content: center; */
}

h1, h2 {
  position: relative;
  font-size: 300%;
  margin-top: 0;
}
.textcontainer{
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  border: 1px solid #ddd;
  padding: 1rem;
  /* align-content: center; */
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  font-family: inherit;
  font-size: 1rem;
}

form button {
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
}
p{
  text-align: center;
}
a, a:visited, a:active {
  text-align: center;
  color: inherit;
  /* text-decoration: none; */
}
.video {
  position: relative;
  width: min(1400px, 100vw - 2rem); /* wider than main, never wider than the screen */
  aspect-ratio: 16 / 9;
  left: 60%;
  transform: translateX(-50%);      /* keeps it centered while breaking out of main */
  margin-bottom: 2rem;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-track {
  position: absolute;
  inset: -20px 0;               /* extra room so blur doesn't fade at the edges */
  display: flex;
  width: max-content;
  animation: hero-scroll 70s linear infinite;
  filter: blur(6px) brightness(0.45);
  z-index: -2;
  will-change: transform;
}

.hero-track img {
  height: 100%;
  width: auto;
  flex: none;
  margin-right: 1rem;           /* margin, not gap, so the loop is seamless */
  object-fit: cover;
}

@keyframes hero-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* fade the bottom into the page background */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), #000 100%);
}

.hero-text {
  max-width: 900px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.hero-text h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .hero { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track { animation: none; }
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 80%;
  height: 80%;
  border: 0;
}
Clickable{
  font-style: italic;
}
