@font-face {
  font-family: "Orbitron";
  src: url("/assets/fonts/orbitron/webfonts/orbitron-bold-webfont.ttf") format("truetype");
  font-weight: 700;
}
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #1a1a1a;
  color: #e0e0e0;
  height: 100%;
}
mwemu {
  font-size: 4rem;
  margin-top: 0;
  font-family: "Orbitron", sans-serif;
  /*font-family: 'Broadway 3D', sans-serif;*/

  background: repeating-linear-gradient(
    to bottom,
    #00bfa5 0px,
    #00bfa5 4px,   /* franja del color */
    #000000 4px,
    #000000 8px   /* franja negra */
  );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  color: transparent;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}
.sidebar li ul {
  margin-left: 15px;
  border-left: 1px solid #333;
  padding-left: 10px;
}
.sidebar a {
  display: block;
  color: #ccc;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.sidebar a:hover {
  background: #00bfa520;
  color: #00bfa5;
}
.sidebar {
  width: 100%;
  max-width: none;
  position: relative;
  height: auto;
  overflow-y: auto;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    width: 320px;
    height: 100vh;
    overflow-y: auto;
    top: 0;
    left: 0;
  }
  .main-content {
    margin-left: 320px;
    width: calc(100% - 320px);
    height: 100vh;
    overflow-y: auto;
  }
}
.main-content {
  margin-left: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .main-content {
    margin-left: 320px;
    width: calc(100% - 320px);
  }
}
/*
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: #181818;
  border-right: 1px solid #333;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}*/
.sidebar h2 {
  color: #00bfa5;
  font-size: 1.2em;
  margin-bottom: 10px;
}
.content {
  margin-left: 320px;
  padding: 40px;
  max-width: 900px;
} 
a {
  color: orange;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  background: #00bfa520;
  color: #00bfa5;
}
section {
  margin-bottom: 80px;
}
h1 {
  color: #00bfa5;
  font-size: 1.8em;
}
h2 {
  color: #00bfa5;
  font-size: 1.4em;
}
h3 {
  color: #ccc;
  font-size: 1.1em;
}
p, li {
  font-size: 1em;
  line-height: 1.6;
}
figure {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  font-family: monospace;
}

figcaption {
  background: #b58900;
  color: #fff;
  padding: 4px 10px;
  font-weight: bold;
}

.code-block pre {
  background: #00bfa50d;
  color: #c5c8c6;
  margin: 0;
  padding: 8px 10px;
}

pre > code {
  background-color: transparent;
}
.shell-block pre[class*="language-"],
.code-block pre[class*="language-"],
pre[class*="language-"] {
  background: #00bfa50d !important;
  color: #c5c8c6;
  margin: 0;
  padding: 8px 10px;
  overflow-x: auto;
  white-space: pre;
}
:not(pre) > code {
  background-color: #00bfa515 !important;
  color: #00bfa5;
  padding: 1px 5px;
  border-radius: 3px;
}

.shell-block figcaption {
  background: #444;
}

.shell-block pre {
  background: #00bfa50d;
  color: #ddd;
  margin: 0;
  padding: 8px 10px;

  overflow-x: auto;        /* permite deslizar horizontal */
  white-space: pre;        /* NO partir líneas */
  -webkit-overflow-scrolling: touch; /* scroll suave en iPhone */
}

.sidebar::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track,
.main-content::-webkit-scrollbar-track {
  background: #111;
}

.sidebar::-webkit-scrollbar-thumb,
.main-content::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.main-content::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* Firefox */
.sidebar,
.main-content {
  scrollbar-width: thin;
  scrollbar-color: #333 #111;
}
* {
  scrollbar-width: thin;
}
:root {
  color-scheme: dark;
  scrollbar-gutter: stable both-edges;
}

/* --- Tables --- */
table {
  border: 1px solid #444;
  border-radius: 6px;
  overflow: hidden;
}
table th {
  background: #222;
  color: #00bfa5;
  font-weight: bold;
}
table td {
  border-top: 1px solid #333;
}
table tr:hover td {
  background: #00bfa508;
}

/* --- FIX PARA MÓVIL --- */
@media (max-width: 767px) {
  .content,
  .main-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 20px;      
    box-sizing: border-box;
  }

  .sidebar {
    width: 100% !important;
    max-width: none !important;
    position: relative !important;
    height: auto !important;
  }
}

