/*
Theme Name: Hyvercode Bootstrap Theme
Theme URI: https://hyvercode.com/bootstrap-tutorial-theme
Author: Hyvercode
Author URI: https://hyvercode.com
Description: A modern WordPress theme built with Bootstrap 5 for a  website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hyvercode-bootstrap-theme
*/

/* Dark mode styles */

body {
    font-size: medium !important;
    color: white;
    ;
}

.custom-logo {
    border-radius: 100px;
    max-height: 30px;
    /* Adjust the height as needed */
    width: auto;
    margin-right: 5px;
}

.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.light-mode {
    background-color: white;
    color: black;
}

.light-mode .sidebar {
    background-color: white !important;
    color: #1a1a1a;
}

.light-mode .dropdown-item {
    background-color: white !important;
}

.light-mode .dropdown-item:hover {
    background-color: #333 !important;
    color: #ffffff !important;
}

.light-mode a {
    color: #1a1a1a !important;
}

.light-mode .dropdown-menu {
    background-color: white !important;
    color: #1a1a1a !important;
    border-color: #333 !important;
}

.light-mode .dropdown-menu a {
    color: #1a1a1a !important;
}

.light-mode .dropdown-menu a:hover {
    background-color: #333 !important;
    color: #ffffff !important;
}


.light-mode .navbar {
    background-color: #f5f5f5 !important;
    color: #1a1a1a !important;
}

.light-mode .navbar .container {
    background-color: #f5f5f5 !important;
    color: #1a1a1a !important;
}

.light-mode .navbar a {
    color: #1a1a1a !important;
    /* Link tetap terang di dark mode */
}

.light-mode body,
.light-mode header,
.light-mode footer,
.light-mode .content,
.light-mode .main-section,
.light-mode .container {
    background-color: white !important;
    color: #1a1a1a !important;
}

/* Add more dark mode dark styles as needed */
.dark-mode {
    background-color: #1a1a1a;
    /* Dark background */
    color: white;
    /* Light text */
}

.dark-mode .sidebar {
    background-color: #1a1a1a !important;
    color: white;
    border-radius: 1px #333;
}

.dark-mode .dropdown-menu {
    background-color: #1a1a1a !important;
    color: white !important;
    border-color: #333 !important;
}

.dark-mode .dropdown-item {
    color: white !important;
}

.dark-mode .dropdown-item:hover {
    background-color: #333 !important;
}

.dark-mode a {
    color: #ffffff;
    /* Light links */
}

.dark-mode .dropdown-menu {
    background-color: #1a1a1a !important;
    color: white !important;
    border-color: #333 !important;
}

.dark-mode .dropdown-menu a {
    color: white !important;
}

.dark-mode .dropdown-menu a:hover {
    background-color: #333 !important;
}

.dark-mode .navbar {
    background-color: #1c1c1c !important;
    color: white !important;
}

.dark-mode .navbar .container {
    background-color: #1c1c1c !important;
    color: white !important;
}

.dark-mode .navbar a {
    color: white !important;
    /* Link tetap terang di dark mode */
}

.dark-mode .author-name {
    color: #333 !important;
}

.dark-mode .navbar-toggler-icon {
    background-color: #353434 !important;
    color: #1a1a1a !important;
    border-radius: 5px;
}

.dark-mode body,
.dark-mode header,
.dark-mode footer,
.dark-mode .content,
.dark-mode .main-section,
.dark-mode .container {
    background-color: #1a1a1a !important;
}


/* Add more dark mode styles as needed */
.entry-title {
    margin-top: 1rem;
    line-height: 1.6;
}

.entry-title a {
    text-decoration: none;
}

.entry-meta {
    align-items: right !important;
    font-size: 0.8rem;
    color: #6c757d;
    text-align: right;
    margin-right: 15px;
}

.entry-meta img {
    width: 20px !important;
    height: 20px !important;
    margin-right: 5px !important;
}

.tags-links a {
    font-size: 0.8rem;
    color: #6c757d;
    background-color: #007bff !important;
}

