/* Reset CSS */
body, h1, h2, h3, p, ul, li, header, nav, footer {
    margin: 0;
    padding: 0;
    color: #f1f1f1;
    caret-color: #f1f1f1;
}

h1 {
    font-size: 75;
}

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #212121;
    text-align: lefts;
}
.container {

}

.list {
  --bar-color: #333; /* fallback default */
  list-style: none;
  margin: 0;
  padding-left: 2em;
  position: relative;
}

.list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.75em;
  width: 4px;
  background: var(--bar-color);
  border-radius: 2px;
}


.list li {
  margin-bottom: 0.2em;
  position: relative;
}

.game-icon {
  height: 1.1em;
  vertical-align: middle;
  border-radius: 2px;
}

.game-dropdown summary {
  font-weight: bold;
  cursor: pointer;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.game-dropdown[open] summary::after {
  content: " ▲";
}
.game-dropdown summary::after {
  content: " ▼";
}

.profile-edit-container {
    color: #f1f1f1;
    max-width: 400px;
    background: #333;
    margin-top: 20px;
    padding: 30px;
    box-shadow: 0 0 10px #555;
    border-radius: 10px;
    text-align: left;
}

.profile-edit-container input {
    -webkit-box-shadow: 0 0 0px 1000px #262626 inset;
    -webkit-text-fill-color: #f1f1f1 !important;
    opacity: 1;
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 3px solid #262626;
    border-radius: 3px;
    transition: border-radius 0.3s, opacity 0.3s;
}

.profile-edit-container input:hover {
    opacity: 1;
    border-radius: 0px;
    transition: border-radius 0.3s, opacity 0.3s;
}

.profile-edit-container button {
    padding: 10px 20px;
    background-color: rgb(149, 0, 255); /* Green */
    border: none;
    color: white;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    transition-duration: 0.3s;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-edit-container button:hover {
    background-color: rgb(75, 0, 128);
}

.login-container {
    color: #f1f1f1;
    max-width: 400px;
    background: #333;
    margin-top: 20px;
    padding: 30px;
    box-shadow: 0 0 10px #555;
    border-radius: 10px;
    text-align: left;
}

.login-container input {
    -webkit-box-shadow: 0 0 0px 1000px #262626 inset;
    -webkit-text-fill-color: #f1f1f1 !important;
    opacity: 1;
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 3px solid #262626;
    border-radius: 3px;
    transition: border-radius 0.3s, opacity 0.3s;
}

.login-container input:hover {
    opacity: 1;
    border-radius: 0px;
    transition: border-radius 0.3s, opacity 0.3s;
}

.login-container button {
    padding: 10px 20px;
    background-color: rgb(149, 0, 255); /* Green */
    border: none;
    color: white;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    transition-duration: 0.3s;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-container button:hover {
    background-color: rgb(75, 0, 128);
}

.error {
    color: red;
    margin-top: 10px;
}

header {
    background: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: left; /* Ensures image and text stay in the same row */
    gap: 15px; /* Space between image and text */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2048;
}

nav {
    display: flex;
    flex-direction: row;
    text-align: left;
    align-items: left;
    margin-top: 20px;
}

nav a {
    color: #fff;
    text-align: left;
    background-color: #333;
    text-decoration: none;
    padding: 10px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
    transition: color 0.3s;
}

nav a:hover {
    background-color: #777;
    color: #fff;
    text-align: left;
    transition: background-color 0.3s;
    transition: color 0.3s;
}

.func-button {
    padding: 5px 10px;
    background-color: rgb(149, 0, 255); /* Green */
    border: none;
    color: white;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 2px 1px;
    transition-duration: 0.3s;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.func-button:hover {
    background-color: rgb(75, 0, 128);
}

.author {
    color: #ababab;
    font-size: 12px;
}

.buttons {
    text-align: left;
    align-items: left;
}

.header {
    display: flex;
    text-align: left;
    gap: 10px; /* Space between image and text */
    flex-grow: 1;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2048;

}

.header-text {
    display: flex;
    flex-direction: column; /* Stack h1 and h3 */
    justify-content: left; /* Align text properly */
    line-height: 1.2;
    margin-left: 0px;
    font-size: 115%;
    margin-top: -2px;
    margin-right: -35px;
}

.header-logo {
    width: 80px; /* Adjust as needed */
    height: auto;
    margin-top: -10px;
    margin-bottom: -10px;
    margin-left: 0px;
}

.content {
    max-width: 1200px;
    margin-top: 110px;
    margin-left: 40px;
    margin-bottom: 80px;
    padding-bottom: 50px;
    text-align: left;
}

.software {
}

.software h2, .software h4, .software hr {
    margin: 0;
    margin-bottom: 2px;
}

.software h4 {
    margin-bottom: 4px;
    font-weight: normal;
    font-style: italic;
    color: #414141;
}

.software hr {
    margin-bottom: 20px;
}

.hint {
    font-weight: normal;
    font-style: italic;
    color: #414141;
}

.button {
    display: flex;
    flex-direction: column;       /* Stack icon over text */
    align-items: center;
    justify-content: center;
    gap: 3px;

    width: 70px;
    height: 70px;
    padding: 5px;
    margin: 0 4px;

    background-color: #9500ff;
    color: white;
    text-align: center;
    font-size: 14px;
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;

    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button img,
.button i { /* Handles <img> or icon font */
    width: 28px;
    height: 28px;
}

.button:hover {
    opacity: 0.9;
    transition-duration: 0.3s;
}

.footer {
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
    opacity: 1;
}

.nav-button {
    padding: 10px 20px;
    background-color: rgb(149, 0, 255); /* Green */
    border: none;
    color: white;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.3s;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background-color: rgb(75, 0, 128);
}

.wip-container {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 5px;
    top: 50%;
    transform: translateY(-50%);
    left: -50px; /* Adjust to move it left */
    z-index: 10;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.news-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing */
    position: relative;
}

.socials {}

.socials img {
    margin: 2px;
    margin-bottom: -2px;
    height: 1.5em;
}

.wip-box {
    position: relative;
    display: inline-block;
    cursor: help;
}

.wip-box img {
    height: 0.9em;
}

.wip-box::after {
    content: attr(tooltip);
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.wip-box:hover::after {
    opacity: 1;
}

.nothing-to-see {
    text-align: left;
    opacity: 0.1;
    background-color: rgba(52, 52, 205, 0.8);
}

.nothing-to-see:hover {
    text-align: left;
    opacity: 1;
    background-color: rgba(52, 52, 205, 0.8);
}

#threads-container {
    width: 600px;
    margin: 0 auto;
}

#threads-list {
    margin-bottom: 20px;
}

input[type="text"],
textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
}

button {
    padding: 8px 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

.top-bar {
    background-color: #ff6347; /* Red color */
    color: white; /* Text color */
    padding: 10px; /* Adjust padding as needed */
    text-align: left; /* left text horizontally */
    margin: 0;
}

.notification,
.warn-notification {
    display: inline-block; /* Background only covers the text */
    background-color: rgb(149, 0, 255);
    color: white; /* Text color */
    padding: 5px 10px; /* Reduce padding if needed */
    text-align: left; /* Align text properly */
    border-radius: 5px;
    white-space: nowrap; /* Prevent background from expanding in multi-line cases */
}

.warn-notification {
    background-color: rgb(255, 85, 105);
}

.top-bar-text {
    margin: 0; /* Remove default margin */
}

.non-functional {
    background-color: darkgray;
}

.non-functional:hover {
    background-color: darkgray;
    cursor: not-allowed;
}

.off-page-body {
    text-align: left;
    margin-left: 200px;
}

.off-page-main {
    color: #373737;
    text-align: left;
}

.off-page-sub {
    color: #575757;
    text-align: left;
    padding-top: 5px;
    margin-left: 200px;
}

.off-page-extra {
    margin-left: 200px;
    padding-top: 5px;
    position: absolute;
    bottom: 0;
    color: #373737;
}

.valid {
    position: relative; /* Establishes a positioning context for absolute positioning of pseudo-elements */
    margin-bottom: 4px; /* CODE STILL NOT APPLYING ;) */
    opacity: 1;
}

.valid::before,
.valid::after {
    --hyphen-color: gray;
    font-size: 20px;
    font-weight: 400;
    display: block;
    position: absolute;
    left: 0;
    width: 100%; /* Ensures full width coverage */
    white-space: nowrap; /* Prevents text from wrapping */
    transition: opacity 0.1s ease; /* Smooth transition for fading effect */
}

.valid::before {
    content: attr(data-person);
    top: 0; /* Position at the top of the parent element */
    opacity: 1; /* Visible by default */
    z-index: 1; /* Ensures it is above the `::after` element */
}

.valid::after {
    content: attr(data-email);
    top: 0; /* Position at the top of the parent element */
    opacity: 0; /* Initially hidden */
    z-index: 0; /* Ensures it is below the `::before` element */
}

.valid:hover::before {
    opacity: 0; /* Hide the `::before` content on hover */
}

.valid:hover::after {
    opacity: 1; /* Show the `::after` content on hover */
}


.invalid {
    position: relative; /* Establishes a positioning context for absolute positioning of pseudo-elements */
    color: #f55;
    padding: 0.5em; /* Adjust as needed */
}

.invalid::before,
.invalid::after {
    position: absolute;
    left: 0;
    width: 100%; /* Ensures full width coverage */
    white-space: nowrap; /* Prevents text from wrapping */
    transition: opacity 0.1s ease; /* Smooth transition for fading effect */
}

.invalid::before {
    content: attr(data-person);
    top: 0; /* Position at the top of the parent element */
    opacity: 1; /* Visible by default */
    z-index: 1; /* Ensures it is above the `::after` element */
}

.invalid::after {
    content: "This person has been flagged for invalid contact info";
    top: 0; /* Position at the top of the parent element */
    opacity: 0; /* Initially hidden */
    z-index: 0; /* Ensures it is below the `::before` element */
}

.invalid:hover::before {
    opacity: 0; /* Hide the `::before` content on hover */
}

.invalid:hover::after {
    opacity: 1; /* Show the `::after` content on hover */
}

.page-under-renovation {
    background-color: #ff6347; /* Red color */
    color: white; /* Text color */
    padding: 0px; /* Adjust padding as needed */
    text-align: left; /* left text horizontally */
    margin: 0;
}

.page-under-renovation::before {
    content: "This page is under renovation. HERE BE BUGS!";
}

/* Customize the scrollbar */
::-webkit-scrollbar {
  width: 16px;              /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: #333 !important; /* Background of the track */
}

::-webkit-scrollbar-thumb {
  background-color: #f4f4f4;    /* Color of the draggable thumb */
  border-radius: 10px;       /* Rounded corners */
  border: 4px solid #333;
}

/* Hover effect for the scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
  background-color: #999;    /* Darker color when hovered */
}

.navigation-container {
    padding-left: 60px;
    display: flex;
    justify-content: left;
    gap: 10px;
}

.nav-button-disabled {
    padding: 10px 20px;
    background-color: rgb(75, 0, 128); /* Green */
    border: none;
    color: white;
    text-align: left;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.3s;
    cursor: pointer;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-button-disabled:hover {
    background-color: rgb(75, 0, 128);
    cursor: not-allowed;
}

.link {
    color: #f1f1f1;
    text-decoration: underline;
    font-weight: 1px;
    position: relative; /* Ensures the tooltip is positioned relative to the link */
    transition: color 0.3s;
}

.link:hover {
    color: #c0c0c0;
    transition: color 0.3s;
    cursor: pointer;
}

/* Tooltip styling */
.link::after {
    content: attr(href); /* Use the custom attribute for tooltip text */
    position: absolute;
    bottom: 100%; /* Position above the link */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    pointer-events: none; /* Prevent tooltip from interfering with hover behavior */
}

.link:hover::after {
    opacity: 1;
    visibility: visible;
}

.sub-cat {
    font-weight: bold;
    font-size: 18px;
}

.sc-sub {
    text-shadow: 0.1px 0.1px 0.1px #000;
    font-size: 16px;
}

.headimage {
    width: 300px; /* Adjust as needed */
    height: auto;
    border-radius: 10px; 
}

.profile-expanded {
    color: #fff;
    background-color: #333;
    height: 100px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.quickview {
    display: flex;
    text-align: left;
    gap: 10px; /* Space between image and text */
    flex-grow: 1;
    flex-direction: row;
}

.qv-icon {
    width: 100px; /* Adjust as needed */
    height: 100px;
    border-radius: 10px;
}

.flag-rank-endorsed {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  color: transparent;
  text-shadow: 3px, 3px, 3px, #5b6d8a;
  background-image:
    linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, #9500ff, #a611ff, #9011ef);
  background-size: 200% 100%, 100% 100%;
  background-position: -100% 0, 0 0;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}

.flag-rank-special {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  color: transparent;
  text-shadow: 3px, 3px, 3px, #5b6d8a;
  background-image:
    linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, #32a852, #20e655, #1dcf4c);
  background-size: 200% 100%, 100% 100%;
  background-position: -100% 0, 0 0;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}

.flag-rank-ruby {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  color: transparent;
  text-shadow: 3px, 3px, 3px, #5b6d8a;
  background-image:
    linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, #ff3826, #e64435, #d62b1c);
  background-size: 200% 100%, 100% 100%;
  background-position: -100% 0, 0 0;
  background-repeat: no-repeat;
  background-clip: text;`
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}

.flag-rank-diamond {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  color: transparent;
  text-shadow: 3px, 3px, 3px, #5b6d8a;
  background-image:
    linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, #56bdf3, #73c3f5, #0fa1fc);
  background-size: 200% 100%, 100% 100%;
  background-position: -100% 0, 0 0;
  background-repeat: no-repeat;
  background-clip: text;`
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}


.flag-rank-gold {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  color: transparent;
  text-shadow: 3px, 3px, 3px, #5b6d8a;
  background-image:
    linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, #dbbe4b, #f5d864, #fad648);
  background-size: 200% 100%, 100% 100%;
  background-position: -100% 0, 0 0;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}


.flag-rank-silver {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  color: transparent;
  text-shadow: 3px, 3px, 3px, #5b6d8a;
  background-image:
    linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, #c2c4c4, #d6d6d6, #c7c7c7);
  background-size: 200% 100%, 100% 100%;
  background-position: -100% 0, 0 0;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}

.flag-rank-bronze {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  color: transparent;
  text-shadow: 3px, 3px, 3px, #5b6d8a;
  background-image:
    linear-gradient(120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 35%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 65%,
      rgba(255, 255, 255, 0) 100%),
    linear-gradient(90deg, #d98236, #e38c40, #ba651a);
  background-size: 200% 100%, 100% 100%;
  background-position: -100% 0, 0 0;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4.5s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -150% 0, 0 0;
  }
  100% {
    background-position: 150% 0, 0 0;
  }
}

.flag-list {
  list-style: none;
  margin: 0;
  padding-left: 2em;
  position: relative;
}

.flag-listv::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.75em;
  width: 4px;
  background: #bbb;
  border-radius: 2px;
}

.flag-list li {
  margin-bottom: 0.2em;
  position: relative;
}

.qv-text {
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    flex-direction: column; /* Stack h1 and h3 */
    justify-content: left; /* Align text properly */
    line-height: 1.2;
}

.inline {
    display: flex;
    flex-direction: row;
    justify-content: left; /* Align text properly */
    line-height: 1.2;
    gap: 5px;
    padding-bottom: 10px;
}

.normal {

}

.extra {
    color: gray;
}

.success {
    color: lightgreen;
}

.error {
    color: indianred;
}

.warning {
    color: lightyellow;
}

.baderror {
    color: red;
}