@charset "UTF-8";
/* CSS Document */

/* General Styles */
body {
    background-color: #cccccc;
    font-family: 'Lora', serif;
    color: #555555;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit; /* Resets to default browser sizes */
}

h1 {
    font-family: 'Lora', serif;
    color: #ccc;
    text-align: center;
    margin: 0;
    font-weight: normal;
	font-size: 2.25rem; 
}
h2 {
    font-family: 'Raleway', sans-serif;
    color: #23abb8;
    font-weight: normal;
    text-align: left;
    font-size: 1.75rem; 
    margin-top: 20px;
	margin-bottom: 10px;
}

h3 {
	font-family: 'Raleway', sans-serif;
    color: #482894;
    font-weight: normal;
    text-align: left;
    font-size: 1.5rem; 
	margin-bottom: 10px;
}


h4 {
    font-size: 1.25rem; 
    color: #555555;
}

p {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 12px;
}

a {
    color: #482894;
}

a:hover {
    color: #A700FF;
}

.navbar {
    border-bottom: 1.5px solid #000000;
}

.masthead {
    background: linear-gradient(to bottom, #292338, #000000);
    text-align: center;
}

.grid-card {
    background-color: #cccccc;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.grid-card p {
    color: #000000;
    transition: color 0.3s ease;
}

.grid-card-title {
    color: #492896;
    font-family: 'Raleway', sans-serif;
    transition: color 0.3s ease;
}

footer {
    color: black;
}

/* Blog Post Styles */
.blog-post {
    margin: 30px 0;
    max-width: 900px; /* Set max width to 900px */
    width: 90%; /* Ensure it takes up the full width of its container */
    text-align: left; /* Left-align the text */
    padding: 20px; /* Increased padding for consistency */
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    font-size: 16px; /* Uniform font size */
    line-height: 1.6; /* Add consistent line spacing */
    margin-left: auto;
    margin-right: auto; /* Center align the blog post */
    color: #555555;
}

.blog-content {
    margin: 0;
    padding: 0;
    color: #555555;
}

.blog-content ul,
.blog-content ol {
    margin-left: 20px; /* Indent lists */
    padding-left: 20px; /* Add padding for better readability */
    margin-top: 0px; /* Add spacing before lists */
    margin-bottom: 15px; /* Add spacing after lists */
    color: #555555;
}

.blog-content li {
    list-style-type: disc; /* Default style for unordered lists */
    margin-bottom: 0px; /* Adjust spacing between items for uniformity */
    font-size: 16px; /* Ensure uniform font size in lists */
    line-height: 1.6; /* Add consistent line spacing */
    color: #555555;
}

.blog-content ol {
    list-style-type: decimal; /* Default style for ordered lists */
}

.blog-content p {
    font-size: 16px; /* Ensure uniform font size for paragraphs */
    line-height: 1.6; /* Add consistent line spacing */
    margin-bottom: 15px; /* Add spacing between paragraphs */
    color: #555555;
}

/* Category List Styles */
.category-list {
    margin-bottom: 40px;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 1em;
    box-sizing: border-box;
}

.category-list a {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 3px;
    padding: 7px;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    border: 1px solid #B6B6B6;
}

.category-list a:hover {
    color: #ffffff;
    background: #482894;
}

.category-list a.active-category {
    color: #ffffff;
    font-weight: bold;
}

/* Search Bar Styles */
.search-bar {
    margin: 20px 0;
    text-align: center;
}

.search-bar input {
    max-width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-bar button {
    padding: 10px 15px;
    border: 1px solid #B6B6B6;
    background-color: #482894;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #A700FF;
    color: #fff;
}

/* Pagination Styles */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    margin: 0 5px;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #B6B6B6;
    border-radius: 5px;
}

.pagination a.active {
    background-color: #482894;
    color: #fff;
}

.pagination a:hover {
    background-color: #A700FF;
    color: #fff;
}

		.image-container {
    		text-align: center;
			}
		
/* Default to show the desktop image */
#desktop-image {
    display: block;
}

/* On mobile screens (smaller than 768px), show the image */
@media (max-width: 767px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    .search-bar input {
        width: 90%;
    }

    .category-list a {
        display: block;
        margin: 5px 0;
    }

    .pagination a {
        padding: 8px 10px;
    }
	
	#responsive-image{}

    #desktop-image {
        display: none; /* Hide the desktop image on mobile */
    }
}

/* On tablet screens (768px to 1024px), hide the image */
@media (min-width: 768px) and (max-width: 1024px) {
    #desktop-image {
        display: none; /* Hide the desktop image on tablet */
    }
}

/* On larger screens (larger than 1024px), show the image */
@media (min-width: 1025px) {
    #desktop-image {
        display: block; /* Show the desktop image on larger screens (desktop) */
    }
}

/* Advertisement Box */
.advertisementbox {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.comment-form {
    text-align: left;
}

.comment-form input,
.comment-form textarea {
    border: 1px solid #ccc;
    padding: 0.75rem;
    border-radius: 8px;
    width: 100%; /* Changed from 300px to 100% for responsiveness */
	max-width: 500px;
    box-sizing: border-box;
}

.comment-form label {
    font-weight: bold;
}

.comment-form button {
    padding: 10px 15px;
    border: 1px solid #B6B6B6;
    background-color: #482894;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    width: 100%; /* Changed from 300px to 100% for responsiveness */
	max-width: 500px;
}

.comment-form button:hover {
    background-color: #5f2c92;
}


.comment {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
	text-align: left;
	width: 100%;
}

.comment small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
	
}

.comment p {
    margin-top: 0.5rem;
	
}


/* Text Center Class */
.text-center {
    text-align: center;
}

/* Table Container */
.table-container {
    width: 80%;
    margin: 0 auto;
    padding: 10px;
}