/* oldirtyforklift.com - base styles */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 20px;
  background-image: url('images/space.gif');
  background-repeat: repeat;
  background-size: 300px auto;
  color: white;
}

/* ── Header ── */
header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  position: relative;
}

header h1 {
  font-size: 2rem;
}

header p {
  font-size: 0.9rem;
  color: #30bd13;
}

/* ── Navigation ── */
nav {
  border-top: 2px solid #30bd13;
  border-bottom: 2px solid #30bd13;
  padding: 8px 0;
  margin-bottom: 30px;
  background-image: url('images/spacenav.gif');
  background-size: auto auto;
  background-repeat: repeat-x;
  position: relative;
  min-height: 65px;
  height: auto;
  overflow: visible;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  padding: 4px 0;
}

nav a {
  text-decoration: none;
  color: #30bd13;
}

nav a:hover {
  text-decoration: underline;
  padding: 2px 6px;
}

nav a.active {
  font-weight: bold;
}

.nav-ship {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 80%;
  pointer-events: none;
}

/* ── Footer ── */
footer {
  position: fixed;
  bottom: 10px;
  right: 10px;
  color: #00ff00;
}

/* ── General content ── */
main h2 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

main p {
  line-height: 1.6;
  margin-bottom: 12px;
}

a {
  color: #30bd13;
}

a:visited {
  color: #30bd13;
}

hr {
  border: none;
  border-top: 1px solid #444;
  margin: 20px 0;
}

.mailing-btn {
  color: white !important;
  position: absolute;
  top: 12px;
  right: 16px;
  background-image: url('images/purplespin.gif');
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  padding: 8px 14px;
  border: 2px solid #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 100;
}

.mailing-btn:hover {
  background-image: url('images/static.gif');
  color: white !important;
}

.picture-caption {
  text-align: center;
}

.picture-item {
  text-align: center;
}

.Welcome {
  background-color: #1a0a2e;
  min-height: 100vh;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 50px; /* room for mailing btn */
  }

  header h1 {
    font-size: 1.3rem;
  }

  header img {
    display: none;
  }

  .mailing-btn {
    top: auto;
    bottom: 8px;
    right: 8px;
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  nav {
    min-height: auto;
    height: auto;
    background-image: none;
    background-color: #0a0a0a;
  }

  nav ul {
    gap: 10px;
    flex-wrap: wrap;
  }

  nav ul li a {
    font-size: 0.9rem;
  }

  .nav-ship {
    display: none;
  }

  main h2 {
    font-size: 1.2rem;
  }

  footer {
    position: static;
    text-align: center;
    padding: 20px 0 10px;
    font-size: 0.8rem;
  }
}
