/* Import JetBrains Mono from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap');

/* Global font smoothing for better clarity */
body {
  background-color: #ffffff;
  color: #111111;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.4;
  padding: 40px;
  max-width: 600px;
  margin: auto;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings with medium weight to avoid fuzziness */
h1, h2, h3 {
  font-weight: 600; /* lighter than bold (700), avoids blur */
  margin-bottom: 0.5em;
  margin-top: 1.5em;
}

/* Paragraphs */
p {
  margin-bottom: 1.5em;
}

/* Unordered lists */
ul {
  list-style-type: square;
  padding-left: 20px;
}

/* Links: simple, black, underlined */
a {
  color: #000000;
  text-decoration: underline;
}

img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* optional: centres the image */
}

.no-underline {
  text-decoration: none;
}

.spacer {
  height: 00px;
}

.spacer-md {
  height: 50px;
}

.spacer-lg {
  height: 100px;
}

.site-logo {
  font-size: 10px;
  color: #000000;
  text-align: center;
  font-style: italic;
  display: block;
}

.site-footer {
  text-align: center;
  font-size: 10px;
  color: #000000;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #000000;
}

.line {
  border: none;
  border-top: 1px solid #000000;
  max-width: 400px;
  margin: auto auto 40px auto;
}

.main-nav {
  text-align: center;
  position: relative;
}

.main-nav ul {
  list-style: none;          /* 🔧 removes bullet points */
  padding: 0;
  margin: 0;
  text-align: center;
}

.main-nav li {
  display: inline-block;     /* 🔧 makes nav links horizontal */
  margin: 0 10px;
}
.menu-toggle {
  display: none;
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  background: none;
  border: 1px solid #000;
  padding: 4px 8px;
  cursor: pointer;
  color: #000;
  transition: background 0.2s, color 0.2s;
}

.menu-toggle:hover {
  background-color: #000;
  color: #fff;
}

/* Make nav links look like terminal buttons */
.main-nav .menu a {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  border: 1px solid #000;
  padding: 4px 8px;
  margin: 4px;
  background-color: #fff;
  transition: background 0.2s, color 0.2s;
}

.main-nav .menu a:hover {
  background-color: #000;
  color: #fff;
}

.main-nav .menu a:hover::after {
  content: "_";
  animation: blink 1s steps(2, start) infinite;
  margin-left: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* MOBILE STYLES */
@media (max-width: 600px) {
  .menu-toggle {
    display: inline-block;
    margin-bottom: 10px;
  }

  .main-nav .menu {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  .main-nav .menu.show {
    display: flex;
  }

  .main-nav .menu li {
    margin: 10px 0;
  }
}

.spinning-reel {
  width: 40px; /* or whatever size you want */
  height: auto;
  animation: spin 6s linear infinite;
  display: block;
  margin: 0 auto; /* optional: center it */
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Optional: remove underline when hovering, if desired
a:hover {
  text-decoration: none;
}

*/