body,p{
	font-family: 'Rubik', sans-serif;
	font-size:17px;
	scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* CSS Custom Properties for consistent theming */
:root {
	--primary-color: #0f83dc;
	--secondary-color: #151515;
	--text-color: #111111;
	--border-color: #ededed;
	--background-color: #ffffff;
	--accent-color: #000000;
	
	/* Dark mode colors */
	--dm-text-color: #f0f0f0;
	--dm-background-color: #1a1a1a;
	--dm-border-color: #444444;
}

/* Dark mode support */
.dark-mode {
	--text-color: var(--dm-text-color);
	--background-color: var(--dm-background-color);
	--border-color: var(--dm-border-color);
}

.dark-mode body,
.dark-mode .site {
	background-color: var(--dm-background-color);
	color: var(--dm-text-color);
}

/* Dark mode toggle button */
.dark-mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: var(--background-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
    transform: rotate(15deg);
}

.dark-mode-icon::before {
    content: "☀️";
    font-size: 20px;
}

body.dark-mode .dark-mode-icon::before {
    content: "🌙";
}

/* Add fade-in animation for blog posts */
article.post-details {
    margin-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Define the fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add smooth transition for links and buttons */
a, .btn {
    transition: all 0.3s ease-in-out;
}

/* Smooth scroll for sidebar */
.right-sidebar {
    position: sticky;
    top: 100px;
    transition: all 0.3s ease-in-out;
}

/* Add hover effect for blog post titles */
.post-details h2 a {
    transition: all 0.3s ease;
}

.post-details h2 a:hover {
    transform: translateX(5px);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    letter-spacing: inherit;
	color: var(--text-color);
}

ul li {
    margin-bottom: 6px;
}

p{
	margin-bottom:20px;
    line-height: 26px;
}

ol, ul {
    margin-top: 0;
    margin-bottom: 20px;
}

blockquote p {
    font-size: 16px;
    font-weight: 600;
}

a{
	font-family:inherit;
	transition: 0.5s;
	color: var(--primary-color);
}

a:hover{
	color: var(--primary-color);
	text-decoration: underline;
}

.btn,
.btn:hover{
    text-decoration: none;
}

a:focus,
.widget a:hover, 
.tagcloud a:hover,
.entry-meta a:hover,
.content-area h2 a:hover{
    color: var(--primary-color);
}

input[type="submit"]{
    padding: 0 30px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

.comment-author img {
    background: var(--border-color);
    border-radius: 50%;
}

.mainmenu li a:hover,
.mainmenu li a{
    text-transform: inherit;
    text-decoration: inherit;
}

/*Default Background color*/
.theme-bg,
input[type="submit"],
#scrollUp,
.pagination_num.current,
#loading-wrap{
  background-color: var(--secondary-color);  
}

input[type="submit"]:focus,
input[type="submit"]:hover{
    border-color: var(--secondary-color);
    background-color: var(--accent-color);
}

.btn.sm-btn:focus,
.btn.sm-btn:hover {
    border-color: var(--secondary-color);
    background-color: var(--secondary-color);
}

.pagination_num.current:hover,
#scrollUp:hover {
    background-color: var(--accent-color);
}

.entry-meta.cat-list.no-img {
     margin-top: 0; 
}

h5.widget-title {
    letter-spacing: 2px;
    text-align: center;
    border: 1px solid var(--border-color);
    padding: 10px;
    margin-bottom: 20px;
}

.section-padding {
    padding: 140px 0;
}

.site-description {
    display: none;
}

.post-details h2, .content-area h2 a, .content-area h2 {
    font-size: 35px;
    line-height: 40px;
    text-transform: uppercase;
    font-weight: 700;
}

header.entry-header,
header.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.slide-caption h1 {
    margin-bottom: 20px;
}

h1.site-title a,
h2.entry-title a{
    text-decoration: inherit;
    color: var(--text-color);
}

.pagination_num {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    margin: 0 5px;
    background-color: var(--background-color);
    color: var(--text-color);
}

h1.page-title {
    font-size: 40px;
}

article.post-details {
    margin-bottom: 80px;
    border-bottom: 1px solid var(--border-color);
}

.nav-links ul li a.pagination_num {
    text-decoration: inherit;
    color: var(--text-color);
}

span.pagination_num.current {
    padding: 3px 10px;
    color: white;
}

.right-sidebar {
    position: sticky;
    top: 100px;
}

.wpcopyright p {
    letter-spacing: 0;
    font-size: 14px;
    margin-bottom: 0;
}

/* Focus styles for accessibility */
a:focus, 
button:focus,
input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    z-index: 100000;
    padding: 10px;
    background-color: var(--background-color);
    color: var(--text-color);
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

@media (max-width: 600px) {
    .admin-bar #active-sticky {
        margin-top: 0;
    }
}

@media (max-width: 980px) {
	body{
	font-size:14px
	}
    h1.page-title {
    font-size: 30px;
    }
	h1.site-title a {
    font-size: 20px;
	}
    header.entry-header,
    header.page-header {
        margin-bottom: 30px;
    }
    	.post-details h2, .content-area h2 a, .content-area h2 {
    font-size: 25px;
    line-height: 30px;
	}
}