/* ======================================
   TECHSPLOIT — MINIMAL STATIC CSS
   ====================================== */

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;   /* default browser font */
  background: #fafafa;
  color: #111;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ===============================
   NAVIGATION
   =============================== */
header {
  max-width: 950px;
  margin: 20px auto 0 auto;   /* centered box */
  padding: 14px 20px;
  border-bottom: #ddd 1px solid;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 20px;                  /* keeps sticky but in-box */
  z-index: 20;
}

.logo img {
  height: 34px;
  max-width: 100%;
  display: block;
}

/* nav links */
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: #000;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.6;
}

/* ===============================
   CONTENT
   =============================== */
.container {
  max-width: 720px;
  margin: 50px auto;
  padding: 0 20px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0;
}

a {
  color: #0056ff;
}
a:hover {
  opacity: 0.7;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.85rem;
  color: #444;
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 600px) {

  header {
    flex-direction: column;       /* logo above nav */
    align-items: center;
    padding: 12px 16px;
    gap: 10px;                    /* space between logo and nav */
  }

  .logo img {
    height: 32px;                 /* slightly smaller for mobile */
  }

  header nav {
    justify-content: center;
    flex-wrap: wrap;              /* allows wrapping if needed */
    gap: 12px;                    /* consistent spacing */
  }

  nav a {
    margin-left: 0 !important;    /* reset desktop left-margin */
    font-size: 0.9rem;
  }

  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 1.8rem;
  }
}