body {
  font-family: "Montserrat", serif !important;
  padding: 0px;
  margin: 0px;
  background-color: black !important;
}

nav {
  background-color: #B89491 !important;
}

nav a {
  color: white !important;
  text-decoration: none;
  line-height: 1.5;
  font-weight: 600 !important;
}

a:hover {
  text-decoration: none !important;
  opacity: 0.8;
}

a {
  color: #B89491 !important;
  font-weight: bold;
  text-decoration: none !important;
  cursor: pointer;
}

h1,
h2 {
  color: #003366;
}

.shadow {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.btn-menu {
  background: white !important;
  color: black !important;
  border-radius: 25px !important;
  font-weight: bold !important;
}

.btn-menu:hover {
  opacity: 0.8 !important;
}

.card {
  border-color: transparent !important;
  border-width: 4px !important;
  cursor: pointer;
  color: #393939 !important;
  overflow: hidden;
}

/* Make header image always square + zoomed */
.square-img {
  width: 100%;
  aspect-ratio: 1 / 1;        /* always square */
  object-fit: cover;          /* zoom + crop automatically */
  object-position: center;    /* center the crop */
}

.post-card {
  position: relative; /* required for stretched-link */
}



.card:hover {
  background-color: #352a2a !important;
  color: white !important;
}

.card-title {
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0; /* top:0; left:0; right:0 */
  z-index: 100;
}

/* ---------- NAVBAR BASE ---------- */

.nav-bar {
  height: 72px;
  width: 100%;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #B89491; /* brand color */
  color: #fff;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-logo img {
  max-height: 40px;
}

/* Center links */
.nav-center {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex: 1;                 /* take remaining space */
  justify-content: center; /* center between left & right */
}

/* Right section (GitHub + CTA) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-right a,
.nav-center a {
  color: white !important;
  text-decoration: none;
}

.nav-center a:hover,
.nav-right a:hover {
  text-decoration: underline;
}

/* Active menu item */
.nav-center a.active {
  color: white;
  font-weight: bold;
  border-bottom: 2px solid white;
}

/* GitHub link in top-right (desktop) */
.github-link {
  display: inline-flex;
}

/* Mobile-only actions inside slide-out menu (hidden by default) */
.mobile-menu-actions {
  display: none;
}

.menu-github {
  display: flex;
  justify-content: flex-start;
}

/* Hamburger button hidden on desktop */
.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

/* ---------- Mobile layout ---------- */
@media (max-width: 768px) {

  .nav-bar {
    height: auto;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-left {
    order: 1;
  }

  /* Top row: Get-it-now centered */
  .nav-right {
    order: 2;
    flex: 1;
    justify-content: center;
  }

  /* Hide GitHub icon on mobile top bar */
  .github-link {
    display: none !important;
  }

  /* Hamburger on the right */
  .nav-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }

  /* Sliding right-side menu */
  .nav-center {
    order: 4;
    position: fixed;
    top: 72px; /* under header */
    right: -100%;
    height: calc(100% - 72px);
    width: 70%;
    background: #B89491;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 9999;
    align-items: flex-start;
  }

  /* Slide in when open */
  .nav-bar.is-open .nav-center {
    right: 0;
  }

  /* Hide top Get-it-now when menu is open */
  .nav-bar.is-open .nav-right {
    display: none !important;
  }

  /* Actions at bottom of slide-out menu */
  .mobile-menu-actions {
    margin-top: auto; /* push to bottom */
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .mobile-menu-actions .btn-menu {
    width: 100%;
  }
}

/* ---------- Desktop layout ---------- */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .nav-center {
    display: flex;
    position: static;
    height: auto;
    width: auto;
    padding: 0;
  }

  .nav-right {
    display: flex;
    justify-content: flex-end;
  }

  .mobile-menu-actions {
    display: none;
  }
}



---
---

/* Modern Blog Spacing Preset for Jekyll
   Inspired by Medium, Ghost, Dev.to
*/

/* GLOBAL TYPOGRAPHY */
html, body {
  font-size: 18px;            /* Comfortable reading size */
  line-height: 1.75;          /* More air between lines */
  letter-spacing: 0.01em;
  font-weight: 400;
}

/* PARAGRAPHS */
p {
  margin-top: 0;
  margin-bottom: 1.4rem;      /* Space between paragraphs */
  line-height: 1.75;

}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2.5rem;         /* Space above headings */
  margin-bottom: 1rem;        /* Space below headings */

}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.45rem; }

/* LISTS */
ul, ol {
  padding-left: 1.6rem;
  margin-top: 0.5rem;
  margin-bottom: 1.6rem;
  line-height: 1.75;
}

li {
  margin-bottom: 0.6rem;
}


/* CODE BLOCKS */
pre, code {
  font-family: "JetBrains Mono", monospace;
  line-height: 1.6;
}

pre {
  padding: 1rem;
  margin: 1.8rem 0;
  border-radius: 8px;
  overflow: auto;
}

/* BLOCKQUOTES */
blockquote {
  border-left: 4px solid #cccccc;
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.8rem;
  font-style: italic;
  color: #444;
}

/* HORIZONTAL RULE */
hr {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}

/* SPACING FOR SECTIONS */
section {
  margin-bottom: 2.5rem;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 700px) {
  html, body {
    font-size: 16px;
    line-height: 1.7;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  p, ul, ol {
    margin-bottom: 1.2rem;
  }
}

hr {
  border: none;
  border-top: 5px solid #e0e0e0;
  margin: 9rem auto;     /* huge vertical spacing */
  max-width: 150px;
  opacity: 0.5;
}

