/* style.css: made with the handy.moe homepage maker (https://handy.moe/homepage-maker/).
   Free to use, change and share (CC0). Edit the colours below to restyle the whole page. */

:root {
  --bg: #000033;          /* page background */
  --panel: #000066;       /* boxes */
  --text: #ffffcc;        /* writing */
  --accent: #00ffff;      /* headings and borders */
  --link: #ffff66;        /* links */
  --radius: 0px;          /* round corners: 0 for square */
}

* { box-sizing: border-box; }

html {
  background-color: #000033;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27120%27%20height%3D%27120%27%3E%3Cg%20fill%3D%27%23d9d9e0%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2718%27%20r%3D%271.2%27%2F%3E%3Ccircle%20cx%3D%2770%27%20cy%3D%279%27%20r%3D%27.8%27%2F%3E%3Ccircle%20cx%3D%27101%27%20cy%3D%2740%27%20r%3D%271.4%27%2F%3E%3Ccircle%20cx%3D%2735%27%20cy%3D%2762%27%20r%3D%27.9%27%2F%3E%3Ccircle%20cx%3D%2788%27%20cy%3D%2788%27%20r%3D%271%27%2F%3E%3Ccircle%20cx%3D%2718%27%20cy%3D%27101%27%20r%3D%271.3%27%2F%3E%3Ccircle%20cx%3D%2758%27%20cy%3D%27112%27%20r%3D%27.7%27%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%27M60%2044%20l2%206%206%202%20-6%202%20-2%206%20-2%20-6%20-6%20-2%206%20-2z%27%20fill%3D%27%2300ffff%27%2F%3E%3C%2Fsvg%3E");
}

body {
  margin: 0;
  padding: 16px;
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.6;
}

/* the box that holds everything; change max-width to make the page wider */
#container {
  max-width: 960px;
  margin: 0 auto;
}

header.site {
  text-align: center;
  padding: 24px 16px;
  margin-bottom: 16px;
}
header.site h1 {
  margin: 0;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive;
  font-size: 40px;
  color: var(--accent);
  text-shadow: 2px 2px 0 #ff00ff;
}
header.site p { margin: 8px 0 0; }

nav.site ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  margin: 0 0 16px;
  padding: 10px;
}

/* the main grid: sidebars and content side by side */
#layout {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 200px);
  gap: 16px;
  align-items: start;
}

.box, header.site, nav.site ul, footer.site {
  background: var(--panel);
  border-radius: var(--radius);
  border: 4px ridge #c0c0c0;
}
.box { padding: 16px; margin-bottom: 16px; }
.box h2 {
  margin: 0 0 8px;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive;
  font-size: 20px;
  color: var(--accent);
}

a { color: var(--link); }
a:hover { text-decoration: none; }

.avatar {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 12px;
  border-radius: var(--radius);
  border: 3px solid var(--accent);
}

.links, .updates { list-style: none; padding: 0; margin: 0; }
.links li::before { content: "★ "; color: var(--accent); }
.updates li { margin-bottom: 6px; }
.updates time { font-weight: bold; color: var(--accent); }

.button88 img { image-rendering: pixelated; }
.button88 textarea {
  width: 100%;
  font: 11px/1.3 ui-monospace, monospace;
  color: inherit;
  background: transparent;
  border: 1px dashed var(--accent);
  resize: vertical;
}

/* the scrolling message (it stays still for people who turn off motion) */
.marquee { overflow: hidden; white-space: nowrap; margin-bottom: 16px; padding: 6px 0; }
.marquee span { display: inline-block; padding-left: 100%; animation: scroll 18s linear infinite; }
@keyframes scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee span { animation: none; padding-left: 0; } }

footer.site { text-align: center; padding: 10px; margin-top: 16px; font-size: 0.85em; }

/* on phones the sidebars go under the main content */
@media (max-width: 720px) {
  #layout { grid-template-columns: minmax(0, 1fr); }
  #layout > main { order: -1; }
}
