/* styles.css backup */
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: none;
}
/*______________________________________________________________________________________________________*/
/* General Settings */
body {
    font-family: "Kode Mono", monospace;
    margin: 0;
    padding: 0;
    background-color: #e2e2e2;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in the width/height */
    overflow: hidden; /* Prevents scrollbars from appearing */
}
/*______________________________________________________________________________________________________*/
/* Responsive Grid System */
.container {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 12-column grid */
    gap: 20px;
}

html {
    overflow-y: scroll;
}
/*______________________________________________________________________________________________________*/
.back-button {
    display: inline-block;
    font-size: 18px;
    font-weight: normal;
    color: black; /* Default text color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth color transition on hover */
    background: none; /* Remove any background color */
    border: none; /* Remove any border */
    padding: 0; /* Remove padding to prevent box-inventory appearance */
    margin-top: 5px; /* Add spacing between the button and the header if needed */
}

.back-button:hover,
.back-button:active {
    color: red; /* Text turns red on hover or active state */
}
/*______________________________________________________________________________________________________*/
/* General Styles for Page Titles */
h1 {
    font-family: "Kode Mono", monospace;
    font-size: 28px; /* Adjust size for consistency */
    margin-bottom: 10px; /* Space below the title */
    width: 100%; /* Ensure full width */
    background-color: transparent; /* No background */
}
/* Subheader Styles (h3) */
h3 {
    font-size: 22px; /* Slightly smaller than h1 */
    margin-bottom: 5px;
    color: #555; /* Slightly darker for differentiation */
    text-align: center;
}
/*______________________________________________________________________________________________________*/
/* Modal styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.8); /* Darken the background */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
/* Modal content styling */
.modal-content {
    display: block;
    width: 100%;
    max-width: 90%; /* Ensure it doesn't exceed screen width */
    max-height: 80%; /* Ensure it fits within the viewport */
    margin: 50px auto 20px; /* Add margin at the top to push the image down */
    padding-bottom: 20px; /* Add space at the bottom of the image */
    box-sizing: border-box;
    background-color: transparent; /* Allow body background to show through */
}
/* Image within modal */
.modal img {
    max-height: calc(100vh - 100px); /* Ensure image does not stretch too tall, with space at top and bottom */
    object-fit: contain; /* Keep the image's aspect ratio intact */
    margin: 0 auto; /* Center the image */
}
/* Modal navigation buttons (prev/next) */
.prev, .next {
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    cursor: pointer;
    z-index: 10;
}
.prev { left: 0; }
.next { right: 0; }

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
.modal-open {
    background-color: #f5f5f5; /* Body color or light background */
    transition: background-color 0.3s ease;
    opacity: 1;
}
#caption {
    color: #ccc;
    text-align: center;
    padding: 10px 0;
}
/*_____________________________________________________________________________________________________*/
/* ART MODAL STYLES */

.art .modal {
    background-color: rgba(50, 50, 50, 0.9); /* Darker background specific to art modals */
}
.art .modal #caption {
    color: #fff; /* White captions for contrast */
}
/*______________________________________________________________________________________________________*/

/* USERNAME STYLING */
.username {
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: inherit; /* Use the color of the parent */
    border: none;
    background: none; /* Ensure no background */
}
/* Username Header for Below Navigation */
.username-header {
    font-size: 20px;
    font-family: "Kode Mono", monospace;
    color: #333; /* Darker color for visibility */
    margin: 5px 0; /* Space around the username */
    text-align: right; /* Align to the right if needed */
    background: none; /* Ensure no background */
    background-color: transparent; /* No background */
}
.username-container {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background-color: transparent; /* Ensure no background */
}
.user-info {
    display: flex;
    align-items: center;
    background: none; /* Remove background */
    padding: 0; /* Remove any padding if present */
}
.profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}
/*______________________________________________________________________________________________________*/

/* SEARCH BUTTON STYLES */
.search-container button {
    /* Adjust or remove properties that conflict with .search-button */
    background-color: transparent; /* Let search-button handle background */
    color: inherit; /* Inherit text color from parent or define here */
}

.search-button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #333;
}

.search-button:active {
    background-color: green;
}
/*______________________________________________________________________________________________________*/

/* VIEW OPTIONS CONTAINER STYLES */
#view-selector {
    margin: 0; /* Remove margin to align with label */
    padding: 5px; /* Adjust padding for better spacing */
    font-size: 1em;
    font-family: "Kode Mono", monospace;
}

.view-options-container {
    background-color: #e0e0e0;
    padding: 10px; /* Adjust padding as needed */
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    gap: 10px; /* Space between label and selector */
}

.view-options-container select {
    margin: 0; /* Remove margin to align with label */
    padding: 5px; /* Adjust padding for better spacing */
    font-size: 1em;
    font-family: "Kode Mono", monospace;
}
/*______________________________________________________________________________________________________*/

/* Mobile menu for General styles */
.mobile-menu {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    justify-content: flex-start; /* Align items to the start of the container */
    align-items: center; /* Align items vertically centered */
    padding: 0; /* Remove padding to reduce space */
    margin-left: 10px; /* Add margin to separate from the thumbnail */
    width: 100%; /* Ensure the mobile menu takes the full width */
}

/* Mobile menu link styles */
.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 5px 10px; /* Reduce padding for a more compact layout */
    text-align: center;
    flex: 1 0 22%; /* Ensure each item takes down about a third of the width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

@media (max-width: 768px) {
    .back-button {
        font-size: 16px; /* Smaller font size for mobile */
        margin-top: 10px; /* Adjust spacing */
    }
}

/****************************************** Navigation menu ************************************************/
/* __  _
   \ `/ |
    \__`!
    / ,' `-.__________________
   '-'\_____                LI`-.
      <____()-=O=O=O=O=O=[]====--)
        `.___ ,-----,_______...-'
             /    .'
            /   .'
           /  .'         hjw
           `-'    */

/* Base styles for the navigation */
nav {
    background-color: #000;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
}
.nav body {
    font-family: "Kode Mono", monospace;
    margin: 0;
    padding: 0;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in the width/height */
    overflow: hidden; /* Prevents scrollbars from appearing */
    background-color: none;
}
.nav-header {
    display: flex;
    flex-direction: column; /* Ensure elements are stacked vertically */
    background-color: transparent;
}
/* New container for logo and mobile menu */
.logo-menu-container {
    display: flex;
    align-items: center;
}

/* Add fixed width for the logo container */
.logo-container {
    display: flex;
    align-items: center;
    width: 120px;  /* Ensure the container width doesn't change */
    justify-content: center;  /* Center the logo inside the container */
}
/* Text styles */
.logo-container h1 {
    margin: 0;
    color: white;
    font-size: 1.5em;
    display: block; /* Ensure it's visible by default */
}
/* Ensure the logo container stays consistent across all pages */
.logo-container img {
    border-radius: 50%; /* Makes the image circular */
    width: 50px; /* Set width */
    height: 50px; /* Set height, same as width to ensure circular shape */
    margin-right: 10px; /* Adjust spacing between the thumbnail and the bot name */
    transition: none; /* Disable transitions for logo resize */
}

/* Navigation links container */
.nav-links {
    display: flex;
}
/* Navigation link styles */
nav a {
    color: white;
    text-decoration: none;
    padding: 14px 20px;
    display: inline-block;
    transition: color 0.3s, background-color 0.3s;
}
/* Specific styles for the clickable logo link */
.logo-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

/* Hover state for links */
nav a:hover {
    color: red;
    background-color: #000;
}
/* Active state for links */
nav a.active {
    color: red;
    background-color: #000;
    border-radius: 5px;
}

