@font-face {
    font-family: 'Helvetica Neue';
    font-weight: normal;
    src: local('Helvetica Neue'), local('HelveticaNeue'),
         url('https://fonts.cdnfonts.com/s/19869/HelveticaNeue.woff') format('woff');
}

@font-face {
    font-family: 'Helvetica Neue';
    font-weight: bold;
    src: local('Helvetica Neue Bold'), local('HelveticaNeue-Bold'),
         url('https://fonts.cdnfonts.com/s/19869/HelveticaNeueBold.woff') format('woff');
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: normal;
    line-height: 1.6;
    margin: 40px auto;
    max-width: 650px;
    padding: 0 10px;
    color: #333;
    background-color: #f9f9f9;
}

h1, h2 {
    font-weight: bold;
    margin: 0;
    padding: 0;
}

a {
    color: #0074D9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

.content {
    margin-top: 20px;
}

.footer {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 40px;
}

.comments {
    margin: 32px 0;
}

.giscus {
    margin-top: 20px;
    width: 100%;
}

pre {
  background-color: #2e3440; /* Dark background for code blocks */
  color: #d8dee9; /* Light text */
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
}
code {
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
}


/* TempleOS Theme Variables */
:root {
    --temple-bg: #FFFFFF; /* Pure blue */
    --temple-text: #FFFFFF; /* White text */
    --temple-heading: #FF0000; /* Bright red */
    --temple-link: #55FF55; /* Green links */
    --temple-border: #FFFFFF; /* White border */
    --temple-highlight: #00FFFF; /* Cyan highlight */
    --temple-hover: #FFFF00; /* Bright yellow hover effect */
    --temple-colors: #000000, #0000AA, #00AA00, #00AAAA, #AA0000, #AA00AA, #AAAA00, #AAAAAA,
                     #555555, #5555FF, #55FF55, #55FFFF, #FF5555, #FF55FF, #FFFF55, #FFFFFF;
  }
  
  /* Theme Toggle Button */
  .theme-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    background: var(--temple-border);
    color: inherit;
    border: 1px solid var(--temple-heading);
    font-family: "Courier New", monospace;
    cursor: pointer;
    z-index: 1000;
    font-size: 12px;
    text-transform: uppercase;
  }
  
  .theme-toggle:hover {
    background: var(--temple-hover);
    color: inherit;
    border: 1px solid var(--temple-hover);
  }
  
  /* TempleOS Theme Classes */
  .temple-theme {
    background-color: #FFFFFF;
    color: inherit;
    font-family: "Courier New", monospace !important;
    padding: 20px;
    text-shadow: none;
  }
  
  .temple-theme * {
    font-family: "Courier New", monospace !important;
  }
  
  .temple-theme .content {
    background: transparent;
    padding: 20px;
    margin: 20px 0;
  }
  
  .temple-theme h1,
  .temple-theme h2 {
    border-bottom: 1px solid var(--temple-border);
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .temple-theme a {
    text-decoration: underline;
  }
  
  .temple-theme a:hover {
    text-decoration: none;
  }
  
  .temple-theme hr {
    border: none;
    border-top: 2px solid var(--temple-border) !important;
    margin: 15px 0;
  }
  
  .temple-theme .footer {
    border-top: 2px solid var(--temple-border);
    color: var(--temple-text) !important;
    text-align: center;
    padding-top: 10px;
    margin-top: 20px;
  }
  
  /* ASCII Art Styling */
  .temple-theme .ascii-art {
    font-family: monospace;
    white-space: pre;
    color: var(--temple-highlight);
    margin: 20px auto;
    text-align: center;
    line-height: 1;
    display: block;
    width: fit-content;
    overflow-x: auto;
    max-width: 100%;
  }
  
  /* Blinking Text */
  .temple-theme .blinking {
    animation: blink 1s step-end infinite;
    color: var(--temple-link);
  }
  
  @keyframes blink {
    50% {
      opacity: 0;
    }
  }
  
  /* Bordered Containers */
  .temple-theme .bordered-box {
    border: 3px solid var(--temple-border);
    padding: 10px;
    margin: 15px 0;
    background-color: var(--temple-bg);
    color: var(--temple-text);
    text-align: center;
  }
  
  .temple-theme .rotating-art {
    animation: rotate 4s linear infinite;
    display: inline-block;
  }
  
  @keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
  }
  
  /* Make sure the ASCII art maintains its shape */
  .temple-theme .rotating-art {
    font-family: monospace;
    white-space: pre;
    display: block;
    width: fit-content;
    margin: 20px auto;
    transform-origin: center;
  }
  
  .temple-theme body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .temple-theme .content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 2em 0;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
.content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}
  