body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ece8dc;
  color: #222;
  text-align: center;
}

header {
  background: #222;
  color: white;
  padding: 25px;
}

#logo {
  width: 1000px; 
  max-width: 90%;
  height: auto;
}

header h2 {
  margin-top: 10px;
  font-weight: normal;
}

nav {
  background: #444;
  padding: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 18px;
  font-size: 20px;
  font-weight: bold;
  transition: .2s;
}

nav a:hover {
  color: #ffd54d;
}

main {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

section {
  background: white;
  margin-bottom: 40px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.hero {
  background: white;
}

.comic {
  width: 100%;
  max-width: 950px;
  border: 5px solid black;
  border-radius: 8px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.card {
  text-decoration: none;
  color: black;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,.15);
  transition: .25s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h2 {
  margin: 15px 10px 5px;
}

.card p {
  padding: 0 15px 20px;
  line-height: 1.5;
}

.computer {
  border-top: 5px solid #4b82ff; /* Added solid parameter to complete layout */
}

.unlucky {
  border-top: 5px solid #46b84a;
}

.gnomes {
  border-top: 5px solid #6c8f42;
}

.investment {
  border-top: 5px solid #d63b3b;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border: 4px solid black;
  border-radius: 8px;
  transition: .2s;
}

.gallery img:hover {
  transform: scale(1.03);
}

.comicButtons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.comicButtons a {
  text-decoration: none;
  color: white;
  background: #3d73ff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: bold;
}

.comicButtons a:hover {
  background: #2858cc;
}

.issueList {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.issue {
  background: #f7f7f7;
  padding: 20px;
  border-left: 8px solid #3d73ff;
  border-radius: 10px;
  text-align: left;
  transition: .2s;
}

.issue:hover {
  transform: translateX(8px);
}

.issue h2 {
  margin: 0;
}

.issue p {
  margin-bottom: 0;
}

textarea {
  width: 90%;
  max-width: 800px;
  height: 140px;
  font-size: 16px;
  padding: 10px;
}

button {
  background: #3d73ff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #2858cc;
}

footer {
  background: #222;
  color: white;
  padding: 25px;
  margin-top: 40px;
}