/* Mobile menu styles */
.mobile-menu {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    justify-content: flex-start; /* Align items to the start of the container */
    align-items: center; /* Align items vertically centered */
    padding: 0; /* Remove padding to reduce space */
    margin-left: 10px; /* Add margin to separate from the thumbnail */
    width: 100%; /* Ensure the mobile menu takes the full width */
}
/* Mobile menu link styles */
.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 5px 10px; /* Reduce padding for a more compact layout */
    text-align: center;
    flex: 1 0 22%; /* Ensure each item takes down about a third of the width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
/* Hide the bot name on mobile devices */
@media (max-width: 768px) {
    .logo-container h1 {
        display: none; /* Hide bot name on mobile */
    }

    /* Hide the regular nav links */
    .nav-links {
        display: none;
    }
}
/* Media query for desktop devices */
@media (min-width: 769px) {
    /* Show the regular nav links */
    .nav-links {
        display: flex; /* Adjust this based on your desktop menu layout */
    }

    /* Hide mobile menu on desktop devices */
    .mobile-menu {
        display: none;
    }
}

/* ************************************** Page 1. Index Page: General Styles *******************************/
/*  _________________
   |# :           : #|
   |  :           :  |
   |  :           :  |
   |  :           :  |
   |  :___________:  |
   |     _________   |
   |    | __      |  |
   |    ||  |     |  |
   \____||__|_____|__| */ 

.index .header-container {
    padding: 8px 0;
    text-align: center;
    margin-top: 4px;
    background-color: none;
}

.index .header-container h1 {
    font-size: 2.5em;
    color: #333;
    margin-top: 2px;
    margin-bottom: 10px; /* Reduced space between header and image */
    background-color: none;
}

.index .image-container {
    display: grid;
    grid-template-columns: 1fr; /* One column for the image */
    justify-items: center; /* Center the image horizontally */
    max-width: 480px;
    margin: 0 auto;
}

.index .image-container img {
    width: 100%; /* Make image scale with the container */
    max-width: 80%; /* Limit image size */
    height: auto;
}

/* Grid Layout for Auth Section */
.index-content-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for image and auth buttons */
    gap: .5px; /* Reduced space between the columns */
    padding: 10px;
    box-sizing: border-box;
    margin-top: 20px;
    align-items: center;
    background-color: none;
}

/* Image Container within Grid */
.index-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.index-image-container img {
    width: 100%;
    max-width: 80%;
    height: auto;
}
/*______________________________________________________________________________________________________*/

/* Auth Container within Grid */
.auth-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 80%;
    background-color: none;
}

/* Button Styling */
.auth-container .auth-button,
.auth-container .guest-button,
.auth-container .register-button {
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    background-color: black;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px 0;
    transition: background-color 0.3s ease;
    width: 200px; /* Ensures consistent button size */
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Kode Mono", monospace;
}

.auth-container .auth-button:hover,
.auth-container .guest-button:hover,
.auth-container .register-button:hover {
    background-color: #333;
}

/* Hide Auth Buttons when logged in */
.logged-in .auth-container {
    display: none; /* Hide the auth section when logged in */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .index-content-container {
        flex-direction: column;
        align-items: center; /* Center the content */
    }

    .index .image-container {
        width: 100%;
        height: auto;
        overflow: hidden;
        display: flex;
        justify-content: center;
    }

    .index .image-container img {
        width: 150%;
        height: auto;
        object-fit: cover;
        transform: scale(1.8);
    }

    .auth-container {
        margin-top: 20px;
    }

    .auth-container .auth-button {
        width: auto; /* Adjust button width on small screens */
    }
}

/*_____________________________________________________________________________________________________*/
/* Sign-In Page Styles */
.signin-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.signin-container h2 {
    text-align: center;
    margin-bottom: 20px;
}
.signin-container form label {
    display: block;
    margin-bottom: 5px;
}
.signin-container form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.signin-container form button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}
.signin-container form button:hover {
    background-color: #b30000;
}
/* Reset any form styles that might affect layout */
body.signin-page form {
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: box shadow for forms */
}
body.signin-page .error {
    color: red;
    margin-bottom: 10px;
}
/*______________________________________________________________________________________________________*/

/* Guest Styles */
/* Disable guest button */
a.disabled {
    pointer-events: none; /* Makes the link unclickable */
    color: gray; /* Optional: Adjust the style to indicate it's disabled */
    cursor: not-allowed;
}

/* Guest Login and Logout Button Styles for guest.php */
.guest-container .guestsigninbutton,
.guest-container .guestsignoutbutton {
    padding: 10px 20px; /* Larger padding for bigger buttons */
    font-size: 1em; /* Increased font size */
    border: none;
    cursor: pointer;
    border-radius: 8px; /* Slightly larger border radius */
    margin: 15px; /* Spacing around buttons */
    width: 150px; /* Increased width for prominence */
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Kode Mono", monospace;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Add smooth hover effects */
}

/* Green for Login as Guest */
.guest-container .guestsigninbutton {
    background-color: #28a745; /* Bootstrap green for a bold look */
}

.guest-container .guestsigninbutton:hover {
    background-color: #218838; /* Darker green on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Red for Logout as Guest */
.guest-container .guestsignoutbutton {
    background-color: #dc3545; /* Bootstrap red for contrast */
}

.guest-container .guestsignoutbutton:hover {
    background-color: #c82333; /* Darker red on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Flexbox Container for Buttons */
.guest-container .button-container {
    display: flex;
    gap: 15px; /* Increased space between buttons */
    justify-content: center; /* Center-align buttons */
}

/* Guest Message Styling */
.guest-container .guest-message {
    font-size: 1.2em; /* Slightly larger text */
    font-weight: bold; /* Emphasize the message */
    color: #333; /* Neutral text color */
    margin: 20px 0; /* Space around the message */
    text-align: center; /* Center-align the message */
    font-family: "Kode Mono", monospace;
}

/* Styling for Guest Description */
.guest-container .guest-description {
    max-width: 600px; /* Limit the width of the text */
    margin: 0 auto 20px; /* Center it and add spacing below */
    padding: 15px; /* Add padding around the text */
    border-radius: 10px; /* Rounded corners */
    font-size: 1em; /* Maintain readable font size */
    text-align: center; /* Center-align the text */
    font-family: "Kode Mono", monospace;
    line-height: 1.5; /* Improve readability */
}
/*__________________________________________________________________________________________________________/

/* USER SETTINGS PAGE STYLINGS */

/* Main Settings Container */
.settings-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.settings-container h1 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

/* Horizontal Layout for Settings */
.settings-container .form-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;  /* Align to the left */
    margin-bottom: 15px;
}

/* Label Styling */
.settings-container label {
    width: 150px;
    font-weight: bold;
    text-align: right;
    margin-right: 10px;
}

/* Input Fields */
.settings-container input,
.settings-container textarea,
.settings-container select,
.settings-container .color-bar {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    margin-right: 10px;
}
/*______________________________________________________________________________________________________*/

/* USER SETTINGS PAGE: Save Button */
.settings-container .save-button {
    padding: 8px 12px;
    background-color: none;  /* Green background */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem; /* Ensure the button text is clear */
    margin-left: 10px;  /* Space between input field and button */
}

.settings-container .save-button:hover {
    background-color: #3c9e42; /* Darker green on hover */
}
/*______________________________________________________________________________________________________*/
/* USER SETTINGS PAGE: LOGOUT BUTTONS */
/* Adding margin-bottom to logout container */
.logout-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px; /* Add space below the logout button */
}

/* USER SETTINGS PAGE: LOGOUT BUTTON*/
.logout-button {
    display: inline-block; /* Keeps the button as an inline-block */
    padding: 10px 20px;
    color: white;
    background-color: #dc3545;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 auto; /* Added to help center the button */
}

.logout-button:hover {
    background-color: #b02a37;
}
/*______________________________________________________________________________________________________*/
/* USER SETTINGS: Color Bar Styling */
.color-bar {
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: linear-gradient(to right, red, orange, yellow, green, cyan, blue, violet);
    cursor: pointer;
    position: relative;
}

