:root {
  font-size: 16px; /* Base size: 1rem = 16px */

  /* Optional spacing variables */
  --gap: 2rem;
  --max-content-width: 60rem; /* 960px */
}

/* Reset box-sizing for all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #010101;
  color: #00ff99;
  font-family: 'Courier New', Courier, monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 153, 0.02),
    rgba(0, 255, 153, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
}

#code-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

header {
  background-color: black;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0.625rem rgba(0, 255, 153, 0.2);
  border-bottom: 1px solid #00ff99;
}

.logo img {
  vertical-align: middle; /* or: top, bottom */
}


main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.content-box {
  box-sizing: border-box;
  background-color: black;
  padding: 1.5rem 2rem;
  border-radius: 0.25rem;
  max-width: min(90vw, var(--max-content-width));
  width: 100%;
  box-shadow: 0 0 0.625rem #00ff99, 0 0 1.875rem rgba(0, 255, 153, 0.2);
  text-align: center;
  border: 1px solid #00ff99;
  margin-bottom: var(--gap);
}


.intro h2 {
  font-size: 2rem;
  text-shadow: 0 0 0.2rem #00ff99;
}

.intro p {
  font-size: 1.125rem;
  color: #66ffcc;
  line-height: 1.6;
}

.tagline {
  font-weight: bold;
  font-size: 1.2rem;
  color: #00ffaa;
  margin-top: 1.5rem;
}

.button {
  text-decoration: none;
  background-color: black;
  color: #00ff99;
  padding: 1rem 2rem;
  border: 1px solid #00ff99;
  border-radius: 0.25rem;
  font-weight: bold;
  display: inline-block;
  margin-top: 1.5rem;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 0.3rem #00ff99;
  font-size: 1rem;
}

.button:hover {
  background-color: #00ff99;
  color: black;
  box-shadow: 0 0 0.5rem #00ff99;
}

footer {
  background-color: black;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #00cc88;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0.625rem rgba(0, 255, 153, 0.2);
  border-top: 1px solid #00ff99;
  margin-top: auto;
}

/* Paper boxes section */
.paper-section {
  display: flex;
  justify-content: center;
  gap: var(--gap);
  flex-wrap: wrap;
  margin: 1rem auto 4rem auto;
  max-width: min(95vw, 90rem); /* Up to 1200px */
  padding: 0 1rem;
}

.paper-box {
  background-color: #d9d6c3;
  width: min(90vw, 20rem);
  height: auto; /* allow height to grow if content expands */
  border-radius: 6px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #ddd;
  padding: 1.5rem; /* ✅ adds space inside */
  font-family: 'Courier New', Courier, monospace; /* or Special Elite */
}

.paper-box h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #222;
}

.paper-box p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.paper-link {
  text-decoration: none;
  color: #006666;
  font-weight: bold;
  border-bottom: 1px solid #006666;
  transition: all 0.2s ease-in-out;
}

.paper-link:hover {
  color: #009999;
  border-color: #009999;
}


