body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.menu a {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}
.menu, footer { text-align: center; }

.article-meta {
  background: linear-gradient(180deg, #ffffff, #eaeaea 80%, #d6d6d6 99%) no-repeat;
  text-align: left;
  padding: 1em; /* Increased for better spacing */
  border-left: 4px solid #333;
  border-radius: 5px; /* Adds a soft corner */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds subtle depth */
}


.meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author, .date {
  font-size: 1em;
  margin: 0;
  padding: 0;
}

.title {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 0.5em;
}

.categories {
  margin-top: 0.5em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.category {
  display: flex;
  align-items: center;
  background-color: #f3f3f3;
  color: #333;
  padding: 0.3em 0.7em;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid #ccc;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category:hover {
  transform: scale(1.1)
}

.category .icon {
  margin-right: 0.5em;
  font-size: 1em;
  color: #555;
}

.category-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.icon {
  margin-right: 0.3em; /* Adjust icon spacing */
  color: inherit; /* Match icon color with text */
}


/* Specific icons for each category */
.icon.programming::before {
  content: "\f121"; /* Code icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon.networking::before {
  content: "\f6ff"; /* Network icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon.cryptography::before {
  content: "\f084"; /* Lock icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon.books::before {
  content: "\f02d"; /* Book icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon.finances::before {
  content: "\f155"; /* Dollar sign icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon.hardware::before {
  content: "\f2db"; /* Microchip icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon.software::before {
  content: "\f109"; /* Desktop icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

footer a { text-decoration: none; }
hr {
  border-style: solid;
  color: #ddd;
}

.divider {
  margin: 1em 0;
}


/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }
