@import url('https://fonts.googleapis.com/css2?family=Recursive:wght@300..1000&display=swap');
/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Global styles */
body {
    font-family: "Recursive", sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Code block styles */
pre {
    font-family: "Recursive", monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    background-color: rgba(20, 20, 20, 1.0);
    color: rgba(255, 255, 255, 1.0);
    padding: 5px;
    margin: 5px 0;
    border-radius: 0px;
    overflow-x: auto;
    white-space: pre-wrap;
}
code {
    font-family: "Recursive", monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    background-color: transparent;
    color: rgba(255, 255, 255, 1.0);
    padding: 0;
    display: block;
    margin: 0;
}
pre:not(:has(code > *)) {
    padding: 2px 5px;
    line-height: 1.4;
    display: inline-block;
    min-height: unset;
}
.highlight {
    background-color: rgba(91, 91, 91, 1.0);
    border-radius: 5px;
    margin: 5px 0;
    padding: 0;
}
.highlight pre {
    margin: 0;
    padding: 5px;
    background-color: transparent;
    line-height: 1.4;
}
.highlight code {
    background-color: transparent;
    padding: 0;
    margin: 0;
    white-space: pre-wrap;
}
.highlight:not(:has(code > *)) pre {
    padding: 2px 5px;
    display: inline-block;
    min-height: unset;
}
.altbox pre, .altbox code {
    padding: 5px !important;
    background-color: rgba(20, 20, 20, 1.0);
    color: rgba(255, 255, 255, 1.0);
    box-shadow: none;
}
pre::before, pre::after, code::before, code::after {
    content: none;
}
/* Text selection styles */
::selection {
    background: rgba(65, 112, 112, 0.6);
    color: rgba(255, 255, 255, 1.0);
    line-height: 1.2;
}
::-moz-selection {
    background: rgba(65, 112, 112, 0.6);
    color: rgba(255, 255, 255, 1.0);
    line-height: 1.2;
}
/* Header styles */
header {
    background-color: rgba(24, 24, 24, 1.0);
    text-align: center;
    padding: 20px 0;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-container h1 {
    color: rgba(255, 255, 255, 1.0);
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}
.header-container h1 a {
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none;
}
nav ul {
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
    font-weight: bold;
}
nav ul li {
    display: block;
    margin-bottom: 10px;
}
nav ul li a {
    display: inline-block;
    padding: 10px;
    color: rgba(255, 255, 255, 1.0);
    transition: transform 0.3s, text-shadow 0.1s;
    text-decoration: none;
}
nav ul li a:hover {
    transform: translateY(-3px);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
}
nav ul li.active a {
    text-decoration: underline;
}
/* Media query for smaller screens */
@media screen and (min-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    nav ul {
        display: flex;
    }
    nav ul li {
        margin-bottom: 0;
    }
    table {
        font-size: 14px;
    }
    th, td {
        padding: 8px 10px;
    }
}
/* Hero section styles */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
    color: rgba(255, 255, 255, 1.0);
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,1.0);
    bottom: 0;
    left: 0;
    bottom: 10px;
}
.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}
.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 2rem;
    margin-bottom: 30px;
}
.hero-content img {
    width: 30%;
    height: auto;
}
.hero {
    background-image: url('/images/home-hero.jpg');
    border-bottom: 4px solid;
    border-color: #417070;
}
.buttons {
    margin-top: 20px;
    display: flex;
}
.buttons .button {
    flex: 1;
    padding: 10px 20px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin-right: 15px;
    border: solid 1px rgba(0, 0, 0, 1.0);
}
.buttons .button:last-child {
    margin-right: 0;
}
.buttons .button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 128, 128, 1.0);
}
/* Popup styling */
.popup,
.popup2,
.popup3 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}
.popup:target,
.popup2:target,
.popup3:target {
    display: flex;
}
.popup-content {
    background-color: rgba(255, 255, 255, 1.0);
    color: rgba(0, 0, 0, 1.0);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 45%;
    max-width: 80%;
}
.close-button {
    display: block;
    text-align: right;
    font-size: 24px;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}
.close-button:hover {
    color: #007BFF;
}
/* Main section styles */
.main {
    background-color: rgba(51, 51, 51, 1.0);
    padding: 50px 0;
    flex: 1;
    border-top: 4px solid;
    border-color: rgba(0, 0, 0, 1.0);
}

.main a {
    color: rgba(61, 110, 110, 1.0);
}

