/* 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;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

header, main {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 10px;
}

/* Header */
h1 {
  margin-top: 30px;
  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: 40px;
  cursor: pointer;
}

/* Hover effect */
.link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ff66cc;
  animation: rainbow 10s linear infinite;
}

/* Diamond-ish placement */
.youtube  { top: 0; left: 50%; transform: translateX(-40%); }
.patreon  { top: 40%; left: 0; transform: translateY(-53%); }
.twitter  { top: 53%; right: 0; transform: translateY(-49%); }
/* Discord link replaces bottom diamond */
.discord {
  bottom: 0;
  left: 30%;
  transform: translateX(-57%);
}

/* "Interesting Photos" — under the diamond, slightly offset to the right */
.link.photos {
  position: absolute;
  bottom: -100px;      /* puts it just below Discord */
  left: 78%;          /* small rightward offset from center */
  transform: translateX(-50%);
  font-size: 15px;
  color: #ff99dd;
  text-decoration: none;
  font-weight: bold;
}

.link.photos:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #ff66cc;
}

/* Bottom scrolling ticker */
.bottom-ticker {
  position: fixed;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  z-index: 999;
  text-align: center;
}

.bottom-ticker span {
  display: inline-block;
  white-space: nowrap;
  font-size: 24px;
  font-weight: bold;
  font-family: "Comic Sans MS", sans-serif;
  animation: scrollText 15s linear infinite, rainbowText 5s linear infinite;
}

/* Scrolling animation */
@keyframes scrollText {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Rainbow color cycling */
@keyframes rainbowText {
  0%   { color: red; }
  14%  { color: orange; }
  28%  { color: yellow; }
  42%  { color: green; }
  57%  { color: blue; }
  71%  { color: indigo; }
  85%  { color: violet; }
  100% { color: red; }
}

.video {
  display: block;
  margin: 20px auto;

  width: 80vw;        /* how wide it should be relative to screen */
  max-width: 600px;   /* how large it is allowed to get */
  
  aspect-ratio: 16 / 9;  /* forces correct shape */
  height: auto;          /* height is now determined automatically */
  
  border: none;
}


/* 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); }
.photo-gallery img:nth-child(9) { transform: rotate(-2deg) scale(1.0); }
.photo-gallery img:nth-child(10) { transform: rotate(4deg) scale(0.95); }
.photo-gallery img:nth-child(11) { transform: rotate(-3deg) scale(1.15); }
.photo-gallery img:nth-child(12) { transform: rotate(2deg) scale(0.9); }
.photo-gallery img:nth-child(13) { transform: rotate(-4deg) scale(1.1); }
.photo-gallery img:nth-child(14) { transform: rotate(5deg) scale(0.85); }

/* Subtle float animation */
@keyframes floaty {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