/* Color Preview Box */
.color-preview {
    width: 50px;
    height: 30px;
    margin-top: 5px;
    border-radius: 5px;
    display: inline-block;
}

/* Hide the color picker initially */
input[type="color"] {
    display: none;
}
/*______________________________________________________________________________________________________*/

/* USER SETTINGS PAGE: Profile Image Section */
.download-image-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.download-image-container label {
    margin-right: 10px; /* Space between label and input */
}

.download-image-container input[type="file"] {
    margin-right: 10px; /* Space between the file input and the button */
}

/* Adjust thumbnail preview */
.download-thumbnail {
    margin-top: 20px;
}

form p {
    margin-left: 220px; /* Align this with the input elements */
}
/*______________________________________________________________________________________________________*/

/* USER SETTINGS PAGE: Stats Section Container */
.stats-container {
    max-width: 800px; /* Matches the width of the settings container */
    margin: 20px auto; /* Centers the container */
    padding: 20px; /* Adds padding inside the container */
    border: 1px solid #ccc; /* Adds a border around the container */
    border-radius: 10px; /* Rounded corners */
    background-color: #f9f9f9; /* Matches background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a light shadow */
}

/* Section Titles for Stats Section */
.stats-container h2 {
    margin-bottom: 15px; /* Space below the title */
    font-size: 1.5rem; /* Size of the title */
    color: #333; /* Color of the title */
}

/* List Styling */
.stats-container ul {
    list-style: none;
    padding: 0;
    margin: 0; /* Removes extra space around the list */
}

/* List Items */
.stats-container ul li {
    display: flex;
    justify-content: space-between; /* Spreads out the list items */
    padding: 5px 0;
    border-bottom: 1px solid #eee; /* Light border between list items */
}

/* Links within stats */
.stats-container ul li a {
    text-decoration: none;
    color: #c00000; /* Color of the links */
    font-weight: bold; /* Makes the links bold */
}

.stats-container ul li a:hover {
    text-decoration: underline; /* Underlines the link on hover */
}

/* User Stats container */
.userstat-container {
    text-align: center;  /* Centers everything within the container */
    max-width: 800px;     /* Optional: Adds a maximum width for the content */
    margin: 0 auto;       /* Centers the container on the page */
}

/* Additional Content Styling */
p {
    font-size: 1rem;
    line-height: 1.5;
}
/*______________________________________________________________________________________________________*/

/* USER SETTINGS PAGE: Delete Buttons */
#delete-confirm-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

#delete-confirm-btn:hover {
    background-color: darkred;
}
/*______________________________________________________________________________________________________*/

/* USER SETTINGS PAGE: Goodbye Page */
.message-box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.message-box p {
    font-size: 18px;
}

.message-box a {
    text-decoration: none;
    background-color: #007bff;

    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px;
}

.message-box a:hover {
    background-color: #0056b3;
}
/*______________________________________________________________________________________________________*/

/* INDEX PAGE: Art Styles */
/* Styles for the gallery */
.art-gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.art-item {
    text-align: center;
    margin: 10px;
}
.art-thumbnail {
    width: 150px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.art-thumbnail:hover {
    transform: scale(1.1); /* Slight zoom effect */
}

/*************************************PAGE 2. About Page Styles ********************************/
/* _       )\
\`-.___/ _\.
 \    __( \ \__
  :  j   \O/   )
  :  |  ()(__-'
  ;  `-.-'  /====
   `-//__.-'\_
    ///       `-.
     /          |
    (           | /|
     \          |/ |
      `-.       U  |
       _I  D   \\rs'
      (         }
       `--.___.'   */

/* Table of Content Styles */
.toc {
    width: 25%; /* Fixed width for TOC */
    height: 50%;
    padding: 10px;
    position: fixed;
    margin-top: 4%; /*Controls position between top and toc */
    margin-left: 7%;
    margin-bottom: 70%;
    border: 1px solid #ebadad; /* Optional: border for visual clarity */
    background-color: #fff; 
    height: max-content; /* Use auto to let height adjust based on content */
}

.toc h2 {
    color: #a50a0a;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    text-decoration: none;
    color: #000000;
    font-size: 1em; /* Slightly increase font size */
}

/* Mobile Styles */
@media (max-width: 768px) {
.toc {
    width: 100%; /* Full width on mobile */
    position: static; /* Remove fixed positioning for mobile */
    margin: 0; /* Remove margins */
    padding: 10px; /* Adjust padding if needed */
    border: none; /* Remove border or adjust as needed */
    align-items: center;
}

.toc h2 {
    font-size: 1.5em; /* Increase font size for better readability */
}

.toc ul {
    padding: 0;
    margin-top: 10px; /* Adjust margin for mobile */
}

.toc li {
    margin-bottom: 5px; /* Adjust spacing for mobile */
}

.toc a {
    font-size: 1em; /* Adjust font size if needed */
}
}

.about-page .section-content-container {
    width: 40%; /* Increase width by 25% */
    max-width: 100%; /* Ensure it doesn't exceed the parent's width */
    margin-right: 20; /* Center-align the container */
    margin-left: 45%;
    margin-top: 18px; /* Controls height section on about page */
    border: 1px solid #ddd; /* Optional border for visual clarity */
    height: max-content; /* Use auto to let height adjust based on content */
    position: static;
}

.about-page .section-content {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.about-page .section-title {
    font-size: 1.5em;
    color: #222;
    margin-bottom: 10px;
}

/* Remove default list styling within section-content */
.about-page .section-content ul {
    list-style-type: none; /* Remove bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.about-page .section-content li {
    margin: 10px 0; /* Add spacing between list items */
    text-align: left; /* Align text to the left for better readability */
}

.about-page .section-content a {
    color: #1a73e8; /* Link color */
    text-decoration: none; /* Remove underline from links */
}

.about-page .section-content a:hover {
    text-decoration: none; /* Add underline on hover */
}

@media (max-width: 768px) {
    nav {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: flex-start; /* Align items to the start */
    }

    nav a {
        padding: 10px 15px; /* Adjust padding for smaller screens */
    }

    nav .logo-container img {
        width: 80px; /* Adjust logo size if necessary */
        height: auto; /* Maintain aspect ratio */
    }
}
/*______________________________________________________________________________________________________*/
/* About Page: Visitors Wall */
/*     .-""-.     
     /_        _\   
    |\__\    /__/|  
     \    ||    /   
      \        /    
       \  __  /      
        '.__.'      
         |  |       
         |  |       */     
         .visitors-page {
            font-family: Arial, sans-serif;
            padding: 0;
            background-color: #3d3f44; /* Discord-inventory background */
            display: grid;
            grid-template-rows: auto 1fr; /* Header and main content area */
            min-height: 100vh;
            min-width: 100vw;
            grid-template-columns: 1fr;
            justify-items: center; /* Center content horizontally */
        }
        
        .visitors-page {
            background-color: #3d3f44; /* Discord-style gray */
        }
        
        .visitors-wrapper {
            background-color: #3d3f44; /* Background color behind the container */
            width: 100vw; /* Full width of the viewport */
            height: calc(100vh - 149px); /* Subtract the height of the header to fill remaining space */
            display: grid;
            place-items: center; /* Center the container */
        }
        
        /* Visitors Container */
        .visitors-container {
            width: 75vw; /* Matches the intended message box width */
            height: 70vh; /* Matches the height of the message box */
            background-color: #2f3136;
            border-radius: 10px;
            display: grid;
            grid-template-rows: auto 1fr auto; /* Three rows: title, message section, and input section */
            position: relative;
            margin: 0 auto;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Optional shadow for better focus */
        }
        
        /* Header Style (if any) */
        .visitors-h1 {
            background-color: #3d3f44; /* Background color behind the container */
            padding: 2px;
            text-align: center;
        }
        
        /* Visitor Message Container */
        .visitor-message {
            text-align: left; /* Ensure container is left-aligned */
            margin-bottom: 20px;
            padding-left: 50px; /* Adds padding to the left, aligning it with the profile image */
            word-wrap: break-word; /* Prevent long words from overflowing */
        }
        
        /* Message Content Alignment */
        .visitor-message p {
            margin: 5px 0; /* Add slight spacing between paragraphs */
            line-height: 1.5;
        }
        
        /* User Name and Timestamp Styling */
        .visitor-message p strong {
            display: inline-block; /* Ensure name stays in a single line */
            margin-right: 5px; /* Add spacing between name and timestamp */
        }
        
        /* Messages Section Style */
        .visitors-messages-section {
            padding: 20px;
            overflow-y: auto;
            grid-row: 2 / 3; /* Ensure it takes down the available space */
        }
        
        /* Messages Section */
        .visitors-messages-section {
            padding: 20px;
            overflow-y: auto;
            grid-row: 2 / 3; /* Ensures it takes down the available space between header and input */
            max-height: calc(100% - 60px); /* Prevents messages from overflowing under the input section */
        }
        
        /* Apply background only to the visitorsWall page */
        body.visitors-wall {
            background-color: #3d3f44; /* Set gray background for this page only */
        }
        
        /* Apply styles to the visitors-wrapper on this page */
        .visitors-wall .visitors-wrapper {
            background-color: #3d3f44; /* Keep this color for the content wrapper */
            width: 100vw; /* Full width of the viewport */
            height: calc(100vh - 149px); /* Fill the remaining height excluding the header */
            display: grid;
            place-items: center; /* Center the content */
        }
        
        /* Message Style */
        .message {
            display: flex;
            flex-direction: column; /* Stack content vertically */
            align-items: flex-start; /* Left-align the content */
            margin-bottom: 15px;
        }
        
        /* Message content alignment */
        .message-content {
            background-color: #40444b;
            padding: 10px;
            border-radius: 10px;
            text-align: left; /* Left-align the text */
            width: 100%; /* Ensure it uses full available width */
        }
        
        /* Name styling */
        .message-content .name {
            font-weight: bold;
            color: #7289da;
        }
        
        /* Date styling */
        .message-content .date {
            font-size: 0.8em;
            color: #7a7a7a;
        }
        
        /* Input Section */
        .visitors-input-section {
            display: flex;
            padding: 10px;
            background-color: #202225;
            grid-row: 3 / 4;
            width: 100%;
            box-sizing: border-box;
            justify-content: space-between;
            border-top: 2px solid #3d3f44;
            position: sticky;
            bottom: 0;
            background-color: #202225; /* Keep background fixed */
        }
        
        .visitors-p {
            font-family: "Kode Mono", monospace;
            font-weight: 400;
            color: #5c5c5c;
        }
        
        .timestamp {
            font-size: 0.85em; /* Make the font slightly smaller */
            color: #555; /* Optional: A lighter color for contrast */
        }
        
        /* Message Input Field */
        #message-input {
            flex: 1;
            padding: 10px;
            border-radius: 5px;
            border: none;
            resize: none;
            margin-right: 10px;
            width: calc(100% - 120px); /* Adjust width to account for send button */
        }
        
        /* Send Button */
        #send-button {
            padding: 10px 15px;
            border: none;
            background-color: #7289da;
            color: white;
            border-radius: 5px;
            cursor: pointer;
            flex-shrink: 0;
        }
        
        #send-button:hover {
            background-color: #5b6eae;
        }
        
        /* Responsive Navigation */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            .mobile-menu {
                display: block;
            }
        }
        
        @media (min-width: 769px) {
            .nav-links {
                display: block;
            }
            .mobile-menu {
                display: none;
            }
        }

