
:root {
  --title-color: #b6b51a;
  --background-color: #2b2b2b;
  --menu-color: #337ab7;
  --post-link-color: #337ab7;
  --post-font-size: 1rem;
  --base-text-color: #e6dab2;
  --date-color: #ff2222
}

@font-face {
    font-family: "Menlo New";
    src: url("./fonts/Menlo-Regular.ttf");
}

body {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
  xfont-family: Menlo New, Courier New, monospace, serif;
  font-weight: 100;
  color: var(--base-text-color);
  background-color: var(--background-color);
  margin-right: auto;
  margin-left: auto;
  width: 80%;
}

/* Normal links */

a:link { color: var(--post-link-color); text-decoration: none; }
a:hover { color: var(--post-link-color); text-decoration: underline; }
a:visited { color: var(--post-link-color); text-decoration: none; }
a:active { color: var(--post-link-color); text-decoration: none; }

.menu {
  margin-left: 10px;
  margin-bottom: 1rem;
}
.menu-item {
  display: inline;
  margin-right: 14px; /* space them out */
  line-height: 42px;
}

.menu-item>a {
  border: 2px solid var(--menu-color);
  padding: 5px; /* gap between link and box */
  font-size: 1.2rem;
  margin: 14px 0px 14px 0px;
}

.menu-item>a:link { color: var(--menu-color); text-decoration: none; }
.menu-item>a:visited { color: var(--menu-color); text-decoration: none; }
.menu-item>a:active { color: var(--menu-color); text-decoration: none; }
.menu-item>a:hover {
  background-color: var(--menu-color);
  color: var(--background-color);
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--title-color);
  padding-top: 1rem;
  text-align: center;
  font-size: 75%;
}

h1, h2, h3, h4, h5 {
  font-weight: 100;
}

.post {
  padding-bottom: 8px;
  color: inherit;
  text-align: left;
  line-height: 1.5em;
  width: 100%;
}

/* Post Title */
.post .title {
  border-top: 1px solid;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 10px;
  font-size: 36px;
  color: var(--title-color);
  line-height: 1em;
}
.post .date {
  color: var(--date-color);
}

.post .body {
  padding-bottom: 10px;
  font-size: var(--post-font-size);
}

/* Post Title Links */
.post .title a:link { color: inherit; text-decoration: none; }
.post .title a:hover { color: inherit; text-decoration: underline; }
.post .title a:visited { color: inherit; text-decoration: none; }
.post .title a:active { color: inherit; text-decoration: none; }

/* Post Body Links */
.post .body a:link {
  color: var(--post-link-color);
  text-decoration: none;
  word-wrap: break-word;
}
.post .body a:hover {
  color: var(--post-link-color);
  text-decoration: underline;
  word-wrap: break-word;
}
.post .body a:visited {
  color: var(--post-link-color);
  text-decoration: none;
  word-wrap: break-word;
}
.post .body a:active {
  color: var(--post-link-color);
  text-decoration: none;
  word-wrap: break-word;
}

.post p {
  xmargin-bottom: 20px;
}

.post ul {
  line-height: 1.75em;
}

.post li {
  margin-top: 0.25em;
}

.post code {
  background-color: #323840;
  padding: 4px;
  padding-right: 5px;
  padding-left: 5px;
  color: #d9dee8;
  overflow: hidden;
  border: 1px solid #cccccc;
}

.post pre>code {
  background-color: #323840;
  color: #cccccc;
  width: 100%;
  overflow: hidden;
  border: none;
  display: block;
  overflow-x: initial;
}

.xpost pre>code {
  margin: 10;
  padding: 0;
}

.post img {
  image-orientation: from-image;
  max-width: 90%;
  xheight: auto;
  vertical-align: middle;
  padding-left: 10px;
  xpadding-right: 200px;
}

.archive-date {
  font-size: 20px;
  margin-bottom: 10px;
}

