/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #080008 !important;
    color: #fff7ff !important;
}


/* Container for content */
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content area */
#content {
    flex: 1;
    padding: 20px;
}

/* Navbar customization */
.navbar-dark .navbar-nav .nav-link {
    color: #f4f4f4;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #00fffe;
}

.navbar-brand {
    color: #00fffe;
}

.navbar-toggler {
    border-color: #f4f4f4;
}

/* Footer styling */
footer {
    text-align: center;
    margin: 0;
    padding: 0;
	color: #fff7ff
}

#page > footer > div > div > div:nth-child(2) > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.py-4 {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}


footer p, footer a {
    color: #f4f4f4;
    text-decoration: none;
}

footer a:hover {
    color: #00fffe;
    
}

/* Button styles */
.btn-outline-light {
    color: #bb86fc;
    border-color: #bb86fc;
}

.btn-outline-light:hover {
    background-color: #bb86fc;
    color: #121212;
}

/* Form input styles */
.form-control {
    background-color: #1f1f1f;
    color: #e0e0e0;
    border: 1px solid #333;
}

.form-control::placeholder {
    color: #888;
}

/* Links */
a {
    color: #f4f4f4;
}

a:hover {
    color: #00fffe;
    text-decoration: none;
}

a:visited {
    color: #f4f4f4;
}

/* Adjustments for different screen sizes */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .form-control {
        margin-bottom: 10px;
    }

    footer {
        text-align: center !important;
        margin-top: 10px;
    }

    #page > footer > div > div > div:nth-child(2) > ul {
        margin: 0;
        list-style-type: none;
        padding: 0;
    }
}








/* Initial state of the search bar */
.input-search {
    width: 250px;
    transition: width 0.3s ease;
    background-color: #171717;
    color: #fff;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 10px 20px;
    outline: none;
}

/* Expanded state of the search bar */
.input-search.expanded {
    width: 400px;
    color: #fff !important;
    border-radius: 5px 5px 0 0;
}

/* Search Results Container */
.search-results-wrap {
    position: absolute;
    top: calc(100% + 2px);
    background-color: #171717;
    display: none; /* Hidden by default */
    z-index: 1000;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 400px;
}

/* Display the search results container when there are results */
.nav-search.active .search-results-wrap {
    display: block;
}

/* Search Results List */
.search-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Each search result */
.search-results li a {
    padding: 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

/* Hover state for search results */
.search-results li:hover {
    background-color: #3b3b3b;
}

/* Image within search results */
.search-results img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
}

/* Container for title and title_english */
.result-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Title of the search result */
.result-title {
    font-weight: bold;
    color: #fff7ff;
}

/* English title of the search result */
.result-english-title {
    font-size: 0.9em;
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .input-search {
        width: 100%;
    }

    .input-search.expanded {
        width: 100%;
    }

    .search-results-wrap {
        width: 100%;
    }
}





.main-header {
    background-color: #212529;
}

.header.main-header {
    position: relative;
    top: 0;
    z-index: 9;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    font-size: 0.875rem;
    color: #667d99;
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header.main-header nav {
    position: relative;
    z-index: 4;
    max-width: 1220px;
    margin: 0px auto;
    padding: 5px 0;
}

.navbar-brand {
    width: auto;
    padding: 0;
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}



/* Remove default margin and padding from the navbar-nav */
.navbar-nav {
    margin-left: 0; /* Remove the left margin */
    padding-left: 0; /* Remove the left padding */
}

/* Remove any padding or margin from the nav items */
.navbar-nav .nav-item {
    margin-left: 0;
    padding-left: 0;
}

/* Optionally, you can set padding-right to ensure spacing between items */
.navbar-nav .nav-item:not(:last-child) {
    padding-right: 15px; /* Adjust spacing between menu items */
}

/* Ensure the text aligns properly */
.nav-link {
    padding: 0.5rem 1rem; /* Adjust padding as needed */
    display: block;
}






// ANIME POST PAGE:
/* General content wrapper styling */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Anime details wrapper (flexbox for image and text) */
.anime-details-wrapper {
    display: flex;
    gap: 20px;
}

/* Styling for the anime title */
.anime-details h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Styling for the English title */
.anime-details h2 {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 20px;
}

/* Styling for the synopsis */
.anime-synopsis {
    font-size: 1rem;
    line-height: 1.5;
    color: #fff7ff;
}

/* Episode list styling */
.anime-episodes h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.anime-episodes ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.anime-episodes ul li {
    margin-bottom: 10px;
}

.anime-episodes ul li a {
    font-size: 1.2rem;
    color: #0073aa;
    text-decoration: none;
}

.anime-episodes ul li a:hover {
    text-decoration: underline;
}

