@font-face {
  font-family: 'TypeWriter';
  src: url('../fonts/type_writer.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

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

/* Body */
body {
  font-family: 'TypeWriter', monospace;
  background: #fff;
  color: #000;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

header .logo {
  font-weight: bold;
  font-size: 24px; /* adjust as needed */

}

header .logo a {
  text-decoration: none; /* removes underline */
  color: #000;           /* keeps text black */
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 24px;
}

header nav {
  display: flex;
  gap: 10px; /* space between links */

}

paypal-cart-button {
  align-self: flex-start;
  margin-top: -4px;
}

/* Issues Grid */
.issues-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* Issue container */
.issue {
  width: 200px;       /* adjust as needed */
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* Image wrapper to keep hover image above only */
.issue .images {
  position: relative;
  width: 100%;
  height: 300px; /* adjust as needed */
}

/* Cover image */
.issue img.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* Hover image */
.issue img.contents {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover effect */
.issue:hover img.contents {
  opacity: 1;
}

.issue:hover img.cover {
  opacity: 0;
}

/* Caption - left aligned, two lines */
.caption {
  text-align: left;
  margin-top: 5px;
  font-weight: bold;
  font-size: 14px;
  color: #000;
  line-height: 1.2;
}


