/* ================================================
   EPICRIG.CA - FINAL CLEAN STYLES.CSS
   This is exactly what fixed your page.
   No custom font. No extra rules. Behavior unchanged.
   ================================================ */

/* MATRIX BACKGROUND - full-screen canvas behind everything */
#matrix {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Force dark background so the rain effect looks correct */
body {
    background-color: transparent !important;
    position: relative;
    z-index: 1;
    font-weight: bold;
    font-size: 125%;
    display: inline-block;
    margin: 0px auto;
    text-align: center;
	color: #0F0;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

html {
    text-align: center;
}

p {
    font-size: 100%;
}

/* SEARCH INPUT BOXES - black background, bright green (#0F0) text + border */
input[type="text"] {
    background-color: #000000;
    color: #0F0;
    border: 2px solid #0F0;
    padding: 8px 12px;
    font-size: 110%;
    font-family: monospace;
    font-weight: bold;
}

input[type="submit"] {
    background-color: #000000;
    color: #0F0;
    border: 2px solid #0F0;
    padding: 8px 14px;
    font-weight: bold;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0F0;
    color: #000000;
}

/* === FULL MENU FIX - overrides everything === */
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000000;
}

li {
    float: center;
    display: inline;
}

li a, .dropbtn {
    display: inline-block;
    text-align: center;
    padding: 10px 14px;
    text-decoration: none;
}

ul li a,
.dropdown .dropbtn {
    color: #0F0 !important;
    font-family: monospace !important;
    font-weight: bold !important;
    font-size: 110% !important;
}

li a:hover,
.dropdown:hover .dropbtn {
    background-color: #003300 !important;
    color: #0F0 !important;
}

.dropdown {
    display: inline-block;
    float: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000000;
    opacity:0.95;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index:200;
}

.dropdown-content a {
    color: #0F0 !important;
    font-family: monospace !important;
    font-weight: bold !important;
    font-size: 110% !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #003300 !important;
    color: #0F0 !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}



@media screen and (max-width: 768px) {
    body {
        max-width: 680px;
        margin: 0 auto;
    }
    
    #clockbox,
    form {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
	.dropdown-content {
        display: none !important;
    }
    .dropdown.active .dropdown-content {
        display: block !important;
    }
}


/* MOBILE ONLY — content matches menu bar width 
@media screen and (max-width: 768px) {
    body {
        max-width: 680px;
        margin: 0 auto;
    }
    
    #clockbox,
    form {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
	.dropdown-content {
        display: none !important;
    }
    .dropdown.active .dropdown-content {
        display: block !important;
    }
}
*/