body {
    font-family: Arial, Helvetica, sans-serif;
    image-rendering: pixelated;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    background: #000000 url("images/normbg.png");
    background-size: 32px;
    color: white;
    margin: 0;
    margin-top: 140px;
    padding: 0;
}

.text_title {
    font-weight: 200;
    text-align: center;
    font-size: 40px;
}

.img_title {
    display: block;
    margin: auto;
}

.img_header {
    position: fixed;
    left: 50%;
    top: 60px;
    transform: translate(-50%, -50%);
    height: 166px;
}

.div_about {
    width: 75%;
    line-height: 2;
    margin: auto;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.div_hlinks {
    width: 100%;
    display: flex;
    margin: 16px;
}

.div_header {
    position: fixed;
    top: 0;
    display: flex;
    width: 100%;
    height: 96px;
    padding: 0px;
    background-image: url("images/grass_side.png");
    box-shadow: 0px 8px 10px #0000002a;
    background-size: 64px;
    line-height: 2;
}

.div_header a {
    color: white;
    text-decoration: none;
    text-align: center;
}

.div_footer {
    position: fixed;
    display: flex;
    bottom: 0;
    width: 100%;
    height: 48px;
    padding: 0px;
    margin: 0px;
    background-color: #00000070;
    background-size: 128px;
    line-height: 2;
}

.lbutton {
    height: 100%;
    width: 128px;
    background-color: #1f1f1f;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    padding: 0px;
}

.h1_ptitle {
    padding: 12px;
    margin: auto;
    display: block;
    text-align: center;
    background-image: url("images/grass_top.png");
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

form {
    width: 320px;
    margin: 24px auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: monospace, monospace;
    font-weight: 200;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    background-color: #1f1f1f;
    border: 1px solid #444;
    color: white;
    padding: 8px 12px;
    font-size: 16px;
    outline: none;
    image-rendering: pixelated;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: #6d5d4a;
}

button {
    background-color: #1f1f1f;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 200;
    font-size: 16px;
    margin: 0 auto;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.1);
}

#login-error-msg,
#register-error-msg {
    color: #cc4444;
    height: 1.2em;
    font-weight: 200;
    font-family: monospace, monospace;
    text-shadow: none;
}

#register-success-msg {
    color: #8b8b8b;
    height: 1.2em;
    font-weight: 200;
    font-family: monospace, monospace;
    text-shadow: none;
    margin-top: 4px;
}

button.toggle-btn {
    background: none;
    border: none;
    color: #8b8b8b;
    cursor: pointer;
    font-family: monospace, monospace;
    font-weight: 200;
    font-size: 14px;
    margin: 0 auto;
    display: block;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

button.toggle-btn:hover {
    text-decoration: underline;
}

.div_support {
    width: 90%;
    font-style: italic;
    margin: auto;
    bottom: 10px;
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
}

.div_support a {
    font-style: normal;
    font-weight: 600;
    font-size: larger;
    color: rgb(255, 77, 77);
}

#userdisplay {
    padding-right: 64px;
    padding-top: 10px;
    width: 100%;
    text-align: right;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}


/* FORUMS STYLING!! */
.forum-container {
    max-width: 75%;
    margin: 40px auto;
    padding: 8px;
}

.forum-card {
    background-color: #1f1f1f;
    border: 2px solid #50524e;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 6px 12px #00000044;
    image-rendering: pixelated;
    font-size: smaller;
}

.forum-category {
    padding: 8px 0;
    border-bottom: 1px dashed #2f2f2f;
}

.thread-list .thread-row {
    padding: 8px 0;
    border-bottom: 1px solid #151515;
}

.thread-row a {
    font-weight: bold;
    color: #a1a1a1;
    text-decoration: none;
}

.thread-meta {
    color: #a1a1a1;
    font-size: 12px;
    margin-top: 4px;
}

.post {
    background: #151515;
    border: 1px solid #2f2f2f;
    padding: 12px;
    margin: 12px 0;
    border-radius: 4px;
}

.post-header {
    color: #a1a1a1;
    margin-bottom: 8px;
    font-size: 12px;
}

.post-body {
    color: #c0c0c0;
    line-height: 1.5;
}

.form-box {
    margin-top: 96px;
    padding: 10px;
    background: #0f0f0f;
    border: 1px solid #2f2f2f;
}

.form-box input,
.form-box textarea {
    width: 94%;
    background: #111;
    border: 1px solid #2f2f2f;
    color: #b4b4b4;
    padding: 8px;
}

.backlink {
    color: #a1a1a1;
    display: inline-block;
    margin-bottom: 8px;
    text-decoration: none;
}

.muted {
    color: #bdbdbd;
    font-size: 12px;
}

.error {
    color: #ffb3b3;
    margin-top: 8px;
    font-weight: bold;
}