/* Pure Comic Sans, GeoCities vibe, black background */

html, body {
  height: 100%;
  margin: 0;
  background: url('background.gif') center center / cover no-repeat fixed, #000;
  color: #ff66cc;
  font-family: "Comic Sans MS"; /* ONLY this font */
  text-align: center;
}

/* Header */
h1 {
  margin-top: 40px;
  font-size: 60px;
  color: #ff66cc;
  text-shadow: 0 0 8px #ff99dd, 0 0 20px #ff66cc;
  animation: rainbow 10s linear infinite;
}

/* Define the rainbow animation */
@keyframes rainbow {
  0%   { color: red; text-shadow: 0 0 15px red; }
  14%  { color: orange; text-shadow: 0 0 15px orange; }
  28%  { color: yellow; text-shadow: 0 0 15px yellow; }
  42%  { color: green; text-shadow: 0 0 15px green; }
  57%  { color: cyan; text-shadow: 0 0 15px cyan; }
  71%  { color: blue; text-shadow: 0 0 15px blue; }
  85%  { color: violet; text-shadow: 0 0 15px violet; }
  100% { color: red; text-shadow: 0 0 15px red; }
}


/* Link layout */
.links {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 100px auto;
}

/* Link styling */
.link {
  position: absolute;
  color: #ff99dd;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
  cursor: pointer;
}

/* Hover effect */
.link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ff66cc;
}

/* Diamond-ish placement */
.youtube  { top: 0; left: 50%; transform: translateX(-50%); }
.patreon  { top: 50%; left: 0; transform: translateY(-50%); }
.twitter  { top: 50%; right: 0; transform: translateY(-50%); }
/* Discord link replaces bottom diamond */
.discord {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* "Interesting Photos" moved to the right side */
.link.photos {
  position: absolute;
  top: 40%;
  right: 10%;
  font-size: 20px;
  color: #ff99dd;
  text-decoration: none;
  font-weight: bold;
}

.link.photos:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ff66cc;
}

/* Interesting Photos exclusive style */

/* interesting photos page */
.back-home {
  display: inline-block;
  margin-top: 10px;
  color: #ff99dd;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 0 8px #ff66cc;
}

.back-home:hover {
  color: #ffffff;
  text-shadow: 0 0 12px #ff66cc;
}

.photo-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 80px auto;
  gap: 60px;
  width: 100%;
  max-width: 900px;
}

/* Each image looks slightly off, like hand-placed */
.photo-gallery img {
  display: block;
  max-width: 80%;
  height: auto;
  border: 3px solid #ff66cc;
  border-radius: 10px;
  box-shadow: 0 0 20px #ff66cc;
  animation: floaty 8s infinite ease-in-out alternate;
  transition: transform 0.3s ease;
}

/* Small hover effect — not too polished */
.photo-gallery img:hover {
  transform: scale(1.05);
  z-index: 2;
}

/* Vary rotation + scale like a messy scrapbook */
.photo-gallery img:nth-child(1) { transform: rotate(-2deg) scale(1.0); }
.photo-gallery img:nth-child(2) { transform: rotate(4deg) scale(0.95); }
.photo-gallery img:nth-child(3) { transform: rotate(-3deg) scale(1.15); }
.photo-gallery img:nth-child(4) { transform: rotate(2deg) scale(0.9); }
.photo-gallery img:nth-child(5) { transform: rotate(-4deg) scale(1.1); }
.photo-gallery img:nth-child(6) { transform: rotate(5deg) scale(0.85); }
.photo-gallery img:nth-child(7) { transform: rotate(-6deg) scale(1.2); }
.photo-gallery img:nth-child(8) { transform: rotate(3deg) scale(1.0); }

/* Subtle float animation */
@keyframes floaty {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}