/* ================================
   GLOBAL MATRIX THEME
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: black;
    color: #00ff99;
    font-family: "Courier New", monospace;
    overflow-x: hidden;
    position: relative;
}

/* LINKS — darker green */
a {
    color: #00cc66;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

a:hover {
    color: #00ff99;
    text-shadow: 0 0 10px #00ff99;
}

/* HEADERS */
h1, h2, h3 {
    text-shadow: 0 0 10px #00ff99;
    margin: 20px 0;
}

/* ================================
   MOVING GREEN SQUARE BACKGROUND
================================ */
.background-squares {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -3;
    overflow: hidden;
}

.square {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(0, 255, 0, 0.25);
    animation: moveSquares 12s linear infinite;
}

@keyframes moveSquares {
    0% { transform: translateX(-200px); }
    100% { transform: translateX(200vw); }
}

/* ================================
   MATRIX CODE RAIN
================================ */
.code-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.rain-stream {
    position: absolute;
    top: -100%;
    color: #00ff99;
    font-size: 18px;
    white-space: nowrap;
    animation: rainFall linear infinite;
    text-shadow: 0 0 8px #00ff99;
}

@keyframes rainFall {
    0% { transform: translateY(-100%); opacity: 1; }
    100% { transform: translateY(120vh); opacity: 0; }
}

/* ================================
   NAVIGATION
================================ */
.nav-links {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.nav-links a {
    font-size: 18px;
}

/* TABLE */
table {
    border-collapse: collapse;
    margin-top: 20px;
}

td {
    border: 1px solid #00ff99;
    padding: 10px;
}

/* IMAGE */
img {
    border: 2px solid #00ff99;
    box-shadow: 0 0 15px #00ff99;
}


/* LINKS — darker text + bright neon underline */
a {
    color: #00cc66; /* darker green text */
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #00ff99; /* bright neon green underline */
    padding-bottom: 2px;
    transition: 0.3s;
}

a:hover {
    color: #00ff99; /* bright green on hover */
    border-bottom-color: #00ff99; /* underline glows brighter */
    text-shadow: 0 0 10px #00ff99;
}


/* CENTER ALL TEXT ELEMENTS */
body, h1, h2, h3, p, a, table {
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center; /* centers all links horizontally */
    gap: 20px;               /* spacing between links */
    padding: 20px;
    width: 100%;
    text-align: center;
}

table {
    margin-left: auto;
    margin-right: auto;
}



