/*----------------------------------------------------------------------------*/
/*  THEMES                                                                    */
/*----------------------------------------------------------------------------*/
/* default fallback */
/* color comments were ~vibe coded~ */
:root {
  /* nocturne theme */
  --border-color: #e3a854; /* sunset gold */
  --text-color: #d8dee9; /* winter haze */
  --background-color: #12181c; /* midnight ink */
  --title-color: #7dafd9; /* sky blue */
  --accent-color: #ffeead; /* lunar halo */

  /* font sizes */
  --h1_text_size: 32px;
  --h2_text_size: 20px;
  --text_size: 16px;
  --caption_size: 14px;
  --code_size: 12px;
}

html[data-theme="blue_jays"] {
  --border-color: #1d2d5c; /* dugout navy */
  --text-color: #020618; /* umpire black */
  --background-color: #f0fdfa; /* dome open */
  --title-color: #134a8e; /* slugger blue */
  --accent-color: #e8291c; /* canada day */
}

html[data-theme="jazz"] {
  --border-color: #392682; /* grape swirl */
  --text-color: #2c2c44; /* ink drop */
  --background-color: #e7e2ec; /* paper cup */
  --title-color: #2a5a5a; /* teal swirl */
  --accent-color: #9c7aa6; /* lavender mist */
}

html[data-theme="severance"] {
  --border-color: #000325; /* lumon navy */
  --text-color: #17202a; /* innie slate */
  --background-color: #fffffc; /* fluorescent cream */
  --title-color: #00796b; /* mdr teal */
  --accent-color: #5c9fcc; /* procedure cerulean */
}

html[data-theme="nocturne"] {
  --border-color: #e3a854; /* sunset gold */
  --text-color: #d8dee9; /* winter haze */
  --background-color: #12181c; /* midnight ink */
  --title-color: #7dafd9; /* sky blue */
  --accent-color: #ffeead; /* lunar halo */
}

html[data-theme="outrun"] {
  --border-color: #bb66aa; /* neon haze */
  --text-color: #fdf3fa; /* sunset dust */
  --background-color: #2b1d4c; /* midnight grid */
  --title-color: #6ee6e8; /* aqua drive */
  --accent-color: #f5c06a; /* chrome glow */
}

html[data-theme="tyranitar"] {
  --border-color: #8daa7b; /* rock slide */
  --text-color: #acc6d5; /* hidden power */
  --title-color: #3e6e90; /* dragon dance */
  --background-color: #121a21; /* focus punch */
  --accent-color: #d9969d; /* crunch */
}

/*----------------------------------------------------------------------------*/
/*  BASE STYLES                                                               */
/*----------------------------------------------------------------------------*/
html {
  overflow-y: scroll;
}

p {
  text-align: left;
}

