/* Base styles */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  color: #333;
}

/* Header and footer */
header, footer {
  text-align: center;
  padding: 1em;
  background: #222;
  color: white;
}

/* Navigation */
nav {
  margin-top: 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

nav a {
  color: #00ccff;
  text-decoration: none;
  font-size: 1em;
}

/* Main content */
main {
  padding: 1em;
}

section {
  margin-bottom: 2em;
}

/* Comic links */
ul {
  list-style: none;
  padding: 0;
}

li a {
  text-decoration: none;
  color: #0066cc;
  font-size: 1.1em;
  padding: 0.5em;
  display: inline-block;
}

/* Comic image layout */
main.comic-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1em;
}

main.comic-strip img {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-bottom: 30px; /* 👈 Gutter between images */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Universal image scaling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Forms and buttons */
form {
  margin-top: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

input[type="email"] {
  padding: 0.5em;
  font-size: 1em;
  width: 100%;
  max-width: 300px;
  margin-bottom: 1em;
}

button {
  padding: 0.5em 1em;
  font-size: 1em;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* QR code */
img.qr {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin-top: 1em;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main {
    padding: 2em;
  }

  nav a {
    font-size: 1.1em;
  }
}