.main a:hover {
    color: rgba(162, 162, 162, 1.0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.box2 {
    background-color: rgba(51, 51, 51, 1.0);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid rgba(65, 112, 112, 1.0);
    border-radius: 5px;
}
.box {
    background-color: rgba(255, 255, 255, 1.0);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.altbox {
    background-color: rgba(51, 51, 51, 1.0);
    color: rgba(255, 255, 255, 1.0);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.0);
    width: 100%;
}

.altbox a {
    color: rgba(61, 110, 110, 1.0) !important;
}

.box2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.box,
.box2 {
    width: 45%;
}
.box img,
.box2 img,
.altbox img {
    width: 25%;
    height: auto;
}
.box p,
.box2 p,
.altbox p {
    font-weight: bold;
}
.box2 a {
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none !important;
}
.box2 a:hover {
    text-decoration: underline;
}
.box h3,
.box2 h3,
.altbox h3,
.altbox h2 {
    margin-top: 0;
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    font-style: italic;
    font-weight: normal;
    padding-bottom: 20px;
}
.box h3::after,
.box2 h3::after,
.altbox h3::after,
.altbox h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    bottom: 0;
    left: 0;
    bottom: 10px;
}
/* FAQ styles */
.altbox .faq {
    max-width: 100%;
}
.altbox .faq-item {
    margin-bottom: 10px;
}
.altbox .faq-question {
    background: rgba(248, 248, 248, 1.0);
    border: none;
    padding: 15px;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.altbox .faq-question:hover {
    background-color: rgba(224, 224, 224, 1.0);
}
.altbox .faq-answer {
    padding: 15px;
    background: rgba(249, 249, 249, 1.0);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
}
.altbox details[open] .faq-answer {
    display: block;
}
/* Footer styles */
footer {
    background-color: rgba(24, 24, 24, 1.0);
    color: rgba(255, 255, 255, 1.0);
    padding: 50px 0;
    text-align: center;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links ul li {
    display: inline-block;
    margin-right: 20px;
}
.footer-links ul li a,
.footer-social a {
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none;
}
.footer-social {
    margin-top: 20px;
}
.footer-social a {
    margin: 0 10px;
    font-size: 1.5rem;
}
.blinking-cursor {
    color: rgba(0, 128, 128, 1.0);
    display: inline-block;
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    from, to {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: rgba(0, 0, 0, 1.0);
}
th {
    background-color: #008080;
    color: white;
    text-transform: uppercase;
    font-size: 16px;
}
tr:hover {
    background-color: #f5f5f5;
}
tr:nth-child(even) {
    background-color: #f9f9f9;
}
tr:nth-child(odd) {
    background-color: #fff;
}
/* Copy button styles */
.copy-code-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(51, 51, 51, 1.0);
    color: rgba(255, 255, 255, 1.0);
    border: none;
    padding: 2px 8px;
    font-size: 0.8rem;
    font-family: "Recursive", sans-serif;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.copy-code-button:hover {
    opacity: 1;
}
.copy-code-button:focus {
    outline: 1px solid rgba(0, 128, 128, 1.0);
}
.altbox .tags {
    margin-top: 20px;
}
.altbox .tags h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.altbox .tags ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.altbox .tags li {
    display: inline-block;
}
.altbox .tags li a {
    background-color: rgba(51, 51, 51, 1.0);
    color: rgba(255, 255, 255, 1.0);
    padding: 5px 10px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}
.altbox .tags li a:hover {
    background-color: rgba(0, 128, 128, 1.0);
}

/* Post Card Styles */
.post-card {
    background-color: rgba(51, 51, 51, 1.0);
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    transition: transform 0.3s, box-shadow 0.3s;
    width: calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid rgba(65, 112, 112, 1.0);
}

.post-card a {
    color: rgba(65, 112, 112, 1.0);
}

.post-card a:hover {
    color:rgba(0, 128, 128, 1.0);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}
.post-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: rgba(60, 60, 60, 1.0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
}

.post-card-image a {
    width: 100%;
    height: 100%;
    display: block;
}
.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    display: block;
}
.post-card:hover .post-card-image img {
    transform: scale(1.05);
    cursor: default;
}
.post-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.post-card-title {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: left;
    font-style: normal;
    padding-bottom: 0;
}
.post-card-title::after {
    display: none;
}
.post-card-title a {
    color: rgba(255, 255, 255, 1.0);
    text-decoration: none;
}
.post-card-title a:hover {
    color: rgba(0, 128, 128, 1.0);
}
.post-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(200, 200, 200, 1.0);
}
.post-card-meta i {
    margin-right: 5px;
}
.post-card-description {
    color: rgba(220, 220, 220, 1.0);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}
.post-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}
.post-card-tags .tag {
    background-color: rgba(51, 51, 51, 1.0);
    color: rgba(255, 255, 255, 1.0);
    padding: 4px 12px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.3s;
}
.post-card-tags .tag:hover {
    background-color: rgba(0, 128, 128, 1.0);
}
.read-more {
    color: rgba(0, 128, 128, 1.0);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    transition: color 0.3s;
}
.read-more:hover {
    color: rgba(0, 160, 160, 1.0);
    text-decoration: underline;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .post-card {
        width: 100%;
    }
}

/* Single post layout with TOC */
.single-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.toc-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.toc-container {
    background-color: rgba(24, 24, 24, 1.0);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid rgba(65, 112, 112, 1.0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.toc-container h3 {
    color: rgba(255, 255, 255, 1.0);
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(65, 112, 112, 1.0);
    text-align: left;
    font-style: normal;
}

.toc-container h3::after {
    display: none;
}

.toc-container nav#TableOfContents {
    color: rgba(255, 255, 255, 1.0);
}

.toc-container nav#TableOfContents ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.toc-container nav#TableOfContents ul ul {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    margin-top: 5px;
}

.toc-container nav#TableOfContents li {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    font-size: 0.8rem;
}

