body {
  background-color: #0d1117;
  color: #00ff99;
  font-family: 'Courier New', monospace;
  margin: 0;
  padding: 20px;
}

.header-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-bottom: 2px solid #00ff99;
}

.terminal-block {
  border-left: 4px solid #00ff99;
  padding: 20px;
  margin-bottom: 30px;
  background-color: #161b22;
  box-shadow: 0 0 10px rgba(0,255,153,0.1);
  border-radius: 6px;
}

.terminal-content {
  background-color: #161b22;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 4px solid #00ff99;
  border-radius: 6px;
}

h2 {
  color: #39ff14;
  font-size: 1.2em;
  margin-bottom: 10px;
}

a {
  color: #00ff99;
  text-decoration: underline;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

ul li::before {
  content: "➤ ";
  color: #00ff99;
}

button {
  background-color: #00ff99;
  color: #0d1117;
  font-family: 'Courier New', monospace;
  padding: 8px 16px;
  margin: 5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #39ff14;
}

.btn-terminal {
  display: inline-block;
  background-color: #00ff99;
  color: #0d1117;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  text-decoration: none;
  margin-top: 10px;
  box-shadow: 0 0 5px rgba(0,255,153,0.3);
  transition: background-color 0.3s ease;
}
.btn-terminal:hover {
  background-color: #39ff14;
}

.log-terminal {
  background-color: #0d1117;
  color: #00ff99;
  font-family: 'Courier New', monospace;
  padding: 10px;
  margin-top: 15px;
  border-left: 3px solid #00ff99;
  box-shadow: 0 0 5px rgba(0,255,153,0.2);
}

.terminal-content {
  background-color: #161b22;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 4px solid #00ff99;
  border-radius: 6px;
  color: #00ff99;
  font-family: 'Courier New', monospace;
}


.terminal {
  margin-top: -100px;
  position: relative;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 20px;
  border-radius: 8px;
}

header {
  height: 100vh; /* ocupa toda la altura de la ventana */
  background-image: url('../img/hacker-header.jpg'); /* ajusta la ruta si estás en style.css */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.terminal-content, .log-terminal {
  max-width: 800px;        /* limita el ancho para que no se extienda demasiado */
  margin: 0 auto;          /* centra el bloque */
  line-height: 1.6;        /* mejora la lectura */
  font-size: 1em;          /* ajusta tamaño si es muy pequeño o grande */
  white-space: pre-wrap;   /* permite saltos de línea naturales */
}

.comandos {
  display: flex;
  flex-wrap: nowrap;         /* ❌ evita que se bajen de línea */
  overflow-x: auto;          /* ✅ activa scroll horizontal si no caben */
  gap: 10px;
  padding-bottom: 10px;
}

.comandos button {
  flex: 0 0 auto;             /* ✅ cada botón mantiene su tamaño */
  min-width: 150px;
  max-width: 220px;
  text-align: center;
}

.comandos::-webkit-scrollbar {
  height: 6px;
}
.comandos::-webkit-scrollbar-track {
  background: #0d1117;
}
.comandos::-webkit-scrollbar-thumb {
  background-color: #00ff99;
  border-radius: 3px;
}

.terminal-content {
  color: #dcdcdc; /* gris perla */
}

.portada-suite {
  text-align: center;
  color: #dcdcdc; /* gris perla para suavizar */
  padding: 40px 20px;
}

.titulo-principal {
  font-size: 2.5em;
  color: #00ff99; /* verde técnico para el whoami */
  margin-bottom: 10px;
}

.subtitulo {
  font-size: 1.2em;
  color: #aeefff; /* azul hielo para contraste suave */
}

.descripcion {
  margin-top: 20px;
  font-size: 1em;
  line-height: 1.6;
}

.legal {
  margin-top: 30px;
  font-size: 0.9em;
  color: #ff6666; /* rojo suave para aviso legal */
  font-style: italic;
}

.panel-izquierdo {
  position: absolute;
  top: 10%;
  left: 5%;
  max-width: 400px;
  color: #dcdcdc; /* gris perla para suavizar */
  background-color: rgba(0, 0, 0, 0.6); /* fondo semitransparente para contraste */
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
}

.whoami {
  font-size: 2em;
  color: #00ff99; /* verde técnico */
  margin-bottom: 10px;
}

.intro {
  font-size: 1em;
  line-height: 1.6;
}


.panel-izquierdo {
  position: absolute;
  top: 10%;
  left: 5%;
  max-width: 400px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #dcdcdc;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  z-index: 10;
}

.panel-izquierdo p {
  margin: 5px 0;
}

.legal-roja {
  color: #ff6666;
  font-style: italic;
}

.btn-activo {
  background-color: #00ff99; /* verde técnico */
  color: #000;
  font-weight: bold;
  border: 1px solid #00ff99;
}

#btn-arriba {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #00ff99;
  color: #000;
  border: 1px solid #00ff99;
  padding: 10px 15px;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  display: none; /* oculto por defecto */
  z-index: 100;
}

.terminal-boton {
  background-color: #0d0d0d;
  color: #00ffcc;
  font-family: 'Courier New', monospace;
  padding: 0.5em 1em;
  border-left: 4px solid #00ffcc;
  cursor: pointer;
  transition: background 0.3s;
}
.terminal-boton:hover {
  background-color: #1a1a1a;
}
.comando {
  font-weight: bold;
}

@media (max-width: 768px) {
  .terminal-boton {
    font-size: 1.4em;
    padding: 1em;
  }
}

