:root {
    --bg-primary: #222;
    --bg-secondary: #333;
    --bg-tertiary: #444;
    --bg-dark: #1c1c1c;
    --text-primary: #f0f0f0;
    --text-secondary: #ccc;
    --accent: #ffffcc;
    --border: #fff;
    --border-secondary: #777;
    --link-color: #007bff;
    --link-hover: antiquewhite;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: Arial, sans-serif;
}

.navbar.bg-dark {
    background-color: black !important;
}

.breadcrumb {
    background-color: var(--bg-dark);
}

.breadcrumb-item a {
    color: var(--text-primary);
    text-decoration-color: var(--accent);
}

.navbar .navbar-brand {
    font-family: 'Mokoto Glitch M2', sans-serif;
    font-size: 1rem;
}

.navbar-brand,
.nav-link {
    color: var(--border) !important;
    font-family: 'Mokoto Glitch Regular', sans-serif;
}

.nav-link:focus {
    outline: none;
}

.nav-item:focus-within {
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

/* No rounding for the menu hamburger on mobile */
.navbar-toggler {
    border-radius: 0 !important;
    border: 2px solid var(--border) !important;
}

.navbar-toggler:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Remove bullets and add square borders around navbar items */
.navbar-nav {
    list-style-type: none;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border);
    margin: 1em;
}

.nav-link {
    display: block;
    /*padding: 1em;*/
    text-decoration: none;
    padding-right: 0.5em !important;
    padding-left: 0.5em !important;
}

.navbar-cus {
  display: flex;
}

.navbar-col {
    flex: 50%;
}

.column {
  flex: 50%;
}

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    margin-top: 2em;
    margin-bottom: 0.5em;
    text-align: center;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-family: 'Mokoto Glitch M2', sans-serif;
}

h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-family: 'Mokoto Glitch M2', sans-serif;
}

h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-family: 'Mokoto Glitch Regular', sans-serif;
}

h4 {
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-family: 'Mokoto Glitch Regular', sans-serif;
}

p {
    font-family: Roboto, sans-serif;
}

ol,
ul {
    font-size: 1em;
    padding-left: 2em;
    color: var(--text-primary);
    font-family: "Roboto", sans-serif;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}

embed {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1em 0;
}

blockquote {
    font-family: Georgia, serif;
    font-size: 1.25em;
    color: var(--text-secondary);
    margin: 1em 0;
    padding: 0.5em 1em;
    border-left: 3px solid black;
    background-color: var(--bg-tertiary);
}

/* Responsive breakpoints */
@media screen and (max-width: 575px) {
    /* xs - extra small devices */
    .navbar-nav {
        flex-direction: column;
    }
    
    .nav-item {
        margin: 0.5em 0;
    }
    
    h1 { margin-top: 1em; }
    h2, h3, h4 { margin-top: 1.5em; }
}

@media screen and (min-width: 576px) and (max-width: 767px) {
    /* sm - small devices */
    embed, .content-image {
        width: 100%;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    /* md - medium devices */
    .navbar-nav {
        justify-content: center;
        gap: 1em;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    /* lg - large devices */
    .container {
        max-width: 960px;
    }
}

@media screen and (min-width: 1200px) {
    /* xl - extra large devices */
    .container {
        max-width: 1140px;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
}

.list-group-item-action {
    margin-bottom: 1em;
}


.list-group-item {
    background-color: var(--bg-secondary);
    color: var(--border);
    transition: background-color 0.3s ease;
}

.list-group-item:hover,
.list-group-item:focus {
    background-color: var(--border-secondary);
    outline: none;
}

.list-group-item:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.list-group-item h2 {
    font-size: 1em;
    font-family: "Mokoto Glitch Regular", sans-serif;
    transition: background-color 0.3s ease;
}

.list-group-item:hover h2 {
    background-color: var(--border-secondary);
}