.archive-link:link { color: var(--post-link-color); text-decoration: none; }
.archive-link:hover { color: var(--post-link-color); text-decoration: underline; }
.archive-link:visited { color: var(--post-link-color); text-decoration: none; }
.archive-link:active { color: var(--post-link-color); text-decoration: none; }

/* Comment form */

.h-captcha {
  padding-left:5px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.input-control {
  width: 80%;
  padding: 8px;
  margin: 5px;
  color: #e6dab2;
  background-color: #2b2b2b;
  border: solid 1px;
  border-color: #e6dab2;
  font-size: 14px;
  font-family: inherit;
}

.button {
   padding: 8px;
   margin: 5px;
   color: #e6dab2;
   background-color: #2b2b2b;
   border: solid 1px;
   border-color: #e6dab2;
   font-size: 14px;
   font-family: inherit;
   cursor: pointer;
   vertical-align: middle;
 }

.pagination {
    display: flex;
    list-style: none;
    xborder-radius: .25rem;
    xmargin: 20px 0;
    padding: 5px;
    justify-content: left;
}

.page-item {
  padding-right: 10px;
}

.page-link:link { color: var(--post-link-color);; text-decoration: none; }
.page-link:visited { color: var(--post-link-color); text-decoration: none; }
.page-link:active { color: var(--post-link-color); text-decoration: none; }
.page-link:hover { color: var(--background-color); text-decoration: none; }

.page-link {
    position: relative;
    display: block;
    padding: .75rem 1rem;
    line-height: 1.25;
    border: 2px solid var(--post-link-color);
}

.page-link:hover {
  background-color: var(--post-link-color);
}

.container {
  margin-left: 10px;
  margin-right: 10px;
  width: auto;
}

.header {
  padding-bottom: 20px;
}

.header h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp( 3rem, 10vw, 6rem);
  color: #ffb400;
  letter-spacing: -3px;
  white-space: nowrap;
}
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 20px;
  font-size: 14px;
}

/* Comments */

.sr-only2 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.comments {
}

.comments hr {
  height: 1px;
  border: 0;
  background-color: #e6dab2;
}
.comment {
  font-size: 15px;
 }

.comment-info {
  xdisplay: table-cell;
  vertical-align: top;
  margin-left: 16px;
  padding-top: 4px;
  width: 100%;
  border-top: solid 1px;
  border-color: #555;
}

.comment-info .date {
  color: #F22;
  padding-top: 4px;
  padding-bottom: 8px;
  padding-left: 8px;
  text-align: right;
  dispay: inline;
  font-size: 95%;
}
.comment-info .name {
  font-weight: bold;
  xfont-size: 120%;
  dispay: inline;
  color: #ffb400;
}
.comment-info .check {
  font-size: 150%;
  color: #007cff;
}
.comment .avatar {
  display: table-cell;
  vertical-align: top;
  xwidth: 64px;
}

.comment .avatar img {
  display: inline;
  xwidth: 32px;
  padding: 5px;
  padding-right: 40px;
}

.comment .text {
  padding-top: 4px;
  padding-bottom: 8px;
  padding-left: 8px;
  line-height: 1.5em;
}

.comment-review {
  padding-top: 8px;
  line-height: 1.5;
}

input[type="checkbox"] {
    appearance: none;           /* Removes the browser's default style */
    -webkit-appearance: none;   /* Required for older Chrome/Edge */
    width: 18px;
    height: 18px;
    border: 1px solid #e6dab2;
    margin-right: 10px;
    xborder-radius: 4px;
    cursor: pointer;
    background-color: #2b2b2b;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

/* Style for when the box is checked */
input[type="checkbox"]:checked {
    background-color: #e6dab2;  /* Green background when checked */
    border-color: #e6dab2;
}

/* Optional: Add a simple white dot or mark when checked */
/*
input[type="checkbox"]:checked::after {
    content: '✓';
    font-size: 18px;
    color: white;
    position: absolute;
    top: -2px;
    left: 4px;
}
*/