body {
  font:
    var(--text_size) "Montserrat",
    sans-serif;
  line-height: 1.5;
  padding-top: 5em;
  padding-bottom: 3em;
  background-color: var(--background-color);
  color: var(--text-color);
  font-size: var(--text_size);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

h1 {
  font-size: var(--h1_text_size);
  font-weight: 600;
  color: var(--title-color);
  font-family: "Montserrat", sans-serif;
  text-align: left;
  text-transform: none;
}

h2 {
  font-size: var(--h2_text_size);
  font-weight: 750;
  color: var(--border-color);
  text-align: left;
}

hr {
  border: none;
  height: 2px;
  background-color: var(--accent-color);
  margin-top: 0.5em;
  opacity: 1;
}

ul {
  padding-left: 0;
}

li {
  margin-left: 1em;
}

a {
  color: var(--text-color);
  background-color: transparent;
  text-decoration: underline;
  font-weight: 750;
}

a:visited {
  color: var(--text-color);
  background-color: transparent;
  text-decoration: underline;
  font-weight: 750;
}

a:hover {
  color: var(--accent-color);
  background-color: transparent;
  text-decoration: underline;
  font-weight: 750;
}

a:focus {
  color: var(--accent-color);
  background-color: transparent;
  text-decoration: underline;
  font-weight: 750;
}

figcaption {
  font-size: var(--caption_size);
  font-style: italic;
  padding-top: 0.5em;
}

::selection {
  background: var(--accent-color);
}
/*============================================================================*/
/*  ADDED: MINIMAL RESET — REPLACES BOOTSTRAP REBOOT                          */
/*  ADDED WHEN BOOTSTRAP CDN WAS REMOVED FROM _layouts/default.html           */
/*  THESE BASELINE RULES WERE PREVIOUSLY PROVIDED BY BOOTSTRAP REBOOT         */
/*  AND ARE NEEDED TO PREVENT BROWSER-DEFAULT MARGIN/SIZING REGRESSIONS:      */
/*    - box-sizing: border-box  (container padding stays inside max-width)    */
/*    - body { margin: 0 }      (removes default 8px browser margin)          */
/*    - heading / list margins  (matches the tighter bootstrap spacing)       */
/*============================================================================*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* suppress the gray tap-flash box mobile webkit/blink draws on links and
   buttons. bootstrap reboot turned this off; without it, tapping a navbar
   icon briefly paints an OS-level highlight before the page navigates. */
html {
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

figure {
  margin: 0 0 1rem;
}

/* form controls don't inherit page font by default — bootstrap reboot used to
   normalize this. without it, the footer's <select> falls back to the browser
   UA font instead of Montserrat. */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/*============================================================================*/
/*  ADDED: UTILITY CLASSES — REPLACES BOOTSTRAP UTILITIES                     */
/*  ONLY THE BOOTSTRAP CLASSES ACTUALLY REFERENCED IN MARKUP ARE REPRODUCED.  */
/*============================================================================*/
/* ADDED: bootstrap's .container is RESPONSIVE — it locks to a fixed width
   at each breakpoint and centers, rather than just capping at one max-width.
   replicating those breakpoints exactly so the side gutters look identical. */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.d-flex {
  display: flex;
}
.d-block {
  display: block;
}
.justify-content-between {
  justify-content: space-between;
}
.align-items-center {
  align-items: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-circle {
  border-radius: 50%;
}

/*============================================================================*/
/*  ADDED: NAVBAR-BRAND SPACING                                               */
/*  BOOTSTRAP PREVIOUSLY APPLIED margin-right: 1rem TO .navbar-brand BY       */
/*  DEFAULT — THIS IS WHAT GAVE THE NAVBAR ICONS THEIR HORIZONTAL SPACING.    */
/*  THE EXISTING ".navbar .container > div:last-child .navbar-brand:last-     */
/*  child { margin-right: 0 }" RULE BELOW STILL WINS FOR THE LAST RIGHT-SIDE  */
/*  ICON (HIGHER SPECIFICITY), KEEPING IT FLUSH WITH THE CONTAINER EDGE.      */
/*============================================================================*/
.navbar-brand {
  margin-right: 1rem;
}
/*============================================================================*/
/*  END ADDED BLOCK                                                           */
/*============================================================================*/

/*----------------------------------------------------------------------------*/
/*  MODULES / COMPONENTS                                                      */
/*----------------------------------------------------------------------------*/
.fas.fa-house,
.fas.fa-newspaper,
.fas.fa-file-lines,
.fab.fa-linkedin-in,
.fab.fa-github,
.fas.fa-palette {
  color: var(--background-color);
}

.fas.fa-house:hover,
.fas.fa-newspaper:hover,
.fas.fa-file-lines:hover,
.fab.fa-linkedin-in:hover,
.fab.fa-github:hover {
  color: var(--accent-color);
}

/*.title-name {

}

.title-separator {
  color: var(--accent-color);
}

.title-page {
  color: var(--accent-color);
}*/

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.post-title {
  margin: 0;
}

.post-title a {
  color: var(--border-color);
}

.post-title a:hover {
  color: var(--accent-color);
  background-color: transparent;
  text-decoration: underline;
}

.post-date {
  font-family: "Anonymous Pro", monospace;
  color: var(--text-color);
}

.icon-label {
  margin-top: 5em;
}

.math-display {
  overflow-x: auto;
  max-width: 100%;
}

.highlight pre code {
  font-family: "Anonymous Pro", monospace;
  font-size: var(--code_size);
  display: block;
  padding: 0;
}

.verbatim-edit {
  font-family: "Anonymous Pro", monospace;
  font-size: var(--code_size);
  text-align: left;
}

/*----------------------------------------------------------------------------*/
/*  NAVBAR STYLES                                                             */
/*----------------------------------------------------------------------------*/
.navbar {
  padding-top: 0;
  padding-bottom: 0;
  letter-spacing: 3;
  position: fixed;
  width: 100%;
  background-color: var(--border-color);
  z-index: 1;
  border: none;
  border-radius: 0;
}

.navbar a,
.navbar .nav-link,
.navbar .navbar-brand {
  transition: none !important;
  color: var(--background-color);
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .navbar-brand:hover,
.navbar .nav-link:focus,
.navbar .navbar-brand:focus {
  color: var(--accent-color);
}

.navbar-brand {
  padding-left: 0;
  padding-right: 0;
  font-size: var(--h2_text_size);
  font-weight: 600;
}

/* make the last icon on the right flush with the container */
.navbar .container > div:last-child .navbar-brand:last-child {
  margin-right: 0;
}

/*----------------------------------------------------------------------------*/
/*  FOOTER STYLES                                                             */
/*----------------------------------------------------------------------------*/
.footer {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
  background-color: var(--border-color);
  font-weight: 600;
}

.theme-select {
  padding-left: 1em;
  border: 0;
  outline: none;
  background: transparent;
  font-weight: 600;
}

.theme-select select {
  padding: 0;
  font-size: var(--text_size);
  color: var(--background-color);
  background: var(--border-color);
  font-weight: 600;
}

.copyright-info {
  text-align: right;
  color: var(--background-color);
  flex-shrink: 0;
  font-weight: 600;
}
