body {
    font-family: 'Fira Code', monospace;
    margin: 0;
    padding: 0;
    background-color: #0d1117;
    color: #c9d1d9;
    margin-bottom: 50px;
}

/* Post Grid Layout */
.post-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}

/* Post Card Flex with Image Left, Text Right */
.post-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid #30363d;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    background-color: #161b22;
    color: #c9d1d9;
}

.thumbnail {
    flex: 0 0 40%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 200px;
}

.post-info {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
    }
    .thumbnail {
        width: 100%;
        min-height: 200px;
    }
}

.post-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
}

.post-info h3 {
    margin: 0;
    font-size: 1.6em;
    color: #39ff14;
    text-shadow: 0 0 5px #39ff14;
}

.post-info p {
    margin: 0;
    font-size: 0.95em;
    color: #c9d1d9;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.post-tags span {
    background-color: #21262d;
    color: #00ffcc;
    padding: 4px 8px;
    font-size: 0.75em;
    border-radius: 4px;
    display: inline-block;
}

.btn {
    align-self: flex-start;
    margin-top: 10px;
}

/* ...rest of your CSS remains unchanged */

.post-featured-image {
    margin-bottom: 20px;
    text-align: center;
  }
  
  .post-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,255,204,0.15);
  }

.category-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }
  .category-block h2 a {
    color: #00ffcc;
    text-shadow: 0 0 5px #00ffcc;
    text-decoration: none;
  }
  .category-block h2 a:hover {
    color: #39ff14;
  }
  .category-block ul {
    list-style-type: none;
    padding-left: 0;
  }
  .category-block li {
    margin-bottom: 5px;
  }

/* Navigation Bar */
.navigation {
    background: linear-gradient(135deg, #000000, #0a0a0a);
    padding: 10px;
}

.navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navigation li {
    margin: 0 15px;
}

.navigation a {
    text-decoration: none;
    color: #39ff14;
    font-weight: bold;
    font-size: 1em;
}

.navigation a:hover {
    text-decoration: underline;
    color: #00ffcc;
}

/* Hero Banner with Glitch Animation */
.banner {
    text-align: center;
    background: radial-gradient(circle, #000000, #1a1a1a);
    color: #39ff14;
    padding: 60px 10px;
    border-bottom: 5px solid #39ff14;
    animation: glitch-bg 4s infinite linear alternate;
}

@keyframes glitch-bg {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

.banner h1 {
    margin: 0;
    font-size: 3em;
    text-shadow: 0 0 5px #39ff14, 0 0 10px #00ffcc;
    position: relative;
}

.banner p {
    margin: 10px 0 0;
    font-size: 1.5em;
    font-style: italic;
    text-shadow: 0 0 3px #00ffcc;
}

/* Terminal Prompt Style for Headers */
h1, h2, h3 {
    font-family: 'Fira Code', monospace;
    color: #39ff14;
    position: relative;
}

h1::before, h2::before, h3::before {
    content: "$ ";
    color: #00ffcc;
}

/* Neon Button */
button, .btn {
    background-color: transparent;
    border: 2px solid #00ffcc;
    color: #00ffcc;
    padding: 8px 20px;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #00ffcc, 0 0 20px #39ff14;
}

button:hover, .btn:hover {
    background-color: #00ffcc;
    color: #000;
    box-shadow: 0 0 15px #00ffcc, 0 0 30px #39ff14;
}

/* Footer Styling */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    color: #39ff14;
    border-top: 2px solid #00ffcc;
    text-align: center;
    padding: 10px 0;
    z-index: 10;
}

footer a {
    color: #00ffcc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
    color: #39ff14;
}

main {
    flex: 1;
    padding: 20px;
}

.content {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
    background-color: #161b22;
    box-shadow: 0 4px 10px rgba(0, 255, 204, 0.1);
    border-radius: 8px;
    color: #c9d1d9;
}

code {
    background-color: #1e1e1e;
    color: #39ff14;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 1em;
}

pre {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    font-family: 'Fira Code', monospace;
    line-height: 1.5;
    overflow-x: auto;
    margin: 0;
}

pre code {
    color: #d4d4d4;
}

.code-container {
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 6px;
    overflow: hidden;
}

.code-header {
    background-color: #0d1117;
    color: #00ffcc;
    font-size: 0.9em;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #39ff14;
}

.copy-btn {
    background-color: transparent;
    border: none;
    color: #00ffcc;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.3s ease;
}

.copy-btn:hover {
    color: #39ff14;
    transform: scale(1.1);
}

.code-header:empty {
    padding: 8px 15px;
}

code span.keyword {
    color: #00ffff;
    font-weight: bold;
}

code span.string {
    color: #ff9d00;
}

code span.comment {
    color: #6a9955;
    font-style: italic;
}

code span.function {
    color: #c586c0;
}

.copy-btn:focus {
    outline: none;
}

.copy-btn:active {
    background-color: #00ffcc;
}

a {
    color: #00bfff;
    text-decoration: underline;
}

a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}
