html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
}

h3 {
  color: orange;
}

h4 {
    font-size: 12px;   /* choose the size you want */
}

a {
    text-align: center;
    background: #000;
    color: #fff;
}

.lucida-console {
    font-family: "Lucida Console", Monaco, monospace;
}

table {
  width: 100%;
  table-layout: fixed;
  font-size: 12px;   /* choose the size you want */
}

td, th {
  text-align: left;
  width: 33.33%;
}

/* Text helpers */
.red-text {
  color: #ff0000;
}

.twelvepx {
  font-size: 12px;   /* choose the size you want */
}

.track {
  color: orange;
}

ul {
    font-size: 12px;   /* choose the size you want */
}

button {
    text-align: center;
    border: 1px solid #fff;
    text-decoration: none;
    background-color: transparent; /* transparent by default */
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;        /* smooth transition */
}

button:hover {
    background-color: #FF6600;       /* white background on hover */
    color: #fff;
    border: 1px solid #FF6600;
}

.button-row {
    display: flex;
    flex-wrap: wrap;        /* Allows buttons to wrap onto the next line */
    gap: 8px;               /* Space between buttons */
    max-width: 100%;        /* Prevents container from expanding */
}

.button-row form {
    flex: 0 1 auto;         /* Keeps natural sizing, prevents stretching */
}

.button-row button {
    max-width: 100%;
    white-space: nowrap;    /* Prevents text inside buttons from breaking */
}

/* MAIN PAGE CONTAINER */

.container {
  width: 95%;
  max-width: 1600px;
  min-width: 300px;
  margin: 0 auto;
  padding: 1rem;

  display: grid;
  gap: 1rem;
}

/* Optional smaller container */

.container50 {
  width: 50%;
  max-width: 1600px;
  min-width: 300px;
  margin: 0 auto;
  padding: 1rem;
}

/* Generic section styling */

.section {
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

/* THREE COLUMN GRID */

.three-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.three-column-middle {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
}

/* SIX COLUMN GRID */
.six-column-layout {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

/* NAVIGATION GRID */

nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

nav a {
    display: block;
    text-align: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

nav a:hover {
  background: #fff;
  color: #000;
}

/* HERO SECTION */

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero img.main-banner {
  max-width: 100%;
  height: auto;
}

.hero h1 {
  margin: 1rem 0 0.5rem;
  font-size: 3rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* Canvas wrapper so overlay sits on top */
.canvas-wrapper {
    position: relative;
    display: inline-block;
}

#bgCanvas {
    display: block;
}

#overlayCanvas {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* SIDE IMAGES */

.side-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, auto));
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.side-images img {
  max-width: 150px;
  height: auto;
}

/* LOGOS */

.logo img {
  max-width: 200px;
  height: auto;
  margin-top: 2rem;
}

.rzlogo150 img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* Center helper */
.center-image {
  display: block;
  margin: 0 auto;
}

hr {
  border: none;
  height: 1px;
  background: #fff;
  margin: 1rem 0;
}

.center-link {
  display: block;
  text-align: center;
}

/* MOBILE LAYOUT */
@media (max-width: 768px) {

  .container {
    width: 95%;
  }

  /* Stack the 3 columns vertically */

  .three-column-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

}