/* Add pagination styles */
.entry-summary {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.entry-summary a {
    color: #007bff;
    text-decoration: none;
}

.entry-summary a:hover {
    text-decoration: underline;
}

.entry-footer {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    position: relative;
    bottom: 0;
    margin-bottom: -10px;
}

/* Add pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    color: #007bff;
    text-decoration: none;
}

.page-numbers.current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.page-numbers:hover {
    background-color: #f8f9fa;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    color: #007bff;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Add code block pre and code styles */
pre,
code {
    font-family: "Fira Code", monospace;
    background-color: #f5f5f5;
    color: #333;
    padding: 2px;
    border-radius: 5px;
    overflow-x: auto;
}

/* VS Code Theme for Dark Mode */
.dark-mode pre,
.dark-mode code {
    font-family: "Fira Code", "Courier New", monospace;
    background-color: #1e1e1e;
    color: #d4d4d4;
    /* Default text color */
    padding: 2px;
    border-radius: 5px;
    overflow-x: auto;
}

/* Syntax Highlighting */
.dark-mode .keyword {
    color: #569cd6;
}

/* Keywords (function, return, let) */
.dark-mode .string {
    color: #ce9178;
}

/* Strings */
.dark-mode .comment {
    color: #6a9955;
}

/* Comments */
.dark-mode .number {
    color: #b5cea8;
}

/* Numbers */
.dark-mode .function {
    color: #dcdcaa;
}

/* Function names */
.dark-mode .variable {
    color: #9cdcfe;
}

/* Variables */
.dark-mode .operator {
    color: #c586c0;
}

/* Operators (+, -, *, /) */

/* Category page styling */
.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1rem;
    color: #6c757d;
}

.entry-summary {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.entry-summary a {
    color: #007bff;
    text-decoration: none;
}

.entry-summary a:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    color: #007bff;
    text-decoration: none;
}

.page-numbers.current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.page-numbers:hover {
    background-color: #f8f9fa;
}

/* Add more custom breadcrumbs styles as needed */
.breadcrumbs {
    font-size: 0.9rem;
    color: #6c757d;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

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

/* Author avatar styling */
.author-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.author-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.author-bio {
    font-size: 0.9rem;
    color: #6c757d;
}

.rounded-circle {
    border-radius: 50%;
}


/* Comment page styling */
.comments-area {
    margin-top: 2rem;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comment-list .media {
    margin-bottom: 1.5rem;
}

.comment-list .media-body {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}

.comment-list .comment-content {
    font-size: 0.9rem;
    line-height: 1.6;
}

.comment-list .comment-reply {
    margin-top: 0.5rem;
}

.comment-list .comment-reply a {
    font-size: 0.8rem;
    color: #007bff;
    text-decoration: none;
}

.comment-list .comment-reply a:hover {
    text-decoration: underline;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form textarea {
    width: 100%;
    resize: vertical;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
}


@media only screen and (max-width: 770px) {
    .mobile-hidden {
        display: none;
    }
}

/* Sidebar styling */
.light-mode .widget {
    background-color: #f8f9fa;
    margin-bottom: 1.5rem;
}

.light-mode .widget-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0;
    padding: 0.75rem 1.25rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.light-mode .widget ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.light-mode .widget ul li {
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.light-mode .widget ul li:last-child {
    border-bottom: none;
}

.light-mode .widget a {
    color: #007bff;
    text-decoration: none;
}

.light-mode .widget a:hover {
    text-decoration: underline;
}

.dark-mode .widget {
    background-color: #1c1c1c;
    color: white;
    margin-bottom: 1.5rem;
}

.dark-mode .widget-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0;
    padding: 0.75rem 1.25rem;
    background-color: #1c1c1c;
    color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.dark-mode .widget ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.dark-mode .widget ul li {
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.dark-mode .widget ul li:last-child {
    border-bottom: none;
}

.dark-mode .widget a {
    color: #007bff;
    text-decoration: none;
}

.dark-mode .widget a:hover {
    text-decoration: underline;
}

/* Post page  styling */
.light-mode .post-page a {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1c1c1c !important;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: default;
    border-radius: 0.25rem;
    border: 0.1rem solid #1c1c1c;
    text-decoration: none;
    margin: 1px;
}

.dark-mode .post-page a {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff !important;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: default;
    border-radius: 0.25rem;
    border: 0.1rem solid white;
    text-decoration: none;
    margin: 1px;
}

/* Add landing page page styles as needed */
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}