body {
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  color: #ff4d4d;
  font-family: 'Courier New', Courier, monospace;
  background-image: url('fd/darkred.jpg'); /* or .gif, .png */
  background-repeat: repeat;         /* or use no-repeat */
  background-size: auto;            /* or contain, or auto */
  background-attachment: fixed;      /* makes it stay still as you scroll */
  background-position: center center;
}

.main {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

h1 {
  text-align: center;
  font-size: 3em;
  text-shadow: 2px 2px #000;
  margin-bottom: 0;      /* removes the space below the title */
  line-height: 1;        /* tightens spacing */
  padding-bottom: 0;
}


.entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.entry.left {
  flex-direction: row;
}

.entry.right {
  flex-direction: row-reverse;
}

.media {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media img {
  width: 100%;
  height: auto;
  border: 2px solid #ff1a1a;
  box-shadow: 0 0 15px #ff1a1a;
  transition: transform 0.3s;
}

.media a:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 25px #ff4d4d;
}

.text-box {
  flex: 1;
  max-width: 65%;
  background-color: #1a0000;
  border: 2px solid #660000;
  box-shadow: 0 0 10px #ff1a1a;
  padding: 20px;
  margin: 10px;
}

.text-box h2 {
  margin-top: 0;
  color: #ff6666;
}
.divider {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  text-align: center;
  margin-top: -5px;  
  margin-bottom: 40px;  
}

.divider img {
  display: block;
  height: auto;
  max-width: 100%;
}

.stamps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.stamps img {
  height: 60px; /* was 40px */
  width: auto;
    border: 2px solid #222;
  box-shadow: 0 0 8px #ff1a1a;
  margin: 4px;
}

.content-wrap {
  flex: 1;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bottom-stamps img {
  height: 280px;
    border: 2px solid #222;
  box-shadow: 0 0 8px #ff1a1a;
  margin: 4px;
}
.second-top-stamps img {
  height: 80px;   /* or larger if you'd like */
  border: 2px solid #222;
  box-shadow: 0 0 8px #ff1a1a;
  margin: 4px;
}
.frame-wrap {
  position: relative;
  display: inline-block;
  background-image: url('fd/blackframe.gif'); /* your frame */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 30px; /* match the visible frame thickness */
  margin: 10px;
}

.framed-img {
  display: block;
  width: 300px;     /* adjust to your layout */
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
}
.fanart-link {
  display: inline-block;
  text-decoration: none;
}
.fanart-link:hover .frame-wrap {
  filter: brightness(1.1);
  transform: scale(1.02);
  transition: all 0.3s ease;
}
