﻿html 
{
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  min-height: 100%;
}
.multiline-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 5; /* number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.container {
    margin-left: 20px;
    margin-top: 40px;
    margin-bottom: 100px;
    margin-right: 40px;
    max-width: 98%;
}

.display-4 {
    margin-bottom: 50px;
}

.gridlink {
    margin-right: 10%;
}

.selected {
    border: ridge 2px red;
}

.post-create-input {
    width: 1000px;
    height: 400px;
}

/*Upper Right Navbar Profile Picture. Shown when logged in. */
.login-profile-picture {
    width: 50px;
    height: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.text-magenta {
    color: magenta;
}

.text-cyan {
    color: cyan;
}

.mt-12 {
    margin-top:4em;
}

.brightness-2:active {
    filter: brightness(1.5);
}

.w-inherit {
    width: inherit;
}

.chat-scroll-y {
    overflow-y: scroll;
    height: 20em;
}

.o-fit {
    height: 50px;
    width: 50px;
    object-fit: cover;
}

#LeftMenu, .right-sidebar {
    min-height: auto;
}
/***********************************************************************************
****************SCROLLBAR STYLING***************************************************************/

/* width */
::-webkit-scrollbar {
    width: .5em;
}

/* Track */
::-webkit-scrollbar-track {
    background: #303030;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10em;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #000000;
    border-radius: 10em;
}

#searchDropdown li {
    transition: background-color 0.3s ease, color 0.3s ease;
}

#searchDropdown li:hover {
    background-color: #007bff;
    color: white;
}


.interactable {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Light theme red glow */
body[data-bs-theme="light"] .interactable:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(200, 0, 0, 0.6); /* Darker red for light mode */
}

/* Dark theme red glow */
body[data-bs-theme="dark"] .interactable:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 80, 80, 0.9); /* Brighter red for dark mode */
}

.interactable-small {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Light theme red glow */
body[data-bs-theme="light"] .interactable-small:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(200, 0, 0, 0.6); /* Darker red for light mode */
}

/* Dark theme red glow */
body[data-bs-theme="dark"] .interactable-small:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 80, 80, 0.9); /* Brighter red for dark mode */
}


/*AnimePage + GamePage Vote UI*/
.vote-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
}

.vote-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: gray;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
}

.vote-btn.upvote.active {
    color: orange;
}

.vote-btn.downvote.active {
    color: blue;
}

.vote-count {
    text-align: center;
    min-width: 24px;
    font-weight: bold;
    margin: 2px 0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.4), 0 0 10px rgba(255, 100, 150, 0.2);
    }

    50% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 0 0 20px rgba(255, 100, 150, 0.4);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured Header – anime-inspired gradient & glow */
.featured-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem auto;
    padding: 0.6rem 1.2rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #ff6ec7, #ff3cac, #ff1a1a, #ff8c42);
    background-size: 400% 400%;
    border-radius: 0.6rem;
    box-shadow: 0 4px 15px rgba(255, 100, 150, 0.2);
    animation: gradientShift 18s ease infinite;
}

    .featured-header span {
        position: relative;
        z-index: 1;
        animation: fadeIn 1.2s ease, glowPulse 3s ease-in-out infinite alternate;
    }

/* Friends Header – softer anime gradient & glow */
.friends-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.25rem auto;
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(90deg, #ff99cc, #ff66aa, #ff4488, #ff2255);
    background-size: 400% 400%;
    border-radius: 0.5rem;
    box-shadow: 0 3px 12px rgba(255, 80, 130, 0.15);
    animation: gradientShift 20s ease infinite;
}

    .friends-header span {
        position: relative;
        z-index: 1;
        animation: fadeIn 1.2s ease, glowPulse 3s ease-in-out infinite alternate;
    }

    /* Remove default flashy pseudo-elements */
    .featured-header::before,
    .friends-header::before,
    .friends-header::after {
        content: none;
    }
