* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: #f8f8f8;
	color: #333;
	display: flex;
	flex-direction: column;
	font-family: 'Roboto', sans-serif;
	line-height: 1.6;
	min-height: 100vh;
}

footer {
	background: #333;
	color: #fff;
	margin-top: auto;
	padding: 30px 0;
	text-align: center;
	width: 100%;
}

footer p {
	font-size: 0.9em;
}

header {
	background-color: #ffffff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	padding: 10px 0;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 10;
}

header .container {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 0 20px;
}

header a {
	color: #333;
	font-size: 1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 0.3s ease;
}

header a:hover {
	color: #007bff;
}

header h1 {
	margin: 0;
}

header h1 a {
	align-items: center;
	display: flex;
	font-size: 1.5em;
	font-weight: 700;
	text-transform: none;
}

header nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

header nav ul li {
	display: inline;
	padding: 0 15px;
}

header nav ul li a.active {
	color: #007bff;
	font-weight: 700;
}

main {
	flex-grow: 1;
}

.about-section p, .founder-bio p {
	line-height: 1.7;
	text-align: justify;
}

.blog-content {
	flex-grow: 1;
	min-width: 0;
	padding-left: 20px;
}

.blog-content .blog-meta {
	color: #777;
	font-size: 0.9em;
	margin-bottom: 20px;
}

.blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6, .blog-content img, .blog-content ol, .blog-content p, .blog-content ul {
	margin-bottom: 20px;
}

.blog-image {
	border-radius: 8px;
	height: auto;
	margin-bottom: 20px;
	max-width: 100%;
}

.blog-image.preview-thumb {
	border-radius: 4px;
	height: 180px;
	margin-bottom: 15px;
	max-width: 100%;
	object-fit: cover;
}

.blog-post {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	margin-bottom: 30px;
	padding: 30px;
}

.blog-post h1 {
	color: #007bff;
	font-size: 2.5em;
	margin-bottom: 20px;
}

.blog-post h2 {
	color: #007bff;
	font-size: 2.5em;
	margin-bottom: 20px;
	text-align: left;
}

.blog-post h3 {
	color: #007bff;
	font-size: 1.8em;
	margin-bottom: 15px;
}

.blog-post h4 {
	color: #007bff;
	font-size: 1.4em;
	margin-bottom: 10px;
}

.blog-post h5 {
	color: #007bff;
	font-size: 1.2em;
	margin-bottom: 8px;
}

.blog-post h6 {
	color: #007bff;
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 5px;
}

.blog-post ol {
	margin-bottom: 20px;
	padding-left: 20px;
}

.blog-post ol li {
	color: #555;
	line-height: 1.7;
	margin-bottom: 5px;
}

.blog-post p {
	margin-bottom: 20px;
}

.blog-post-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
}

.blog-post-navigation {
	align-self: flex-start;
	background-color: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #eee;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	flex-shrink: 0;
	left: auto;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 15px;
	position: sticky;
	top: 20px;
	width: 200px;
	z-index: auto;
}

.blog-post-navigation h3 {
	color: #333;
	font-size: 1.2em;
	margin-bottom: 10px;
	margin-top: 0;
}

.blog-post-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog-post-navigation ul li {
	margin-bottom: 8px;
}

