@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('../fonts/vt323-v17-latin-regular.woff2') format('woff2');
}

/*
  Hacker Theme Core Styles
*/
body {
    font-family: 'VT323', monospace;
    font-size: 20px;
    background-color: #000;
    color: #33ff33;
    text-shadow: 0 0 5px #33ff33, 0 0 10px #33ff33;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'VT323', monospace;
    color: #33ff33;
}

a {
    color: #33ff33;
    text-decoration: underline;
}

a:hover, a:focus {
    color: #99ff99;
    text-shadow: 0 0 8px #99ff99;
}

/* Simplified Nav styles */
nav {
    border-bottom: 2px solid #33ff33;
}

.nav-brand, .nav-links a {
    color: #33ff33;
    text-shadow: 0 0 5px #33ff33;
}

.nav-links a.active {
    color: #99ff99;
}

#content {
    background-color: #000;
    border: 2px solid #33ff33;
    padding: 20px;
}

#content img {
    max-width: 100%;
    height: auto;
    border: 1px solid #33ff33;
}

#page-header {
    border-bottom: 1px solid #33ff33;
}

hr {
    border-top: 1px solid #33ff33;
}

/* Code blocks */
pre, code, .hljs {
    background-color: #0a0a0a;
    border: 1px dashed #222;
    color: #eee;
    text-shadow: none;
}

code {
    color: #00ffff; /* Cyan for inline code */
    padding: 2px 4px;
}

pre code {
    display: block;
    padding: 0.5em;
    white-space: pre;
    color: #eee; /* Let highlight.js style the rest */
}

blockquote {
    border-left: 5px solid #33ff33;
    color: #ccc;
}

footer {
    font-size: 16px;
    padding-top: 50px;
    padding-bottom: 30px;
    color: #888;
    text-shadow: none;
}

.right {
    float: right;
    text-align: right;
}

#post-tags {
    margin-top: 30px;
}

#prev-next {
    padding: 15px 0;
}

.post-header {
    margin-bottom: 20px;
}
.post-header h2 {
    font-size: 32px;
}

#post-meta {
    font-size: 14px;
    color: rgba(51,255,51,0.7);
}

#page-header h2 {
    font-size: 32px;
}

pre {
    overflow-x: auto;
}

/* Sidebar Styles */
#sidebar {
    margin-top: 2rem;
    padding: 20px;
    border: 2px solid #33ff33;
}

@media screen and (min-width: 60em) {
    #sidebar {
        margin-top: 0;
    }
}

#sidebar h3 {
    color: #33ff33;
    border-bottom: 1px solid #33ff33;
    padding-bottom: 5px;
    margin-top: 20px;
    margin-bottom: 10px;
}

#sidebar h3:first-child {
    margin-top: 0;
}

#sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

#sidebar ul li {
    padding: 3px 0;
}

#sidebar ul li a {
    text-decoration: none;
}

#sidebar ul li a:hover {
    text-decoration: underline;
}