/************************************* PAGE 3. Bot Page Styling ********************************/   
/*       [ ]    */
/*      (   )
/*       |>|
/*    __/===\__
/*   //| o=o |\\
/* <]  | o=o |  [>
/*     \=====/
/*    / / | \ \
/*   <_________> */

/* Command Table Styles */
.command-table {
    width: 80%;
    margin: 20px auto; /* Center the table */
    border-collapse: collapse;
    background-color: #fff;
}

.command-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    padding: 10px;
    border: 1px solid #ddd;
}

.command-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.command-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Alternating row colors */
}

.command-name {
    font-family: 'Kode Mono', monospace;
    font-weight: bold;
    color: red; /* Highlight command names in red */
}

/******************************************* PAGE 4. Weapons ***************************************************/
/* Styling for View: Weapon Images and Weapons List Options */
/* \
/* /                                 />
   \__+_____________________/\/\___/ /|
   ()______________________      / /|/\
               /0 0  ---- |----    /---\
              |0 o 0 ----|| - \ --|      \
               \0_0/____/ |    |  |\      \
                           \__/__/  |      \
Bang! Bang!                          |       \
                                    |         \
                                    |__________| */
/* General styling Weapons views */
.weapons .view-container {
    display: flex;
    flex-wrap: wrap;
    padding: 5%;
    gap: 14px; /* Space between items */
}

#weapons-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; /* Distribute images evenly */
    padding: 4%;
    gap: 20px;
}

#weapons-images > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px; /* Adjust as needed */
}

#weapons-images img {
    width: 100px; /* Thumbnail size */
    height: 100px; /* Thumbnail size */
    object-fit: cover; /* Ensures images fit within the thumbnail box */
}

#weapons-images p {
    text-align: center;
    font-size: 12px; /* Adjust as needed */
}

/* Specific styling for the List view */
#weapons-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal-width columns */
    gap: 1px; /* Increased spacing between grid items */
    width: 100%;
    margin-bottom: 20px; /* Optional: space at the bottom of the list */
}

#weapons-list a {
    text-decoration: none;
    color: #333;
    padding: 2px; /* Added padding for better spacing around the text */
    border: 1px solid #ddd; /* Optional: add a border for better visibility */
    border-radius: 5px; /* Optional: round corners */
    font-family: 'Kode Mono', monospace;
    text-align: center; /* Center-align text */
    display: block; /* Ensure anchor tag behaves inventory a block element */
    line-height: .01; /* Add line height for better text spacing */
}

#weapons-list a:hover {
    color: #e40000;
}

#weapon-names {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    width: 100%; /* Full width for the list */
}

#weapon-names li {
    width: 50%; /* Each item takes down half the width */
    box-sizing: border-box; /* Include padding and border in the element's total width */
    padding: 5px; /* Optional: add some space around items */
}
/*______________________________________________________________________________________________________*/

/* Weapon Details Page Styles */

/* +--^----------,--------,-----,--------^-,
/* | |||||||||   `--------'     |          O
/* `+---------------------------^----------|
/*   `\_,---------,---------,--------------'
/*     / XXXXXX /'|       /'
/*    / XXXXXX /  `\    /'
/*   / XXXXXX /`-------'
/*  / XXXXXX /
/* / XXXXXX /
/* (________(                
/* `------'     */

/* General Weapon Detail Page Layout */
.weapon-detail-container {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr; /* Three columns: Left (for text), Middle (for sections), Right (for image and reactions) */
    gap: 5px;
    grid-template-areas: 
      "left middle right"; /* Image and reactions are placed in the right section */
    max-width: 100%;
    min-height: 100vh;
    padding: 10px;
    overflow: hidden;
    grid-template-rows: auto 1fr; /* Adjusts the rows' heights automatically */
}

/* General Weapon Detail Page Layout */
.weapon-detail-container {
    display: grid;
    grid-template-columns: 1fr 3fr; /* Two columns: Left (for text), Right (for image and reactions) */
    gap: 5px; /* Space between the columns */
    grid-template-areas: 
      "left right"; /* Left for containers 2, 3, and 4, right for image and reactions */
    max-width: 100%;
    min-height: 100vh;
    padding: 10px;
    overflow: hidden;
    grid-template-rows: auto 1fr; /* Adjusts the rows' heights automatically */
    font-size: 1px; /* Adjust as needed */
}

