html {
      font-family: Verdana, Geneva, Tahoma, sans-serif;
      font-size: 12px;
      background: white;
      color: black;
    }

    h1 {
      color: rgb(222, 172, 81);
    }

    body {
      margin: 40px;
    }

    .terminal {
      max-width: 600px;
    }

    .line {
      display: flex;
      align-items: center;
    }

    .prompt {
      margin-right: 6px;
    }

    input {
      border: none;
      outline: none;
      font-family: inherit;
      font-size: inherit;
      width: 100%;
    }

    .cursor {
      display: inline-block;
      width: 8px;
      background: black;
      margin-left: 2px;
      animation: blink 1s steps(1) infinite;
    }

    @keyframes blink {
      50% { opacity: 0; }
    }

    .output {
      margin-top: 10px;
      white-space: pre-line;
    }

    html.dark {
    background: #111;
    color: #eee;
    }

    html.dark h1 {
    color: rgb(222, 172, 81);
    }

    html.dark .cursor {
    background: #eee;
    }

    html.dark input {
    color: #eee;
    background: transparent;
    }

    .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }

  .card {
    border: 1px solid #ccc;
    padding: 10px;
  }

  .card h2 {
    font-size: 13px;
    margin: 0 0 6px;
  }

  .card p {
    font-size: 12px;
  }

  .card a {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    border: 1px solid currentColor;
    padding: 3px 6px;
    text-decoration: none;
}

.window {
  position: absolute;
  top: 80px;
  left: 80px;
  width: 700px;
  background: #111;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  color: #eee;
}

.titlebar {
  padding: 8px 12px;
  background: #1c1c1c;
  cursor: move;
  user-select: none;
  font-weight: bold;
  border-bottom: 1px solid #333;
}

.window-content {
  padding: 12px;
}


html.dark .window {
  background: #0d0d0d;
}

.terminal input#cmd {
  background: #000;
  color: #0f0;
  border: none;
  outline: none;
  font-family: monospace;
}

html:not(.dark) .terminal input#cmd {
  background: #000;
  color: #0f0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("Hackvault.png") center / cover no-repeat;
  opacity: 0.5;
  z-index: -1;
}

body {
  margin: 0;
  min-height: 100vh;
}