.blog-post-navigation ul li a {
	color: #007bff;
	display: block;
	padding: 2px 0;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-post-navigation ul li a:hover {
	color: #0056b3;
	text-decoration: underline;
}

.blog-post-navigation ul li ul {
	margin-top: 5px;
	padding-left: 15px;
}

.blog-post-navigation ul li ul li a {
	font-size: 0.95em;
}

.blog-post.full-post {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	display: flex;
	gap: 30px;
	margin-bottom: 30px;
	margin-top: 30px;
	padding: 30px;
	padding: 40px;
}

.blog-post.full-post .blog-image {
	margin-bottom: 30px;
}

.blog-post.full-post .post-date {
	font-size: 1em;
	margin-bottom: 30px;
	text-align: left;
}

.blog-post.full-post h2 {
	font-size: 2.5em;
	margin-bottom: 20px;
	text-align: left;
}

.blog-post.full-post p {
	line-height: 1.7;
	margin-bottom: 15px;
}

.blog-post.preview {
	display: flex;
	flex-direction: column;
	margin-bottom: 0;
	padding: 20px;
}

.blog-post.preview .post-date {
	font-size: 0.85em;
	margin-bottom: 10px;
}

.blog-post.preview .read-more {
	margin-top: auto;
}

.blog-post.preview h3 {
	font-size: 1.4em;
	margin-bottom: 10px;
}

.blog-post.preview h3 a {
	color: inherit;
	text-decoration: none;
}

.blog-post.preview h3 a:hover {
	color: #007bff;
}

.blog-post.preview p {
	flex-grow: 1;
	font-size: 0.95em;
	margin-bottom: 15px;
}

.btn {
	background: #007bff;
	border-radius: 5px;
	border: none;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1em;
	padding: 12px 25px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-secondary {
	background-color: #6c757d;
}

.btn-secondary:hover {
	background-color: #5a6268;
}

.btn:active {
	transform: scale(0.98);
}

.btn:hover {
	background: #0056b3;
}

.buy-button {
	align-items: center;
	background: #007bff;
	border-radius: 5px;
	border: none;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 1em;
	justify-content: center;
	padding: 12px 25px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.1s ease;
}

.close-overlay {
	color: #fff;
	cursor: pointer;
	font-size: 30px;
	font-weight: bold;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 1001;
}

.container {
	margin: auto;
	max-width: 1100px;
	overflow: hidden;
	padding: 0 20px;
}

.controls-bar {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: space-between;
	margin-bottom: 30px;
}

.controls-bar.bottom {
	display: flex;
	justify-content: center;
	margin-bottom: 0;
	margin-top: 30px;
}

.featured-blog-preview {
	background-color: #fdfdfd;
}

.featured-blog-preview .view-all-btn, .product-preview .view-all-btn {
	background-color: #555;
	display: block;
	margin: 40px auto 0 auto;
	text-align: center;
	transition: background-color 0.3s ease;
	width: fit-content;
}

.featured-blog-preview .view-all-btn:hover, .product-preview .view-all-btn:hover {
	background-color: #333;
}

.founder-bio {
	flex-grow: 1;
}

.founder-image-placeholder {
	align-items: center;
	background-color: #ccc;
	border-radius: 50%;
	border: 1px solid #999;
	color: #555;
	display: flex;
	flex-shrink: 0;
	font-size: 0.8em;
	height: 150px;
	justify-content: center;
	overflow: hidden;
	text-align: center;
	width: 150px;
}

.founder-section .founder-content {
	align-items: center;
	display: flex;
	gap: 30px;
}

.header-icon {
	height: 32px;
	margin-right: 10px;
	vertical-align: middle;
	width: 32px;
}

.hero {
	background-color: #e9ecef;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	margin-top: 30px;
	padding: 80px 20px;
	text-align: center;
}

.hero h2 {
	color: #007bff;
	font-size: 3em;
	margin-bottom: 20px;
}

.hero p {
	color: #555;
	font-size: 1.2em;
	margin-bottom: 40px;
	padding-left: 20px;
	padding-right: 20px;
}

.hero-buttons .btn {
	margin: 0 10px;
}

.hero-image {
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	height: auto;
	margin-top: 40px;
	max-width: 80%;
}

.nav-toggle {
	background: transparent;
	border: 0;
	color: #333;
	cursor: pointer;
	display: none;
	font-size: 30px;
	padding: 5px 10px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
}

.newsletter-form {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.newsletter-form button {
	padding: 12px 25px;
}

.newsletter-form input[type="email"] {
	border-radius: 5px;
	border: 1px solid #ccc;
	flex-grow: 1;
	font-size: 1em;
	max-width: 400px;
	min-width: 250px;
	padding: 12px;
}

.newsletter-signup {
	background-color: #e9ecef;
	padding: 50px 20px;
	text-align: center;
}

.newsletter-signup h2 {
	color: #333;
	margin-bottom: 15px;
}

.newsletter-signup p {
	color: #555;
	font-size: 1.1em;
	margin-bottom: 30px;
}

.no-items-message {
	color: #777;
	display: none;
	font-size: 1.2em;
	margin-top: 30px;
	text-align: center;
}

.overlay {
	align-items: center;
	background-color: rgba(0,0,0,0.8);
	display: none;
	height: 100%;
	justify-content: center;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.overlay-content {
	max-height: 90%;
	max-width: 90%;
	position: relative;
}

.overlay-content img {
	display: block;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
}

.pagination-buttons {
	align-items: center;
	display: flex;
	gap: 10px;
}

.pagination-buttons button {
	background-color: #eee;
	border: 1px solid #ccc;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.pagination-buttons button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.pagination-buttons button:hover {
	background-color: #ddd;
}

.pagination-buttons span {
	font-weight: bold;
	margin: 0 10px;
}

.pagination-controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
}

.pagination-controls button, .pagination-controls select, .search-bar input[type="text"] {
	border-radius: 4px;
	border: 1px solid #ccc;
	font-size: 1em;
	padding: 8px;
}

.pagination-controls label, .search-bar label {
	color: #555;
	font-weight: bold;
	margin-right: 5px;
}

.post-date {
	color: #777;
	font-size: 0.9em;
	margin-bottom: 20px;
}

.post-tags {
	-webkit-overflow-scrolling: touch;
	overflow-x: auto;
	white-space: nowrap;
}

.product-detail {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	margin-bottom: 30px;
	margin-top: 30px;
	padding: 40px;
}

.product-detail .buy-button {
	display: block;
	margin: 20px auto;
	width: fit-content;
}

.product-detail .product-image-large {
	border-radius: 8px;
	height: auto;
	margin-bottom: 30px;
	max-width: 100%;
}

.product-detail h2 {
	color: #333;
	font-size: 2.5em;
	margin-bottom: 20px;
	text-align: left;
}

.product-detail h3 {
	color: #007bff;
	font-size: 1.8em;
	margin-bottom: 15px;
}

.product-detail p {
	color: #555;
	line-height: 1.7;
	margin-bottom: 15px;
}

.product-detail ul {
	margin-bottom: 20px;
	padding-left: 20px;
}

.product-detail ul li {
	margin-bottom: 5px;
}

.product-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
	margin-top: 30px;
}

.product-item {
	background: #fff;
	border-radius: 8px;
	border: 1px solid #ddd;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 25px;
	text-align: center;
	transition: transform 0.3s ease;
}

.product-item .price {
	color: #333;
	font-size: 1.4em;
	font-weight: bold;
	margin-bottom: 15px;
	margin-top: auto;
}

.product-item .product-type {
	color: #666;
	font-size: 0.9em;
	font-style: italic;
	margin-bottom: 10px;
}

.product-item .product-type.hardware {
	color: #28a745;
}

.product-item .product-type.software {
	color: #007bff;
}

.product-item h3 {
	color: #333;
	font-size: 1.3em;
	margin-bottom: 10px;
}

.product-item h3 a {
	color: inherit;
	text-decoration: none;
}

.product-item h3 a:hover {
	color: #007bff;
}

.product-item img {
	border-radius: 4px;
	height: 200px;
	margin-bottom: 15px;
	max-width: 100%;
	object-fit: contain;
}

.product-item p {
	color: #555;
	flex-grow: 1;
	margin-bottom: 15px;
}

.product-item:hover {
	transform: translateY(-5px);
}

.read-more {
	color: #007bff;
	display: inline-block;
	font-weight: bold;
	margin-top: 15px;
	text-decoration: none;
	transition: text-decoration 0.3s ease;
}

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

.related-item-placeholder {
	align-items: center;
	background-color: #ccc;
	border-radius: 8px;
	border: 1px dashed #999;
	color: #555;
	display: flex;
	font-size: 0.9em;
	height: 100px;
	justify-content: center;
	padding: 20px;
	text-align: center;
	width: 180px;
}

.related-items-placeholder {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.related-section {
	background-color: #f1f1f1;
	border-top: 1px solid #ddd;
	margin-top: 40px;
	padding: 40px 0;
}

.related-section h2 {
	color: #333;
	margin-bottom: 30px;
	text-align: center;
}

.search-bar input[type="text"] {
	width: 200px;
}

.section {
	padding: 60px 0px;
}

.section h2 {
	color: #333;
	font-size: 2.2em;
	margin-bottom: 40px;
	text-align: center;
}

.social-media-links {
	margin-bottom: 15px;
}

.social-media-links a {
	display: inline-block;
	margin: 0 10px;
}

.social-media-links a:hover img {
	opacity: 1;
}

.social-media-links img {
	height: 24px;
	opacity: 0.8;
	transition: opacity 0.3s ease;
	vertical-align: middle;
	width: 24px;
}

.tag {
	background-color: #e0f7fa;
	border-radius: 5px;
	border: 1px solid #b2dfdb;
	color: #004d40;
	display: inline-block;
	font-size: 0.85em;
	margin: 5px 5px;
	padding: 5px 10px;
}

.tag:hover {
	background-color: #b2dfdb;
	border-color: #80cbc4;
}

.tag:last-child {
	margin-right: 0;
}

#no-blog-posts-found {
	padding: 10px;
}

#no-products-found {
	padding: 10px;
}

@media (max-width: 480px) {
	header h1 a {
		font-size: 1.3em;
	}

	header nav ul {
		text-align: center;
		width: 100%;
	}

	header nav ul li {
		display: block;
		padding: 8px 0;
	}

	.about-section, .founder-section {
		padding-left: 15px;
		padding-right: 15px;
	}

	.hero-buttons .btn {
		display: block;
		margin: 10px auto;
		width: 90%;
	}

	.product-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.blog-post-grid {
		grid-template-columns: 1fr;
	}

	.related-item-placeholder {
		height: 80px;
		width: 80%;
	}

	.related-items-placeholder {
		align-items: center;
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	header .container {
		align-items: center;
		display: flex;
		justify-content: space-between;
		padding: 0 10px;
	}

	header h2 {
		margin: 0;
	}

	header h2 a {
		align-items: center;
		color: inherit;
		display: inline-flex;
		text-decoration: none;
	}

	header nav ul {
		background-color: #f8f8f8;
		box-shadow: 0 2px 4px rgba(0,0,0,0.1);
		display: none;
		flex-direction: column;
		left: 0;
		list-style: none;
		padding: 20px 0;
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 990;
	}

	header nav ul a {
		color: #333;
		display: block;
		font-size: 18px;
		padding: 10px 0;
		text-decoration: none;
	}

	header nav ul li {
		text-align: center;
	}

	header nav ul.nav-open {
		display: flex;
	}

	.about-section h2, .founder-section h2 {
		text-align: center;
	}

	.blog-content {
		padding-left: 0;
	}

	.blog-content h2 {
		font-size: 2em;
	}

	.blog-post-navigation {
		display: block !important;
		margin-bottom: 20px;
		margin-left: 0;
		overflow-y: visible;
		position: static;
		width: 100%;
	}

	.blog-post-navigation h3 {
		margin-top: 0;
	}

	.blog-post.full-post {
		flex-direction: column;
		gap: 20px;
		padding: 15px;
		padding: 20px;
	}

	.controls-bar {
		align-items: stretch;
		flex-direction: column;
	}

	.founder-bio p {
		text-align: center;
	}

	.founder-image-placeholder {
		height: 120px;
		margin-bottom: 20px;
		margin-right: 0;
		width: 120px;
	}

	.founder-section .founder-content {
		align-items: center;
		flex-direction: column;
		text-align: center;
	}

	.header-icon {
		height: 40px;
		margin-right: 10px;
		vertical-align: middle;
	}

	.hero h2 {
		font-size: 2.5em;
	}

	.hero p {
		font-size: 1.1em;
	}

	.nav-toggle {
		display: block;
	}

	.newsletter-form {
		align-items: center;
		flex-direction: column;
	}

	.newsletter-form button {
		width: 80%;
	}

	.newsletter-form input[type="email"] {
		max-width: 100%;
		text-align: center;
		width: 100%;
	}

	.pagination-controls {
		justify-content: center;
		width: 100%;
	}

	.product-detail {
		padding: 20px;
	}

	.product-detail .price {
		font-size: 1.5em;
	}

	.product-detail .product-type {
		text-align: center;
	}

	.product-detail h2 {
		font-size: 2em;
	}

	.product-detail p {
		text-align: center;
	}

	.product-image-large {
		max-width: 100%;
	}

	.search-bar {
		text-align: center;
		width: 100%;
	}

	.search-bar input[type="text"] {
		width: 80%;
	}
}