.toc-container nav#TableOfContents a {
    font-weight: normal;
    color: rgba(220, 220, 220, 1.0);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
    line-height: 1.4;
}

.toc-container nav#TableOfContents a:hover {
    color: rgba(0, 128, 128, 1.0);
}

.single-content {
    flex: 1;
    min-width: 0;
}

/* Responsive - hide TOC on mobile */
@media screen and (max-width: 992px) {
    .single-layout {
        flex-direction: column;
    }
    
    .toc-sidebar {
        width: 100%;
        position: static;
        max-height: none;
        order: -1;
    }
}

/* Custom scrollbar for TOC */
.toc-sidebar::-webkit-scrollbar {
    width: 6px;
}

.toc-sidebar::-webkit-scrollbar-track {
    background: rgba(51, 51, 51, 1.0);
    border-radius: 3px;
}

.toc-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 128, 128, 1.0);
    border-radius: 3px;
}

.toc-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 160, 160, 1.0);
}

/* Homepage message styling */
.homepage-message {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
}

.homepage-message h2 {
    color: rgba(255, 255, 255, 1.0);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: normal;
    font-style: italic;
}

.homepage-message h2::after {
    display: none;
}

/* Style the tabs */
.tabs {
  overflow: hidden;
  border-bottom: 1px solid var(--text-color);
  display: flex;
  flex-wrap: wrap;
}

@media (min-width: 48em) {
    .tabs button {
        font-family: Menlo, Monaco, "Courier New", monospace;
        font-size: 0.8em;
        background-color: rgba(21, 21, 21, 1.0);
        color: var(--text-color);
        border-top: 2px solid rgba(21, 21, 21, 1.0);
        border-right: none;
        border-bottom: 2px solid rgba(21, 21, 21, 1.0);;
        border-left: none;
        border-radius: 5px 5px 5px 5px;
        margin: 0 0.2em 0 0;
        outline: none;
        cursor: pointer;
        padding: 0.5em 1em;
        transition: 0.3s;
    }
}

@media (max-width: 48em) {
    .tabs button {
        font-family: Menlo, Monaco, "Courier New", monospace;
        font-size: 0.8em;
        background-color: rgba(21, 21, 21, 1.0);
        border-top: 2px solid rgba(21, 21, 21, 1.0);
        border-right: none;
        border-bottom: 2px solid rgba(21, 21, 21, 1.0);
        border-left: none;
        border-radius: 5px 5px 5px 5px;
        margin: 0 0.2em 0 0;
        outline: none;
        cursor: pointer;
        padding: 0.7em 1.3em;
        transition: 0.3s;
    }
}

/* Change background color of buttons on hover */
.tabs button:hover {
  background-color: rgba(21, 21, 21, 1.0);
  color: #ddd;
  border-bottom: 2px solid #417070;
  border-top: 2px solid #417070;
}

/* Create an active/current tablink class */
.tabs button.active {
  background-color: #417070;
  color: #000;
  border-bottom: 2px solid #417070;
  border-top: 2px solid #417070;
}

.tabs button.active:hover {
  background-color: #417070;
  color: #000;
  border-bottom: 2px solid rgba(21, 21, 21, 1.0);
  border-top: 2px solid rgba(21, 21, 21, 1.0);
}


/* Style the tabs content */
.tabcontent {
  display: none;
  padding-top: 0.2em;
}