/* Parent Wrapper for the Weapon Detail Page */
.weapon-details {
    display: grid;
    grid-template-rows: auto auto auto; /* Rows for container 1, frame, and container 5 */
    justify-items: center; /* Center horizontally */
    gap: 20px; /* Spacing between rows */
    padding: 20px;
    min-height: 100vh; /* Take full viewport height */
    box-sizing: border-box;
}

.weapon-details .details {
    max-width: 100%; /* Ensure the text section takes down most of the space */
    margin-right: 10px; /* Space between text and image */
}

.weapon-details p {
    margin-bottom: 0px; /* Space between paragraphs */
}

.weapon-details .section {
    margin-bottom: 10px; /* Space between sections */
    padding: 10px; /* Padding inside each section */
    border: 1px solid; /* Border color will be set by specific classes */
    border-radius: 4px; /* Rounded corners for sections */
    background-color: #f3f3f3; /* Background color for sections */
    font-size: 1px; /* Adjust as needed */
}
/*______________________________________________________________________________________________________*/

/* Container 1: Category and Type Details */
.weapon-container-1 {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 10px;
    border: 1px solid #ff6666;
    background-color: #ebebeb;
    margin: 20px auto; /* Center and add margin */
    margin-bottom: 20px;
    max-width: 800px; /* Limit the max width */
    width: 75%; /* Ensure the container doesn’t stretch too far */
    border-radius: 8px;
    text-align: center;
    justify-items: center; /* Center items horizontally */
}

.weapon-container-1 p {
    margin: 0 10px; /* Adds margin to the left and right of each item */
    flex: 1; /* Flex-grow: makes items grow equally */
    width: 45px;
}

.weapon-details-container h1 {
    font-size: 2em; /* Larger font size for the title */
    color: #333; /* Dark text color for the title */
    margin-bottom: 10px; /* Space below the title */
}

.weapon-details-category-container h1 {
    font-size: 1.5em; /* Larger font size for the title */
    color: #333; /* Dark text color for the title */
    margin-bottom: 10px; /* Space below the title */
}

/* Weapon Frame (Containers 2, 3, 4, Image Container, Reactions Container) */
.weapon-frame {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Maintain left and right columns */
    grid-template-rows: auto; /* Flexible row height */
    gap: 10px;
    align-items: start; /* Align items to the top */
    justify-items: center; /* Center items horizontally */
    width: 100%; /* Full container width */
    max-width: 1200px; /* Constrain maximum width */
    box-sizing: border-box;
    margin: 0 auto; /* Center the entire grid on the page */
}

.weapon-container-2,
.weapon-container-3,
.weapon-container-4 {
    width: 220px; /* Fixed width to prevent resizing */
    min-height: 120px; /* Set minimum height for consistency */
    border: 1px solid #ccc; /* Border styling */
    border-radius: 8px; /* Rounded corners */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    padding: 15px;
    box-sizing: border-box; /* Include padding in width/height calculation */
    text-align: center; /* Center-align text within containers */
    background-color: #f9f9f9; /* Light background for visibility */
}

.weapon-container-2 p,
.weapon-container-3 p,
.weapon-container-4 p {
    margin: 1px 0; /* Space between paragraphs */
    line-height: 1.4; /* Increase line height for better readability */
    overflow-wrap: break-word; /* Wrap long text to fit container */
    word-break: break-word; /* Ensure long words break properly */
}

.weapon-container-2 p span,
.weapon-container-3 p span,
.weapon-container-4 p span {
    display: inline-block; /* Keep spans inline and block for layout */
    width: 100%; /* Ensure spans respect container width */
    padding: 2px 0; /* Add slight padding for spacing */
}

.weapon-container-5 {
    width: 70%; /* Maintain width */
    max-width: 800px;
    border: 1px solid rgb(182, 30, 196);
    border-radius: 8px;
    padding: 10px; /* Keeps content spaced from the border */
    text-align: left; /* Left-align content */
    margin: 0 auto; /* Center horizontally */
    box-sizing: border-box; /* Include padding in total dimensions */
    display: block; /* Ensure the container behaves inventory a block element */
    height: auto !important; /* Force height to match content */
    min-height: unset !important; /* Remove any minimum height */
    flex-grow: 0 !important; /* Disable any flex grow from parent */
}

.weapon-container-5 p {
    margin: 0; /* Eliminate spacing between lines */
    padding: 0; /* Prevent padding from affecting layout */
}

/* Image container */
.weapon-image-container {
    width: 380px; /* Fixed width */
    height: 380px; /* Square height */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px; /* Optional: Rounded corners */
    overflow: hidden; /* Ensure the image doesn't spill outside the container */
    box-sizing: border-box;
}

.weapon-image-container img {
    width: 100%; /* Increase image width by 35% */
    height: 100%; /* Increase image height by 35% */
    object-fit: cover; /* Ensure image covers the container and maintains aspect ratio */
    display: block; /* Avoid extra space caused by inline images */
    margin: 0 auto; /* Center the image horizontally */
}

.weapon-details img {
    width: 100%; /* Scale image width down */
    height: auto; /* Maintain aspect ratio */
    max-width: 300px; /* Ensure max width */
    margin: 0 auto; /* Center the image */
}

/* Flex container to align image and reactions */
.weapon-image-reactions-container {
    display: flex;
    flex-direction: column; /* Stack image and reactions vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    width: 380px; /* Fixed width, matches the image container */
    margin-top: 10px; /* Add some space between the image and reactions container */
    box-sizing: border-box; /* Include padding and border in size */
}

/* Reactions container */
.weapon-reactions-container {
    width: 380px; /* Fixed width to match image container */
    height: 120px; /* Fixed height for the reactions container */
    border-radius: 8px; /* Optional: Rounded corners */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    margin-top: 10px; /* Space between the image container and reactions container */
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow */
}

/* Optional: Apply grid position for container 5 if needed */
.weapon-details .weapon-container-5 {
    grid-column: 1 / span 2; /* Ensures it spans across both columns (if needed) */
}

/* Weapon Details Container */
.weapon-details-category-container {
    text-align: center; /* Center the title */
    margin-bottom: 10px; /* Space below the title */
    flex-shrink: 0; /* Prevent image from shrinking */
}

/* Left Side Layout */
.left-side {
    display: grid; /* Switch to grid layout for alignment control */
    grid-template-columns: 1fr; /* Single column for stacking */
    gap: 10px; /* Maintain consistent spacing between sections */
    width: 100%; /* Full width for alignment */
    justify-items: center; /* Center-align child containers horizontally */
    align-items: start; /* Align items to the top of their container */
    box-sizing: border-box; /* Ensure padding and borders are accounted for */
}

.right-side {
    display: grid; /* Using grid for proper alignment */
    grid-template-columns: 1fr; /* Single column for stacking */
    gap: 20px; /* Consistent spacing between sections */
    width: 100%; /* Full width to maintain layout consistency */
    justify-items: center; /* Center-align child containers */
    align-items: start; /* Keep alignment consistent with top of parent */
}

/* Weapon Borders */
.weapon-details-page .border-light-red {
    border-color: lightcoral; /* Adjust color as needed */
}

.weapon-details-page .border-light-purple {
    border-color: rgb(182, 30, 196); 
}

.weapon-details-page .border-light-blue {
    border-color: rgb(91, 182, 218); /* Adjust color as needed */
}

.weapon-details-page .border-light-green {
    border-color: rgb(15, 236, 33)
}

.weapon-details-page .border-light-pink {
    border-color: rgb(216, 43, 138); 
}


