/* Base Styles */
body {
    background-color: #000000;
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start; /* Align thumbnails to the start */
    gap: 10px; /* Space between thumbnails */
}

/* Thumbnail Container */
.thumb-container {
    position: relative;
    border: 3px solid #cb1a97; /* Adjusted border color */
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease; /* Smooth transition for zoom effect */
    width: 220px; /* Fixed width for thumbnails */
    height: 150px; /* Fixed height for thumbnails */
    background-color: transparent; /* Ensure no background color */
}

.thumb-container:hover {
    transform: scale(1.05); /* Zoom effect */
}

.thumb-container img {
    width: 100%; /* Ensure image fills the container */
    height: 100%; /* Ensure image fills the container */
    object-fit: cover; /* Maintain aspect ratio */
    object-position: center; /* Center the image */
    display: block; /* Ensure the image is displayed as a block element */
    filter: none !important; /* Ensure no filter is applied */
    opacity: 1 !important; /* Ensure full opacity */
}

/* User Details Ticker */
.user-details-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 2px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
}

/* Online Indicator */
.online-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: green;
    color: white;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 4px;
    opacity: 0; /* Start invisible for the fade-in effect */
    animation: fadeIn 2s ease forwards; /* Fade-in effect over 2 seconds */
}

/* Fade-in animation keyframes */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.thumb-container:hover .online-indicator {
    opacity: 1; /* Fade in effect */
}

/* Pagination Styles */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 8px 16px;
    margin: 4px;
    text-decoration: none;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #cb1a97;
}

/* Scroll Ticker Animation */
@keyframes scrollTicker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.user-details-ticker div {
    display: inline-block;
    animation: scrollTicker 20s linear infinite;
}

/* Navigation Menu Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #1a1a1a;
    color: #fff;
    width: 100%; /* Ensure the navbar takes up the full width */
}

.navbar > div, .nav-links, .search-container {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 20px; /* Add some space between the logo and the nav links */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    margin-left: 10px; /* Adds spacing between links */
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: #cb1a97;
}

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
}

.search-container input[type="text"] {
    padding: 5px;
    margin-right: 10px;
    border-radius: 5px;
    border: none;
}

.search-container input[type="submit"] {
    padding: 5px 10px;
    background-color: #cb1a97;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.search-container input[type="submit"]:hover {
    background-color: #007bff;
}

/* Thumbnails Container */
.thumbnails-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center items horizontally */
    gap: 10px; /* Space between items */
}

/* Footer Styles */
.site-footer {
    width: 100%;
    padding: 20px;
    background-color: #1a1a1a; /* Light grey background, adjust as needed */
    text-align: center;
    border-top: 1px solid #e1e1e1; /* Light grey border for a bit of separation */
    margin-top: 20px; /* Ensures there's space between the content and the footer */
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
}

.site-footer p {
    margin: 0;
    padding: 0;
    color: #333; /* Darker text color for contrast */
}

/* Layout Container */
.layout-container {
    display: flex;
    align-items: stretch; /* Ensures both sidebar and content fill the height */
    min-height: 100vh; /* Full height */
}

/* Sidebar Styles */
.sidebar {
    width: 150px;
    background-color: #333; /* Matching header color */
    color: white;
    padding: 10px;
    font-size: 12px;
    flex-shrink: 0; /* Prevents sidebar from shrinking */
}

.sidebar h3 {
    text-align: center;
    font-size: 16px;
    margin-bottom: 15px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu li a {
    display: block;
    background-color: #444;
    color: white;
    text-decoration: none;
    padding: 8px;
    text-align: center;
    border-radius: 5px;
    transition: background 0.3s, transform 0.2s;
}

.sidebar-menu li a:hover {
    background-color: #555;
    transform: scale(1.05);
}

/* Content Container */
.content-container {
    flex-grow: 1;
    padding: 20px;
}

/* Search Drop Boxes and Tags (PC Version) */
.filter-select {
    width: 100%;
    padding: 5px;
    font-size: 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #cb1a97;
    background-color: #333;
    color: white;
}

.top-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* Space between buttons */
}

.tag-button {
    background-color: #000;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
}

.tag-button:hover {
    background-color: #222;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;
    }

    .logo {
        max-width: 150px; /* Adjust logo size */
    }

    .menu-toggle {
        display: none; /* Hidden on desktop */
    }

    .nav-links {
        display: flex;
        gap: 10px;
    }

    .nav-links.active {
        display: flex;
    }

    .search-container {
        width: 100%;
        margin-top: 10px;
    }

    .search-container input[type="text"] {
        width: 90%;
    }

    .sidebar {
        width: 100%;
        position: relative;
    }

    .sidebar-toggle {
        display: block;
    }

    .sidebar-content {
        display: none;
        background-color: #333;
        padding: 10px;
    }

    .sidebar-content.active {
        display: block;
    }

    .warning-box {
        font-size: 14px;
        padding: 8px;
    }
/* Ensure no tint is applied to thumbnails */
.thumb-container img {
    filter: none !important; /* Remove any filters */
    opacity: 1 !important; /* Ensure full opacity */
    background-color: transparent !important; /* Ensure no background color */
}

/* Ensure no overlay is applied to thumbnails */
.thumb-container::before,
.thumb-container::after {
    display: none !important; /* Hide any pseudo-elements */
}

/* Ensure no parent elements are causing tinting */
.thumbnails-container,
.layout-container,
.content-container {
    background-color: transparent !important; /* Ensure no background color */
    filter: none !important; /* Remove any filters */
    opacity: 1 !important; /* Ensure full opacity */
}
}