html { /* full page (for trail */
    margin: 0;
    height: 100%;
    width: 100%;
}

/* BODY */
body {
    background-color: rgb(0, 0, 0);
    background-image: url("https://tetra.vivwebz.net/assets/images/bg-stars.gif");
    background-repeat: repeat;
    animation: diagonalScroll 40s linear infinite;
    overflow-y: auto; /* fix all the scroll stuff */
    font-family: 'Lexend', sans-serif;
    color: rgb(219, 219, 219); /* Not pure white; — makes it easier to read */
    text-align: center;
    margin: 0 auto; /* centers stuff correctly */
    min-height: 100%; /* full page (for trail */

    /* no selecting */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* auto line break; taken from stack overflow */
    word-wrap: break-word;      /* IE 5.5-7 */
    white-space: -moz-pre-wrap; /* Firefox 1.0-2.0 */
    white-space: pre-wrap;      /* current browsers */

}
@keyframes diagonalScroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* ASCII ART (the one at the top of the page)*/
.asciiart {
    background-image: linear-gradient(to left, rgb(91, 206, 250), rgb(245, 169, 184), rgb(255, 255, 255), rgb(245, 169, 184), rgb(91, 206, 250)); /* Transgender Colour Scheme :3 */
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* TEXT */
p {
    max-width: 70%;
    margin: 0 auto;
}
a { /* links */
    color: rgb(255, 0, 76); /* I LOVE AMARANTH! */
    transition: text-shadow 0.15s ease-in-out; 
    font-weight: bold;
}
a:hover { /* link hover */
    text-shadow: 0 0 5px rgb(255, 0, 76);  /* pretty :3 */
}
a.orange {
    color: rgb(255, 171, 115);
    transition: text-shadow 0.15s ease-in-out; 
    font-weight: bold;
}
a.orange:hover {
    text-shadow: 0 0 5px rgb(255, 171, 115);
}
a.blue {
    color: rgb(115, 199, 255);
    transition: text-shadow 0.15s ease-in-out; 
    font-weight: bold;
}
a.blue:hover {
    text-shadow: 0 0 5px rgb(115, 199, 255);
}
a.green {
    color: rgb(115, 255, 157);
    transition: text-shadow 0.15s ease-in-out; 
    font-weight: bold;
}
a.green:hover {
    text-shadow: 0 0 5px rgb(115, 255, 157);
}
a.white {
    color: rgb(228, 228, 228);
    transition: text-shadow 0.15s ease-in-out; 
    font-weight: bold;
}
a.white:hover {
    text-shadow: 0 0 5px rgb(228, 228, 228);
}
.monospace {
    font-family: 'Courier New', Courier, monospace;
    background-color: #070707;
    color: #e0e0e0;
    padding: 0.1em 0.3em;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid #222;
}
mark { /* marks cus they r pretty (like you, dear reader :3) */
    background-color: rgb(255, 160, 200);
}
mark.blue { /* marks cus they r pretty (like you, dear reader :3) */
    background-color: rgb(160, 217, 255);
}

/* IMAGES */
img {
    width: 15%;
    transition: transform 0.3s ease; 
}
img:hover { /* pretty hover */
    transform: scale(1.1) rotate(2deg);
}
img.large {
    width: 25%;
}
.img88x31 img {
    width: 88px;
    height: 31px;
    max-width: none;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #000000; 
}
::-webkit-scrollbar-thumb {
    background: rgb(189, 0, 57); 
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(255, 0, 76); 
}

/* NAVBAR & TOPBAR */
.topbar {
    background-color: rgb(17, 13, 15);
    padding: 5px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-container img {
    height: 32px;
    width: auto;
}
.topbar-subtitle-text {
    color: rgb(136, 136, 136);
    font-style: italic;
    margin-left: 10px;
}
.topbar-page-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar {
    background-color: rgb(20, 15, 18);
    padding: 0;
    display: flex;
}
.navbar a {
    color: white;
    text-decoration: none;
    padding: 6px 20px;
    display: inline-block;
    transition: background-color 0.3s;
    font-size: 14px;
}
.navbar a:hover {
    background-color: rgb(204, 0, 61);
}
.navbar a.active {
    background-color: rgb(204, 0, 61);
}

/* TABLES */
table {
  border-collapse: collapse;
  margin: 0px auto;
}
td, th {
  border: 1px solid rgb(24, 16, 18);
  text-align: left;
  padding: 10px;
  transition: background-color 0.15s ease-in-out; 
}
td:hover, th:hover {
    background-color: rgb(17, 12, 13);
}
tr:nth-child(even) {
  background-color: rgb(31, 21, 24);
}
tr:nth-child(odd) {
  background-color: rgb(26, 17, 19);
}
.tablecontainer {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px auto;
}
.tablecontainer table {
    margin: 0;
}