/* Adjust layout for smaller screens */
@media screen and (max-width: 768px) {
    .weapon-detail-container {
        grid-template-columns: 1fr; /* Stack all elements in one column */
        grid-template-areas: 
            "left" 
            "middle" 
            "right"; /* Ensure the elements are stacked */
    }

    /* Adjust middle container (containers 2, 3, 4) */
    .weapon-detail-middle {
        grid-template-columns: 1fr; /* Stack the sections vertically */
        gap: 20px;
        align-items: center; /* Ensure they are centered */
    }

    .weapon-container-2, .weapon-container-3, .weapon-container-4 {
        width: 90%; /* Reduce width to create some margin */
        margin: 10px auto; /* Center containers horizontally */
        text-align: center; /* Ensure text is centered */
    }
    
    /* Make the image container responsive */
    .weapon-image-container, #weapon-image {
        max-width: 100%;
        height: auto;
        margin: 0 auto; /* Center the image */
    }

    .right-side {
        flex-direction: column; /* Stack image and reactions vertically */
    }
    
    /* Ensure reactions container stays below image */
    .reactions-container {
        margin-top: 20px;
    }
}

/* Adjust for very small screens (mobile view) */
@media screen and (max-width: 480px) {
    .weapon-detail-container {
        padding: 10px;
    }

    .weapon-container-1, .weapon-container-2, .weapon-container-3, .weapon-container-4, .weapon-container-5 {
        width: 100%; /* Make sure containers take full width */
        margin: 5px 0; /* Add margin for spacing */
    }

    /* Ensure images and text inside containers are responsive */
    .weapon-details img {
        width: 100%;
    }

    /* Adjust container 5 for responsiveness */
    .weapon-container-5 {
        max-width: 100%;
        padding: 10px; /* Adjust padding for small screens */
    }
}
/*______________________________________________________________________________________________________*/
/* WEAPONS PAGE: REACTIONS CONTAINER */

/* Reactions Container */
.reactions-container {
    display: flex;
    justify-content: center;
    margin-top: 4px;
    margin-bottom: 20px;
    width: 100%;
}

/* Reaction Buttons */
.reaction-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin: 0 10px;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover effect */
.reaction-btn:hover {
    background-color: #f1f1f1;
    transform: scale(1.1);  /* Slight scale on hover */
}

.reaction-btn:active {
    background-color: #e0e0e0; /* Change on click */
    transform: scale(1);  /* Reset scale when clicked */
}

/* Button for mobile responsiveness */
@media (max-width: 600px) {
    .reaction-btn {
        font-size: 20px; /* Slightly smaller buttons on smaller screens */
        padding: 8px;    /* Adjust padding */
    }
}
/* General Styles for Inventory, Loves, Likes, and Upvotes */
.inventory-items-container,
.downvoted-items-container,
.loved-items-container { 
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.inventory-item,
.downvoted-item,
.loved-item { 
    text-align: center;
    width: 150px;
}

.inventory-item-thumbnail,
.downvoted-item-thumbnail,
.loved-item-thumbnail { 
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.inventory-item-name,
.downvoted-item-name,
.loved-item-name { 
    font-size: 1em;
    margin-top: 5px;
}

/* No reactions message */
.no-reactions-message {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f0f0; /* Light gray background */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.no-reactions-message p {
    font-size: 1.2em;
    color: #555; /* Slightly darker text */
}

/* Text container */
.text-container {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: #f7f7f7;
    border-radius: 8px;
}

/* View Upvotes/ Loves/ Likes specific styles */
.text-container {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #555;
}

.no-reactions-message {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
}

.no-reactions-message p {
    margin: 5px 0;
}

/*______________________________________________________________________________________________________*/
/* WEAPONS PAGE: View Option CATEGORY Styles */
.item-nav-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #111;
    padding: 10px 0;
    border-bottom: 2px solid #444;
}

.item-category-button {
    color: white;
    background-color: #222;
    padding: 10px 15px;
    margin: 5px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
}

.item-category-button:hover {
    background-color: #333;
    color: #ff6666;
}

.item-category-button.active {
    color: red;
    background-color: #000;
}
   #category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center align categories */
    gap: 20px; /* Space between rows and columns */
    margin: 20px;
    padding: 10px;
    }
    
    /* Apply specific borders for each category dynamically */
    .category-box.Common {
        border: 2px solid rgb(129, 129, 129); /* Gray for Common category */
    }
    
    .category-box.Uncommon {
        border: 2px solid rgb(69, 182, 216); /* Lightblue for Uncommon category */
    }
    
    .category-box.Rare {
        border: 2px solid rgb(71, 201, 54); /* Limegreen for Rare category */
    }
    
    .category-box.Legendary {
        border: 2px solid rgb(211, 5, 5); /* Red for Legendary category */
    }
    
    .category-box.Vintage {
        border: 2px solid rgb(218, 221, 29); /* Yellow for Vintage category */
    }
    
    .category-box.Godly {
        border: 2px solid rgb(224, 22, 224); /* Mediumvioletred for Godly category */
    }
    
    .category-box.Chroma {
        border: 2px solid rgb(22, 224, 190); /* Teal for Chroma category */
    }
    
    .category-box.Ancient {
        border: 2px solid rgb(99, 48, 238); /* Blueviolet for Ancient category */
    }
    
    .category-box.Unique {
        border: 2px solid rgb(223, 189, 1); /* Gold for Unique category */
    }
    
    .category-box.Misc {
        border: 2px solid rgb(240, 100, 8); /* Orange for Misc category */
    }
    
    .category-box.Pets {
        border: 2px solid rgb(224, 22, 99); /* Pinkred for Pets category */
    }
    
    .category-box.Effects {
        border: 2px solid rgb(36, 36, 224); /* Blue for Effects category */
    }
    
    .category-box.Toys {
        border: 2px solid rgb(33, 228, 179); /* Cyan for Toys category */
    }
    
    .category-box.Radios {
        border: 2px solid rgb(226, 87, 173); /* Pink for Radios category */
    }
    
    .category-item {
        display: flex;
        flex-direction: column; /* Stack box and name vertically */
        align-items: center; /* Center align everything */
        width: 200px; /* Match the width of the box */
    }
    
    .category-box {
        width: 200px; /* Fixed width for boxes */
        border: none; /* No default border on category boxes */
        border-radius: 10px; /* Rounded corners */
        padding: 10px;
        text-align: center; /* Center-align content */
        background-color: #f9f9f9; /* Light background */
        display: flex;
        flex-direction: column; /* Stack image and text */
        justify-content: space-between; /* Space out elements */
        align-items: center;
    }
    
    .category-name {
        font-size: 18px;
        font-weight: bold;
        margin-top: 10px; /* Add space between box and name */
        text-transform: capitalize;
        text-align: center;
    }
    
    /* Ensure the category image fits and is centered */
    .category-image {
        width: 100%; /* Make image container take full width */
        height: 100px; /* Fixed height for the image container */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    
    .category-image img {
        width: 50%; /* Ensure image fills the container */
        height: 100%;
        object-fit: cover; /* Prevent distortion, crop as necessary */
        border-radius: 5px; /* Rounded corners */
    }
    
    .category-details-container {
        padding: 20px;
    }
    
    .category-details-container h1 {
        font-size: 2.5em; /* Adjust the size as needed */
        margin-bottom: 20px; /* Optional: Add some space below the header */
        font-weight: bold;  /* Optional: Make the header bold */
    }
    
    .category-thumbnail-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Adjust size based on thumbnail width */
        gap: 15px;
        margin-top: 20px;
    }
    
    .category-thumbnail {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .category-thumbnail img {
        width: 60%;
        height: auto;
        border: 1px solid #ddd;
        border-radius: 8px;
        transition: transform 0.2s;
    }
    
    .category-thumbnail img:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .item-name {
        margin-top: 10px;
        font-size: 1rem; /* Adjust the font size as needed */
        font-weight: bold;
        color: #333;
        text-align: center;
    }
    
    .category-list-view ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }
    
    .category-list-view li {
        margin: 10px 0;
        font-size: 18px;
    }
    
    .category-list-view a {
        text-decoration: none;
        color: #007bff;
        transition: color 0.3s ease;
    }
    
    .category-list-view a:hover {
        color: red;
    }
    
    /* Remove bullets and default list styling */
    .category-options ul {
        list-style-type: none; /* Removes the bullets */
        padding: 0; /* Removes the default padding */
        margin: 0; /* Removes any extra margin */
    }
    
    .category-options li {
        margin: 10px 0; /* Adds space between items */
    }
    
    .category-options a {
        text-decoration: none; /* Removes underline from links */
        color: #000; /* Adjust text color */
        font-size: 16px; /* Adjust font size */
    }
    
    /* Styling for the category options and boxes */
    .category-options {
        display: flex;
        flex-wrap: wrap;
        gap: 20px; /* Adds space between the boxes */
        justify-content: space-evenly;
        margin: 20px 0;
    }
    
    /* General .category-box style */
    .category-box {
        width: 200px; /* Fixed width for boxes */
        border: none; /* No default border on category boxes */
        border-radius: 10px; /* Rounded corners */
        padding: 10px;
        text-align: center; /* Center-align content */
        background-color: #f9f9f9; /* Light background */
        display: flex;
        flex-direction: column; /* Stack image and text */
        justify-content: space-between; /* Space out elements */
        align-items: center;
    }
    
    .category-link {
        text-decoration: none; /* Remove underline */
        color: inherit; /* Keep text color */
        display: block; /* Ensure the link wraps the entire box */
    }

/******************************************* PAGE 5: MM2PICS ********************************/  
/* Pics Styling */
/* -------------------------------------------------------------------------,
   [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [
   -----------------------------------------------------------------------/
         \|/ | O -   ^^         |                  |           _   _     |
        --O--|/ \        O  ^^  |   ^^   |||||     |     ___  ( ) ( )   _/ 
    /\   /|\ |         --|--    | ^^     |O=O|     |_ __/_|_\,_|___|___/  
   /  \/\    |~~~~~~~~~~~|~~~~~~|        ( - )     | `-O---O-'       |
     /\  \/\_|          / \     |       .-~~~-.    | -- -- -- -- -- /
    /  /\ \  |         '   `    |      //| o |\\   |______________ |
   --------------------------------------------------------------_/
   [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] ['
   ------------------------------------------------------------' */

/* MM2 Pics Container */
.mm2pics {
    padding: 20px; /* Add padding to create space around the entire section */
}

/* Image Galleries: Container for all galleries */
.mm2pics-galleries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 0 auto;
    max-width: 1200px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.mm2pics p, li, a {
    font-family: "Kode Mono", monospace;
    font-weight: 400;
    color: #333;
}

/* Individual Image Gallery */
.mm2pics-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns per gallery */
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
}

