:root {
    --links: #6679cc; /* Always applied */
}

body {
    font-family: "Fira Sans", "Atkinson Hyperlegible Next", "Inter", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

pre, code {
    font-family: "Fira Code", "Atkinson Hyperlegible Mono", monospace;
    border-radius: 4px;
    padding: 8px; 
}

.nav > ul {
    list-style: none; /* Removes the default list styling */
    padding: 0;
}

.nav > ul li {
    display: inline; /* Makes the list items appear inline */
    position: relative;
}

.nav > ul li::after {
    content: "▸"; /* Adds the bullet */
    padding: 0 4px 0 6px; /* Adds space between content and bullet */
}

.nav > ul li:last-child::after {
    content: ""; /* Removes the bullet after the last item */
}

.posts > .post {
    margin: 4rem 0;
}

.posts > .post {
  margin: 4rem 0;
}

.posts > .post > .title {
  font-size: 120%;
  font-weight: bold;
  text-transform: capitalize;
}

footer {
    border: 0;
}

code { background: none; }

@media (prefers-color-scheme: dark) {
    :root {
      --background-body: #1a1b26;
      --background: #24283b;
      --text-main: #c0caf5;
      --links: #7aa2f7;
    }
}

 /* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  body {
    font-size: 18px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  body {
    font-size: 20px;
    max-width: 1024px;
  }

  p {
    line-height: 1.6;
  }
}

/* HiDPI devices */
@media only screen and (min-width: 1440px) {
  body {
    font-size: 20px;
    max-width: 1280px;
  }

  p {
    line-height: 1.75;
  }
}

/*
 * --------------------------------
 * CSS for Link-Like Tag Buttons
 * --------------------------------
 */

/* Container for the tag buttons (UL) */
.tag-buttons-container {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
}

/* Individual tag button (LI) - Styled like a link */
.tag-button {
    /* RESET Button/Block Styles */
    background-color: transparent; /* No background color */
    border: none; /* No border */
    
    /* LINK-LIKE STYLING */
    color: #007bff; /* Standard link blue color */
    
    /* INTERACTIVITY & TEXT */
    cursor: pointer;
    padding: 2px 5px; /* Minimal padding */
    margin: 0; /* Minimal margin */
    font-size: 0.9em; 
    transition: color 0.1s, text-decoration 0.1s;
    
    /* Ensure it acts like a block of text in the flow */
    display: inline; 
    user-select: none; 
}

/* Hover state: Darken the color and remove underline */
.tag-button:hover:not(.active) {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: none; /* Often links remove underline on hover */
}

/* Active (toggled ON) state */
.tag-button.active {
    color: #333; /* Darker color to show it's selected/active */
    background-color: #e9e9e9; /* Light background to highlight selection */
    text-decoration: none; /* Remove underline when active */
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1px 4px; /* Adjust padding to look good with the border */
}

