/* Base Styles - Terminal Dark Look */
body {
  background-color: #000000; /* deep black */
  padding: 50px;
  font: 14px/1.5 'Fira Code', Consolas, 'Courier New', monospace;
  color: #33aa33; /* soft green text */
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  color: #66cc66; /* brighter headings */
  margin: 0 0 20px;
}

p, ul, ol, table, pre, dl {
  margin: 0 0 20px;
}

h1, h2, h3 { line-height: 1.1; }

h1 { font-size: 28px; font-weight: 600; }
h2 { font-weight: 600; }
h3, h4, h5, h6 { font-weight: 500; }

/* --- New content-box styling --- */
.content-box {
  background-color: #0a0a0a;   /* darker but not same as body */
  border: 1px solid #002200;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  color: #99ff99;              /* brighter green for readability */
}

.content-box p,
.content-box ul,
.content-box ol,
.content-box code {
  color: #99ff99;
}

.content-box a {
  color: #55cc55;
  text-decoration: underline;
}

.content-box a:hover {
  color: #ccffcc;
  text-shadow: 0 0 6px #55ff55;
}

/* --- End content-box --- */


a {
  color: #33aa33;
  text-decoration: none;
}
a:hover {
  color: #99ff99;
  text-decoration: underline;
}

a small {
  font-size: 11px;
  color: #225522;
  margin-top: -0.3em;
  display: block;
}
a:hover small { color: #55cc55; }

.wrapper {
  width: 860px;
  margin: 0 auto;
}

blockquote {
  border-left: 3px solid #002200;
  margin: 0;
  padding: 0 0 0 20px;
  font-style: italic;
  color: #55cc55;
}

code, pre {
  font-family: 'Fira Code', monospace;
  color: #99ff99;
}

pre {
  padding: 8px 15px;
  background: #001100;
  border-radius: 6px;
  border: 1px solid #002200;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 5px 10px;
  border-bottom: 1px solid #002200;
  color: #99ff99;
}
dt, th { color: #66cc66; font-weight: 600; }

img { max-width: 100%; }

header {
  width: 270px;
  float: left;
  position: fixed;
  -webkit-font-smoothing: subpixel-antialiased;
}

header ul {
  list-style:none;
  height:40px;
  padding:0;
  background: #001100;
  border-radius:5px;
  border:1px solid #002200;
  width:270px;
}

header li {
  width:89px;
  float:left;
  border-right:1px solid #002200;
  height:40px;
}

header li:first-child a {
  border-radius:5px 0 0 5px;
}

header li:last-child a {
  border-radius:0 5px 5px 0;
}

header ul a {
  line-height:1;
  font-size:11px;
  color: #33aa33;
  text-decoration: none;
  display:block;
  text-align:center;
  padding-top:6px;
  height:34px;
}

header ul a:hover {
color: #ccffcc;
  text-shadow: 0 0 6px #55ff55;}

header ul a:active {
  background-color:#f0f0f0;
}

strong {
  color: #99ff99;
  font-weight: 600;
}

header ul li + li + li {
  border-right: none;
  width: 89px;
}
header ul a strong {
  font-size: 14px;
  display: block;
  color: #66cc66;
}
/* code style */
.code-box {
  background-color: #001100;
  border: 1px solid #002200;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  color: #225522; 
  font-style: italic;
}
/* Hover effect */
.code-box:hover {

  border-color: #33aa33;

  transform: translateY(-2px);
  /* Glowing shadow behind */
  box-shadow: 
    0 0 10px rgba(51, 170, 51, 0.5), 
    0 0 20px rgba(51, 170, 51, 0.3), 
    0 0 30px rgba(51, 170, 51, 0.2);
}
/* .code-line { margin: 0.2rem 0; }

.keyword { color: #33aa33; font-weight: bold; }
.string { color: #55cc55; }
.comment { color: #225522; font-style: italic; } */
.function { color: #66cc66; }
.function.link {
  color: #99ff99;
  font-weight: bold;
  text-decoration: underline;
  text-decoration-color: #55cc55;
}
.function.link:hover {
  color: #ccffcc;
  text-shadow: 0 0 6px #55ff55;
}


section {
  width: 500px;
  float: right;
  padding-bottom: 50px;
}
/* .title {
  border-bottom: 1px solid #002200;
} */

small { font-size: 11px; color: #225522; }

hr {
  border: 0;
  background: #002200;
  height: 1px;
  margin: 0 0 20px;
}

footer {
  width: 270px;
  float: left;
  position: fixed;
  bottom: 50px;
  -webkit-font-smoothing: subpixel-antialiased;
  color: #225522;
}

/* Responsive tweaks */
@media print, screen and (max-width: 960px) {
  div.wrapper { width: auto; margin: 0; }
  header, section, footer { float: none; position: static; width: auto; }
  header { padding-right: 320px; }
  section { border: 1px solid #002200; border-width: 1px 0; padding: 20px 0; margin: 0 0 20px; }
  header a small { display: inline; }
  header ul { position: absolute; right: 50px; top: 52px; }
}

@media print, screen and (max-width: 720px) {
  body { word-wrap: break-word; }
  header { padding: 0; }
  header ul, header p.view { position: static; }
  pre, code { word-wrap: normal; }
}

@media print, screen and (max-width: 480px) {
  body { padding: 15px; }
  header ul { width: 99%; }
  header li, header ul li + li + li { width: 33%; }
}

@media print {
  body {
    padding: 0.4in;
    font-size: 12pt;
    color: #33aa33;
    background: #000;
  }
}