.mm2pics-gallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* White overlay */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
    z-index: 1; /* Ensure overlay is on top */
}

.mm2pics-gallery.fade-overlay::before {
    opacity: 1; /* Fully visible during fade */
}

.mm2pics-gallery img {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 1s ease-in-out;
    display: none; /* Initially hide all images */
}

.mm2pics-gallery img.active {
    display: block; /* Show the active image */
    opacity: 1;     /* Make it fully visible */
}

/* Action Buttons Container */
.mm2pics-buttons {
    margin: 20px;
    display: flex;  /* Ensure buttons align horizontally */
    justify-content: center; /* Center the buttons horizontally */
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Individual Button Styles */
.mm2pics-buttons button {
    background-color: #ca0404; /* Button background color (blue) */
    color: white; /* Text color */
    border: none; /* Remove default button border */
    margin: 5;
    border-radius: 5px; /* Slight rounding of the corners */
    padding: 5px 10px; /* Add some padding for better spacing */
    font-size: 14px; /* Adjust font size */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s ease; /* Smooth color transition */
}

/* Button Hover State */
.mm2pics-buttons button:hover {
    background-color: #68010f; /* Darken the blue on hover */
}

/* Button Focus State */
.mm2pics-buttons button:focus {
    outline: none; /* Remove default focus outline */
}

/*______________________________________________________________________________________________________*/
/* MM2PICS RANDOM IMAGES PHP STYLES */
.random-container {
    width: 80%;
    height: 80%;
    max-width: 400px;
    max-height: 400px;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden; /* Ensure the image doesn't overflow the container */
}

.random-container img {
    width: 100%; /* Ensure image fills container width */
    height: 100%; /* Ensure image fills container height */
    object-fit: contain; /* Prevents image distortion and keeps it within bounds */
    border: 2px solid #000;
    position: absolute; /* Keeps the image inside the container */
    top: 0;
    left: 0;
}

.newrandom {
    font-family: "Kode Mono", monospace;
    font-size: 16px;
    padding: 10px 20px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    cursor: pointer;
    margin-top: 10px; /* Adds a margin above the button to give space */
}

.newrandom:hover {
    background-color: #ddd;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/*________________________________________________________________________________________________________*/
/* MM2PICS PAGE: VIEW OPTION NUMBERS */
/* Modified CSS for the numbers list */
#numbers-list {
    display: flex; /* Use flexbox for the container */
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: center; /* Center the items horizontally */
    max-width: 800px; /* Set a maximum width for the container */
    width: 100%; /* Use full width down to max-width */
    margin: 20px auto; /* Center container with automatic left and right margins */
    padding: 10px; /* Optional padding inside the container */
    box-sizing: border-box; /* Include padding in the total width and height */
}

.number-item {
    flex: 0 0 50%; /* Each item takes 50% width */
    max-width: 50%; /* Ensure it doesn't stretch too wide */
    box-sizing: border-box; /* Include padding in the width */
    padding: 30px; /* Add padding around each item */
    text-align: center; /* Center text inside each item */
}

/* Styles for numbers list */
#numbers-list p {
    font-size: 18px; /* Set font size for the numbers */
    line-height: 1.6; /* Adjust line height for readability */
    text-align: center; /* Center the text */
    margin: 20px auto; /* Center paragraph with automatic left and right margins */
    max-width: 800px; /* Set a maximum width for the paragraph */
    width: 100%; /* Use full width down to max-width */
    padding: 10px; /* Optional padding inside the paragraph */
    color: #333; /* Set the text color */
}

#numbers-container {
    text-align: center;
    margin-top: 20px;
    display: block;
    white-space: normal; /* Ensures numbers break into multiple lines */
}
.number-link {
    display: inline-block; /* Keeps them on the same line until they wrap */
    margin-right: 10px;
    text-decoration: none;
    color: blue;
    font-size: 18px;
    cursor: pointer;
}
.number-link:hover {
    text-decoration: underline;
}

#numbers-list p span {
    transition: color 0.3s; /* Smooth transition for the color change */
    cursor: pointer; /* Indicate that the numbers are interactive */
}

#numbers-list p span:hover {
    color: red; /* Change text color to red on hover */
}

/* CSS for the viewNumberImages.html page */
.mm2numbers {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    height: auto; /* Adjust to auto to fit content */
    margin: 0; /* Remove default margin */
}

.mm2numbers h1 {
    text-align: center; /* Center text horizontally */
    margin-bottom: 20px; /* Space below the header */
}

.mm2numbers .image-container {
    display: block; /* Simplify layout */
    text-align: center; /* Center content horizontally */
    margin: 20px auto; /* Center container itself */
    width: auto; /* Let width adjust to content */

}
.mm2numbers .image-container img {
    max-width: 100%; /* Prevent image from overflowing */
    height: auto; /* Maintain aspect ratio */
    display: inline-block; /* Ensure it's treated as a block */
}
/*______________________________________________________________________________________________________*/

