* {
    padding: 0;
    margin: 0;
    font-family: "Work Sans", serif;
}

body.bg-dark {
    background-color: #121212 !important;
    color: #ccc;
}

body.bg-white .custom-border-bottom {
    border-bottom: 1px solid #ccc !important;
}

body.bg-dark .custom-border-bottom {
    border-bottom: 1px solid #5555556b !important;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 3.5rem;
    color: #6a0dad;
}

.news-text {
    font-size: .9rem;
    font-weight: 700;
    color: #838383;
    text-transform: uppercase;
}

.main-text {
    font-size: 2.5rem;
    font-weight: bold;
}

.theme-toggle {
    font-size: 2.5rem;
    cursor: pointer;
    color: #ffc107;
    transition: color 0.3s ease;
}

.theme-toggle.dark-mode {
    font-size: 1rem;
    color: #6a0dad;
}

body.bg-white .nav-link {
    color: #000;
}

body.bg-dark .nav-link {
    color: #ccc;
}

header li {
    font-weight: 800;
    font-size: 1.3rem;
}

.custom-dropdown {
    border: 1px solid #ddd;
    border-radius: 4px;
}

.custom-dropdown .dropdown-item {
    padding: 8px 16px;
    font-weight: 600;
}

.custom-dropdown .dropdown-item:hover {
    background-color: transparent;
}

.custom-dropdown .dropdown-item:hover {
    color: #6428ec;
    transition: color 0.3s ease;
}

body.bg-dark .custom-dropdown {
    background-color: #1D1D1D;
    border: none;
}

body.bg-dark .custom-dropdown .dropdown-item {
    color: #ccc;
}

body.bg-dark .custom-dropdown .dropdown-item:hover {
    color: #6428ec;
}

body.bg-white .hashtag-container {
    background-color: #F5F5F5 !important;
}

body.bg-dark .hashtag-container {
    background-color: #1D1D1D !important;
}

.hashtag-container {
    background-color: #f5f5f5;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.2);
}

body.bg-dark .hashtag-container {
    background-color: #1d1d1d;
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.9);
}

.hashtag-container {
    border-bottom: 1px solid #ccc;
}

body.bg-dark .hashtag-container {
    border-bottom: 1px solid #5555556b;
}

img {
    object-fit: cover;
}

#mainCarousel .carousel-item img {
    height: 37.19rem;
}

.sidebar-right {
    height: 17rem;
}

.sidebar-left {
    height: 11rem;
}

.custom-bg-dark {
    background-color: #0000003b;
    border: none;
}

body.bg-dark .sidebar-left-background {
    background-color: #121212 !important;
    color: #ccc;
}

.card-text {
    line-height: 1.1;
}

.col-md-3 .d-flex.gap-3:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

body.bg-dark .col-md-3 .d-flex.gap-3 {
    color: #ccc;
}

.custom-hover {
    text-decoration: none;
    position: relative;
}

.custom-hover::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background: #6428ec;
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.custom-hover:hover {
    color: #6428ec !important;
    cursor: pointer;
}

.custom-hover:hover::after {
    width: 100%;
}

.ad {
    background-color: #f5f5f5;
    padding: 0 1rem 1.5rem 1rem;
}

body.bg-dark .ad {
    background-color: #1D1D1D;
}

h3:hover {
    color: #6428ec;
    transition: color 0.3s ease;
    cursor: pointer;
}

p:hover {
    color: #6428ec;
    transition: color 0.3s ease;
    cursor: pointer;
}

h5 p:hover {
    color: inherit;
}

.category-image-wrapper {
    width: 150px;
    height: 150px;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.category-image-wrapper:hover {
    opacity: 0.8;
    cursor: pointer;
}

.newsletter {
    background-color: #F5F5F5;
}

body.bg-dark .newsletter {
    background-color: #1D1D1D;
    color: #ccc !important;
}

.form-control:focus {
    box-shadow: none;
    background-color: transparent;
}

.form-control {
    background-color: transparent;
}

body.bg-dark .form-control::placeholder {
    color: #777;
    font-size: medium;
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.form-check-input:focus {
    box-shadow: none;
    border-color: #000;
}

.input-group .btn:hover {
    background-color: #6428ec;
}

.input-group .btn {
    background-color: #000;
    border-color: transparent;
}

body.bg-dark .newsletter a {
    color: #ccc !important;
    border-bottom: 1px solid #ccc !important;
}

.newsletter a:hover {
    cursor: pointer;
}

footer {
    background-color: #080808;
    color: #999;
}

body.bg-white footer .custom-border-bottom {
    border-bottom: 1px solid #5555556b !important;
}

.git-logo {
    color: #777;
    background-color: #333;
}

.git-logo.git-logo:hover {
    color: #ccc;
    transition: color 0.3s ease;
    background-color: #333;
}

footer .form-control::placeholder {
    color: #ccc;
    font-size: medium;
}