/* MM2PICS PAGE 5: VIEW OPTION PHOTOGRAPHER LIST/IMAGES */
/* Photographers List Styles */
#photographers-list {
    display: flex; /* Use flexbox for the container */
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: center; /* Center the items horizontally */
    max-width: 800px; /* Set a maximum width for the container */
    width: 100%; /* Use full width down to max-width */
    margin: 20px auto; /* Center container with automatic left and right margins */
    padding: 10px; /* Optional padding inside the container */
    box-sizing: border-box; /* Include padding in the total width and height */
}

#photographers-list a {
    color: inherit; /* Use the inherited color from parent (or set a default color) */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth color transition */
}

#photographers-list a:hover {
    color: red; /* Change text color to red on hover */
}

.photographer-item {
    flex: 0 0 50%; /* Each item takes 50% width */
    box-sizing: border-box; /* Include padding in the width */
    padding: 10px; /* Add padding around each item */
    text-align: center; /* Center text inside each item */
}

/* Photographer Images Styles */
#photographer-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
    box-sizing: border-box;
}

.photographer-image-item {
    flex: 1 1 30%; /* Each image takes down 30% of the width */
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.photographer-image {
    width: 100%; /* Make the image fill the container */
    height: auto;
    max-width: 300px; /* Set a maximum width for the image */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a slight shadow */
    margin: 10px 0; /* Optional: Add some spacing between images */
}

.photographerimage #resultImage {
    max-width: 80%;
    height: auto;
}

.photographerimage #prevButton, 
.photographerimage #nextButton {
    font-size: 20px;
    cursor: pointer;
    margin: 10px;
}
/*__________________________________________________________________________________________________>/
/* MM2PICS PAGE 5: VIEW OPTION: Tags */

/* General tag name styling */
.tag-name {
    color: limegreen;
    font-weight: bold;
}

/* Container for tag-specific images */
#tagsimage-container {
    margin: 40px auto;
    padding: 20px;
    text-align: center;
    max-width:400%; /* Ensure it doesn't stretch too far */
    font-size: 18px;
    color: gray;
    margin-top: 20px;
}

/* Specific styles for images inside the tags container */
#tagsimage-container img { 
    max-width: 400px;
    max-height: 400px;
    object-fit: cover; /* Ensures images fit within bounds */
    border: 2px solid limegreen;
    border-radius: 1px;
}

/* Navigation buttons */
#prevButton, #nextButton {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.tags #resultImage {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .mm2pics-galleries {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px;
    }

    .mm2pics-gallery {
        width: 100%;
        aspect-ratio: 1 / 1;
        margin: auto;
        grid-template-columns: 1fr;
    }

    .mm2pics-gallery img {
        object-fit: contain;
        max-width: 100%;
        max-height: 100%;
    }
}

/******************************************** PAGE 6: CREDITS *************************************************/
/*        -''--.
       _`>   `\.-'<
    _.'     _     '._
  .'   _.='   '=._   '.
  >_   / /_\ /_\ \   _<
    / (  \o/\\o/  ) \
    >._\ .-,_)-. /_.<
        /__/ \__\ 
/*          '---'     E=mc^2  */
.credits-section {
    text-align: center;
    margin: 20px 0;
}

/* Combined styles for the profile-container (Created By section) */
.profile-container {
    text-align: center;
    align-items: center;
}

/* Adjust image within profile-container */
.profile-container img {
    max-width: 150px; 
    height: auto; 
    border-radius: 50%; /* Circular profile image */
    border: 2px solid rgba(255, 0, 0, 0.5); /* Red border with 50% opacity */
}

/* Styling for the links section */
.links {
    justify-content: center;
    gap: 10px; /* Space between icons */
    margin-bottom: 20px; /* Adjust this value as needed */
}

/* General styling for the credits section */
.credits-section {
    margin: 20px 0;
}

/* Styles for contributor titles (credits) */
.profile-container p {
    margin: 0; /* Remove default margin between lines */
}

/* Adjust the contributor item styles */
.contributor-item p {
    margin: 0; /* Remove default margin between lines */
}

/* Make the title smaller */
.profile-container p:nth-of-type(2),
.contributor-item p:nth-of-type(2) {
    font-size: 0.9em; /* Reduce the font size */
    color: #666; /* Optional: change color to make it visually distinct */
}

/* Styling for the links section */
.links {
    text-align: center; /* Center align icons */
    margin-bottom: 50px; /* Space above the links section */
}

/* General styles for links in credits sections */
.credits-section a,
.contributors-container a {
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make text bold */
}

/* Color classes for contributors */
.color-red {
    color: red;
}

.color-purple {
    color: purple;
}

.color-blue {
    color: blue;
}

.color-yellow {
    color: rgb(216, 204, 34);
}

.color-green {
    color: green;
}

.color-teal {
    color: rgb(69, 214, 224); /* Teal color */
}

.color-orange {
    color: rgb(218, 89, 50); /* Orange color */
}

/* Adjust space between icons manually */
.links .link-icon {
    display: inline-block; /* Ensure icons line down horizontally */
    width: 50px; /* Fixed width */
    height: 50px; /* Fixed height */
    border-radius: 50%; /* Circular frame */
    overflow: hidden; /* Ensure content does not overflow */
    border: 2px solid rgba(51, 51, 51, 0.5); /* Border with 50% opacity */
    margin: 0 10px; /* Fixed space between icons */
}

/* Ensure the icons fit within the container */
.links .link-icon img {
    width: 100%; /* Ensure image fills container */
    height: 100%; /* Ensure image fills container */
    object-fit: cover; /* Crop and fill the container */
}

.links a {
    display: inline-block;
    margin: 5px 10px;
    color: red;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.contributors-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Flexibly distribute columns */
    gap: 20px; /* Space between contributors */
    justify-items: center; /* Centers items horizontally */
    align-items: center; /* Centers items vertically */
    width: 60%; /* Preferred width for larger screens */
    margin: 0 auto; /* Centers the entire grid container */
}

/* Ensures content within each grid item is centered */
.contributors-container > div {
    text-align: center; /* Centers inline content inventory text or images */
    width: 100%; /* Ensures the grid item takes full width */
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .contributors-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns on tablets */
        gap: 20px;
        width: 70%; /* Adjusts width for tablets */
    }
}

@media (max-width: 768px) {
    .contributors-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 columns on smaller screens */
        gap: 20px;
        width: 80%; /* Adjusts width for smaller screens */
    }
}

@media (max-width: 480px) {
    .contributors-container {
        grid-template-columns: 1fr; /* 1 column on very small screens */
        gap: 20px;
        width: 90%; /* Maximize the container width on very small screens */
    }
}

/* Flexible Images */
img {
    max-width: 100%;
    height: auto;
}

.contributor-item {
    text-align: center;
}

.contributor-item img {
    max-width: 150px; /* Size for contributor profile images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Circular profile image */
    border: 2px solid rgba(51, 51, 51, 0.5); /* Default border color with 50% opacity */
}

/* Specific border colors for each contributor */
.contributor-item:nth-child(1) img {
    border-color: rgba(240, 89, 245, 0.5); /* Red border with 50% opacity */
}

.contributor-item:nth-child(2) img {
    border-color: rgba(101, 115, 236, 0.5); /* Purple border with 50% opacity */
}

.contributor-item:nth-child(3) img {
    border-color: rgba(58, 230, 72, 0.5); /* Blue border with 50% opacity */
}

.contributor-item:nth-child(4) img {
    border-color: rgba(250, 218, 74, 0.5);  
}

.contributor-item:nth-child(5) img {
    border-color: rgba(66, 228, 101, 0.5); 
}

.contributor-item:nth-child(6) img {
    border-color: rgba(58, 219, 230, 0.5);
}

/* Specific border color for the creator */
.profile-container img {
    border-color: rgba(116, 0, 0, 0.5); /* Red border with 50% opacity */
}
/*__________________________________________________________________________________________________>/